GenerateBlocks - Version 1.3.5

Version Description

  • Fix: Error saving classic widgets in Customizer
  • Fix: Console error in widget editor due to core/edit-post
  • Tweak: Remove wp-editor dependency from widget editor
Download this release

Release Info

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

Code changes from version 1.3.4 to 1.3.5

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-richText'), 'version' => '89e58094373af458fcef2a1a233701dd');
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' => '55e5757e383b547b2609885572d12862');
dist/blocks.css CHANGED
@@ -1,28 +1,14 @@
1
- .gb-grid-wrapper{position:relative;display:block;margin-right:0;margin-left:0}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{position:relative;display:flex;flex-wrap:wrap;justify-content:flex-start;margin-right:-15px;margin-left:-15px}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout .editor-block-list__block{max-width:none;margin-right:0;margin-left:0}.block-editor-block-list__block[data-align="full"][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.gb-grid-wrapper-button-select{right:1px}.block-editor-block-list__block[data-align="full"][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:1px;margin-left:1px}.gb-grid-wrapper .editor-inserter-with-shortcuts{display:none}.gb-grid-wrapper .editor-block-list__empty-block-inserter,.gb-grid-wrapper .editor-default-block-appender .editor-inserter{right:10px;left:auto}.wp-block.gb-col{margin-top:29px}.components-placeholder.components-placeholder.gb-select-layout{padding:25px;background:#fff;color:#000}.components-placeholder.components-placeholder.gb-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview{display:flex;flex-wrap:wrap;justify-content:center;margin-right:-7px;margin-left:-7px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn{display:flex;flex-wrap:wrap;width:85px;padding:0;margin-right:7px;margin-bottom:14px;margin-left:7px;overflow:hidden;cursor:pointer;background:none;border:2px solid rgba(79,89,105,0.75);border-radius:4px;transition:.15s border-color, .15s background-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col{height:40px;border-right:2px solid rgba(79,89,105,0.75);transition:.15s border-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col:last-of-type{border-right:none}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus{background-color:#fff;border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover .gb-col,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus .gb-col{border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .components-button.is-primary{height:35px;padding:0 15px;margin-top:10px;font-size:14px}.gb-col{display:flex;flex:1;flex-direction:column;width:0}.gb-col>.block-editor-block-list__block-edit{display:flex;flex-basis:100%;margin-top:0 !important;margin-bottom:0 !important}.gb-col>.block-editor-block-list__block-edit>[data-block]{flex:100%}.gb-col>.block-editor-block-list__block-edit>.editor-block-contextual-toolbar+[data-block]{margin-left:30px}.gb-col.gb-col-25{flex-basis:25%}.gb-col.gb-col-75{flex-basis:75%}.gb-col.gb-col-50{flex-basis:50%}.gb-col.gb-col-60{flex-basis:60%}.gb-col.gb-col-20{flex-basis:20%}.gb-col.gb-col-16{flex-basis:16.6%}.gb-grid-appender button{background:#fff;box-shadow:inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;padding:20px;width:100%;justify-content:center;height:auto}.gb-grid-appender button.components-button svg{margin-right:0}.gb-select-layout .components-placeholder__label,.gb-select-layout .components-placeholder__instructions{margin-left:auto;margin-right:auto}.gb-select-layout iframe{display:flex;justify-content:center;align-items:center}.gb-select-layout .gb-grid-wrapper-layout-preview{max-width:500px}.gb-select-layout .components-placeholder__fieldset{display:flex;justify-content:center}.wp-block[data-type="generateblocks/grid"]{margin-top:0;margin-bottom:0}
2
-
3
- .gb-responsive-tabs{position:-webkit-sticky;position:sticky;top:0;background:#fff;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;z-index:10;display:flex}.gb-responsive-tabs button{flex-grow:1;justify-content:center;padding:10px;height:unset;border-radius:unset;outline:0 !important}.gb-responsive-tabs button.is-pressed:not(:disabled),.gb-responsive-tabs button:focus:not(:disabled),.gb-responsive-tabs button:active:not(:disabled),.gb-responsive-tabs button:hover:not(:disabled){box-shadow:unset !important;background:#007cba !important;color:#fff !important}.block-editor-block-inspector .gb-responsive-tabs+.components-panel__body{border-top:0}
4
-
5
  .components-gblocks-units-control-header__units{display:flex;justify-content:space-between;margin-bottom:5px;align-items:center}.components-gblocks-control__units .components-gblocks-control-buttons__units button.components-button{background:#fff;box-shadow:none !important;color:#929da7;font-size:10px;padding:0 5px;position:relative;text-align:center;text-shadow:none;border:0;border-radius:0 !important;line-height:20px;padding:0 5px;height:auto}.components-gblocks-control__units .components-gblocks-control-buttons__units button.components-button.is-primary{background:#fff !important;color:#000 !important;cursor:default;z-index:1;font-weight:bold}
6
-
7
- body.gutenberg-editor-page [data-type="generateblocks/container"] .editor-block-list__block,[data-type="generateblocks/container"] .wp-block-heading h1,[data-type="generateblocks/container"] .wp-block-heading h1.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h2,[data-type="generateblocks/container"] .wp-block-heading h2.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h3,[data-type="generateblocks/container"] .wp-block-heading h3.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h4,[data-type="generateblocks/container"] .wp-block-heading h4.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h5,[data-type="generateblocks/container"] .wp-block-heading h5.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h6,[data-type="generateblocks/container"] .wp-block-heading h6.editor-rich-text__tinymce{color:inherit}.additional-class-notice .components-notice{margin:0 0 10px}.widthButtons button{font-size:12px;flex:1;box-shadow:inset 0 0 0 1px #007cba;justify-content:center}.widthButtons{margin-bottom:10px;display:flex}.gblocks-column-width-control input[type="number"]{width:65px}body .gb-container .wp-block{max-width:none}[data-type="generateblocks/container"]>.block-editor-block-list__block-edit>[data-block]{margin:0}.block-editor-block-inspector .components-base-control.gblocks-gpress-full-width{border-top:1px solid #ddd;padding-top:15px}.block-editor-block-inspector .components-base-control.gblocks-gpress-full-width .components-base-control__label{margin-bottom:15px}.gblocks-container-text-alignment .components-base-control__label{display:block}.edit-post-visual-editor .block-editor-block-list__block[data-type="generateblocks/container"]>.block-editor-block-list__block-edit{margin:0}.block-editor-block-list__layout .block-editor-block-list__block[data-type="generateblocks/container"]{padding:0;box-sizing:border-box}.gblocks-bg-image-wrapper{display:flex}.gblocks-bg-image-wrapper .components-base-control,.gblocks-bg-image-wrapper .components-base-control__field{margin:0}.gblocks-bg-image-wrapper>.components-base-control{flex-grow:1}.gblocks-bg-image-wrapper .components-button{line-height:inherit;height:100%}.components-gblocks-control__image-sizes{margin-bottom:24px}.components-gblocks-control__image-sizes button{margin:0 5px 5px 0}.wp-block[data-type="generateblocks/container"]{margin-top:0;margin-bottom:0}.gb-container .wp-block-image{margin-top:0;margin-bottom:0}.gb-container .gb-shape{position:absolute;overflow:hidden;line-height:0;pointer-events:none}.gb-container .gb-shape svg{fill:currentColor}.gblocks-add-new-shape{margin-top:10px}.gblocks-shape-controls{width:100%}.gblocks-shape-controls>.components-base-control{margin-bottom:20px}.gblocks-shape-controls .gblocks-edit-shape{display:block;width:100%;text-align:left}.gblocks-shape-controls .gblocks-shape-chooser{margin:0}.gblocks-shape-controls .gblocks-shape-chooser li{margin:5px 0}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button{width:100%;height:auto;background:#efefef}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button svg{width:100%}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button:hover{background:#efefef}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button.gblocks-shape-is-active{box-shadow:0 0 0 3px #007cba}.gblocks-shape-divider-preview{padding:10px}.gblocks-shape-divider-preview svg{fill:currentColor}.gblocks-shape-toggle-preview{margin-right:10px}.gblocks-shape-toggle-preview svg{width:30px}.gblocks-shape-container{display:flex;align-items:center;margin-bottom:10px;border:1px solid #efefef;border-radius:3px}.gblocks-shape-container .components-dropdown{margin-left:auto}.gblocks-shape-container .components-button.gblocks-shape-dropdown,.gblocks-shape-container .components-button.gblocks-remove-shape{justify-content:center}.gblocks-shape-container .components-button.gblocks-shape-dropdown>svg,.gblocks-shape-container .components-button.gblocks-remove-shape>svg{margin-right:0}.components-popover.gblocks-shapes-dropdown .components-popover__content{min-width:260px}.gblocks-gpress-full-width .components-base-control__label{display:block}
8
-
9
  .gblocks-component-color-picker-wrapper>.components-base-control__field{position:relative;display:flex;align-items:center;justify-content:space-between}.gblocks-component-color-picker-wrapper>.components-base-control__field .components-color-palette__item-wrapper{margin:0}.gblocks-component-color-picker>.components-base-control:first-child{margin-bottom:0}.gblocks-component-color-picker .components-color-picker__inputs-wrapper{min-width:auto}.gblocks-component-color-picker .gblocks-component-color-picker-palette{padding:16px;margin-top:10px}.gblocks-component-color-picker .gblocks-component-color-picker-palette .components-circular-option-picker{display:flex;flex-wrap:wrap}.gblocks-component-color-picker .gblocks-component-color-picker-palette .components-circular-option-picker .components-circular-option-picker__option-wrapper{margin:0 8px 8px 0}.gblocks-component-color-picker .components-base-control__field,.gblocks-component-color-picker .components-color-palette{margin:0}.gblocks-component-color-picker .components-color-picker{padding:5px}.gblocks-component-color-picker .components-color-picker__inputs-toggle{display:none}.gblocks-component-color-picker .components-color-picker__body{padding-bottom:0}.gblocks-component-color-picker .components-popover__content{padding:10px;width:300px}.gblocks-component-color-picker .components-color-picker__inputs-fields{margin-right:0}.gblocks-component-color-picker .components-color-clear-color{margin:0 16px}.gblocks-component-color-opacity{display:flex;padding:0 16px;margin:10px 0}.gblocks-component-color-opacity .components-range-control{flex-grow:1;padding-left:5px}.gblocks-color-picker-area{width:28px;height:28px}
10
-
11
- .components-gblocks-dimensions-control__inputs,.components-gblocks-dimensions-control__input-labels{display:flex}.components-gblocks-dimensions-control input[type="number"]{border-top-right-radius:0;border-bottom-right-radius:0;height:30px;margin:0 -1px 0 0;padding:5px;width:calc(25% - 5px)}.components-gblocks-dimensions-control input[type="number"]:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.components-gblocks-dimensions-control__input-labels>span{width:calc(25% - 5px);font-size:11px}.components-gblocks-dimensions-control__input-labels>span:last-child{width:30px}.components-gblocks-dimensions-control_sync.components-button{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:none;height:auto;justify-content:center;padding:0;text-align:center;text-shadow:none;width:30px}.components-gblocks-dimensions-control_sync.components-button:not(.is-primary){background:#fff;border:1px solid #8d96a0;color:#555d66}.components-gblocks-dimensions-control_sync.components-button svg{width:18px;height:18px;fill:currentColor}.components-gblocks-dimensions-control_sync.components-button:hover,.components-gblocks-dimensions-control_sync.components-button:focus{box-shadow:none !important}
12
-
13
  .edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control.gblocks-font-family-shortcuts{margin-bottom:2px}.components-gblocks-typography-control__header{display:flex;justify-content:space-between;margin-bottom:5px;align-items:center}.components-gblocks-typography-control__inputs+.components-gblocks-typography-control__header{margin-top:25px}.components-gblocks-typography-control__inputs{display:flex;justify-content:space-between}.components-gblocks-typography-control__inputs button.components-button{line-height:unset;height:unset}.components-gblocks-typography-control__inputs .components-base-control{margin-bottom:0}.edit-post-settings-sidebar__panel-block .components-panel__body .components-gblocks-typography-control__inputs .components-base-control,.components-gblocks-typography-control__inputs .components-base-control .components-base-control__field{margin-bottom:0}.components-gblocks-typography-weight-transform{display:flex;justify-content:space-between}.components-gblocks-typography-weight-transform>div{width:48%}.components-gblocks-typography-control__units>.components-button-group .components-button.is-button:first-child:last-child{border-radius:3px}.components-gblocks-typography-control__inputs button{margin-left:10px}.components-gblocks-typography-control__inputs .components-base-control{flex-grow:1}
14
-
15
  .gblocks-component-gradient-control{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:8px}.gblocks-component-gradient-control .components-base-control{margin-bottom:0 !important}.gblocks-component-gradient-control .components-base-control .components-base-control__field{margin-bottom:0}.gblocks-component-gradient-control .gblocks-component-color-picker-wrapper .components-base-control__field{margin-top:0}.gblocks-component-gradient-stop-value{flex-grow:1;padding-left:10px}
16
-
17
  .gb-button-wrapper{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;clear:both}.gb-button-wrapper .block-editor-block-list__layout>.block-list-appender{display:none !important}.gb-button-wrapper .block-editor-block-list__layout>.block-list-appender:first-child{display:block !important}[data-type="generateblocks/button-container"].has-child-selected .gb-button-wrapper>.components-button,[data-type="generateblocks/button-container"].is-selected .gb-button-wrapper>.components-button{display:inline-flex}.gblocks-add-new-button svg{margin-right:0 !important;margin-left:0 !important}.gblocks-button-container-appender{-ms-grid-row-align:center;align-self:center}.wp-block[data-type="generateblocks/button-container"]{margin-top:0;margin-bottom:0}
18
-
19
- .gb-button-wrapper{position:relative;margin-top:0}.gb-button-wrapper .gb-button{display:flex;justify-content:center;align-items:center;text-align:center;padding:unset;line-height:unset;text-decoration:none !important;border:none;transition:.2s background-color ease-in-out, .2s color ease-in-out, .2s border-color ease-in-out, .2s opacity ease-in-out, .2s box-shadow ease-in-out}.gb-button-wrapper .gb-button .editor-rich-text__tinymce{line-height:1em}.gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;margin-right:0}.gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>div{width:auto}.gb-button-wrapper.gb-button-wrapper-align-right>.block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}.gb-button-wrapper.gb-button-wrapper-align-center>.block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}.gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>*>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.gb-button-wrapper .blocks-format-toolbar__link-modal{top:calc(100% + 2px);left:50%;transform:translateX(-50%);z-index:2}.gb-button-wrapper .blocks-link-url__suggestions{right:-35px}.gb-button-wrapper .blocks-rich-text__tinymce{cursor:text}.gb-button-wrapper .components-button.gblocks-add-button{background:#fff;-ms-grid-row-align:center;align-self:center}.gb-button-wrapper .components-button.gblocks-add-button svg{margin-right:0}.gb-button .gb-icon{-ms-grid-row-align:center;align-self:center}.using-theme-colors{background-color:#e9f5f9;border-left:4px solid #409ecd;padding:10px}.using-theme-colors p:last-child{margin-bottom:0}.button.gb-button{font-size:inherit;min-height:auto;border-radius:unset}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0;margin-left:0;margin-right:0}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit::before{border-right:none;border-top:none;border-bottom:none}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit::before{box-shadow:none}[data-type="generateblocks/button-container"].is-hovered .gb-button-wrapper .block-editor-block-list__block-edit::before,[data-type="generateblocks/button-container"].is-selected .gb-button-wrapper .block-editor-block-list__block-edit::before,[data-type="generateblocks/button-container"].has-child-selected .gb-button-wrapper .block-editor-block-list__block-edit::before{border-color:transparent !important}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="generateblocks/button-container"] .gb-button-wrapper .block-editor-block-list__insertion-point,[data-type="generateblocks/button-container"] .gb-button-wrapper .block-editor-block-list__breadcrumb{display:none}[data-type="generateblocks/button-container"]:not(.is-selected):not(.has-child-selected) .gb-button-wrapper{min-height:36px}.wp-block[data-type="generateblocks/button"]{margin-top:0;margin-bottom:0}
20
-
21
  .gblocks-icon-chooser{display:flex;flex-wrap:wrap;list-style:none;margin-top:0;margin-left:-3px}.gblocks-icon-chooser li{display:block;margin:0 0 3px 3px;padding:0}.gblocks-icon-chooser li button.components-button{background:#fafafa;color:#000;height:30px;width:30px;border:0;border-radius:0;box-shadow:none;padding:8px;line-height:normal;font-size:15px;justify-content:center}.gblocks-icon-chooser li button.components-button span{line-height:0}.gblocks-icon-chooser li button.components-button:hover{background:#fff;box-shadow:none}.gblocks-icon-chooser li button.components-button svg{width:1em;height:1em}.gb-icon{display:inline-flex;line-height:0}.gb-icon svg{height:1em;width:1em;fill:currentColor}button.components-icon-picker-item{width:50px;height:50px;font-size:30px;line-height:50px;background:#efefef;cursor:pointer;border:1px solid #ddd;margin-bottom:10px}button.components-icon-picker-item svg{height:1em;width:1em}.components-icon-picker-item>span{display:flex;align-items:center;justify-content:center}.components-icon-picker-item:hover,.components-icon-picker-item:focus{background:#fafafa}.gb-svg-html .components-base-control{margin-bottom:0}.gb-icon-preview{font-size:25px;display:flex;align-items:center}.gb-icon-preview svg{margin-right:10px;width:1em;height:1em}.block-editor-block-inspector .gb-icon-chooser .components-panel__body{border-color:#ddd;margin-top:0}.block-editor-block-inspector .gb-icon-chooser .components-panel__body button.components-panel__body-toggle{background:#fafafa}.block-editor-block-inspector .gb-icon-chooser .components-panel__body.is-opened{background:#fafafa}.block-editor-block-inspector .gb-icon-chooser .components-panel__body:last-child{border-bottom:1px solid #ddd}
22
-
23
- .gblocks-component-url-input{width:100%;margin-top:10px;font-family:-apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;font-size:13px;line-height:1.4;background:#fff;border:1px solid #e2e4e7;color:#000}.gblocks-component-url-input .gblocks-component-url-input-flex{display:flex;align-items:center}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input{width:auto}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type="text"]{width:100%}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type="text"]::-moz-placeholder{color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type="text"]:-ms-input-placeholder{color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type="text"]::placeholder{color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex>.dashicon{width:20px;color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex .components-base-control__field{margin-bottom:0}.gblocks-component-url-input .gblocks-component-url-input-more-options{padding:10px;border-top:1px solid #e2e4e7}.gblocks-component-url-input .gblocks-component-url-input-more-options .components-base-control{margin-bottom:5px}.gblocks-component-url-input .gblocks-component-url-input-more-options .components-base-control .components-base-control__field{margin-bottom:0}.gblocks-component-url-input .gblocks-component-url-input-more-options .components-base-control:last-child{margin-bottom:0}.gblocks-component-url-input-float{position:absolute;min-width:260px;max-width:260px;box-shadow:0 3px 30px rgba(25,30,35,0.1);z-index:150}.gblocks-component-url-input-float::after,.gblocks-component-url-input-float::before{content:" ";position:absolute;bottom:100%;left:20px;width:0;height:0;pointer-events:none;border:solid transparent}.gblocks-component-url-input-float::after{border:5px solid rgba(255,255,255,0);border-bottom-color:#fff}.gblocks-component-url-input-float::before{margin-left:-1px;border:6px solid rgba(226,228,231,0);border-bottom-color:#e2e4e7}.gblocks-component-url-input-float .editor-url-input__suggestions{max-width:188px}.block-editor-block-list__block .gblocks-component-url-input-flex input[type="text"]{max-width:100%;width:100%}
24
-
25
  mark.gb-highlight{background:none;color:unset}.gb-headline span.rich-text{display:inline-block}.wp-block[data-type="generateblocks/headline"]{margin-top:0;margin-bottom:0}
26
-
27
  .gblocks-notice{margin-bottom:20px}.gblocks-panel-label .components-panel__body-toggle.components-button{display:flex;flex-direction:row-reverse;justify-content:flex-end}.gblocks-panel-label svg.components-panel__icon{margin:0 10px 0 0}.gblocks-control-tabs .components-tab-panel__tabs{display:flex;flex-wrap:wrap;margin-bottom:15px;border-bottom:1px solid #e8eaeb}.gblocks-control-tabs .components-tab-panel__tabs button{padding:8px;height:auto;margin:0;margin-bottom:-1px;cursor:pointer;border:none;border:0;border-radius:0;outline-offset:-1px;flex:1;justify-content:center;font-size:11px;font-weight:400}.gblocks-control-tabs .components-tab-panel__tabs button.active-tab{position:relative;z-index:1;background:#222 !important;color:#fff !important;box-shadow:0 0 0 !important}.gblocks-block-control-icon svg{margin-right:0 !important;margin-left:0 !important;padding:2px}.gblocks-block-control-icon.gblocks-add-grid-item svg{padding:0}.gblocks-block-control-icon svg path{fill:inherit !important}.gblocks-option-notice.components-notice{margin:0 0 24px}.gblocks-option-notice.components-notice .components-notice__content{margin:5px}
28
-
1
+ .gb-grid-wrapper{position:relative;display:block;margin-right:0;margin-left:0}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{position:relative;display:flex;flex-wrap:wrap;justify-content:flex-start;margin-right:-15px;margin-left:-15px}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout .editor-block-list__block{max-width:none;margin-right:0;margin-left:0}.block-editor-block-list__block[data-align=full][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.gb-grid-wrapper-button-select{right:1px}.block-editor-block-list__block[data-align=full][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:1px;margin-left:1px}.gb-grid-wrapper .editor-inserter-with-shortcuts{display:none}.gb-grid-wrapper .editor-block-list__empty-block-inserter,.gb-grid-wrapper .editor-default-block-appender .editor-inserter{right:10px;left:auto}.wp-block.gb-col{margin-top:29px}.components-placeholder.components-placeholder.gb-select-layout{padding:25px;background:#fff;color:#000}.components-placeholder.components-placeholder.gb-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview{display:flex;flex-wrap:wrap;justify-content:center;margin-right:-7px;margin-left:-7px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn{display:flex;flex-wrap:wrap;width:85px;padding:0;margin-right:7px;margin-bottom:14px;margin-left:7px;overflow:hidden;cursor:pointer;background:none;border:2px solid rgba(79,89,105,.75);border-radius:4px;transition:.15s border-color,.15s background-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col{height:40px;border-right:2px solid rgba(79,89,105,.75);transition:.15s border-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col:last-of-type{border-right:none}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus{background-color:#fff;border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover .gb-col,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus .gb-col{border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .components-button.is-primary{height:35px;padding:0 15px;margin-top:10px;font-size:14px}.gb-col{display:flex;flex:1;flex-direction:column;width:0}.gb-col>.block-editor-block-list__block-edit{display:flex;flex-basis:100%;margin-top:0 !important;margin-bottom:0 !important}.gb-col>.block-editor-block-list__block-edit>[data-block]{flex:100%}.gb-col>.block-editor-block-list__block-edit>.editor-block-contextual-toolbar+[data-block]{margin-left:30px}.gb-col.gb-col-25{flex-basis:25%}.gb-col.gb-col-75{flex-basis:75%}.gb-col.gb-col-50{flex-basis:50%}.gb-col.gb-col-60{flex-basis:60%}.gb-col.gb-col-20{flex-basis:20%}.gb-col.gb-col-16{flex-basis:16.6%}.gb-grid-appender button{background:#fff;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;padding:20px;width:100%;justify-content:center;height:auto}.gb-grid-appender button.components-button svg{margin-right:0}.gb-select-layout .components-placeholder__label,.gb-select-layout .components-placeholder__instructions{margin-left:auto;margin-right:auto}.gb-select-layout iframe{display:flex;justify-content:center;align-items:center}.gb-select-layout .gb-grid-wrapper-layout-preview{max-width:500px}.gb-select-layout .components-placeholder__fieldset{display:flex;justify-content:center}.wp-block[data-type="generateblocks/grid"]{margin-top:0;margin-bottom:0}
2
+ .gb-responsive-tabs{position:sticky;top:0;background:#fff;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;z-index:10;display:flex}.gb-responsive-tabs button{flex-grow:1;justify-content:center;padding:10px;height:unset;border-radius:unset;outline:0 !important}.gb-responsive-tabs button.is-pressed:not(:disabled),.gb-responsive-tabs button:focus:not(:disabled),.gb-responsive-tabs button:active:not(:disabled),.gb-responsive-tabs button:hover:not(:disabled){box-shadow:unset !important;background:#007cba !important;color:#fff !important}.block-editor-block-inspector .gb-responsive-tabs+.components-panel__body{border-top:0}
 
 
3
  .components-gblocks-units-control-header__units{display:flex;justify-content:space-between;margin-bottom:5px;align-items:center}.components-gblocks-control__units .components-gblocks-control-buttons__units button.components-button{background:#fff;box-shadow:none !important;color:#929da7;font-size:10px;padding:0 5px;position:relative;text-align:center;text-shadow:none;border:0;border-radius:0 !important;line-height:20px;padding:0 5px;height:auto}.components-gblocks-control__units .components-gblocks-control-buttons__units button.components-button.is-primary{background:#fff !important;color:#000 !important;cursor:default;z-index:1;font-weight:bold}
4
+ body.gutenberg-editor-page [data-type="generateblocks/container"] .editor-block-list__block,[data-type="generateblocks/container"] .wp-block-heading h1,[data-type="generateblocks/container"] .wp-block-heading h1.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h2,[data-type="generateblocks/container"] .wp-block-heading h2.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h3,[data-type="generateblocks/container"] .wp-block-heading h3.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h4,[data-type="generateblocks/container"] .wp-block-heading h4.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h5,[data-type="generateblocks/container"] .wp-block-heading h5.editor-rich-text__tinymce,[data-type="generateblocks/container"] .wp-block-heading h6,[data-type="generateblocks/container"] .wp-block-heading h6.editor-rich-text__tinymce{color:inherit}.additional-class-notice .components-notice{margin:0 0 10px}.widthButtons button{font-size:12px;flex:1;box-shadow:inset 0 0 0 1px #007cba;justify-content:center}.widthButtons{margin-bottom:10px;display:flex}.gblocks-column-width-control input[type=number]{width:65px}body .gb-container .wp-block{max-width:none}[data-type="generateblocks/container"]>.block-editor-block-list__block-edit>[data-block]{margin:0}.block-editor-block-inspector .components-base-control.gblocks-gpress-full-width{border-top:1px solid #ddd;padding-top:15px}.block-editor-block-inspector .components-base-control.gblocks-gpress-full-width .components-base-control__label{margin-bottom:15px}.gblocks-container-text-alignment .components-base-control__label{display:block}.edit-post-visual-editor .block-editor-block-list__block[data-type="generateblocks/container"]>.block-editor-block-list__block-edit{margin:0}.block-editor-block-list__layout .block-editor-block-list__block[data-type="generateblocks/container"]{padding:0;box-sizing:border-box}.gblocks-bg-image-wrapper{display:flex}.gblocks-bg-image-wrapper .components-base-control,.gblocks-bg-image-wrapper .components-base-control__field{margin:0}.gblocks-bg-image-wrapper>.components-base-control{flex-grow:1}.gblocks-bg-image-wrapper .components-button{line-height:inherit;height:100%}.components-gblocks-control__image-sizes{margin-bottom:24px}.components-gblocks-control__image-sizes button{margin:0 5px 5px 0}.wp-block[data-type="generateblocks/container"]{margin-top:0;margin-bottom:0}.gb-container .wp-block-image{margin-top:0;margin-bottom:0}.gb-container .gb-shape{position:absolute;overflow:hidden;line-height:0;pointer-events:none}.gb-container .gb-shape svg{fill:currentColor}.gblocks-add-new-shape{margin-top:10px}.gblocks-shape-controls{width:100%}.gblocks-shape-controls>.components-base-control{margin-bottom:20px}.gblocks-shape-controls .gblocks-edit-shape{display:block;width:100%;text-align:left}.gblocks-shape-controls .gblocks-shape-chooser{margin:0}.gblocks-shape-controls .gblocks-shape-chooser li{margin:5px 0}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button{width:100%;height:auto;background:#efefef}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button svg{width:100%}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button:hover{background:#efefef}.gblocks-shape-controls .gblocks-shape-chooser li button.components-button.gblocks-shape-is-active{box-shadow:0 0 0 3px #007cba}.gblocks-shape-divider-preview{padding:10px}.gblocks-shape-divider-preview svg{fill:currentColor}.gblocks-shape-toggle-preview{margin-right:10px}.gblocks-shape-toggle-preview svg{width:30px}.gblocks-shape-container{display:flex;align-items:center;margin-bottom:10px;border:1px solid #efefef;border-radius:3px}.gblocks-shape-container .components-dropdown{margin-left:auto}.gblocks-shape-container .components-button.gblocks-shape-dropdown,.gblocks-shape-container .components-button.gblocks-remove-shape{justify-content:center}.gblocks-shape-container .components-button.gblocks-shape-dropdown>svg,.gblocks-shape-container .components-button.gblocks-remove-shape>svg{margin-right:0}.components-popover.gblocks-shapes-dropdown .components-popover__content{min-width:260px}.gblocks-gpress-full-width .components-base-control__label{display:block}
 
 
5
  .gblocks-component-color-picker-wrapper>.components-base-control__field{position:relative;display:flex;align-items:center;justify-content:space-between}.gblocks-component-color-picker-wrapper>.components-base-control__field .components-color-palette__item-wrapper{margin:0}.gblocks-component-color-picker>.components-base-control:first-child{margin-bottom:0}.gblocks-component-color-picker .components-color-picker__inputs-wrapper{min-width:auto}.gblocks-component-color-picker .gblocks-component-color-picker-palette{padding:16px;margin-top:10px}.gblocks-component-color-picker .gblocks-component-color-picker-palette .components-circular-option-picker{display:flex;flex-wrap:wrap}.gblocks-component-color-picker .gblocks-component-color-picker-palette .components-circular-option-picker .components-circular-option-picker__option-wrapper{margin:0 8px 8px 0}.gblocks-component-color-picker .components-base-control__field,.gblocks-component-color-picker .components-color-palette{margin:0}.gblocks-component-color-picker .components-color-picker{padding:5px}.gblocks-component-color-picker .components-color-picker__inputs-toggle{display:none}.gblocks-component-color-picker .components-color-picker__body{padding-bottom:0}.gblocks-component-color-picker .components-popover__content{padding:10px;width:300px}.gblocks-component-color-picker .components-color-picker__inputs-fields{margin-right:0}.gblocks-component-color-picker .components-color-clear-color{margin:0 16px}.gblocks-component-color-opacity{display:flex;padding:0 16px;margin:10px 0}.gblocks-component-color-opacity .components-range-control{flex-grow:1;padding-left:5px}.gblocks-color-picker-area{width:28px;height:28px}
6
+ .components-gblocks-dimensions-control__inputs,.components-gblocks-dimensions-control__input-labels{display:flex}.components-gblocks-dimensions-control input[type=number]{border-top-right-radius:0;border-bottom-right-radius:0;height:30px;margin:0 -1px 0 0;padding:5px;width:calc(25% - 5px)}.components-gblocks-dimensions-control input[type=number]:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.components-gblocks-dimensions-control__input-labels>span{width:calc(25% - 5px);font-size:11px}.components-gblocks-dimensions-control__input-labels>span:last-child{width:30px}.components-gblocks-dimensions-control_sync.components-button{border-top-left-radius:0;border-bottom-left-radius:0;box-shadow:none;height:auto;justify-content:center;padding:0;text-align:center;text-shadow:none;width:30px}.components-gblocks-dimensions-control_sync.components-button:not(.is-primary){background:#fff;border:1px solid #8d96a0;color:#555d66}.components-gblocks-dimensions-control_sync.components-button svg{width:18px;height:18px;fill:currentColor}.components-gblocks-dimensions-control_sync.components-button:hover,.components-gblocks-dimensions-control_sync.components-button:focus{box-shadow:none !important}
 
 
7
  .edit-post-settings-sidebar__panel-block .components-panel__body .components-base-control.gblocks-font-family-shortcuts{margin-bottom:2px}.components-gblocks-typography-control__header{display:flex;justify-content:space-between;margin-bottom:5px;align-items:center}.components-gblocks-typography-control__inputs+.components-gblocks-typography-control__header{margin-top:25px}.components-gblocks-typography-control__inputs{display:flex;justify-content:space-between}.components-gblocks-typography-control__inputs button.components-button{line-height:unset;height:unset}.components-gblocks-typography-control__inputs .components-base-control{margin-bottom:0}.edit-post-settings-sidebar__panel-block .components-panel__body .components-gblocks-typography-control__inputs .components-base-control,.components-gblocks-typography-control__inputs .components-base-control .components-base-control__field{margin-bottom:0}.components-gblocks-typography-weight-transform{display:flex;justify-content:space-between}.components-gblocks-typography-weight-transform>div{width:48%}.components-gblocks-typography-control__units>.components-button-group .components-button.is-button:first-child:last-child{border-radius:3px}.components-gblocks-typography-control__inputs button{margin-left:10px}.components-gblocks-typography-control__inputs .components-base-control{flex-grow:1}
 
8
  .gblocks-component-gradient-control{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:8px}.gblocks-component-gradient-control .components-base-control{margin-bottom:0 !important}.gblocks-component-gradient-control .components-base-control .components-base-control__field{margin-bottom:0}.gblocks-component-gradient-control .gblocks-component-color-picker-wrapper .components-base-control__field{margin-top:0}.gblocks-component-gradient-stop-value{flex-grow:1;padding-left:10px}
 
9
  .gb-button-wrapper{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;clear:both}.gb-button-wrapper .block-editor-block-list__layout>.block-list-appender{display:none !important}.gb-button-wrapper .block-editor-block-list__layout>.block-list-appender:first-child{display:block !important}[data-type="generateblocks/button-container"].has-child-selected .gb-button-wrapper>.components-button,[data-type="generateblocks/button-container"].is-selected .gb-button-wrapper>.components-button{display:inline-flex}.gblocks-add-new-button svg{margin-right:0 !important;margin-left:0 !important}.gblocks-button-container-appender{-ms-grid-row-align:center;align-self:center}.wp-block[data-type="generateblocks/button-container"]{margin-top:0;margin-bottom:0}
10
+ .gb-button-wrapper{position:relative;margin-top:0}.gb-button-wrapper .gb-button{display:flex;justify-content:center;align-items:center;text-align:center;padding:unset;line-height:unset;text-decoration:none !important;border:none;transition:.2s background-color ease-in-out,.2s color ease-in-out,.2s border-color ease-in-out,.2s opacity ease-in-out,.2s box-shadow ease-in-out}.gb-button-wrapper .gb-button .editor-rich-text__tinymce{line-height:1em}.gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;margin-right:0}.gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>div{width:auto}.gb-button-wrapper.gb-button-wrapper-align-right>.block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:flex-end}.gb-button-wrapper.gb-button-wrapper-align-center>.block-editor-inner-blocks>.block-editor-block-list__layout{justify-content:center}.gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>*>.block-editor-block-list__block-edit{margin-top:0;margin-bottom:0}.gb-button-wrapper .blocks-format-toolbar__link-modal{top:calc(100% + 2px);left:50%;transform:translateX(-50%);z-index:2}.gb-button-wrapper .blocks-link-url__suggestions{right:-35px}.gb-button-wrapper .blocks-rich-text__tinymce{cursor:text}.gb-button-wrapper .components-button.gblocks-add-button{background:#fff;-ms-grid-row-align:center;align-self:center}.gb-button-wrapper .components-button.gblocks-add-button svg{margin-right:0}.gb-button .gb-icon{-ms-grid-row-align:center;align-self:center}.using-theme-colors{background-color:#e9f5f9;border-left:4px solid #409ecd;padding:10px}.using-theme-colors p:last-child{margin-bottom:0}.button.gb-button{font-size:inherit;min-height:auto;border-radius:unset}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-left:0;margin-right:0}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{width:auto;padding-left:0;padding-right:0;margin-left:0;margin-right:0}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit::before{border-right:none;border-top:none;border-bottom:none}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block.is-hovered:not(.is-navigate-mode)>.block-editor-block-list__block-edit::before{box-shadow:none}[data-type="generateblocks/button-container"].is-hovered .gb-button-wrapper .block-editor-block-list__block-edit::before,[data-type="generateblocks/button-container"].is-selected .gb-button-wrapper .block-editor-block-list__block-edit::before,[data-type="generateblocks/button-container"].has-child-selected .gb-button-wrapper .block-editor-block-list__block-edit::before{border-color:transparent !important}[data-type="generateblocks/button-container"] .gb-button-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block>.block-editor-block-list__block-edit>[data-block]{margin-top:0;margin-bottom:0}[data-type="generateblocks/button-container"] .gb-button-wrapper .block-editor-block-list__insertion-point,[data-type="generateblocks/button-container"] .gb-button-wrapper .block-editor-block-list__breadcrumb{display:none}[data-type="generateblocks/button-container"]:not(.is-selected):not(.has-child-selected) .gb-button-wrapper{min-height:36px}.wp-block[data-type="generateblocks/button"]{margin-top:0;margin-bottom:0}
 
 
11
  .gblocks-icon-chooser{display:flex;flex-wrap:wrap;list-style:none;margin-top:0;margin-left:-3px}.gblocks-icon-chooser li{display:block;margin:0 0 3px 3px;padding:0}.gblocks-icon-chooser li button.components-button{background:#fafafa;color:#000;height:30px;width:30px;border:0;border-radius:0;box-shadow:none;padding:8px;line-height:normal;font-size:15px;justify-content:center}.gblocks-icon-chooser li button.components-button span{line-height:0}.gblocks-icon-chooser li button.components-button:hover{background:#fff;box-shadow:none}.gblocks-icon-chooser li button.components-button svg{width:1em;height:1em}.gb-icon{display:inline-flex;line-height:0}.gb-icon svg{height:1em;width:1em;fill:currentColor}button.components-icon-picker-item{width:50px;height:50px;font-size:30px;line-height:50px;background:#efefef;cursor:pointer;border:1px solid #ddd;margin-bottom:10px}button.components-icon-picker-item svg{height:1em;width:1em}.components-icon-picker-item>span{display:flex;align-items:center;justify-content:center}.components-icon-picker-item:hover,.components-icon-picker-item:focus{background:#fafafa}.gb-svg-html .components-base-control{margin-bottom:0}.gb-icon-preview{font-size:25px;display:flex;align-items:center}.gb-icon-preview svg{margin-right:10px;width:1em;height:1em}.block-editor-block-inspector .gb-icon-chooser .components-panel__body{border-color:#ddd;margin-top:0}.block-editor-block-inspector .gb-icon-chooser .components-panel__body button.components-panel__body-toggle{background:#fafafa}.block-editor-block-inspector .gb-icon-chooser .components-panel__body.is-opened{background:#fafafa}.block-editor-block-inspector .gb-icon-chooser .components-panel__body:last-child{border-bottom:1px solid #ddd}
12
+ .gblocks-component-url-input{width:100%;margin-top:10px;font-family:-apple-system,"BlinkMacSystemFont","Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif;font-size:13px;line-height:1.4;background:#fff;border:1px solid #e2e4e7;color:#000}.gblocks-component-url-input .gblocks-component-url-input-flex{display:flex;align-items:center}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input{width:auto}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type=text]{width:100%}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type=text]::-moz-placeholder{color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type=text]:-ms-input-placeholder{color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex .editor-url-input input[type=text]::placeholder{color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex>.dashicon{width:20px;color:#222}.gblocks-component-url-input .gblocks-component-url-input-flex .components-base-control__field{margin-bottom:0}.gblocks-component-url-input .gblocks-component-url-input-more-options{padding:10px;border-top:1px solid #e2e4e7}.gblocks-component-url-input .gblocks-component-url-input-more-options .components-base-control{margin-bottom:5px}.gblocks-component-url-input .gblocks-component-url-input-more-options .components-base-control .components-base-control__field{margin-bottom:0}.gblocks-component-url-input .gblocks-component-url-input-more-options .components-base-control:last-child{margin-bottom:0}.gblocks-component-url-input-float{position:absolute;min-width:260px;max-width:260px;box-shadow:0 3px 30px rgba(25,30,35,.1);z-index:150}.gblocks-component-url-input-float::after,.gblocks-component-url-input-float::before{content:" ";position:absolute;bottom:100%;left:20px;width:0;height:0;pointer-events:none;border:solid transparent}.gblocks-component-url-input-float::after{border:5px solid rgba(255,255,255,0);border-bottom-color:#fff}.gblocks-component-url-input-float::before{margin-left:-1px;border:6px solid rgba(226,228,231,0);border-bottom-color:#e2e4e7}.gblocks-component-url-input-float .editor-url-input__suggestions{max-width:188px}.block-editor-block-list__block .gblocks-component-url-input-flex input[type=text]{max-width:100%;width:100%}
 
 
13
  mark.gb-highlight{background:none;color:unset}.gb-headline span.rich-text{display:inline-block}.wp-block[data-type="generateblocks/headline"]{margin-top:0;margin-bottom:0}
 
14
  .gblocks-notice{margin-bottom:20px}.gblocks-panel-label .components-panel__body-toggle.components-button{display:flex;flex-direction:row-reverse;justify-content:flex-end}.gblocks-panel-label svg.components-panel__icon{margin:0 10px 0 0}.gblocks-control-tabs .components-tab-panel__tabs{display:flex;flex-wrap:wrap;margin-bottom:15px;border-bottom:1px solid #e8eaeb}.gblocks-control-tabs .components-tab-panel__tabs button{padding:8px;height:auto;margin:0;margin-bottom:-1px;cursor:pointer;border:none;border:0;border-radius:0;outline-offset:-1px;flex:1;justify-content:center;font-size:11px;font-weight:400}.gblocks-control-tabs .components-tab-panel__tabs button.active-tab{position:relative;z-index:1;background:#222 !important;color:#fff !important;box-shadow:0 0 0 !important}.gblocks-block-control-icon svg{margin-right:0 !important;margin-left:0 !important;padding:2px}.gblocks-block-control-icon.gblocks-add-grid-item svg{padding:0}.gblocks-block-control-icon svg path{fill:inherit !important}.gblocks-option-notice.components-notice{margin:0 0 24px}.gblocks-option-notice.components-notice .components-notice__content{margin:5px}
 
dist/blocks.js CHANGED
@@ -1,15 +1,15 @@
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=48)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){function a(t){return e.exports=a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(t)}e.exports=a},function(e,t){e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},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},a.apply(this,arguments)}e.exports=a},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function a(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}e.exports=function(e,t,l){return t&&a(e.prototype,t),l&&a(e,l),e}},function(e,t,a){var l=a(20);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}},function(e,t,a){var l=a(18),i=a(13);e.exports=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?i(e):t}},function(e,t){!function(){e.exports=this.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)&&l.length){var n=i.apply(null,l);n&&e.push(n)}else if("object"===r)for(var o in l)a.call(l,o)&&l[o]&&e.push(o)}}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=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t,a){var l=a(33),i=a(34),r=a(23),n=a(35);e.exports=function(e){return l(e)||i(e)||r(e)||n()}},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){function a(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=a=function(e){return typeof e}:e.exports=a=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(t)}e.exports=a},function(e,t,a){var l=a(29),i=a(30),r=a(23),n=a(31);e.exports=function(e,t){return l(e)||i(e,t)||r(e,t)||n()}},function(e,t){function a(t,l){return e.exports=a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(t,l)}e.exports=a},function(e,t){!function(){e.exports=this.wp.richText}()},,function(e,t,a){var l=a(24);e.exports=function(e,t){if(e){if("string"==typeof e)return l(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?l(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}},function(e,t,a){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,a=Object.isFrozen,l=Object.freeze,i=Object.seal,r=Object.create,n="undefined"!=typeof Reflect&&Reflect,o=n.apply,c=n.construct;o||(o=function(e,t,a){return e.apply(t,a)}),l||(l=function(e){return e}),i||(i=function(e){return e}),c||(c=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 s,g=v(Array.prototype.forEach),b=v(Array.prototype.pop),u=v(Array.prototype.push),d=v(String.prototype.toLowerCase),p=v(String.prototype.match),f=v(String.prototype.replace),h=v(String.prototype.indexOf),m=v(String.prototype.trim),k=v(RegExp.prototype.test),y=(s=TypeError,function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return c(s,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 o(e,t,l)}}function w(e,l){t&&t(e,null);for(var i=l.length;i--;){var r=l[i];if("string"==typeof r){var n=d(r);n!==r&&(a(l)||(l[i]=n),r=n)}e[r]=!0}return e}function O(t){var a=r(null),l=void 0;for(l in t)o(e,t,[l])&&(a[l]=t[l]);return a}var j=l(["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"]),T=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","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","video","view","vkern"]),C=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S=l(["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"]),_=l(["#text"]),B=l(["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"]),D=l(["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"]),E=l(["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"]),R=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),x=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),M=i(/<%[\s\S]*|[\s\S]*%>/gm),z=i(/^data-[\-\w.\u00B7-\uFFFF]/),L=i(/^aria-[\-\w]+$/),P=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F=i(/^(?:\w+script|data):/i),A=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function H(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 N=function(){return"undefined"==typeof window?null:window},I=function(e,t){if("object"!==(void 0===e?"undefined":U(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]:N(),a=function(t){return e(t)};if(a.version="2.2.4",a.removed=[],!t||!t.document||9!==t.document.nodeType)return a.isSupported=!1,a;var i=t.document,r=t.document,n=t.DocumentFragment,o=t.HTMLTemplateElement,c=t.Node,s=t.NodeFilter,v=t.NamedNodeMap,G=void 0===v?t.NamedNodeMap||t.MozNamedAttrMap:v,V=t.Text,q=t.Comment,W=t.DOMParser,Z=t.trustedTypes;if("function"==typeof o){var K=r.createElement("template");K.content&&K.content.ownerDocument&&(r=K.content.ownerDocument)}var J=I(Z,i),Y=J&&Be?J.createHTML(""):"",Q=r,X=Q.implementation,$=Q.createNodeIterator,ee=Q.getElementsByTagName,te=Q.createDocumentFragment,ae=i.importNode,le={};try{le=O(r).documentMode?r.documentMode:{}}catch(e){}var ie={};a.isSupported=X&&void 0!==X.createHTMLDocument&&9!==le;var re=x,ne=M,oe=z,ce=L,se=F,ge=A,be=P,ue=null,de=w({},[].concat(H(j),H(T),H(C),H(S),H(_))),pe=null,fe=w({},[].concat(H(B),H(D),H(E),H(R))),he=null,me=null,ke=!0,ye=!0,ve=!1,we=!1,Oe=!1,je=!1,Te=!1,Ce=!1,Se=!1,_e=!0,Be=!1,De=!0,Ee=!0,Re=!1,xe={},Me=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,Le=w({},["audio","video","img","source","image","track"]),Pe=null,Fe=w({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ae=null,Ue=r.createElement("form"),He=function(e){Ae&&Ae===e||(e&&"object"===(void 0===e?"undefined":U(e))||(e={}),e=O(e),ue="ALLOWED_TAGS"in e?w({},e.ALLOWED_TAGS):de,pe="ALLOWED_ATTR"in e?w({},e.ALLOWED_ATTR):fe,Pe="ADD_URI_SAFE_ATTR"in e?w(O(Fe),e.ADD_URI_SAFE_ATTR):Fe,ze="ADD_DATA_URI_TAGS"in e?w(O(Le),e.ADD_DATA_URI_TAGS):Le,he="FORBID_TAGS"in e?w({},e.FORBID_TAGS):{},me="FORBID_ATTR"in e?w({},e.FORBID_ATTR):{},xe="USE_PROFILES"in e&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,ye=!1!==e.ALLOW_DATA_ATTR,ve=e.ALLOW_UNKNOWN_PROTOCOLS||!1,we=e.SAFE_FOR_TEMPLATES||!1,Oe=e.WHOLE_DOCUMENT||!1,Ce=e.RETURN_DOM||!1,Se=e.RETURN_DOM_FRAGMENT||!1,_e=!1!==e.RETURN_DOM_IMPORT,Be=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ee=!1!==e.KEEP_CONTENT,Re=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,we&&(ye=!1),Se&&(Ce=!0),xe&&(ue=w({},[].concat(H(_))),pe=[],!0===xe.html&&(w(ue,j),w(pe,B)),!0===xe.svg&&(w(ue,T),w(pe,D),w(pe,R)),!0===xe.svgFilters&&(w(ue,C),w(pe,D),w(pe,R)),!0===xe.mathMl&&(w(ue,S),w(pe,E),w(pe,R))),e.ADD_TAGS&&(ue===de&&(ue=O(ue)),w(ue,e.ADD_TAGS)),e.ADD_ATTR&&(pe===fe&&(pe=O(pe)),w(pe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&w(Pe,e.ADD_URI_SAFE_ATTR),Ee&&(ue["#text"]=!0),Oe&&w(ue,["html","head","body"]),ue.table&&(w(ue,["tbody"]),delete he.tbody),l&&l(e),Ae=e)},Ne=function(e){u(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=Y}catch(t){e.remove()}}},Ie=function(e,t){try{u(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){u(a.removed,{attribute:null,from:t})}t.removeAttribute(e)},Ge=function(e){var t=void 0,a=void 0;if(Te)e="<remove></remove>"+e;else{var l=p(e,/^[\r\n\t ]+/);a=l&&l[0]}var i=J?J.createHTML(e):e;try{t=(new W).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){var n=(t=X.createHTMLDocument("")).body;n.parentNode.removeChild(n.parentNode.firstElementChild),n.outerHTML=i}return e&&a&&t.body.insertBefore(r.createTextNode(a),t.body.childNodes[0]||null),ee.call(t,Oe?"html":"body")[0]},Ve=function(e){return $.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,(function(){return s.FILTER_ACCEPT}),!1)},qe=function(e){return!(e instanceof V||e instanceof q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof G&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},We=function(e){return"object"===(void 0===c?"undefined":U(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":U(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ze=function(e,t,l){ie[e]&&g(ie[e],(function(e){e.call(a,t,l,Ae)}))},Ke=function(e){var t=void 0;if(Ze("beforeSanitizeElements",e,null),qe(e))return Ne(e),!0;if(p(e.nodeName,/[\u0080-\uFFFF]/))return Ne(e),!0;var l=d(e.nodeName);if(Ze("uponSanitizeElement",e,{tagName:l,allowedTags:ue}),!We(e.firstElementChild)&&(!We(e.content)||!We(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return Ne(e),!0;if(!ue[l]||he[l]){if(Ee&&!Me[l]&&"function"==typeof e.insertAdjacentHTML)try{var i=e.innerHTML;e.insertAdjacentHTML("AfterEnd",J?J.createHTML(i):i)}catch(e){}return Ne(e),!0}return"noscript"!==l&&"noembed"!==l||!k(/<\/no(script|embed)/i,e.innerHTML)?"math"===l&&We(e.firstElementChild)&&e.querySelectorAll(":not("+S.join("):not(")+")").length>0||"svg"===l&&e.querySelectorAll("p, br, table, form, noscript").length>0?(Ne(e),!0):(we&&3===e.nodeType&&(t=e.textContent,t=f(t,re," "),t=f(t,ne," "),e.textContent!==t&&(u(a.removed,{element:e.cloneNode()}),e.textContent=t)),Ze("afterSanitizeElements",e,null),!1):(Ne(e),!0)},Je=function(e,t,a){if(De&&("id"===t||"name"===t)&&(a in r||a in Ue))return!1;if(ye&&k(oe,t));else if(ke&&k(ce,t));else{if(!pe[t]||me[t])return!1;if(Pe[t]);else if(k(be,f(a,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==h(a,"data:")||!ze[e])if(ve&&!k(se,f(a,ge,"")));else if(a)return!1}return!0},Ye=function(e){var t=void 0,l=void 0,i=void 0,r=void 0;Ze("beforeSanitizeAttributes",e,null);var n=e.attributes;if(n){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:pe};for(r=n.length;r--;){var c=t=n[r],s=c.name,g=c.namespaceURI;if(l=m(t.value),i=d(s),o.attrName=i,o.attrValue=l,o.keepAttr=!0,o.forceKeepAttr=void 0,Ze("uponSanitizeAttribute",e,o),l=o.attrValue,!o.forceKeepAttr&&(Ie(s,e),o.keepAttr))if(k(/\/>/i,l))Ie(s,e);else{we&&(l=f(l,re," "),l=f(l,ne," "));var u=e.nodeName.toLowerCase();if(Je(u,i,l))try{g?e.setAttributeNS(g,s,l):e.setAttribute(s,l),b(a.removed)}catch(e){}}}Ze("afterSanitizeAttributes",e,null)}},Qe=function e(t){var a=void 0,l=Ve(t);for(Ze("beforeSanitizeShadowDOM",t,null);a=l.nextNode();)Ze("uponSanitizeShadowNode",a,null),Ke(a)||(a.content instanceof n&&e(a.content),Ye(a));Ze("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(e,l){var r=void 0,o=void 0,s=void 0,g=void 0,b=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!We(e)){if("function"!=typeof e.toString)throw y("toString is not a function");if("string"!=typeof(e=e.toString()))throw y("dirty is not a string, aborting")}if(!a.isSupported){if("object"===U(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(We(e))return t.toStaticHTML(e.outerHTML)}return e}if(je||He(l),a.removed=[],"string"==typeof e&&(Re=!1),Re);else if(e instanceof c)1===(o=(r=Ge("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Ce&&!we&&!Oe&&-1===e.indexOf("<"))return J&&Be?J.createHTML(e):e;if(!(r=Ge(e)))return Ce?null:Y}r&&Te&&Ne(r.firstChild);for(var u=Ve(Re?e:r);s=u.nextNode();)3===s.nodeType&&s===g||Ke(s)||(s.content instanceof n&&Qe(s.content),Ye(s),g=s);if(g=null,Re)return e;if(Ce){if(Se)for(b=te.call(r.ownerDocument);r.firstChild;)b.appendChild(r.firstChild);else b=r;return _e&&(b=ae.call(i,b,!0)),b}var d=Oe?r.outerHTML:r.innerHTML;return we&&(d=f(d,re," "),d=f(d,ne," ")),J&&Be?J.createHTML(d):d},a.setConfig=function(e){He(e),je=!0},a.clearConfig=function(){Ae=null,je=!1},a.isValidAttribute=function(e,t,a){Ae||He({});var l=d(e),i=d(t);return Je(l,i,a)},a.addHook=function(e,t){"function"==typeof t&&(ie[e]=ie[e]||[],u(ie[e],t))},a.removeHook=function(e){ie[e]&&b(ie[e])},a.removeHooks=function(e){ie[e]&&(ie[e]=[])},a.removeAllHooks=function(){ie={}},a}()}()},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var a=[],l=!0,i=!1,r=void 0;try{for(var n,o=e[Symbol.iterator]();!(l=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);l=!0);}catch(e){i=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(i)throw r}}return a}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,a){},function(e,t,a){var l=a(24);e.exports=function(e){if(Array.isArray(e))return l(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},,,function(e,t,a){"use strict";a.r(t);var l=a(0),i=(a(26),a(6)),r=a.n(i),n=a(5),o=a.n(n),c=a(7),s=a.n(c),g=a(8),b=a.n(g),u=a(13),d=a.n(u),p=a(9),f=a.n(p),h=a(10),m=a.n(h),k=a(4),y=a.n(k),v=a(12),w=a.n(v),O=wp.element.createElement;function j(e){return"tabs-desktop"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none"},O("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"}),O("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?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("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"}),O("path",{d:"M12 17.5H12.01"})):"tabs-mobile"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("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"}),O("path",{d:"M12 17.5H12.01"})):"sync"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("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?O("svg",{width:24,height:24,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4",fill:"#1e72bd"})):"grid"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("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"}),O("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?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("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?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("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?O("svg",{width:20,height:20,viewBox:"0 0 20 20"},O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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"}),O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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"}),O("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"}),O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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"}),O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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"}),O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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?O("svg",{width:20,height:20,viewBox:"0 0 64 64",fillRule:"evenodd"},O("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"}),O("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?O("svg",{width:24,height:24,viewBox:"0 0 24 24",fillRule:"evenodd"},O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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"}),O("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"}),O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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"}),O("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?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("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"}))):void 0}a(27);var T=a(1),C=a(2),S=a(3);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var B=function(e){f()(a,e);var t=_(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.onClick,a=e.selectedDevice;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"gb-responsive-tabs"},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for all devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Desktop"===a,onClick:function(){t("Desktop")}},Object(T.__)("Desktop","generateblocks"))),Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for tablet devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Tablet"===a,onClick:function(){t("Tablet")}},Object(T.__)("Tablet","generateblocks"))),Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for mobile devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Mobile"===a,onClick:function(){t("Mobile")}},Object(T.__)("Mobile","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","afterResponsiveTabs",this.props,this.state))}}]),a}(l.Component);a(28);function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var E=function(e){f()(a,e);var t=D(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.label,a=e.value,i=e.onClick,r=e.units;return Object(l.createElement)("div",{className:"components-gblocks-units-control-header__units"},Object(l.createElement)("div",{className:"components-gblocks-units-control-label__units"},t),Object(l.createElement)("div",{className:"components-gblocks-control__units"},Object(l.createElement)(C.ButtonGroup,{className:"components-gblocks-control-buttons__units","aria-label":Object(T.__)("Select Units","generateblocks")},r.map((function(e){var t=e;return"px"===e&&(t=Object(T._x)("Pixel","A size unit for CSS markup","generateblocks")),"em"===e&&(t=Object(T._x)("Em","A size unit for CSS markup","generateblocks")),"%"===e&&(t=Object(T._x)("Percentage","A size unit for CSS markup","generateblocks")),"deg"===e&&(t=Object(T._x)("Degree","A size unit for CSS markup","generateblocks")),Object(l.createElement)(C.Tooltip
2
- /* translators: Unit type (px, em, %) */,{text:Object(T.sprintf)(Object(T.__)("%s Units","generateblocks"),t),key:e},Object(l.createElement)(C.Button,{key:e,className:"components-gblocks-control-button__units--"+e,isSmall:!0,isPrimary:a===e,"aria-pressed":a===e
3
- /* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Units","generateblocks"),t),onClick:function(){return i(e)}},e))})))))}}]),a}(l.Component),R=a(19),x=a.n(R);function M(e){for(var t="",a=0,l=Object.entries(e);a<l.length;a++){var i=x()(l[a],2),r=i[0],n=i[1];if(!(n.length<1)){for(var o=r+"{",c=0,s=0,g=Object.entries(n);s<g.length;s++)for(var b=x()(g[s],2),u=(b[0],b[1]),d=0,p=Object.entries(u);d<p.length;d++){var f=x()(p[d],2),h=f[0],m=f[1];(m||0===m)&&(c++,o+=h+": "+m+";")}o+="}",c>0&&(t+=o)}}return t}function z(e,t){return!(!e&&0!==e)&&e+t}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var P=function(e){f()(a,e);var t=L(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGap,i=e.verticalGap,r=e.verticalAlignment,n=e.horizontalAlignment,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":z(i,"px")}],o=Object(S.applyFilters)("generateblocks.editor.mainCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var A=function(e){f()(a,e);var t=F(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"grid"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var H=function(e){f()(a,e);var t=U(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGapTablet,i=e.verticalGapTablet,r=e.verticalAlignmentTablet,n=e.horizontalAlignmentTablet,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?z(i,"px"):null}],o=Object(S.applyFilters)("generateblocks.editor.tabletCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component);function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var I=function(e){f()(a,e);var t=N(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"grid"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var V=function(e){f()(a,e);var t=G(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGapMobile,i=e.verticalGapMobile,r=e.verticalAlignmentMobile,n=e.horizontalAlignmentMobile,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?z(i,"px"):null}],o=Object(S.applyFilters)("generateblocks.editor.mobileCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component),q=a(18),W=a.n(q);function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var K=function(e){f()(a,e);var t=Z(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.name,a=e.children;return Object(S.applyFilters)(t,a||"",this.props)}}]),a}(l.Component);function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Y=function(e){f()(a,e);var t=J(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.title,a=void 0!==t&&t,i=e.initialOpen,r=void 0!==i&&i,n=e.icon,o=e.className,c=e.id,s=e.state,g=e.showPanel,b=void 0===g||g,u=e.children;if(!Object(S.applyFilters)("generateblocks.editor.showPanel",b,c,this.props))return null;var d=!0;return""===u&&(d=!1),"object"===W()(u)&&(d=Object.values(u).some((function(e){return null!==e&&!1!==e&&""!==e}))),d?Object(l.createElement)(K,{name:"generateblocks.panel."+c,props:this.props,state:s},a?Object(l.createElement)(C.PanelBody,{title:a,initialOpen:r,icon:n,className:o},Object(S.applyFilters)("generateblocks.editor.panelContents",u,c,this.props)):Object(l.createElement)(C.PanelBody,null,Object(S.applyFilters)("generateblocks.editor.panelContents",u,c,this.props))):null}}]),a}(l.Component),Q=a(11),X=a(14),$=a(15),ee=a(17);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ae=/[\s#]/g,le=[],ie=function(e){f()(a,e);var t=te(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedLayout:!1,selectedDevice:"Desktop"},e.onLayoutSelect=e.onLayoutSelect.bind(d()(e)),e.getColumnsFromLayout=e.getColumnsFromLayout.bind(d()(e)),e.getLayoutsSelector=e.getLayoutsSelector.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?le.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),le.push(e)):le.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),le.push(e)),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,l=e.clientId;t.columns;if(this.state.selectedLayout){var i=this.getColumnsFromLayout(this.state.selectedLayout);i.forEach((function(e){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/container",e),void 0,l,!1)})),a({columns:i.length}),this.setState({selectedLayout:!1})}else{var r=wp.data.select("core/block-editor").getBlocksByClientId(l)[0];if(r)a({columns:r.innerBlocks.length})}}},{key:"getColumnsFromLayout",value:function(e){var t=this,a=[],l=e.split("-"),i=0;return l.forEach((function(){var e={isGrid:!0,gridId:t.props.attributes.uniqueId,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"};e.width=Number(l[i]),i++,a.push(e)})),a}},{key:"getLayoutsSelector",value:function(){var e=this;return Object(l.createElement)(C.Placeholder,{label:Object(T.__)("Grid","generateblocks"),instructions:Object(T.__)("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((function(t){var a=e.getColumnsFromLayout(t);return Object(l.createElement)("button",{key:"layout-".concat(t),className:"gb-grid-wrapper-layout-preview-btn",onClick:function(){return e.onLayoutSelect(t)}},a.map((function(e,a){return Object(l.createElement)("div",{key:"layout-".concat(t,"-col-").concat(a),className:w()("gb-col","gb-col-".concat(e.width))})})))}))))}},{key:"onLayoutSelect",value:function(e){this.setState({selectedLayout:e})}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.clientId,s=i.uniqueId,g=i.className,b=i.anchor,u=i.columns,d=i.horizontalGap,p=i.verticalGap,f=i.verticalAlignment,h=i.horizontalGapTablet,m=i.verticalGapTablet,k=i.verticalAlignmentTablet,y=i.horizontalGapMobile,v=i.verticalGapMobile,O=i.verticalAlignmentMobile,_=i.horizontalAlignment,D=i.horizontalAlignmentTablet,R=i.horizontalAlignmentMobile,x=void 0!==i.useGlobalStyle&&i.useGlobalStyle&&void 0!==i.globalStyleId&&i.globalStyleId,M=d||0===d?d:"";x&&generateBlocksDefaults.gridContainer.horizontalGap===M&&(M="");var z=M,L=p||0===p?p:"",F=M,U=p||0===p?p:"";h&&(F=h),m&&(U=m);var N={className:w()((e={"gb-grid-wrapper":!0},o()(e,"gb-grid-wrapper-".concat(s),!0),o()(e,"".concat(g),void 0!==g),e)),id:b||null};return N=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",N,"generateblocks/grid",i),Object(l.createElement)(l.Fragment,null,(u>0||this.state.selectedLayout)&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:j("addContainer"),label:Object(T.__)("Add Grid Item","generateblocks"),onClick:function(){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/container",{isGrid:!0,gridId:s,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"}),void 0,c)},showTooltip:!0}))),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{id:"gridLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:M,min:"0",onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGap:e})},onBlur:function(){x||d||!generateBlocksDefaults.gridContainer.horizontalGap?""!==d&&n({horizontalGap:parseFloat(d)}):n({horizontalGap:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGap:generateBlocksDefaults.gridContainer.horizontalGap})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:p||0===p?p:"",min:"0",onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGap:e})},onBlur:function(){x||p||!generateBlocksDefaults.gridContainer.verticalGap?""!==p&&n({verticalGap:parseFloat(p)}):n({verticalGap:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGap:generateBlocksDefaults.gridContainer.verticalGap})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:f,help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:_,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignment:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:h||0===h?h:"",min:"0",placeholder:z,onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGapTablet:e})},onBlur:function(){x||h||!generateBlocksDefaults.gridContainer.horizontalGapTablet?""!==h&&n({horizontalGapTablet:parseFloat(h)}):n({horizontalGapTablet:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGapTablet:generateBlocksDefaults.gridContainer.horizontalGapTablet})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:m||0===m?m:"",min:"0",placeholder:L,onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGapTablet:e})},onBlur:function(){x||m||!generateBlocksDefaults.gridContainer.verticalGapTablet?""!==m&&n({verticalGapTablet:parseFloat(m)}):n({verticalGapTablet:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGapTablet:generateBlocksDefaults.gridContainer.verticalGapTablet})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:k,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:D,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignmentTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:y||0===y?y:"",min:"0",placeholder:F,onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGapMobile:e})},onBlur:function(){x||y||!generateBlocksDefaults.gridContainer.horizontalGapMobile?""!==y&&n({horizontalGapMobile:parseFloat(y)}):n({horizontalGapMobile:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGapMobile:generateBlocksDefaults.gridContainer.horizontalGapMobile})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:v||0===v?v:"",min:"0",placeholder:U,onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGapMobile:e})},onBlur:function(){x||v||!generateBlocksDefaults.gridContainer.verticalGapMobile?""!==v&&n({verticalGapMobile:parseFloat(v)}):n({verticalGapMobile:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGapMobile:generateBlocksDefaults.gridContainer.verticalGapMobile})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:O,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:R,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignmentMobile:e})}})),Object(S.applyFilters)("generateblocks.editor.controls","","gridLayout",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"gridDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/grid/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","gridDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor","generateblocks"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:b||"",onChange:function(e){e=e.replace(ae,"-"),n({anchor:e})}})),Object(l.createElement)(P,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(A,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(H,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(I,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(V,this.props)),Object(l.createElement)("div",N,u>0||this.state.selectedLayout?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.InnerBlocks,{allowedBlocks:["generateblocks/container"],renderAppender:!1})):this.getLayoutsSelector()))}}]),a}(l.Component),re=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(ie),ne={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"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ce(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var se=[{attributes:ne,supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return ce(ce({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c={id:r||void 0,className:w()((t={"gb-grid-wrapper":!0},o()(t,"gb-grid-wrapper-".concat(i),!0),o()(t,"".concat(n),""!==n),t))};return c=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",c,"generateblocks/grid",a),Object(l.createElement)("div",c,Object(l.createElement)(Q.InnerBlocks.Content,null))}}];Object(X.registerBlockType)("generateblocks/grid",{title:Object(T.__)("Grid","generateblocks"),description:Object(T.__)("Create advanced layouts with flexible grids.","generateblocks"),icon:j("grid"),category:"generateblocks",keywords:[Object(T.__)("grid"),Object(T.__)("column"),Object(T.__)("generate")],attributes:ne,supports:{className:!1},edit:re,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:se});a(32);var ge=generateBlocksInfo.hasWideAlignSupport,be=["wide","full"],ue=Object(ee.createHigherOrderComponent)((function(e){return function(t){var a=t.name,i=t.attributes,r=t.isSelected,n=t.clientId,o=t.setAttributes,c=i.isGrid,s=i.align,g=!1;return g="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(n,"generateblocks/grid",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(n),Object(l.createElement)(l.Fragment,null,r&&c&&g&&"generateblocks/container"===a&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:j("addContainer"),label:Object(T.__)("Duplicate Grid Item","generateblocks"),onClick:function(){var e=wp.data.select("core/block-editor").getBlocksByClientId(n)[0],t=Object(X.cloneBlock)(e);wp.data.dispatch("core/block-editor").insertBlocks(t,void 0,g)},showTooltip:!0})),Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon",icon:j("grid"),label:Object(T.__)("Select Parent Grid","generateblocks"),onClick:function(){wp.data.dispatch("core/block-editor").selectBlock(g)},showTooltip:!0}))),r&&ge&&!c&&"generateblocks/container"===a&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(Q.BlockAlignmentToolbar,{value:s,onChange:function(e){o({align:e}),"full"===e&&o({outerContainer:"full"})},controls:be})),Object(l.createElement)(e,t))}}),"withAdvancedControls");Object(S.addFilter)("editor.BlockEdit","generateblocks/container-block-controls",ue);var de=a(16),pe=a.n(de);function fe(e){var t=e.tagName,a=e.htmlAttrs,i=e.children;return Object(l.createElement)(t,a,i)}function he(e,t){return e?t||0===t?(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:""}a(36);function me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ke=function(e){f()(a,e);var t=me(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={colorKey:!1},e}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.value,i=t.onChange,r=t.onOpacityChange,n=t.label,o=t.alpha,c=void 0!==o&&o,s=t.valueOpacity,g=this.state.colorKey,b=function(){!0===e.state.isVisible&&e.setState({isVisible:!1})};return Object(l.createElement)(C.BaseControl,{className:"gblocks-component-color-picker-wrapper"},!!n&&Object(l.createElement)("div",{className:"gblocks-color-component-label"},Object(l.createElement)("span",null,n)),Object(l.createElement)("div",{className:"gblocks-color-picker-area"},!this.state.isVisible&&Object(l.createElement)("div",{className:w()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",a?"":"components-color-palette__custom-color")},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("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:function(){e.setState({isVisible:!0})},"aria-label":Object(T.__)("Custom color picker","generateblocks"),style:{color:a?he(a,s):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)("div",{className:w()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",a?"":"components-color-palette__custom-color")},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("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:b,"aria-label":Object(T.__)("Custom color picker","generateblocks"),style:{color:a?he(a,s):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)(C.Popover,{position:"top left",className:"gblocks-component-color-picker",onClose:b},Object(l.createElement)(C.BaseControl,{key:g},Object(l.createElement)(C.ColorPicker,{key:g,color:a||"",onChangeComplete:function(e){i(e.hex)},disableAlpha:!0})),c&&Object(l.createElement)("div",{className:"gblocks-component-color-opacity"},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Opacity","generateblocks")},j("gradient")),Object(l.createElement)(C.RangeControl,{value:s||0,onChange:function(e){return r(e)},min:0,max:1,step:.01,initialPosition:1})),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-color-clear-color",onClick:function(){i(""),r(1),e.setState({colorKey:!1})}},Object(T.__)("Clear Color","generateblocks")),Object(l.createElement)(C.BaseControl,{className:"gblocks-component-color-picker-palette"},Object(l.createElement)(Q.ColorPalette,{value:a,onChange:function(t){i(t),e.setState({colorKey:t})},disableCustomColors:!0,clearable:!1})))))}}]),a}(l.Component);a(37);function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ve=function(e){f()(a,e);var t=ye(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).onChangeTop=e.onChangeTop.bind(d()(e)),e.onChangeRight=e.onChangeRight.bind(d()(e)),e.onChangeBottom=e.onChangeBottom.bind(d()(e)),e.onChangeLeft=e.onChangeLeft.bind(d()(e)),e.onChangeAll=e.onChangeAll.bind(d()(e)),e.syncUnits=e.syncUnits.bind(d()(e)),e.onChangeUnits=e.onChangeUnits.bind(d()(e)),e}return b()(a,[{key:"onReset",value:function(e){this.props.setAttributes(o()({},this.props[e],""))}},{key:"onChangeTop",value:function(e){this.props.setAttributes(o()({},this.props.attrTop,e))}},{key:"onChangeRight",value:function(e){this.props.setAttributes(o()({},this.props.attrRight,e))}},{key:"onChangeBottom",value:function(e){this.props.setAttributes(o()({},this.props.attrBottom,e))}},{key:"onChangeLeft",value:function(e){this.props.setAttributes(o()({},this.props.attrLeft,e))}},{key:"onChangeAll",value:function(e){var t;this.props.setAttributes((t={},o()(t,this.props.attrTop,e),o()(t,this.props.attrRight,e),o()(t,this.props.attrBottom,e),o()(t,this.props.attrLeft,e),t))}},{key:"syncUnits",value:function(){var e,t=[this.props.attributes[this.props.attrTop],this.props.attributes[this.props.attrRight],this.props.attributes[this.props.attrBottom],this.props.attributes[this.props.attrLeft]],a=Math.max.apply(null,t);this.props.setAttributes((e={},o()(e,this.props.attrSyncUnits,!this.props.attributes[this.props.attrSyncUnits]),o()(e,this.props.attrTop,a.toString()),o()(e,this.props.attrRight,a.toString()),o()(e,this.props.attrBottom,a.toString()),o()(e,this.props.attrLeft,a.toString()),e))}},{key:"onChangeUnits",value:function(e){this.props.setAttributes(o()({},this.props.attrUnit,e))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.label,r=void 0===i?Object(T.__)("Margin","generateblocks"):i,n=t.type,o=void 0===n?"margin":n,c=t.attrTop,s=t.attrRight,g=t.attrBottom,b=t.attrLeft,u=t.attrSyncUnits,d=t.attrUnit,p=t.labelTop,f=void 0===p?Object(T.__)("Top","generateblocks"):p,h=t.labelRight,m=void 0===h?Object(T.__)("Right","generateblocks"):h,k=t.labelBottom,y=void 0===k?Object(T.__)("Bottom","generateblocks"):k,v=t.labelLeft,O=void 0===v?Object(T.__)("Left","generateblocks"):v,S=t.device,_=t.block,B=t.defaults,D=t.units,R=w()("components-base-control","components-gblocks-dimensions-control"),x="",M="",z="",L="";if("headline"===_&&g.includes("marginBottom")){if("px"===this.props.attributes.marginUnit){var P=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);P&&(z=parseFloat(window.getComputedStyle(P).marginBottom))}else"em"===this.props.attributes.marginUnit&&void 0!==generateBlocksStyling.headline&&void 0!==generateBlocksStyling.headline[a.element]&&void 0!==generateBlocksStyling.headline[a.element].marginBottom&&generateBlocksStyling.headline[a.element].marginUnit===a.marginUnit&&(z=generateBlocksStyling.headline[a.element].marginBottom);"div"!==this.props.attributes.element&&"span"!==this.props.attributes.element||(z="")}if("Tablet"===S){var F=c.replace("Tablet",""),A=s.replace("Tablet",""),U=g.replace("Tablet",""),H=b.replace("Tablet","");x=a[F]?a[F]:x,M=a[A]?a[A]:M,z=a[U]?a[U]:z,L=a[H]?a[H]:L}if("Mobile"===S){var N=c.replace("Mobile",""),I=s.replace("Mobile",""),G=g.replace("Mobile",""),V=b.replace("Mobile","");a[N+"Tablet"]?x=a[N+"Tablet"]:a[N]&&(x=a[N]),a[I+"Tablet"]?M=a[I+"Tablet"]:a[I]&&(M=a[I]),a[G+"Tablet"]?z=a[G+"Tablet"]:a[G]&&(z=a[G]),a[V+"Tablet"]?L=a[V+"Tablet"]:a[V]&&(L=a[V])}var q=void 0!==a.useGlobalStyle&&a.useGlobalStyle;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:R},Object(l.createElement)(E,{label:r,value:void 0!==a[d]?a[d]:"px",units:D,onClick:function(t){if(void 0===a[d])return!1;e.onChangeUnits(t)}}),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__inputs"},Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:x,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeTop(a):e.onReset("attrTop")},onBlur:function(){q||""!==a[c]||""===B[c]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeTop("0"))},onClick:function(e){e.currentTarget.focus()}
4
- /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Top","generateblocks"),r),value:a[c]?a[c]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:M,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeRight(a):e.onReset("attrRight")},onBlur:function(){q||""!==a[s]||""===B[s]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeRight("0"))},onClick:function(e){e.currentTarget.focus()}
5
- /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Right","generateblocks"),r),value:a[s]?a[s]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:z,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeBottom(a):e.onReset("attrBottom")},onBlur:function(){q||""!==a[g]||""===B[g]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeBottom("0"))},onClick:function(e){e.currentTarget.focus()}
6
- /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Bottom","generateblocks"),r),value:a[g]?a[g]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:L,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeLeft(a):e.onReset("attrLeft")},onBlur:function(){q||""!==a[b]||""===B[b]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeLeft("0"))},onClick:function(e){e.currentTarget.focus()}
7
- /* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Left","generateblocks"),r),value:a[b]?a[b]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)(C.Tooltip,{text:a[u]?Object(T.__)("Unsync","generateblocks"):Object(T.__)("Sync","generateblocks")},Object(l.createElement)(C.Button,{className:"components-gblocks-dimensions-control_sync","aria-label":Object(T.__)("Sync Units","generateblocks"),isPrimary:!!a[u]&&a[u],"aria-pressed":!!a[u]&&a[u],onClick:function(t){return e.syncUnits(t,"")},isSmall:!0},(a[u],j("sync"))))),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__input-labels"},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"},y),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},O),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"}))))}}]),a}(l.Component),we=(a(38),{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"},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"},"Source Sans Pro":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Roboto Condensed":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Oswald:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},"Roboto Mono":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],fallback:"monospace"},Raleway:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],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"},"Noto 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"},"PT Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-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"},Muli:{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Open Sans Condensed":{weight:["300","300italic","700"],fallback:"sans-serif"},"PT Serif":{weight:["regular","italic","700","700italic"],fallback:"serif"},Lora:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Slabo 27px":{weight:["regular"],fallback:"serif"},Nunito:{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Noto Sans JP":{weight:["100","300","regular","500","700","900"],fallback:"sans-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"},Rubik:{weight:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Noto Serif":{weight:["regular","italic","700","700italic"],fallback:"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"},"Titillium Web":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],fallback:"sans-serif"},Quicksand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Noto Sans KR":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Nanum Gothic":{weight:["regular","700","800"],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"},Heebo:{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Sans Narrow":{weight:["regular","700"],fallback:"sans-serif"},Arimo:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Inconsolata:{weight:["regular","700"],fallback:"monospace"},Barlow:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Oxygen:{weight:["300","regular","700"],fallback:"sans-serif"},Dosis:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Bitter:{weight:["regular","italic","700"],fallback:"serif"},"Libre Baskerville":{weight:["regular","italic","700"],fallback:"serif"},"Crimson Text":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},"Libre Franklin":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Karla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Josefin Sans":{weight:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},Cabin:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Anton:{weight:["regular"],fallback:"sans-serif"},"Source Code Pro":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"monospace"},Hind:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Abel:{weight:["regular"],fallback:"sans-serif"},Amiri:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Fjalla One":{weight:["regular"],fallback:"sans-serif"},Lobster:{weight:["regular"],fallback:"display"},Pacifico:{weight:["regular"],fallback:"handwriting"},"Indie Flower":{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"},"Dancing Script":{weight:["regular","500","600","700"],fallback:"handwriting"},"Source Serif Pro":{weight:["regular","600","700"],fallback:"serif"},Arvo:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Hind Siliguri":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Varela Round":{weight:["regular"],fallback:"sans-serif"},"Merriweather Sans":{weight:["300","300italic","regular","italic","700","700italic","800","800italic"],fallback:"sans-serif"},Cairo:{weight:["200","300","regular","600","700","900"],fallback:"sans-serif"},"Yanone Kaffeesatz":{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Overpass:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Shadows Into Light":{weight:["regular"],fallback:"handwriting"},"Barlow Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"IBM Plex Sans":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Comfortaa:{weight:["300","regular","500","600","700"],fallback:"display"},Asap:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],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"},Kanit:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Questrial:{weight:["regular"],fallback:"sans-serif"},Martel:{weight:["200","300","regular","600","700","800","900"],fallback:"serif"},"Archivo Narrow":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Abril Fatface":{weight:["regular"],fallback:"display"},"Amatic SC":{weight:["regular","700"],fallback:"handwriting"},Acme:{weight:["regular"],fallback:"sans-serif"},Catamaran:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-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"},"EB Garamond":{weight:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],fallback:"serif"},"Bree Serif":{weight:["regular"],fallback:"serif"},"Zilla Slab":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Noto Sans SC":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Cormorant Garamond":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Hind Madurai":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Teko:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Righteous:{weight:["regular"],fallback:"display"},Signika:{weight:["300","regular","600","700"],fallback:"sans-serif"},Play:{weight:["regular","700"],fallback:"sans-serif"},Domine:{weight:["regular","700"],fallback:"serif"},Exo:{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"},Cinzel:{weight:["regular","700","900"],fallback:"serif"},"PT Sans Caption":{weight:["regular","700"],fallback:"sans-serif"},Rajdhani:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Maven Pro":{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Fredoka One":{weight:["regular"],fallback:"display"},"IBM Plex Serif":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Ubuntu Condensed":{weight:["regular"],fallback:"sans-serif"},"Patua One":{weight:["regular"],fallback:"display"},Caveat:{weight:["regular","700"],fallback:"handwriting"},"Permanent Marker":{weight:["regular"],fallback:"handwriting"},Assistant:{weight:["200","300","regular","600","700","800"],fallback:"sans-serif"},ABeeZee:{weight:["regular","italic"],fallback:"sans-serif"},Vollkorn:{weight:["regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"serif"},"Crete Round":{weight:["regular","italic"],fallback:"serif"},"Special Elite":{weight:["regular"],fallback:"display"},Rokkitt:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Bangers:{weight:["regular"],fallback:"display"},"Francois One":{weight:["regular"],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"},"Alegreya Sans":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Satisfy:{weight:["regular"],fallback:"handwriting"},Tajawal:{weight:["200","300","regular","500","700","800","900"],fallback:"sans-serif"},"Bebas Neue":{weight:["regular"],fallback:"display"},"Patrick Hand":{weight:["regular"],fallback:"handwriting"},Cuprum:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Viga:{weight:["regular"],fallback:"sans-serif"},Courgette:{weight:["regular"],fallback:"handwriting"},"Ropa Sans":{weight:["regular","italic"],fallback:"sans-serif"},"Noto Serif JP":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Gochi Hand":{weight:["regular"],fallback:"handwriting"},Alegreya:{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Luckiest Guy":{weight:["regular"],fallback:"display"},"Noticia Text":{weight:["regular","italic","700","700italic"],fallback:"serif"},Tinos:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Passion One":{weight:["regular","700","900"],fallback:"display"},"Alfa Slab One":{weight:["regular"],fallback:"display"},"Nanum Myeongjo":{weight:["regular","700","800"],fallback:"serif"},Monda:{weight:["regular","700"],fallback:"sans-serif"},"Lobster Two":{weight:["regular","italic","700","700italic"],fallback:"display"},Kalam:{weight:["300","regular","700"],fallback:"handwriting"},"Kaushan Script":{weight:["regular"],fallback:"handwriting"},"Archivo Black":{weight:["regular"],fallback:"sans-serif"},Cardo:{weight:["regular","italic","700"],fallback:"serif"},Archivo:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Great Vibes":{weight:["regular"],fallback:"handwriting"},Volkhov:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Quattrocento Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"News Cycle":{weight:["regular","700"],fallback:"sans-serif"},"Pathway Gothic One":{weight:["regular"],fallback:"sans-serif"},Sacramento:{weight:["regular"],fallback:"handwriting"},"Frank Ruhl Libre":{weight:["300","regular","500","700","900"],fallback:"serif"},Yantramanav:{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},Cantarell:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Istok Web":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Didact Gothic":{weight:["regular"],fallback:"sans-serif"},"Concert One":{weight:["regular"],fallback:"display"},Taviraj:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Old Standard TT":{weight:["regular","italic","700"],fallback:"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"},Economica:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Changa:{weight:["200","300","regular","500","600","700","800"],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"},"Gloria Hallelujah":{weight:["regular"],fallback:"handwriting"},Parisienne:{weight:["regular"],fallback:"handwriting"},Orbitron:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Asap Condensed":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Playfair Display SC":{weight:["regular","italic","700","700italic","900","900italic"],fallback:"serif"},Chivo:{weight:["300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"sans-serif"},Sriracha:{weight:["regular"],fallback:"handwriting"},"Hind Vadodara":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"DM Sans":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Prata:{weight:["regular"],fallback:"serif"},Quattrocento:{weight:["regular","700"],fallback:"serif"},Cookie:{weight:["regular"],fallback:"handwriting"},"Poiret One":{weight:["regular"],fallback:"display"},Handlee:{weight:["regular"],fallback:"handwriting"},Sarabun:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},BenchNine:{weight:["300","regular","700"],fallback:"sans-serif"},Merienda:{weight:["regular","700"],fallback:"handwriting"},"M PLUS 1p":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Mono":{weight:["regular"],fallback:"monospace"},Lalezar:{weight:["regular"],fallback:"display"},Sanchez:{weight:["regular","italic"],fallback:"serif"},Lemonada:{weight:["300","regular","500","600","700"],fallback:"display"},"Markazi Text":{weight:["regular","500","600","700"],fallback:"serif"},Neuton:{weight:["200","300","regular","italic","700","800"],fallback:"serif"},"Hind Guntur":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Josefin Slab":{weight:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"serif"},Philosopher:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Advent Pro":{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Do Hyeon":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Mincho":{weight:["regular"],fallback:"sans-serif"},Ruda:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Vidaloka:{weight:["regular"],fallback:"serif"},Ultra:{weight:["regular"],fallback:"serif"},Neucha:{weight:["regular"],fallback:"handwriting"},Arapey:{weight:["regular","italic"],fallback:"serif"},Gudea:{weight:["regular","italic","700"],fallback:"sans-serif"},"Paytone One":{weight:["regular"],fallback:"sans-serif"},Kreon:{weight:["300","regular","500","600","700"],fallback:"serif"},"M PLUS Rounded 1c":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"Pragati Narrow":{weight:["regular","700"],fallback:"sans-serif"},"Press Start 2P":{weight:["regular"],fallback:"display"},"Hammersmith One":{weight:["regular"],fallback:"sans-serif"},"Gentium Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Monoton:{weight:["regular"],fallback:"display"},Alef:{weight:["regular","700"],fallback:"sans-serif"},Alice:{weight:["regular"],fallback:"serif"},Aclonica:{weight:["regular"],fallback:"sans-serif"},"Sigmar One":{weight:["regular"],fallback:"display"},Spectral:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Marck Script":{weight:["regular"],fallback:"handwriting"},Electrolize:{weight:["regular"],fallback:"sans-serif"},Actor:{weight:["regular"],fallback:"sans-serif"},"Architects Daughter":{weight:["regular"],fallback:"handwriting"},Adamina:{weight:["regular"],fallback:"serif"},"Pontano Sans":{weight:["regular"],fallback:"sans-serif"},Audiowide:{weight:["regular"],fallback:"display"},Inter:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Cabin Condensed":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Unica One":{weight:["regular"],fallback:"display"},Yellowtail:{weight:["regular"],fallback:"handwriting"},"El Messiri":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Squada One":{weight:["regular"],fallback:"display"},Staatliches:{weight:["regular"],fallback:"display"},Amaranth:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Enriqueta:{weight:["regular","500","600","700"],fallback:"serif"},Mitr:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Glegoo:{weight:["regular","700"],fallback:"serif"},"Bowlby One SC":{weight:["regular"],fallback:"display"},Basic:{weight:["regular"],fallback:"sans-serif"},"Nanum Gothic Coding":{weight:["regular","700"],fallback:"monospace"},Sarala:{weight:["regular","700"],fallback:"sans-serif"},"Bad Script":{weight:["regular"],fallback:"handwriting"},"Homemade Apple":{weight:["regular"],fallback:"handwriting"},Tangerine:{weight:["regular","700"],fallback:"handwriting"},Cormorant:{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Oleo Script":{weight:["regular","700"],fallback:"display"},Karma:{weight:["300","regular","500","600","700"],fallback:"serif"},"Julius Sans One":{weight:["regular"],fallback:"sans-serif"},"Carter One":{weight:["regular"],fallback:"display"},Khand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Nanum Pen Script":{weight:["regular"],fallback:"handwriting"},Cambay:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Fugaz One":{weight:["regular"],fallback:"display"},"Shadows Into Light Two":{weight:["regular"],fallback:"handwriting"},Coda:{weight:["regular","800"],fallback:"display"},"Signika Negative":{weight:["300","regular","600","700"],fallback:"sans-serif"},Pridi:{weight:["200","300","regular","500","600","700"],fallback:"serif"},Playball:{weight:["regular"],fallback:"display"},Saira:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Rock Salt":{weight:["regular"],fallback:"handwriting"},"Gothic A1":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Gentium Book Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Allura:{weight:["regular"],fallback:"handwriting"},"Yeseva One":{weight:["regular"],fallback:"display"},"DM Serif Text":{weight:["regular","italic"],fallback:"serif"},Lusitana:{weight:["regular","700"],fallback:"serif"},Jura:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Average:{weight:["regular"],fallback:"serif"},Yrsa:{weight:["300","regular","500","600","700"],fallback:"serif"},"Sorts Mill Goudy":{weight:["regular","italic"],fallback:"serif"},"Cantata One":{weight:["regular"],fallback:"serif"},Armata:{weight:["regular"],fallback:"sans-serif"},Scada:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Abhaya Libre":{weight:["regular","500","600","700","800"],fallback:"serif"},Damion:{weight:["regular"],fallback:"handwriting"},Marmelad:{weight:["regular"],fallback:"sans-serif"},Varela:{weight:["regular"],fallback:"sans-serif"},Quantico:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Covered By Your Grace":{weight:["regular"],fallback:"handwriting"},"PT Serif Caption":{weight:["regular","italic"],fallback:"serif"},Ramabhadra:{weight:["regular"],fallback:"sans-serif"},Unna:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Encode Sans":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Arsenal:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Black Han Sans":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Gothic":{weight:["regular"],fallback:"sans-serif"},"Ubuntu Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Pinyon Script":{weight:["regular"],fallback:"handwriting"},"Black Ops One":{weight:["regular"],fallback:"display"},Marcellus:{weight:["regular"],fallback:"serif"},"Fauna One":{weight:["regular"],fallback:"serif"},"Lilita One":{weight:["regular"],fallback:"display"},Sintony:{weight:["regular","700"],fallback:"sans-serif"},Khula:{weight:["300","regular","600","700","800"],fallback:"sans-serif"},Jaldi:{weight:["regular","700"],fallback:"sans-serif"},"Rubik Mono One":{weight:["regular"],fallback:"sans-serif"},Allan:{weight:["regular","700"],fallback:"display"},"Reenie Beanie":{weight:["regular"],fallback:"handwriting"},"Alex Brush":{weight:["regular"],fallback:"handwriting"},"Mr Dafoe":{weight:["regular"],fallback:"handwriting"},Palanquin:{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Encode Sans Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Antic:{weight:["regular"],fallback:"sans-serif"},Knewave:{weight:["regular"],fallback:"display"},"Caveat Brush":{weight:["regular"],fallback:"handwriting"},Rambla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Spinnaker:{weight:["regular"],fallback:"sans-serif"},"IBM Plex Mono":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"monospace"},Michroma:{weight:["regular"],fallback:"sans-serif"},"Nothing You Could Do":{weight:["regular"],fallback:"handwriting"},"Kelly Slab":{weight:["regular"],fallback:"display"},Boogaloo:{weight:["regular"],fallback:"display"},Chewy:{weight:["regular"],fallback:"display"},"ZCOOL XiaoWei":{weight:["regular"],fallback:"serif"},Rancho:{weight:["regular"],fallback:"handwriting"},"Noto Serif SC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Pangolin:{weight:["regular"],fallback:"handwriting"},"Fira Mono":{weight:["regular","500","700"],fallback:"monospace"},Forum:{weight:["regular"],fallback:"display"},"Antic Slab":{weight:["regular"],fallback:"serif"},"Alegreya Sans SC":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Anonymous Pro":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Lateef:{weight:["regular"],fallback:"handwriting"},"Annie Use Your Telescope":{weight:["regular"],fallback:"handwriting"},"Noto Sans HK":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Martel Sans":{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},"Chakra Petch":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Rufina:{weight:["regular","700"],fallback:"serif"},"Bai Jamjuree":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Scheherazade:{weight:["regular","700"],fallback:"serif"},Share:{weight:["regular","italic","700","700italic"],fallback:"display"},"Tenor Sans":{weight:["regular"],fallback:"sans-serif"},"DM Serif Display":{weight:["regular","italic"],fallback:"serif"},VT323:{weight:["regular"],fallback:"monospace"},"Share Tech Mono":{weight:["regular"],fallback:"monospace"},Mali:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"handwriting"},Cousine:{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Cinzel Decorative":{weight:["regular","700","900"],fallback:"display"},Overlock:{weight:["regular","italic","700","700italic","900","900italic"],fallback:"display"},"Arbutus Slab":{weight:["regular"],fallback:"serif"},"Reem Kufi":{weight:["regular"],fallback:"sans-serif"},"Cabin Sketch":{weight:["regular","700"],fallback:"display"},"Saira Extra Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Eczar:{weight:["regular","500","600","700","800"],fallback:"serif"},"Leckerli One":{weight:["regular"],fallback:"handwriting"},Krub:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Berkshire Swash":{weight:["regular"],fallback:"handwriting"},"Fredericka the Great":{weight:["regular"],fallback:"display"},"Saira Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Overpass Mono":{weight:["300","regular","600","700"],fallback:"monospace"},Itim:{weight:["regular"],fallback:"handwriting"},Rasa:{weight:["300","regular","500","600","700"],fallback:"serif"},Bevan:{weight:["regular"],fallback:"display"},"Arima Madurai":{weight:["100","200","300","regular","500","700","800","900"],fallback:"display"},Italianno:{weight:["regular"],fallback:"handwriting"},"Coda Caption":{weight:["800"],fallback:"sans-serif"},Shrikhand:{weight:["regular"],fallback:"display"},"Just Another Hand":{weight:["regular"],fallback:"handwriting"},"Saira Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Almarai:{weight:["300","regular","700","800"],fallback:"sans-serif"},"Mukta Malar":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Oranienbaum:{weight:["regular"],fallback:"serif"},Nobile:{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Candal:{weight:["regular"],fallback:"sans-serif"},"Six Caps":{weight:["regular"],fallback:"sans-serif"},"Space Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Capriola:{weight:["regular"],fallback:"sans-serif"},Biryani:{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},Halant:{weight:["300","regular","500","600","700"],fallback:"serif"},Allerta:{weight:["regular"],fallback:"sans-serif"},Trirong:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},Mallanna:{weight:["regular"],fallback:"sans-serif"},Aldrich:{weight:["regular"],fallback:"sans-serif"},Aleo:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Suez One":{weight:["regular"],fallback:"serif"},Caudex:{weight:["regular","italic","700","700italic"],fallback:"serif"},Niconne:{weight:["regular"],fallback:"handwriting"},"Mrs Saint Delafield":{weight:["regular"],fallback:"handwriting"},Gruppo:{weight:["regular"],fallback:"display"},"Miriam Libre":{weight:["regular","700"],fallback:"sans-serif"},"Contrail One":{weight:["regular"],fallback:"display"},"Days One":{weight:["regular"],fallback:"sans-serif"},"Allerta Stencil":{weight:["regular"],fallback:"sans-serif"},"Average Sans":{weight:["regular"],fallback:"sans-serif"},"Coming Soon":{weight:["regular"],fallback:"handwriting"},Pattaya:{weight:["regular"],fallback:"sans-serif"},"Londrina Solid":{weight:["100","300","regular","900"],fallback:"display"},Bungee:{weight:["regular"],fallback:"display"},Coustard:{weight:["regular","900"],fallback:"serif"},"Marcellus SC":{weight:["regular"],fallback:"serif"},"Racing Sans One":{weight:["regular"],fallback:"display"},Bentham:{weight:["regular"],fallback:"serif"},"Bungee Inline":{weight:["regular"],fallback:"display"},Magra:{weight:["regular","700"],fallback:"sans-serif"},Judson:{weight:["regular","italic","700"],fallback:"serif"},Rochester:{weight:["regular"],fallback:"handwriting"},"Grand Hotel":{weight:["regular"],fallback:"handwriting"},Gelasio:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Yesteryear:{weight:["regular"],fallback:"handwriting"},Syncopate:{weight:["regular","700"],fallback:"sans-serif"},Hanuman:{weight:["regular","700"],fallback:"serif"},"Kosugi Maru":{weight:["regular"],fallback:"sans-serif"},Copse:{weight:["regular"],fallback:"serif"},Mada:{weight:["200","300","regular","500","600","700","900"],fallback:"sans-serif"},"Titan One":{weight:["regular"],fallback:"display"},"Noto Serif TC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Kameron:{weight:["regular","700"],fallback:"serif"},Telex:{weight:["regular"],fallback:"sans-serif"},Norican:{weight:["regular"],fallback:"handwriting"},Maitree:{weight:["200","300","regular","500","600","700"],fallback:"serif"},"IM Fell Double Pica":{weight:["regular","italic"],fallback:"serif"},Molengo:{weight:["regular"],fallback:"sans-serif"},Sunflower:{weight:["300","500","700"],fallback:"sans-serif"},"Alegreya SC":{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Red Hat Display":{weight:["regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},Jua:{weight:["regular"],fallback:"sans-serif"},Ovo:{weight:["regular"],fallback:"serif"},"IBM Plex Sans Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Nixie One":{weight:["regular"],fallback:"display"},Aladin:{weight:["regular"],fallback:"handwriting"},Arizonia:{weight:["regular"],fallback:"handwriting"},"Bubblegum Sans":{weight:["regular"],fallback:"display"},"Changa One":{weight:["regular","italic"],fallback:"display"},"Lexend Deca":{weight:["regular"],fallback:"sans-serif"},Sofia:{weight:["regular"],fallback:"handwriting"},"Jockey One":{weight:["regular"],fallback:"sans-serif"},Suranna:{weight:["regular"],fallback:"serif"},Amethysta:{weight:["regular"],fallback:"serif"},Schoolbell:{weight:["regular"],fallback:"handwriting"},"Nanum Brush Script":{weight:["regular"],fallback:"handwriting"},"Cedarville Cursive":{weight:["regular"],fallback:"handwriting"},"Cutive Mono":{weight:["regular"],fallback:"monospace"},Delius:{weight:["regular"],fallback:"handwriting"},"Raleway Dots":{weight:["regular"],fallback:"display"},Graduate:{weight:["regular"],fallback:"display"},Lustria:{weight:["regular"],fallback:"serif"},"Mukta Vaani":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Kadwa:{weight:["regular","700"],fallback:"serif"},"Rozha One":{weight:["regular"],fallback:"serif"},Buenard:{weight:["regular","700"],fallback:"serif"},Cambo:{weight:["regular"],fallback:"serif"},Marvel:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Krona One":{weight:["regular"],fallback:"sans-serif"},"Carrois Gothic":{weight:["regular"],fallback:"sans-serif"},Carme:{weight:["regular"],fallback:"sans-serif"},"Slabo 13px":{weight:["regular"],fallback:"serif"},Lemon:{weight:["regular"],fallback:"display"},"Love Ya Like A Sister":{weight:["regular"],fallback:"display"},Rosario:{weight:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},"Merienda One":{weight:["regular"],fallback:"handwriting"},"Public Sans":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Petit Formal Script":{weight:["regular"],fallback:"handwriting"},"Ceviche One":{weight:["regular"],fallback:"display"},Voltaire:{weight:["regular"],fallback:"sans-serif"},Fresca:{weight:["regular"],fallback:"sans-serif"},"Averia Serif Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Rye:{weight:["regular"],fallback:"display"},"Noto Serif KR":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Chelsea Market":{weight:["regular"],fallback:"display"},Calligraffitti:{weight:["regular"],fallback:"handwriting"},"Freckle Face":{weight:["regular"],fallback:"display"},"Duru Sans":{weight:["regular"],fallback:"sans-serif"},Trocchi:{weight:["regular"],fallback:"serif"},Metrophobic:{weight:["regular"],fallback:"sans-serif"},Mate:{weight:["regular","italic"],fallback:"serif"},Harmattan:{weight:["regular"],fallback:"sans-serif"},"Gilda Display":{weight:["regular"],fallback:"serif"},"Cormorant Infant":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Spartan:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Oxygen Mono":{weight:["regular"],fallback:"monospace"},Chonburi:{weight:["regular"],fallback:"display"},"Goudy Bookletter 1911":{weight:["regular"],fallback:"serif"},Sansita:{weight:["regular","italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Emilys Candy":{weight:["regular"],fallback:"display"},Amiko:{weight:["regular","600","700"],fallback:"sans-serif"},Kristi:{weight:["regular"],fallback:"handwriting"},"Palanquin Dark":{weight:["regular","500","600","700"],fallback:"sans-serif"},Lekton:{weight:["regular","italic","700"],fallback:"sans-serif"},Cutive:{weight:["regular"],fallback:"serif"},"Herr Von Muellerhoff":{weight:["regular"],fallback:"handwriting"},"GFS Didot":{weight:["regular"],fallback:"serif"},Radley:{weight:["regular","italic"],fallback:"serif"},"Sue Ellen Francisco":{weight:["regular"],fallback:"handwriting"},Pompiere:{weight:["regular"],fallback:"display"},Gabriela:{weight:["regular"],fallback:"serif"},Niramit:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Seaweed Script":{weight:["regular"],fallback:"display"},"Sedgwick Ave":{weight:["regular"],fallback:"handwriting"},Federo:{weight:["regular"],fallback:"sans-serif"},McLaren:{weight:["regular"],fallback:"display"},"IM Fell DW Pica":{weight:["regular","italic"],fallback:"serif"},Sniglet:{weight:["regular","800"],fallback:"display"},"Mr De Haviland":{weight:["regular"],fallback:"handwriting"},Shojumaru:{weight:["regular"],fallback:"display"},Poly:{weight:["regular","italic"],fallback:"serif"},Belleza:{weight:["regular"],fallback:"sans-serif"},Faustina:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"IM Fell English":{weight:["regular","italic"],fallback:"serif"},"Rammetto One":{weight:["regular"],fallback:"display"},Amita:{weight:["regular","700"],fallback:"handwriting"},Inder:{weight:["regular"],fallback:"sans-serif"},"Antic Didone":{weight:["regular"],fallback:"serif"},"Alike Angular":{weight:["regular"],fallback:"serif"},Montez:{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"},UnifrakturMaguntia:{weight:["regular"],fallback:"display"},Gurajada:{weight:["regular"],fallback:"serif"},"Proza Libre":{weight:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},Athiti:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Andada:{weight:["regular"],fallback:"serif"},"Liu Jian Mao Cao":{weight:["regular"],fallback:"handwriting"},Megrim:{weight:["regular"],fallback:"display"},"Vast Shadow":{weight:["regular"],fallback:"display"},Wallpoet:{weight:["regular"],fallback:"display"},Unkempt:{weight:["regular","700"],fallback:"display"},"Fanwood Text":{weight:["regular","italic"],fallback:"serif"},"Doppio One":{weight:["regular"],fallback:"sans-serif"},"Comic Neue":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"handwriting"},Corben:{weight:["regular","700"],fallback:"display"},Frijole:{weight:["regular"],fallback:"display"},Balthazar:{weight:["regular"],fallback:"serif"},Mirza:{weight:["regular","500","600","700"],fallback:"display"},"IM Fell French Canon SC":{weight:["regular"],fallback:"serif"},Brawler:{weight:["regular"],fallback:"serif"},"Oleo Script Swash Caps":{weight:["regular","700"],fallback:"display"},Mandali:{weight:["regular"],fallback:"sans-serif"},Convergence:{weight:["regular"],fallback:"sans-serif"},Fondamento:{weight:["regular","italic"],fallback:"handwriting"},Alike:{weight:["regular"],fallback:"serif"},Baumans:{weight:["regular"],fallback:"display"},Esteban:{weight:["regular"],fallback:"serif"},"Gravitas One":{weight:["regular"],fallback:"display"},Anaheim:{weight:["regular"],fallback:"sans-serif"},"Wendy One":{weight:["regular"],fallback:"sans-serif"},"Stardos Stencil":{weight:["regular","700"],fallback:"display"},"Spicy Rice":{weight:["regular"],fallback:"display"},Rakkas:{weight:["regular"],fallback:"display"},"La Belle Aurore":{weight:["regular"],fallback:"handwriting"},"Secular One":{weight:["regular"],fallback:"sans-serif"},Belgrano:{weight:["regular"],fallback:"serif"},"Bungee Shade":{weight:["regular"],fallback:"display"},"Crafty Girls":{weight:["regular"],fallback:"handwriting"},Battambang:{weight:["regular","700"],fallback:"display"},Quando:{weight:["regular"],fallback:"serif"},"Mouse Memoirs":{weight:["regular"],fallback:"sans-serif"},Gugi:{weight:["regular"],fallback:"display"},"Faster One":{weight:["regular"],fallback:"display"},"B612 Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Limelight:{weight:["regular"],fallback:"display"},"Short Stack":{weight:["regular"],fallback:"handwriting"},"Mountains of Christmas":{weight:["regular","700"],fallback:"display"},"Share Tech":{weight:["regular"],fallback:"sans-serif"},Laila:{weight:["300","regular","500","600","700"],fallback:"serif"},Literata:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Cormorant SC":{weight:["300","regular","500","600","700"],fallback:"serif"},"Fjord One":{weight:["regular"],fallback:"serif"},Podkova:{weight:["regular","500","600","700","800"],fallback:"serif"},Homenaje:{weight:["regular"],fallback:"sans-serif"},"Walter Turncoat":{weight:["regular"],fallback:"handwriting"},Sen:{weight:["regular","700","800"],fallback:"sans-serif"},"Patrick Hand SC":{weight:["regular"],fallback:"handwriting"},Voces:{weight:["regular"],fallback:"display"},Qwigley:{weight:["regular"],fallback:"handwriting"},"Happy Monkey":{weight:["regular"],fallback:"display"},"Rouge Script":{weight:["regular"],fallback:"handwriting"},"Baloo Chettan 2":{weight:["regular","500","600","700","800"],fallback:"display"},NTR:{weight:["regular"],fallback:"sans-serif"},Skranji:{weight:["regular","700"],fallback:"display"},Strait:{weight:["regular"],fallback:"sans-serif"},"Dawning of a New Day":{weight:["regular"],fallback:"handwriting"},Iceland:{weight:["regular"],fallback:"display"},"Expletus Sans":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"display"},"Montserrat Subrayada":{weight:["regular","700"],fallback:"sans-serif"},Oregano:{weight:["regular","italic"],fallback:"display"},"Give You Glory":{weight:["regular"],fallback:"handwriting"},Alata:{weight:["regular"],fallback:"sans-serif"},Puritan:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Mako:{weight:["regular"],fallback:"sans-serif"},Andika:{weight:["regular"],fallback:"sans-serif"},"Cormorant Upright":{weight:["300","regular","500","600","700"],fallback:"serif"},Zeyada:{weight:["regular"],fallback:"handwriting"},"Bowlby One":{weight:["regular"],fallback:"display"},"Aref Ruqaa":{weight:["regular","700"],fallback:"serif"},Numans:{weight:["regular"],fallback:"sans-serif"},Kurale:{weight:["regular"],fallback:"serif"},Spirax:{weight:["regular"],fallback:"display"},"Clicker Script":{weight:["regular"],fallback:"handwriting"},"Waiting for the Sunrise":{weight:["regular"],fallback:"handwriting"},"Holtwood One SC":{weight:["regular"],fallback:"serif"},Katibeh:{weight:["regular"],fallback:"display"},"Carrois Gothic SC":{weight:["regular"],fallback:"sans-serif"},Livvic:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},Eater:{weight:["regular"],fallback:"display"},"Fontdiner Swanky":{weight:["regular"],fallback:"display"},"Finger Paint":{weight:["regular"],fallback:"display"},Bellefair:{weight:["regular"],fallback:"serif"},"Wire One":{weight:["regular"],fallback:"sans-serif"},Kosugi:{weight:["regular"],fallback:"sans-serif"},Charm:{weight:["regular","700"],fallback:"handwriting"},"Delius Swash Caps":{weight:["regular"],fallback:"handwriting"},"Vesper Libre":{weight:["regular","500","700","900"],fallback:"serif"},"Red Hat Text":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Gafata:{weight:["regular"],fallback:"sans-serif"},"Averia Sans Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Denk One":{weight:["regular"],fallback:"sans-serif"},Geo:{weight:["regular","italic"],fallback:"sans-serif"},Tauri:{weight:["regular"],fallback:"sans-serif"},"Cherry Swash":{weight:["regular","700"],fallback:"display"},Codystar:{weight:["300","regular"],fallback:"display"},"Cantora One":{weight:["regular"],fallback:"sans-serif"},"Encode Sans Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Nova Square":{weight:["regular"],fallback:"display"},BioRhyme:{weight:["200","300","regular","700","800"],fallback:"serif"},Timmana:{weight:["regular"],fallback:"sans-serif"},Atma:{weight:["300","regular","500","600","700"],fallback:"display"},Tienne:{weight:["regular","700","900"],fallback:"serif"},Meddon:{weight:["regular"],fallback:"handwriting"},Galada:{weight:["regular"],fallback:"display"},Padauk:{weight:["regular","700"],fallback:"sans-serif"},"Loved by the King":{weight:["regular"],fallback:"handwriting"},"The Girl Next Door":{weight:["regular"],fallback:"handwriting"},"Darker Grotesque":{weight:["300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Life Savers":{weight:["regular","700","800"],fallback:"display"},Bilbo:{weight:["regular"],fallback:"handwriting"},Shanti:{weight:["regular"],fallback:"sans-serif"},"Headland One":{weight:["regular"],fallback:"serif"},"Euphoria Script":{weight:["regular"],fallback:"handwriting"},Imprima:{weight:["regular"],fallback:"sans-serif"},"Aguafina Script":{weight:["regular"],fallback:"handwriting"},"Baloo 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Over the Rainbow":{weight:["regular"],fallback:"handwriting"},Sarpanch:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Orienta:{weight:["regular"],fallback:"sans-serif"},"Spectral SC":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Port Lligat Sans":{weight:["regular"],fallback:"sans-serif"},Artifika:{weight:["regular"],fallback:"serif"},Ledger:{weight:["regular"],fallback:"serif"},Ruluko:{weight:["regular"],fallback:"sans-serif"},Sail:{weight:["regular"],fallback:"display"},Alatsi:{weight:["regular"],fallback:"sans-serif"},"Sonsie One":{weight:["regular"],fallback:"display"},"Bilbo Swash Caps":{weight:["regular"],fallback:"handwriting"},Slackey:{weight:["regular"],fallback:"display"},Salsa:{weight:["regular"],fallback:"display"},Rationale:{weight:["regular"],fallback:"sans-serif"},"Hepta Slab":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Nosifer:{weight:["regular"],fallback:"display"},Dekko:{weight:["regular"],fallback:"handwriting"},"Encode Sans Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Lily Script One":{weight:["regular"],fallback:"display"},"Zilla Slab Highlight":{weight:["regular","700"],fallback:"display"},Dokdo:{weight:["regular"],fallback:"handwriting"},"Kotta One":{weight:["regular"],fallback:"serif"},"Macondo Swash Caps":{weight:["regular"],fallback:"display"},"Encode Sans Semi Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Prosto One":{weight:["regular"],fallback:"display"},"Trade Winds":{weight:["regular"],fallback:"display"},Farsan:{weight:["regular"],fallback:"display"},Manuale:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},Creepster:{weight:["regular"],fallback:"display"},"Medula One":{weight:["regular"],fallback:"display"},Ranchers:{weight:["regular"],fallback:"display"},"David Libre":{weight:["regular","500","700"],fallback:"serif"},"Libre Barcode 39":{weight:["regular"],fallback:"display"},"Vampiro One":{weight:["regular"],fallback:"display"},Metamorphous:{weight:["regular"],fallback:"display"},"Bubbler One":{weight:["regular"],fallback:"sans-serif"},"Nova Mono":{weight:["regular"],fallback:"monospace"},"Princess Sofia":{weight:["regular"],fallback:"handwriting"},"Just Me Again Down Here":{weight:["regular"],fallback:"handwriting"},Notable:{weight:["regular"],fallback:"sans-serif"},"Fascinate Inline":{weight:["regular"],fallback:"display"},Vibur:{weight:["regular"],fallback:"handwriting"},"Vollkorn SC":{weight:["regular","600","700","900"],fallback:"serif"},Crushed:{weight:["regular"],fallback:"display"},Sumana:{weight:["regular","700"],fallback:"serif"},Elsie:{weight:["regular","900"],fallback:"display"},Ranga:{weight:["regular","700"],fallback:"display"},"Port Lligat Slab":{weight:["regular"],fallback:"serif"},Amarante:{weight:["regular"],fallback:"display"},"Ruslan Display":{weight:["regular"],fallback:"display"},"Germania One":{weight:["regular"],fallback:"display"},"Sirin Stencil":{weight:["regular"],fallback:"display"},Pavanam:{weight:["regular"],fallback:"sans-serif"},Peralta:{weight:["regular"],fallback:"display"},"Scope One":{weight:["regular"],fallback:"serif"},Jomolhari:{weight:["regular"],fallback:"serif"},Kranky:{weight:["regular"],fallback:"display"},"Yatra One":{weight:["regular"],fallback:"display"},"Jacques Francois Shadow":{weight:["regular"],fallback:"display"},Ribeye:{weight:["regular"],fallback:"display"},"Averia Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Saira Stencil One":{weight:["regular"],fallback:"display"},"Cherry Cream Soda":{weight:["regular"],fallback:"display"},"Mukta Mahee":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Srisakdi:{weight:["regular","700"],fallback:"display"},Trochut:{weight:["regular","italic","700"],fallback:"display"},Coiny:{weight:["regular"],fallback:"display"},"Ma Shan Zheng":{weight:["regular"],fallback:"handwriting"},Asul:{weight:["regular","700"],fallback:"sans-serif"},Ewert:{weight:["regular"],fallback:"display"},Arya:{weight:["regular","700"],fallback:"sans-serif"},"Hanalei Fill":{weight:["regular"],fallback:"display"},Grenze:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Ribeye Marrow":{weight:["regular"],fallback:"display"},"IM Fell English SC":{weight:["regular"],fallback:"serif"},"Chau Philomene One":{weight:["regular","italic"],fallback:"sans-serif"},Sarina:{weight:["regular"],fallback:"display"},Chicle:{weight:["regular"],fallback:"display"},Manjari:{weight:["100","regular","700"],fallback:"sans-serif"},Montaga:{weight:["regular"],fallback:"serif"},Italiana:{weight:["regular"],fallback:"serif"},Akronim:{weight:["regular"],fallback:"display"},Habibi:{weight:["regular"],fallback:"serif"},Englebert:{weight:["regular"],fallback:"sans-serif"},Dynalight:{weight:["regular"],fallback:"display"},"Mate SC":{weight:["regular"],fallback:"serif"},"Henny Penny":{weight:["regular"],fallback:"display"},"Sree Krushnadevaraya":{weight:["regular"],fallback:"serif"},Engagement:{weight:["regular"],fallback:"handwriting"},Girassol:{weight:["regular"],fallback:"display"},"Kite One":{weight:["regular"],fallback:"sans-serif"},"Ibarra Real Nova":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},Gaegu:{weight:["300","regular","700"],fallback:"handwriting"},Fenix:{weight:["regular"],fallback:"serif"},"Pirata One":{weight:["regular"],fallback:"display"},"Tulpen One":{weight:["regular"],fallback:"display"},"IM Fell Great Primer":{weight:["regular","italic"],fallback:"serif"},Chathura:{weight:["100","300","regular","700","800"],fallback:"sans-serif"},Unlock:{weight:["regular"],fallback:"display"},"Nova Round":{weight:["regular"],fallback:"display"},Sura:{weight:["regular","700"],fallback:"serif"},"Kumar One":{weight:["regular"],fallback:"display"},Baskervville:{weight:["regular","italic"],fallback:"serif"},Quintessential:{weight:["regular"],fallback:"handwriting"},Milonga:{weight:["regular"],fallback:"display"},Bayon:{weight:["regular"],fallback:"display"},"Be Vietnam":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},"Crimson Pro":{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"serif"},B612:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"League Script":{weight:["regular"],fallback:"handwriting"},"Inknut Antiqua":{weight:["300","regular","500","600","700","800","900"],fallback:"serif"},Mogra:{weight:["regular"],fallback:"display"},"Mystery Quest":{weight:["regular"],fallback:"display"},"Monsieur La Doulaise":{weight:["regular"],fallback:"handwriting"},Vibes:{weight:["regular"],fallback:"display"},Rosarivo:{weight:["regular","italic"],fallback:"serif"},"Uncial Antiqua":{weight:["regular"],fallback:"display"},Dorsa:{weight:["regular"],fallback:"sans-serif"},Almendra:{weight:["regular","italic","700","700italic"],fallback:"serif"},Diplomata:{weight:["regular"],fallback:"display"},Simonetta:{weight:["regular","italic","900","900italic"],fallback:"display"},"New Rocker":{weight:["regular"],fallback:"display"},Snippet:{weight:["regular"],fallback:"sans-serif"},Petrona:{weight:["regular"],fallback:"serif"},Ramaraja:{weight:["regular"],fallback:"serif"},"Averia Gruesa Libre":{weight:["regular"],fallback:"display"},"Baloo Bhaina 2":{weight:["regular","500","600","700","800"],fallback:"display"},Kodchasan:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Meera Inimai":{weight:["regular"],fallback:"sans-serif"},Flamenco:{weight:["300","regular"],fallback:"display"},Khmer:{weight:["regular"],fallback:"display"},Paprika:{weight:["regular"],fallback:"display"},Koulen:{weight:["regular"],fallback:"display"},Mansalva:{weight:["regular"],fallback:"handwriting"},"Lovers Quarrel":{weight:["regular"],fallback:"handwriting"},Condiment:{weight:["regular"],fallback:"handwriting"},"Baloo Thambi 2":{weight:["regular","500","600","700","800"],fallback:"display"},Stoke:{weight:["300","regular"],fallback:"serif"},Barrio:{weight:["regular"],fallback:"display"},Barriecito:{weight:["regular"],fallback:"display"},"Donegal One":{weight:["regular"],fallback:"serif"},Kavoon:{weight:["regular"],fallback:"display"},"Big Shoulders Display":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Mina:{weight:["regular","700"],fallback:"sans-serif"},"Big Shoulders Text":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Prociono:{weight:["regular"],fallback:"serif"},"Text Me One":{weight:["regular"],fallback:"sans-serif"},"IM Fell French Canon":{weight:["regular","italic"],fallback:"serif"},"Overlock SC":{weight:["regular"],fallback:"display"},Cagliostro:{weight:["regular"],fallback:"sans-serif"},"Marko One":{weight:["regular"],fallback:"serif"},"Swanky and Moo Moo":{weight:["regular"],fallback:"handwriting"},"Maiden Orange":{weight:["regular"],fallback:"display"},Blinker:{weight:["100","200","300","regular","600","700","800","900"],fallback:"sans-serif"},Miniver:{weight:["regular"],fallback:"display"},Angkor:{weight:["regular"],fallback:"display"},Chango:{weight:["regular"],fallback:"display"},Thasadith:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Modak:{weight:["regular"],fallback:"display"},Junge:{weight:["regular"],fallback:"serif"},"Stint Ultra Condensed":{weight:["regular"],fallback:"display"},Stalemate:{weight:["regular"],fallback:"handwriting"},Tillana:{weight:["regular","500","600","700","800"],fallback:"handwriting"},UnifrakturCook:{weight:["700"],fallback:"display"},"Rum Raisin":{weight:["regular"],fallback:"sans-serif"},Farro:{weight:["300","regular","500","700"],fallback:"sans-serif"},"Delius Unicase":{weight:["regular","700"],fallback:"handwriting"},Sancreek:{weight:["regular"],fallback:"display"},Julee:{weight:["regular"],fallback:"handwriting"},Margarine:{weight:["regular"],fallback:"display"},"Lakki Reddy":{weight:["regular"],fallback:"handwriting"},"Stint Ultra Expanded":{weight:["regular"],fallback:"display"},"Bigshot One":{weight:["regular"],fallback:"display"},Griffy:{weight:["regular"],fallback:"display"},Moul:{weight:["regular"],fallback:"display"},"Diplomata SC":{weight:["regular"],fallback:"display"},Oxanium:{weight:["200","300","regular","500","600","700","800"],fallback:"display"},Offside:{weight:["regular"],fallback:"display"},"Fira Code":{weight:["300","regular","500","600","700"],fallback:"monospace"},"Eagle Lake":{weight:["regular"],fallback:"handwriting"},Flavors:{weight:["regular"],fallback:"display"},"Londrina Outline":{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"},Nokora:{weight:["regular","700"],fallback:"serif"},Calistoga:{weight:["regular"],fallback:"display"},Gotu:{weight:["regular"],fallback:"sans-serif"},"Della Respira":{weight:["regular"],fallback:"serif"},"Cormorant Unicase":{weight:["300","regular","500","600","700"],fallback:"serif"},"Libre Caslon Text":{weight:["regular","italic","700"],fallback:"serif"},Buda:{weight:["300"],fallback:"display"},Asar:{weight:["regular"],fallback:"serif"},"Poller One":{weight:["regular"],fallback:"display"},"Autour One":{weight:["regular"],fallback:"display"},"Nova Slim":{weight:["regular"],fallback:"display"},Underdog:{weight:["regular"],fallback:"display"},Redressed:{weight:["regular"],fallback:"handwriting"},"Yeon Sung":{weight:["regular"],fallback:"display"},Content:{weight:["regular","700"],fallback:"display"},Kantumruy:{weight:["300","regular","700"],fallback:"sans-serif"},"Baloo Paaji 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Jim Nightshade":{weight:["regular"],fallback:"handwriting"},"Glass Antiqua":{weight:["regular"],fallback:"display"},"Snowburst One":{weight:["regular"],fallback:"display"},"Gamja Flower":{weight:["regular"],fallback:"handwriting"},Revalia:{weight:["regular"],fallback:"display"},"Metal Mania":{weight:["regular"],fallback:"display"},Charmonman:{weight:["regular","700"],fallback:"handwriting"},"IM Fell DW Pica SC":{weight:["regular"],fallback:"serif"},Inika:{weight:["regular","700"],fallback:"serif"},"Elsie Swash Caps":{weight:["regular","900"],fallback:"display"},Wellfleet:{weight:["regular"],fallback:"display"},"Chela One":{weight:["regular"],fallback:"display"},"Rhodium Libre":{weight:["regular"],fallback:"serif"},"Mrs Sheppards":{weight:["regular"],fallback:"handwriting"},"Sedgwick Ave Display":{weight:["regular"],fallback:"handwriting"},"Modern Antiqua":{weight:["regular"],fallback:"display"},"Ravi Prakash":{weight:["regular"],fallback:"display"},Galdeano:{weight:["regular"],fallback:"sans-serif"},Oldenburg:{weight:["regular"],fallback:"display"},Arbutus:{weight:["regular"],fallback:"display"},"Poor Story":{weight:["regular"],fallback:"display"},"Hi Melody":{weight:["regular"],fallback:"handwriting"},"Joti One":{weight:["regular"],fallback:"display"},"Nova Flat":{weight:["regular"],fallback:"display"},"ZCOOL QingKe HuangYou":{weight:["regular"],fallback:"display"},"Linden Hill":{weight:["regular","italic"],fallback:"serif"},Bokor:{weight:["regular"],fallback:"display"},"Courier Prime":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Trykker:{weight:["regular"],fallback:"serif"},KoHo:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Song Myung":{weight:["regular"],fallback:"serif"},Ruthie:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended Text":{weight:["regular"],fallback:"display"},Chilanka:{weight:["regular"],fallback:"handwriting"},Fahkwang:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Felipa:{weight:["regular"],fallback:"handwriting"},Monofett:{weight:["regular"],fallback:"display"},"Odibee Sans":{weight:["regular"],fallback:"display"},Smythe:{weight:["regular"],fallback:"display"},"Major Mono Display":{weight:["regular"],fallback:"monospace"},Jomhuria:{weight:["regular"],fallback:"display"},"Croissant One":{weight:["regular"],fallback:"display"},Dangrek:{weight:["regular"],fallback:"display"},"Original Surfer":{weight:["regular"],fallback:"display"},Bahiana:{weight:["regular"],fallback:"display"},Gorditas:{weight:["regular","700"],fallback:"display"},"Odor Mean Chey":{weight:["regular"],fallback:"display"},Iceberg:{weight:["regular"],fallback:"display"},MedievalSharp:{weight:["regular"],fallback:"display"},"Caesar Dressing":{weight:["regular"],fallback:"display"},Sahitya:{weight:["regular","700"],fallback:"serif"},Stylish:{weight:["regular"],fallback:"sans-serif"},"Nova Cut":{weight:["regular"],fallback:"display"},"Purple Purse":{weight:["regular"],fallback:"display"},Devonshire:{weight:["regular"],fallback:"handwriting"},Smokum:{weight:["regular"],fallback:"display"},"Almendra Display":{weight:["regular"],fallback:"display"},Galindo:{weight:["regular"],fallback:"display"},Preahvihear:{weight:["regular"],fallback:"display"},Siemreap:{weight:["regular"],fallback:"display"},"Irish Grover":{weight:["regular"],fallback:"display"},Gupter:{weight:["regular","500","700"],fallback:"serif"},"Meie Script":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128":{weight:["regular"],fallback:"display"},"Keania One":{weight:["regular"],fallback:"display"},"GFS Neohellenic":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Cute Font":{weight:["regular"],fallback:"display"},"Londrina Shadow":{weight:["regular"],fallback:"display"},"East Sea Dokdo":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended":{weight:["regular"],fallback:"display"},Risque:{weight:["regular"],fallback:"display"},Lancelot:{weight:["regular"],fallback:"display"},"Libre Caslon Display":{weight:["regular"],fallback:"serif"},Plaster:{weight:["regular"],fallback:"display"},"Goblin One":{weight:["regular"],fallback:"display"},Asset:{weight:["regular"],fallback:"display"},"Almendra SC":{weight:["regular"],fallback:"serif"},"Jacques Francois":{weight:["regular"],fallback:"serif"},"Jolly Lodger":{weight:["regular"],fallback:"display"},"Lexend Exa":{weight:["regular"],fallback:"sans-serif"},Molle:{weight:["italic"],fallback:"handwriting"},Kavivanar:{weight:["regular"],fallback:"handwriting"},"Kirang Haerang":{weight:["regular"],fallback:"display"},Piedra:{weight:["regular"],fallback:"display"},"Atomic Age":{weight:["regular"],fallback:"display"},"Kulim Park":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Libre Barcode 39 Text":{weight:["regular"],fallback:"display"},"IM Fell Great Primer SC":{weight:["regular"],fallback:"serif"},"Tenali Ramakrishna":{weight:["regular"],fallback:"sans-serif"},Butcherman:{weight:["regular"],fallback:"display"},"Dr Sugiyama":{weight:["regular"],fallback:"handwriting"},"Geostar Fill":{weight:["regular"],fallback:"display"},Romanesco:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128 Text":{weight:["regular"],fallback:"display"},Sunshiney:{weight:["regular"],fallback:"handwriting"},"Kumar One Outline":{weight:["regular"],fallback:"display"},Peddana:{weight:["regular"],fallback:"serif"},"Baloo Bhai 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Kdam Thmor":{weight:["regular"],fallback:"display"},"Ruge Boogie":{weight:["regular"],fallback:"handwriting"},Freehand:{weight:["regular"],fallback:"display"},Bonbon:{weight:["regular"],fallback:"handwriting"},Caladea:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Single Day":{weight:["regular"],fallback:"display"},"Baloo Tamma 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Inria Sans":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Hanalei:{weight:["regular"],fallback:"display"},"Emblema One":{weight:["regular"],fallback:"display"},"Seymour One":{weight:["regular"],fallback:"sans-serif"},"Miss Fajardose":{weight:["regular"],fallback:"handwriting"},Sevillana:{weight:["regular"],fallback:"display"},"Inria Serif":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Bungee Outline":{weight:["regular"],fallback:"display"},Metal:{weight:["regular"],fallback:"display"},"IM Fell Double Pica SC":{weight:["regular"],fallback:"serif"},"Lexend Giga":{weight:["regular"],fallback:"sans-serif"},"ZCOOL KuaiLe":{weight:["regular"],fallback:"display"},Astloch:{weight:["regular","700"],fallback:"display"},"Mr Bedfort":{weight:["regular"],fallback:"handwriting"},Macondo:{weight:["regular"],fallback:"display"},"Butterfly Kids":{weight:["regular"],fallback:"handwriting"},"Supermercado One":{weight:["regular"],fallback:"display"},Fruktur:{weight:["regular"],fallback:"display"},Taprom:{weight:["regular"],fallback:"display"},Lacquer:{weight:["regular"],fallback:"display"},"Black And White Picture":{weight:["regular"],fallback:"sans-serif"},"Bigelow Rules":{weight:["regular"],fallback:"display"},"Beth Ellen":{weight:["regular"],fallback:"handwriting"},"Sofadi One":{weight:["regular"],fallback:"display"},Combo:{weight:["regular"],fallback:"display"},Bellota:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Federant:{weight:["regular"],fallback:"display"},"Miltonian Tattoo":{weight:["regular"],fallback:"display"},"Londrina Sketch":{weight:["regular"],fallback:"display"},Suwannaphum:{weight:["regular"],fallback:"display"},"Bungee Hairline":{weight:["regular"],fallback:"display"},Fascinate:{weight:["regular"],fallback:"display"},"Erica One":{weight:["regular"],fallback:"display"},"Nova Oval":{weight:["regular"],fallback:"display"},"Baloo Da 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Sulphur Point":{weight:["300","regular","700"],fallback:"sans-serif"},Aubrey:{weight:["regular"],fallback:"display"},Gidugu:{weight:["regular"],fallback:"sans-serif"},"Bellota Text":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Nova Script":{weight:["regular"],fallback:"display"},Miltonian:{weight:["regular"],fallback:"display"},Gayathri:{weight:["100","regular","700"],fallback:"sans-serif"},Geostar:{weight:["regular"],fallback:"display"},Moulpali:{weight:["regular"],fallback:"display"},"Passero One":{weight:["regular"],fallback:"display"},"Stalinist One":{weight:["regular"],fallback:"display"},"Long Cang":{weight:["regular"],fallback:"handwriting"},Solway:{weight:["300","regular","500","700","800"],fallback:"serif"},"Zhi Mang Xing":{weight:["regular"],fallback:"handwriting"},"Baloo Tammudu 2":{weight:["regular","500","600","700","800"],fallback:"display"},Chenla:{weight:["regular"],fallback:"display"},Suravaram:{weight:["regular"],fallback:"serif"},Fasthand:{weight:["regular"],fallback:"serif"},Kenia:{weight:["regular"],fallback:"display"},Dhurjati:{weight:["regular"],fallback:"sans-serif"},"Lexend Tera":{weight:["regular"],fallback:"sans-serif"},"BioRhyme Expanded":{weight:["200","300","regular","700","800"],fallback:"serif"},"Turret Road":{weight:["200","300","regular","500","700","800"],fallback:"display"},Warnes:{weight:["regular"],fallback:"display"},"Viaoda Libre":{weight:["regular"],fallback:"display"},"Lexend Mega":{weight:["regular"],fallback:"sans-serif"},Bahianita:{weight:["regular"],fallback:"display"},Manrope:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Lexend Zetta":{weight:["regular"],fallback:"sans-serif"},"Lexend Peta":{weight:["regular"],fallback:"sans-serif"}});function Oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var je=function(e){f()(a,e);var t=Oe(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.setAttributes,i=t.attributes,r=t.device,n=void 0===r?"":r,c=t.showFontSize,s=void 0!==c&&c,g=t.showFontFamily,b=void 0!==g&&g,u=t.showFontWeight,d=void 0!==u&&u,p=t.showTextTransform,f=void 0!==p&&p,h=t.showLineHeight,m=void 0!==h&&h,k=t.showLetterSpacing,y=void 0!==k&&k,v=t.disableAdvancedToggle,w=void 0!==v&&v,O=t.fontSizePlaceholder,j=void 0===O?"17":O,S=[{value:"",label:Object(T.__)("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(we).slice(0,20).forEach((function(e){S.push({value:e,label:e})})),S.push({value:"other",label:Object(T.__)("Other","generateblocks")});var _=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"normal",label:Object(T.__)("Normal","generateblocks")},{value:"bold",label:Object(T.__)("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"}],B=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"uppercase",label:Object(T.__)("Uppercase","generateblocks")},{value:"lowercase",label:Object(T.__)("Lowercase","generateblocks")},{value:"capitalize",label:Object(T.__)("Capitalize","generateblocks")},{value:"initial",label:Object(T.__)("Normal","generateblocks")}];void 0!==we[i.fontFamily]&&void 0!==we[i.fontFamily].weight&&(_=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"normal",label:Object(T.__)("Normal","generateblocks")},{value:"bold",label:Object(T.__)("Bold","generateblocks")}],we[i.fontFamily].weight.filter((function(e){var t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e)})).forEach((function(e){_.push({value:e,label:e})})));var D=function(e){"other"===e&&(e="");i.fontWeight;a({fontFamily:e}),i.fontWeight&&Object.values(_).indexOf(i.fontWeight),void 0!==we[e]?a({googleFont:!0,fontFamilyFallback:we[e].fallback,googleFontVariants:we[e].weight.join(", ")}):a({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})},R=function(e){a({fontFamily:e.target.value}),D(e.target.value)},x=function(e,t){return i[e+t]},M=function(e,t){return e+t},z=i.showAdvancedTypography;w&&(z=!0);var L=j;"Tablet"===n&&i.fontSize&&(L=i.fontSize),"Mobile"===n&&(i.fontSizeTablet?L=i.fontSizeTablet:i.fontSize&&(L=i.fontSize));var P="";return"Tablet"===n&&i.lineHeight&&(P=i.lineHeight),"Mobile"===n&&(i.lineHeightTablet?P=i.lineHeightTablet:i.lineHeight&&(P=i.lineHeight)),Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"components-gblocks-typography-weight-transform"},d&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Weight","generateblocks"),value:i.fontWeight,options:_,onChange:function(e){a({fontWeight:e})},className:"components-base-control"}),f&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Transform","generateblocks"),value:i.textTransform,options:B,onChange:function(e){a({textTransform:e})},className:"components-base-control"})),!w&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Show Advanced Typography","generateblocks"),checked:!!i.showAdvancedTypography,onChange:function(e){a({showAdvancedTypography:e})}}),b&&z&&Object(l.createElement)(C.BaseControl,{className:"gblocks-font-family-shortcuts"},Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Font Family","generateblocks")),Object(l.createElement)("select",{className:"components-select-control__input components-select-control__input--gblocks-fontfamily",onChange:R,onBlur:R},S.map((function(e,t){return Object(l.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))),b&&z&&Object(l.createElement)(C.TextControl,{value:i.fontFamily,placeholder:Object(T.__)("Enter font name","generateblocks"),onChange:function(e){return D(e)}}),b&&""!==i.fontFamily&&z&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Google Font","generateblocks"),checked:!!i.googleFont,onChange:function(e){a({googleFont:e}),e&&void 0!==we[i.fontFamily]&&a({fontFamilyFallback:we[i.fontFamily].fallback,googleFontVariants:we[i.fontFamily].weight.join(", ")})}}),!!i.googleFont&&Object(l.createElement)(C.TextControl,{label:Object(T.__)("Variants","generateblocks"),value:i.googleFontVariants,placeholder:Object(T.__)("300, 400, 400i","generateblocks"),onChange:function(e){a({googleFontVariants:e})}})),b&&z&&Object(l.createElement)(C.TextControl,{label:Object(T.__)("Font Family Fallback","generateblocks"),value:i.fontFamilyFallback,placeholder:Object(T.__)("sans-serif","generateblocks"),onChange:function(e){a({fontFamilyFallback:e})}}),s&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Font Size","generateblocks"),value:i.fontSizeUnit,units:["px","em","%"],onClick:function(e){a({fontSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("fontSize",n)||"",placeholder:L,onChange:function(e){var t=M("fontSize",n);a(o()({},t,parseFloat(e)))},min:1,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("fontSize",n);a(o()({},t,e.props.defaultFontSize))}},Object(T.__)("Reset","generateblocks")))),m&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Line Height","generateblocks"),value:i.lineHeightUnit,units:["px","em","%"],onClick:function(e){a({lineHeightUnit:e})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("lineHeight",n)||0===x("lineHeight",n)?x("lineHeight",n):"",placeholder:P,onChange:function(e){var t=M("lineHeight",n);a(o()({},t,e))},onBlur:function(){var e=M("lineHeight",n);a(o()({},e,parseFloat(x("lineHeight",n))))},onClick:function(e){e.currentTarget.focus()},min:0,step:.1,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("lineHeight",n);a(o()({},t,e.props.defaultLineHeight))}},Object(T.__)("Reset","generateblocks")))),y&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Letter Spacing","generateblocks"),value:"em",units:["em"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("letterSpacing",n)||"",placeholder:"0.01",onChange:function(e){var t=M("letterSpacing",n);a(o()({},t,e))},onBlur:function(){var e=M("letterSpacing",n);a(o()({},e,parseFloat(x("letterSpacing",n))))},onClick:function(e){e.currentTarget.focus()},min:-1,step:.01,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("letterSpacing",n);a(o()({},t,e.props.defaultLetterSpacing))}},Object(T.__)("Reset","generateblocks")))))}}]),a}(l.Component);a(39);function Te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ce=function(e){f()(a,e);var t=Te(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.setAttributes,r=t.attrGradient,n=t.attrGradientDirection,c=t.attrGradientColorOne,s=t.attrGradientColorOneOpacity,g=t.attrGradientColorStopOne,b=t.attrGradientColorTwo,u=t.attrGradientColorTwoOpacity,d=t.attrGradientColorStopTwo,p=t.defaultColorOne,f=t.defaultColorTwo,h=a.gradientSelector,m="element"===h?Object(T.__)("Displays behind the background image.","generateblocks"):Object(T.__)("Displays in front of the background image.","generateblocks");return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Use Gradient","generateblocks"),checked:!!a[r],onChange:function(t){i(o()({},e.props.attrGradient,t))}}),!!a[r]&&Object(l.createElement)(l.Fragment,null,void 0!==h&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Selector","generateblocks"),help:m,value:h,options:[{label:Object(T.__)("Element","generateblocks"),value:"element"},{label:Object(T.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:function(e){i({gradientSelector:e})}}),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Direction","generateblocks")),Object(l.createElement)(C.RangeControl,{value:a[n]?a[n]:1,onChange:function(e){i(o()({},n,e))},min:0,max:360,step:1,initialPosition:90})),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Color One","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(ke,{value:a[c],alpha:!0,valueOpacity:a[s],attrOpacity:"gradientColorOneOpacity",onChange:function(e){return i(o()({},c,e))},onOpacityChange:function(e){return i(o()({},s,e))},onClear:function(){return i(o()({},c,p))}}),Object(l.createElement)(C.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:a[g]||0===a[g]?a[g]:"",placeholder:Object(T.__)("Stop position (%)","generateblocks"),onChange:function(e){i(o()({},g,e))},onBlur:function(){(a[g]||0===a[g])&&i(o()({},g,parseFloat(a[g])))},onClick:function(e){e.currentTarget.focus()}}))),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Color Two","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(ke,{value:a[b],alpha:!0,valueOpacity:a[u],attrOpacity:"gradientColorTwoOpacity",onChange:function(e){return i(o()({},b,e))},onOpacityChange:function(e){return i(o()({},u,e))},onClear:function(){return i(o()({},b,f))}}),Object(l.createElement)(C.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:a[d]||0===a[d]?a[d]:"",placeholder:Object(T.__)("Stop position (%)","generateblocks"),onChange:function(e){i(o()({},d,e))},onBlur:function(){(a[d]||0===a[d])&&i(o()({},d,parseFloat(a[d])))},onClick:function(e){e.currentTarget.focus()}})))))}}]),a}(l.Component),Se=a(25),_e=a.n(Se);function Be(e){return _e.a.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function De(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 Ee(e,t){var a=Object(S.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),l=a.backgroundColor,i=a.backgroundColorOpacity,r=a.bgImage,n=a.gradient,o=a.bgOptions,c=a.gradientColorOne,s=a.gradientColorOneOpacity,g=a.gradientColorTwo,b=a.gradientColorTwoOpacity,u=a.gradientColorStopOne,d=a.gradientColorStopTwo,p=a.gradientDirection,f="";if(n){var h="",m="";c&&""!==u&&(h=" "+u+"%"),g&&""!==d&&(m=" "+d+"%"),f="linear-gradient("+p+"deg, "+he(c,s)+h+", "+he(g,b)+m+")"}if("gradient"===e)return f;var k=!1,y=he(l,i);if(r){var v=r.image.url;v=Object(S.applyFilters)("generateblocks.editor.bgImageURL",v,t),"element"===o.selector&&(y||n)&&void 0!==o.overlay&&o.overlay?n?k=f+", url("+v+")":y&&(k="linear-gradient(0deg, "+y+", "+y+"), url("+v+")"):k="url("+v+")"}return k}function Re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var xe=function(e){f()(a,e);var t=Re(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.width,n=e.outerContainer,o=e.innerContainer,c=e.containerWidth,s=e.minHeight,g=e.minHeightUnit,b=e.paddingTop,u=e.paddingRight,d=e.paddingBottom,p=e.paddingLeft,f=e.paddingUnit,h=e.marginTop,m=e.marginRight,k=e.marginBottom,y=e.marginLeft,v=e.marginUnit,w=e.borderSizeTop,O=e.borderSizeRight,j=e.borderSizeBottom,T=e.borderSizeLeft,C=e.borderRadiusTopRight,_=e.borderRadiusBottomRight,B=e.borderRadiusBottomLeft,D=e.borderRadiusTopLeft,E=e.borderRadiusUnit,R=e.borderColor,x=e.borderColorOpacity,L=e.backgroundColor,P=e.backgroundColorOpacity,F=e.gradient,A=e.gradientSelector,U=e.textColor,H=e.linkColor,N=e.linkColorHover,I=e.bgImage,G=e.bgOptions,V=e.verticalAlignment,q=e.zindex,W=e.innerZindex,Z=e.alignment,K=e.fontFamily,J=e.fontFamilyFallback,Y=e.fontWeight,Q=e.fontSize,X=e.fontSizeUnit,$=e.textTransform,ee=e.shapeDividers,te=c;te||(te=generateBlocksDefaults.container.containerWidth);var ae="";K&&J&&(ae=", "+J);var le=!!I,ie=Ee("image",this.props),re=Ee("gradient",this.props),ne=W,oe=[];return oe[".gb-container-"+a]=[{"background-color":he(L,P),color:U,"border-radius":De(D,C,_,B,E),margin:De(h,m,k,y,v),"z-index":q,"text-align":Z,"font-family":K+ae,"font-weight":Y,"text-transform":$,"font-size":z(Q,X),"min-height":z(s,g),"border-color":he(R,x)}],le&&"element"===G.selector&&ie?oe[".gb-container-"+a].push({"background-image":ie,"background-size":G.size,"background-position":G.position,"background-repeat":G.repeat,"background-attachment":G.attachment}):F&&"element"===A&&oe[".gb-container-"+a].push({"background-image":re}),(le&&"pseudo-element"===G.selector||q||F&&"pseudo-element"===A)&&oe[".gb-container-"+a].push({position:"relative"}),(le&&"pseudo-element"===G.selector||F&&"pseudo-element"===A)&&(oe[".gb-container-"+a].push({overflow:"hidden"}),oe[".gb-container-"+a+" .block-list-appender"]=[{"z-index":10}],ne||(ne=1)),oe[".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:U}],(w||O||j||T)&&oe[".gb-container-"+a].push({"border-width":De(w,O,j,T,"px"),"border-style":"solid"}),s&&!i&&oe[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":V}),i&&(oe[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":V}),oe[".block-editor-block-list__layout > #block-"+t]=[{height:"100%"}]),le&&"pseudo-element"===G.selector&&(oe[".gb-container-"+a+":before"]=[{content:'""',"background-image":ie,"background-repeat":G.repeat,"background-position":G.position,"background-size":G.size,"background-attachment":G.attachment,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0","border-radius":De(D,C,_,B,E)}],void 0!==G.opacity&&1!==G.opacity&&oe[".gb-container-"+a+":before"].push({opacity:G.opacity})),F&&"pseudo-element"===A&&(oe[".gb-container-"+a+":after"]=[{content:'""',"background-image":re,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0"}]),oe[".gb-container-"+a+" a, .gb-container-"+a+" a:visited"]=[{color:H}],oe[".gb-container-"+a+" a:hover"]=[{color:N}],oe[".gb-container-"+a+" > .gb-inside-container"]=[{padding:De(b,u,d,p,f),width:!(!s||i)&&"100%"}],(ne||0===ne)&&oe[".gb-container-"+a+" > .gb-inside-container"].push({"z-index":ne,position:"relative"}),"contained"!==o||i||oe[".gb-container-"+a+" > .gb-inside-container"].push({"max-width":z(te,"px"),"margin-left":"auto","margin-right":"auto"}),oe[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%"),display:"flex","flex-direction":"column","margin-left":"0px","margin-right":"0px"}],oe[".block-editor-block-list__layout > #block-"+t]=[{"max-width":"contained"===n&&!i&&z(te,"px")}],oe[".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%"}],oe["#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"}],ee.length&&(oe[".gb-container-"+a].push({position:"relative"}),oe[".gb-container-"+a+" .block-list-appender"]=[{position:"relative","z-index":100}],ee.forEach((function(e,t){var l=[],i=t+1;"top"===ee[t].location&&l.push("scaleY(-1)"),ee[t].flipHorizontally&&(l.push("scaleX(-1)"),oe[".gblocks-shape-container > .gblocks-shape-toggle-preview-"+i+" .gblocks-shape-divider-preview"]=[{transform:"scaleX(-1)"}]),oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i]=[{color:he(ee[t].color,ee[t].colorOpacity),"z-index":ee[t].zindex}],"top"!==ee[t].location&&"bottom"!==ee[t].location||oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({left:"0",right:"0"}),"bottom"===ee[t].location&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({bottom:"-1px"}),"top"===ee[t].location&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({top:"-1px"}),l.length&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({transform:l.join(" ")});var r=ee[t].width+"%";100===ee[t].width&&(r="calc("+r+" + 1.3px)"),oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"]=[{height:z(ee[t].height,"px"),width:r}],"top"!==ee[t].location&&"bottom"!==ee[t].location||oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"].push({position:"relative",left:"50%",transform:"translateX(-50%)","min-width":"100%"})}))),oe=Object(S.applyFilters)("generateblocks.editor.mainCSS",oe,this.props,"container"),Object(l.createElement)("style",null,M(oe))}}]),a}(l.Component);function Me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ze=function(e){f()(a,e);var t=Me(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.removeVerticalGap,i=[];return i[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":!!a&&"0px !important"}],i=Object(S.applyFilters)("generateblocks.editor.desktopCSS",i,this.props,"container"),Object(l.createElement)("style",null,M(i))}}]),a}(l.Component);function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Pe=function(e){f()(a,e);var t=Le(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.widthTablet,n=e.minHeightTablet,o=e.minHeightUnitTablet,c=e.paddingTopTablet,s=e.paddingRightTablet,g=e.paddingBottomTablet,b=e.paddingLeftTablet,u=e.paddingUnit,d=e.marginTopTablet,p=e.marginRightTablet,f=e.marginBottomTablet,h=e.marginLeftTablet,m=e.marginUnit,k=e.borderSizeTopTablet,y=e.borderSizeRightTablet,v=e.borderSizeBottomTablet,w=e.borderSizeLeftTablet,O=e.borderRadiusTopRightTablet,j=e.borderRadiusBottomRightTablet,T=e.borderRadiusBottomLeftTablet,C=e.borderRadiusTopLeftTablet,_=e.borderRadiusUnit,B=e.verticalAlignmentTablet,D=e.alignmentTablet,E=e.fontSizeTablet,R=e.fontSizeUnit,x=e.shapeDividers,L=[];return L[".gb-container-"+a]=[{"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"margin-top":z(d,m),"margin-right":z(p,m),"margin-bottom":z(f,m),"margin-left":z(h,m),"text-align":D,"font-size":z(E,R),"min-height":z(n,o)}],(k||y||v||w)&&L[".gb-container-"+a].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),n&&!i&&L[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":"inherit"!==B?B:null}),i&&"inherit"!==B&&L[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":B}),L[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":z(c,u),"padding-right":z(s,u),"padding-bottom":z(g,u),"padding-left":z(b,u),width:!(!n||i)&&"100%"}],L[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%")}],x.length&&x.forEach((function(e,t){L[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:z(x[t].heightTablet,"px"),width:z(x[t].widthTablet,"%")}]})),L=Object(S.applyFilters)("generateblocks.editor.tabletCSS",L,this.props,"container"),Object(l.createElement)("style",null,M(L))}}]),a}(l.Component);function Fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ae=function(e){f()(a,e);var t=Fe(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=[];return e.removeVerticalGapTablet&&(a[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),a=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",a,this.props,"container"),Object(l.createElement)("style",null,M(a))}}]),a}(l.Component);function Ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var He=function(e){f()(a,e);var t=Ue(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.widthMobile,n=e.minHeightMobile,o=e.minHeightUnitMobile,c=e.paddingTopMobile,s=e.paddingRightMobile,g=e.paddingBottomMobile,b=e.paddingLeftMobile,u=e.paddingUnit,d=e.marginTopMobile,p=e.marginRightMobile,f=e.marginBottomMobile,h=e.marginLeftMobile,m=e.marginUnit,k=e.borderSizeTopMobile,y=e.borderSizeRightMobile,v=e.borderSizeBottomMobile,w=e.borderSizeLeftMobile,O=e.borderRadiusTopRightMobile,j=e.borderRadiusBottomRightMobile,T=e.borderRadiusBottomLeftMobile,C=e.borderRadiusTopLeftMobile,_=e.borderRadiusUnit,B=e.verticalAlignmentMobile,D=e.removeVerticalGapMobile,E=e.alignmentMobile,R=e.fontSizeMobile,x=e.fontSizeUnit,L=e.orderMobile,P=e.shapeDividers,F=e.bgImage,A=e.bgOptions,U=[];return U[".gb-container-"+a]=[{"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"margin-top":z(d,m),"margin-right":z(p,m),"margin-bottom":z(f,m),"margin-left":z(h,m),"text-align":E,"font-size":z(R,x),"min-height":z(n,o)}],(k||y||v||w)&&U[".gb-container-"+a].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),"inherit"!==B&&n&&!i&&U[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":B}),i&&"inherit"!==B&&U[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":B}),U[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":z(c,u),"padding-right":z(s,u),"padding-bottom":z(g,u),"padding-left":z(b,u),width:!(!n||i)&&"100%"}],U[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%"),order:L}],D&&(U[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),P.length&&P.forEach((function(e,t){U[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:z(P[t].heightMobile,"px"),width:z(P[t].widthMobile,"%")}]})),F&&"fixed"===A.attachment&&("element"===A.selector&&U[".gb-container-"+a].push({"background-attachment":"initial"}),"pseudo-element"===A.selector&&(U[".gb-container-"+a+":before"]=[{"background-attachment":"initial"}])),U=Object(S.applyFilters)("generateblocks.editor.mobileCSS",U,this.props,"container"),Object(l.createElement)("style",null,M(U))}}]),a}(l.Component);function Ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Ie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ne(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ve=/[\s#]/g,qe=[],We=function(e){f()(a,e);var t=Ge(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop"},e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?qe.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),qe.push(e)):qe.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),qe.push(e));var a=document.getElementById("block-"+this.props.clientId);a&&"full"===this.props.attributes.align&&a.setAttribute("data-align","full"),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"componentDidUpdate",value:function(){var e=document.getElementById("block-"+this.props.clientId);if(e){var t=this.props.attributes.align,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"))}}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.hasChildBlocks,s=a.clientId,g=i.uniqueId,b=i.className,u=i.anchor,d=i.tagName,p=i.isGrid,f=i.width,h=i.widthTablet,m=i.widthMobile,k=i.outerContainer,y=i.innerContainer,v=i.containerWidth,O=i.minHeight,_=i.minHeightUnit,D=i.minHeightTablet,R=i.minHeightUnitTablet,x=i.minHeightMobile,M=i.minHeightUnitMobile,z=i.borderColor,L=i.borderColorOpacity,P=i.backgroundColor,F=i.backgroundColorOpacity,A=i.textColor,U=i.linkColor,H=i.linkColorHover,N=i.bgImage,I=i.bgOptions,G=i.bgImageSize,V=i.verticalAlignment,q=i.verticalAlignmentTablet,W=i.verticalAlignmentMobile,Z=i.zindex,K=i.innerZindex,J=i.removeVerticalGap,X=i.removeVerticalGapTablet,$=i.removeVerticalGapMobile,ee=i.orderTablet,te=i.orderMobile,ae=i.alignment,le=i.alignmentTablet,ie=i.alignmentMobile,re=i.fontFamily,ne=i.googleFont,oe=i.googleFontVariants,ce=i.fullWidthContent,se=i.align,ge=i.shapeDividers;void 0===i.bgOptions.selector&&(i.bgOptions.selector="element"),void 0===i.bgOptions.opacity&&(i.bgOptions.opacity=1);var be=[{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"aside",value:"aside"}],ue=document.getElementById("_generate-full-width-content"),de=new Event("change"),he=wp.data.select("core/block-editor").getBlockHierarchyRootClientId(s)===s,me="";oe&&(me=":"+oe);var ye=!1,we=!1,Oe=!1,Te="";"function"==typeof wp.data.select("core/block-editor").getBlockParents&&(ye=wp.data.select("core/block-editor").getBlockParents(s,!0)[0])&&(we=wp.data.select("core/block-editor").getBlocksByClientId(ye))&&"generateblocks/grid"===we[0].name&&(Oe=!0,Te=we[0].attributes.uniqueId);var Se=[];Object.keys(generateBlocksInfo.svgShapes).forEach((function(e){var t=generateBlocksInfo.svgShapes[e].svgs;Object.keys(t).forEach((function(e){Se[e]={label:t[e].label,icon:t[e].icon}}))}));var _e=[];Object.keys(generateBlocksInfo.imageSizes).forEach((function(e){_e.push({label:generateBlocksInfo.imageSizes[e],value:generateBlocksInfo.imageSizes[e]})}));var De={className:w()((e={"gb-container":!0},o()(e,"gb-container-".concat(g),!0),o()(e,"".concat(b),void 0!==b),e)),id:u||null};return De=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",De,"generateblocks/container",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,"Desktop"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:ae,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:le,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:ie,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),!p&&Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Layout","generateblocks"),initialOpen:!0,icon:j("layout"),className:"gblocks-panel-label",id:"containerLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Oe&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Grid Item","generateblocks"),help:Object(T.__)("This Container is inside a Grid Block but is not set as a grid item. Enable this option for optimal results.","generateblocks"),checked:!!p,onChange:function(e){n({isGrid:e,gridId:Te})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Container","generateblocks"),value:k,options:[{label:Object(T.__)("Full width","generateblocks"),value:"full"},{label:Object(T.__)("Contained width","generateblocks"),value:"contained"}],onChange:function(e){n({outerContainer:e}),"contained"===e&&"full"===se&&n({align:""})}}),"full"===k&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Inner Container","generateblocks"),value:y,options:[{label:Object(T.__)("Full width","generateblocks"),value:"full"},{label:Object(T.__)("Contained width","generateblocks"),value:"contained"}],onChange:function(e){n({innerContainer:e})}}),("contained"===k||"contained"===y)&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",className:"gblocks-container-width",value:parseFloat(v)||"",placeholder:generateBlocksDefaults.container.containerWidth,onChange:function(e){n({containerWidth:""!==e?parseFloat(e):void 0})}})),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:Object(S.applyFilters)("generateblocks.editor.containerTagNames",be,this.props,this.state),onChange:function(e){n({tagName:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state),Object(l.createElement)(l.Fragment,null,generateBlocksInfo.isGeneratePress&&he&&ue&&Object(l.createElement)(C.BaseControl,{id:"gblocks-gp-full-width-page",label:Object(T.__)("If you want to build a full width page, use the option below to remove the page width, margin and padding.","generateblocks"),className:"gblocks-gpress-full-width"},Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Make page full-width","generateblocks"),checked:!!ce,onChange:function(e){e?("select"===ue.tagName.toLowerCase()?(ue.value="true",ue.dispatchEvent(de)):(ue.checked=!0,ue.setAttribute("value","true"),ue.dispatchEvent(de)),n({fullWidthContent:"true",align:""})):("select"===ue.tagName.toLowerCase()?(ue.value="",ue.dispatchEvent(de)):(ue.checked=!1,ue.setAttribute("value",""),document.querySelector('input[name="_generate-full-width-content"]#default-content').checked=!0,ue.dispatchEvent(de)),n({fullWidthContent:""}))}})))),Object(S.applyFilters)("generateblocks.editor.controls","","containerLayout",this.props,this.state)),p&&Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Layout","generateblocks"),initialOpen:!0,icon:j("layout"),className:"gblocks-panel-label",id:"containerGridLayout",state:this.state}),!Oe&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Grid Item","generateblocks"),help:Object(T.__)("This container is set as a grid item but is not inside a grid block. Deactivate this option for optimal results.","generateblocks"),checked:!!p,onChange:function(e){n({isGrid:e,gridId:""})}}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===f,onClick:function(){return n({width:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===f,onClick:function(){return n({width:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===f,onClick:function(){return n({width:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===f,onClick:function(){return n({width:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===f,onClick:function(){return n({width:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===f,onClick:function(){return n({width:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:f||"",onChange:function(e){n({width:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.width}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:V,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!J,onChange:function(e){n({removeVerticalGap:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:Object(S.applyFilters)("generateblocks.editor.containerTagNames",be,this.props,this.state),onChange:function(e){n({tagName:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===h,onClick:function(){return n({widthTablet:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===h,onClick:function(){return n({widthTablet:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===h,onClick:function(){return n({widthTablet:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===h,onClick:function(){return n({widthTablet:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===h,onClick:function(){return n({widthTablet:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===h,onClick:function(){return n({widthTablet:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:h||"",onChange:function(e){n({widthTablet:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthTablet}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!X,onChange:function(e){n({removeVerticalGapTablet:e})}}),Object(l.createElement)(C.TextControl,{type:"number",label:Object(T.__)("Order","generateblocks"),value:ee||0===ee?ee:"",onChange:function(e){n({orderTablet:parseFloat(e)})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===m,onClick:function(){return n({widthMobile:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===m,onClick:function(){return n({widthMobile:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===m,onClick:function(){return n({widthMobile:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===m,onClick:function(){return n({widthMobile:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===m,onClick:function(){return n({widthMobile:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===m,onClick:function(){return n({widthMobile:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:m||"",onChange:function(e){n({widthMobile:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthMobile}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:W,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!$,onChange:function(e){n({removeVerticalGapMobile:e})}}),Object(l.createElement)(C.TextControl,{type:"number",label:Object(T.__)("Order","generateblocks"),value:te||0===te?te:"",onChange:function(e){n({orderMobile:parseFloat(e)})}})),Object(S.applyFilters)("generateblocks.editor.controls","","containerGridLayout",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"containerTypography",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,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)(je,r()({},this.props,{device:"Tablet",showFontSize:!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)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingMobile}))),Object(S.applyFilters)("generateblocks.editor.controls","","containerTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"containerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:_,units:["px","vh","vw"],onClick:function(e){n({minHeightUnit:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:O||"",onChange:function(e){n({minHeight:parseFloat(e)})}}),!!O&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:V,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Outer z-index","generateblocks"),type:"number",value:Z||0===Z?Z:"",onChange:function(e){n({zindex:e})},onBlur:function(){n({zindex:parseFloat(Z)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Inner z-index","generateblocks"),type:"number",value:K||0===K?K:"",onChange:function(e){n({innerZindex:e})},onBlur:function(){n({innerZindex:parseFloat(K)})},onClick:function(e){e.currentTarget.focus()}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:R,units:["px","vh","vw"],onClick:function(e){n({minHeightUnitTablet:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:D||"",onChange:function(e){n({minHeightTablet:parseFloat(e)})}}),(!!O||!!D)&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:M,units:["px","vh","vw"],onClick:function(e){n({minHeightUnitMobile:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:x||"",onChange:function(e){n({minHeightMobile:parseFloat(e)})}}),(!!O||!!D||!!x)&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:W,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),Object(S.applyFilters)("generateblocks.editor.controls","","containerSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"containerColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:P,alpha:!0,valueOpacity:F,attrOpacity:"backgroundColorOpacity",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:A,alpha:!1,onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color","generateblocks"),value:U,alpha:!1,onChange:function(e){return n({linkColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color Hover","generateblocks"),value:H,alpha:!1,onChange:function(e){return n({linkColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:z,alpha:!0,valueOpacity:L,attrOpacity:"borderColorOpacity",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}})),Object(S.applyFilters)("generateblocks.editor.controls","","containerColors",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Backgrounds","generateblocks"),initialOpen:!1,icon:j("gradients"),className:"gblocks-panel-label",id:"containerBackground",state:this.state}),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{id:"gblocks-background-image-upload",label:Object(T.__)("Image URL","generateblocks")},Object(l.createElement)("div",{className:"gblocks-bg-image-wrapper"},Object(l.createElement)(C.TextControl,{type:"text",value:N?N.image.url:"",onChange:function(e){n(e?{bgImage:{id:"",image:{url:e}}}:{bgImage:null})}}),Object(l.createElement)("div",{className:"gblocks-background-image-action-buttons"},Object(l.createElement)(Q.MediaUpload,{title:Object(T.__)("Set background image","generateblocks"),onSelect:function(e){var t=generateBlocksDefaults.container.bgImageSize;void 0===e.sizes[t]&&(t="full"),n({bgImage:{id:e.id,image:e.sizes[t]}})},onClose:function(){document.querySelector(".gblocks-bg-image-wrapper input").focus()},allowedTypes:["image"],value:N?N.id:"",modalClass:"editor-gb-container-background__media-modal",render:function(e){var t=e.open;return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Open the Media Library","generateblocks")},Object(l.createElement)(C.Button,{onClick:t,className:"is-secondary is-small"},Object(T.__)("Browse","generateblocks")))}}),Object(S.applyFilters)("generateblocks.editor.backgroundImageActions","",this.props,this.state)))),!!N&&Object(l.createElement)(l.Fragment,null,I.overlay?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Background Color Overlay","generateblocks"),checked:!!I.overlay,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{overlay:e})})}}),Object(l.createElement)(C.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(T.__)("The background color overlay option is deprecated. Toggle this option to use the new method.","generateblocks"))):Object(l.createElement)(l.Fragment,null,void 0!==N.id&&N.id&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Image Size","generateblocks"),value:G,options:_e,onChange:function(e){n({bgImageSize:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Selector","generateblocks"),value:I.selector,options:[{label:Object(T.__)("Element","generateblocks"),value:"element"},{label:Object(T.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{selector:e})})}}),Object(l.createElement)(C.RangeControl,{label:Object(T.__)("Image Opacity","generateblocks"),value:I.opacity,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{opacity:e,selector:"pseudo-element"})})},min:0,max:1,step:.1,initialPosition:generateBlocksDefaults.container.bgOptions.opacity}),1!==I.opacity&&"pseudo-element"!==I.selector&&Object(l.createElement)(C.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(T.__)("Your selector must be set to Pseudo Element to use opacity.","generateblocks"))),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Size","generateblocks"),value:I.size,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{size:e})})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Position","generateblocks"),value:I.position,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{position:e})})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Repeat","generateblocks"),value:I.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:function(e){n({bgOptions:Ie(Ie({},I),{},{repeat:e})})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Attachment","generateblocks"),value:I.attachment,options:[{label:"scroll",value:""},{label:"fixed",value:"fixed"},{label:"local",value:"local"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{attachment:e})})}})),Object(l.createElement)(Ce,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(S.applyFilters)("generateblocks.editor.controls","","containerBackground",this.props,this.state))),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Shapes","generateblocks"),initialOpen:!1,icon:j("shapes"),className:"gblocks-panel-label",id:"containerShapes",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!i.shapeDividers.length)}),Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser gb-shape-chooser"},ge.map((function(e,a){var i=a+1;return Object(l.createElement)(l.Fragment,{key:a},Object(l.createElement)("div",{className:"gblocks-shape-container"},Object(l.createElement)("div",{className:w()(o()({"gblocks-shape-toggle-preview":!0},"gblocks-shape-toggle-preview-".concat(i),!0)),style:{backgroundColor:P}},void 0!==Se[ge[a].shape]&&Object(l.createElement)("div",{className:"gblocks-shape-divider-preview",style:{color:ge[a].color},dangerouslySetInnerHTML:{__html:Be(Se[ge[a].shape].icon)}})),
8
  /* translators: Shape number */
9
- Object(T.sprintf)(Object(T.__)("Shape %s","generateblocks"),i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.Dropdown,{contentClassName:"gblocks-shapes-dropdown",renderToggle:function(e){var t=e.isOpen,a=e.onToggle;return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Edit Shape","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-shape-dropdown",isSecondary:!t||void 0,isPrimary:!!t||void 0,icon:j("wrench"),onClick:a,"aria-expanded":t}))},renderContent:function(){return Object(l.createElement)("div",{className:"gblocks-shape-controls"},"Desktop"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser"},Object.keys(generateBlocksInfo.svgShapes).map((function(e,t){var i=generateBlocksInfo.svgShapes[e].svgs;return Object(l.createElement)(C.PanelBody,{title:generateBlocksInfo.svgShapes[e].group,initialOpen:i.hasOwnProperty(ge[a].shape),key:t},Object(l.createElement)(C.PanelRow,null,Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser gblocks-shape-chooser"},Object.keys(i).map((function(e,t){return Object(l.createElement)("li",{key:"editor-pblock-types-list-item-".concat(t)},Object(l.createElement)(C.Tooltip,{text:i[e].label},Object(l.createElement)(C.Button,{className:w()({"editor-block-list-item-button":!0,"gblocks-shape-is-active":ge[a].shape===e}),onClick:function(){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{shape:e}),n({shapeDividers:t})}},"string"==typeof i[e].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Be(i[e].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},i[e].icon)))))}))))))}))),Object(l.createElement)(ke,{label:Object(T.__)("Color","generateblocks"),value:ge[a].color,alpha:!0,valueOpacity:ge[a].colorOpacity,onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{color:e}),n({shapeDividers:t})},onOpacityChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{colorOpacity:e}),n({shapeDividers:t})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Location","generateblocks"),value:ge[a].location,options:[{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{location:e}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].height?ge[a].height:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{height:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].width?ge[a].width:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{width:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Flip Horizontally","generateblocks"),checked:!!ge[a].flipHorizontally,onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{flipHorizontally:e}),n({shapeDividers:t})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("z-index","generateblocks"),type:"number",min:"0",value:ge[a].zindex||0===ge[a].zindex?ge[a].zindex:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{zindex:e}),n({shapeDividers:t})},onBlur:function(){var e=pe()(ge);e[a]=Ie(Ie({},e[a]),{},{zindex:parseFloat(ge[a].zindex)}),n({shapeDividers:e})},onClick:function(e){e.currentTarget.focus()}})),"Tablet"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].heightTablet?ge[a].heightTablet:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{heightTablet:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].widthTablet?ge[a].widthTablet:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{widthTablet:parseFloat(e)}),n({shapeDividers:t})}})),"Mobile"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].heightMobile?ge[a].heightMobile:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{heightMobile:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].widthMobile?ge[a].widthMobile:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{widthMobile:parseFloat(e)}),n({shapeDividers:t})}})))}})),"Desktop"===t.getDeviceType()&&Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Delete Shape","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-remove-shape",onClick:function(){window.confirm(Object(T.__)("This will permanently delete this shape.","generateblocks"))&&function(e){var t=pe()(ge);t.splice(e,1),n({shapeDividers:t})}(a)},icon:j("x")}))))})),Object(l.createElement)("div",{className:"gblocks-add-new-shape"},Object(l.createElement)(C.Button,{isSecondary:!0,onClick:function(){var e=pe()(ge);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}),n({shapeDividers:e})}.bind(this)},Object(T.__)("Add Shape","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","containerShapeDivider",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),initialOpen:!1,icon:j("documentation"),className:"gblocks-panel-label",id:"containerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/container/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","containerDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor","generateblocks"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:u||"",onChange:function(e){e=e.replace(Ve,"-"),n({anchor:e})}})),Object(l.createElement)(xe,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(ze,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Pe,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(Ae,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(He,this.props)),re&&ne&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+re.replace(/ /g,"+")+me}),Object(l.createElement)(fe,{tagName:Object(S.applyFilters)("generateblocks.frontend.containerTagName",d,i),htmlAttrs:De},Object(S.applyFilters)("generateblocks.frontend.afterContainerOpen","",i),Object(l.createElement)("div",{className:w()({"gb-inside-container":!0})},Object(S.applyFilters)("generateblocks.frontend.insideContainer","",i),Object(l.createElement)(Q.InnerBlocks,{templateLock:!1,renderAppender:c?void 0:function(){return Object(l.createElement)(Q.InnerBlocks.ButtonBlockAppender,null)}})),Object(l.createElement)(l.Fragment,null,!!i.shapeDividers.length&&Object(l.createElement)("div",{className:"gb-shapes"},i.shapeDividers.map((function(e,t){var a=t+1;return Object(l.createElement)(l.Fragment,{key:t},void 0!==Se[ge[t].shape]&&Object(l.createElement)("div",{className:w()(o()({"gb-shape":!0},"gb-shape-".concat(a),!0)),dangerouslySetInnerHTML:{__html:Be(Se[ge[t].shape].icon)}}))})))),Object(S.applyFilters)("generateblocks.frontend.beforeContainerClose","",i)))}}]),a}(l.Component),Ze=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType,a=e("core").getMedia,l=(0,e("core/editor").getEditedPostAttribute)("featured_media");return t?{media:l?a(l):null,deviceType:t()}:{media:l?a(l):null,deviceType:null}}))])(We),Ke={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},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},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},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"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};generateBlocksInfo.hasCustomFields&&Object.assign(Ke,{fullWidthContent:{type:"string",source:"meta",meta:"_generate-full-width-content"}});var Je=Ke;function Ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Qe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ye(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Xe=[{attributes:Je,supports:{align:!1,anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return Qe(Qe({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.tagName,n=a.elementId,c=a.cssClasses,s=a.isGrid,g=a.align,b={className:w()((t={"gb-container":!0},o()(t,"gb-container-".concat(i),!0),o()(t,"".concat(c),""!==c),o()(t,"align".concat(g),!!g&&!s),t)),id:n||null};return b=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",b,"generateblocks/container",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:s,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-grid-column":!0},"gb-grid-column-".concat(i),!0))},e)}},Object(l.createElement)(fe,{tagName:r,htmlAttrs:b},Object(S.applyFilters)("generateblocks.frontend.insideContainer","",a),Object(l.createElement)("div",{className:w()({"gb-inside-container":!0})},Object(l.createElement)(Q.InnerBlocks.Content,null))))}}];Object(X.registerBlockType)("generateblocks/container",{title:Object(T.__)("Container","generateblocks"),description:Object(T.__)("Organize your content into rows and sections.","generateblocks"),icon:j("container"),category:"generateblocks",keywords:[Object(T.__)("section"),Object(T.__)("container"),Object(T.__)("generate")],attributes:Je,supports:{align:!1,className:!1},edit:Ze,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:Xe});a(40);function $e(e){return"left"===e||"top"===e?"flex-start":"right"===e||"bottom"===e?"flex-end":e}function et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var tt=function(e){f()(a,e);var t=et(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignment,i=e.marginTop,r=e.marginRight,n=e.marginBottom,o=e.marginLeft,c=e.marginUnit,s=e.stack,g=e.fillHorizontalSpace,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block",margin:De(i,r,n,o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(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(S.applyFilters)("generateblocks.editor.mainCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function at(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var lt=function(e){f()(a,e);var t=at(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function it(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var rt=function(e){f()(a,e);var t=it(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignmentTablet,i=e.marginTopTablet,r=e.marginRightTablet,n=e.marginBottomTablet,o=e.marginLeftTablet,c=e.marginUnit,s=e.stackTablet,g=e.fillHorizontalSpaceTablet,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":z(i,c),"margin-right":z(r,c),"margin-bottom":z(n,c),"margin-left":z(o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(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(S.applyFilters)("generateblocks.editor.tabletCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ot=function(e){f()(a,e);var t=nt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function ct(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var st=function(e){f()(a,e);var t=ct(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignmentMobile,i=e.marginTopMobile,r=e.marginRightMobile,n=e.marginBottomMobile,o=e.marginLeftMobile,c=e.marginUnit,s=e.stackMobile,g=e.fillHorizontalSpaceMobile,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":z(i,c),"margin-right":z(r,c),"margin-bottom":z(n,c),"margin-left":z(o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(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(S.applyFilters)("generateblocks.editor.mobileCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function gt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var bt=/[\s#]/g,ut=[],dt=[{icon:"editor-alignleft",title:Object(T.__)("Align Buttons Left","generateblocks"),align:"left"},{icon:"editor-aligncenter",title:Object(T.__)("Align Buttons Center","generateblocks"),align:"center"},{icon:"editor-alignright",title:Object(T.__)("Align Buttons Right","generateblocks"),align:"right"}],pt=function(e){f()(a,e);var t=gt(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop"},e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?ut.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),ut.push(e)):ut.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),ut.push(e));var a=wp.data.select("core/block-editor").getBlocksByClientId(this.props.clientId)[0];a&&(0===a.innerBlocks.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(X.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})}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.clientId,s=i.uniqueId,g=i.className,b=i.anchor,u=i.alignment,d=i.alignmentTablet,p=i.alignmentMobile,f=i.stack,h=i.stackTablet,m=i.stackMobile,k=i.fillHorizontalSpace,y=i.fillHorizontalSpaceTablet,v=i.fillHorizontalSpaceMobile,O={className:w()((e={"gb-button-wrapper":!0},o()(e,"gb-button-wrapper-".concat(s),!0),o()(e,"".concat(g),void 0!==g),e)),id:b||null};return O=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",O,"generateblocks/button-container",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-add-new-button",icon:"insert",label:Object(T.__)("Add Button","generateblocks"),onClick:function(){var e=wp.data.select("core/block-editor").getBlocksByClientId(c)[0];if(e){var t=e.innerBlocks,a=Object.keys(t),l=a[a.length-1];if(void 0!==t[l]){var i=t[l].clientId;if(i){var r=wp.data.select("core/block-editor").getBlocksByClientId(i)[0],n=Object(X.cloneBlock)(r);wp.data.dispatch("core/block-editor").insertBlocks(n,void 0,c)}}else 0===t.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,c)}},showTooltip:!0})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:u,alignmentControls:dt,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:d,alignmentControls:dt,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:p,alignmentControls:dt,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!0,icon:j("spacing"),className:"gblocks-panel-label",id:"buttonContainerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!f,onChange:function(e){n({stack:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!k,onChange:function(e){n({fillHorizontalSpace:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!h,onChange:function(e){n({stackTablet:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!y,onChange:function(e){n({fillHorizontalSpaceTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!m,onChange:function(e){n({stackMobile:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!v,onChange:function(e){n({fillHorizontalSpaceMobile:e})}})),Object(S.applyFilters)("generateblocks.editor.controls","","buttonContainerSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonContainerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","buttonContainerDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor","generateblocks"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:b||"",onChange:function(e){e=e.replace(bt,"-"),n({anchor:e})}})),Object(l.createElement)(tt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(lt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(rt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ot,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(st,this.props)),Object(l.createElement)("div",O,Object(l.createElement)(Q.InnerBlocks,{allowedBlocks:["generateblocks/button"],renderAppender:function(){return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Add Button","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-add-new-button gblocks-button-container-appender",icon:"insert",onClick:function(){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,c)}}))}})))}}]),a}(l.Component),ft=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(pt),ht={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"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function mt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function kt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var yt=[{attributes:ht,supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return kt(kt({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c={id:r||void 0,className:w()((t={"gb-button-wrapper":!0},o()(t,"gb-button-wrapper-".concat(i),!0),o()(t,"".concat(n),""!==n),t))};return c=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",c,"generateblocks/button-container",a),Object(l.createElement)("div",c,Object(l.createElement)(Q.InnerBlocks.Content,null))}}];Object(X.registerBlockType)("generateblocks/button-container",{title:Object(T.__)("Buttons","generateblocks"),description:Object(T.__)("Drive conversions with beautiful buttons.","generateblocks"),icon:j("button"),category:"generateblocks",keywords:[Object(T.__)("button"),Object(T.__)("buttons"),Object(T.__)("generate")],attributes:ht,supports:{className:!1},edit:ft,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:yt});a(41),a(42);var vt={facebook:{label:Object(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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"}))}},wt={clock:{label:Object(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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(T._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"}))}};function Ot(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var jt=function(e){f()(a,e);var t=Ot(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={showIcons:!1,showGeneralIcons:!1,showSocialIcons:!1},e}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.setAttributes,r=t.attrIcon,n=t.attrIconLocation,c=t.locationOptions,s=t.attrRemoveText,g={general:{group:Object(T.__)("General","generateblocks"),svgs:wt},social:{group:Object(T.__)("Social","generateblocks"),svgs:vt}};return g=Object(S.applyFilters)("generateblocks.editor.iconSVGSets",g),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{className:"gb-svg-html"},Object(l.createElement)(C.TextControl,{label:Object(T.__)("Icon SVG HTML","generateblocks"),value:a[r],onChange:function(t){i(o()({},e.props.attrIcon,Be(t))),i(""!==t?{hasIcon:!0}:{hasIcon:!1})}}),Object(l.createElement)("div",{className:"gb-icon-preview"},Object(l.createElement)("span",{dangerouslySetInnerHTML:{__html:Be(a[r])}}),Object(l.createElement)(C.Button,{isSmall:!0,className:"reset-icon is-secondary",onClick:function(){var t;i((t={},o()(t,e.props.attrIcon,""),o()(t,"hasIcon",!1),t))}},Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},Object(T.__)("Clear","generateblocks"))))),Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser"},Object.keys(g).map((function(t,a){var r=g[t].svgs;return Object(l.createElement)(C.PanelBody,{title:g[t].group,initialOpen:!1,key:a},Object(l.createElement)(C.PanelRow,null,Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser"},Object.keys(r).map((function(t,a){return Object(l.createElement)("li",{key:"editor-pblock-types-list-item-".concat(a)},Object(l.createElement)(C.Tooltip,{text:r[t].label},Object(l.createElement)(C.Button,{className:"editor-block-list-item-button",onClick:function(){var a,n=r[t].icon;"string"!=typeof n&&(n=Object(l.renderToString)(n)),i((a={},o()(a,e.props.attrIcon,n),o()(a,"hasIcon",!0),a))}},"string"==typeof r[t].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Be(r[t].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},r[t].icon)))))}))))))}))),void 0!==a[n]&&!a[s]&&!!a[r]&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:a[n],options:c,onChange:function(t){var l=a.iconPaddingLeft,r=a.iconPaddingRight,n=a.iconPaddingRightTablet,c=a.iconPaddingLeftTablet,s=a.iconPaddingRightMobile,g=a.iconPaddingLeftMobile;"right"===t&&(!l&&r&&i({iconPaddingLeft:r,iconPaddingRight:""}),!c&&n&&i({iconPaddingLeftTablet:n,iconPaddingRightTablet:""}),!g&&s&&i({iconPaddingLeftMobile:s,iconPaddingRightMobile:""})),"left"===t&&(!r&&l&&i({iconPaddingRight:l,iconPaddingLeft:""}),!n&&c&&i({iconPaddingRightTablet:c,iconPaddingLeftTablet:""}),!s&&g&&i({iconPaddingRightMobile:g,iconPaddingLeftMobile:""})),i(o()({},e.props.attrIconLocation,t))}}),void 0!==a[s]&&!!a[r]&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Text","generateblocks"),checked:!!a[s],onChange:function(t){i(o()({},e.props.attrRemoveText,t))}}))}}]),a}(l.Component);a(43);function Tt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Ct(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Tt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function St(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var _t=function(e){f()(a,e);var t=St(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={moreOptions:!1},e.onChange=e.onChange.bind(d()(e)),e}return b()(a,[{key:"onChange",value:function(e){var t=this.props,a=t.url,l=t.target,i=t.relNoFollow,r=t.relSponsored;this.props.onChange(Ct(Ct({},{url:a,target:l,relNoFollow:i,relSponsored:r}),e))}},{key:"render",value:function(){var e=this,t=this.props,a=t.url,i=t.target,r=t.relNoFollow,n=t.relSponsored,o=t.className,c=t.autoFocus,s=this.onChange,g=this.state.moreOptions;return Object(l.createElement)("div",{className:w()("gblocks-component-url-input",o)},Object(l.createElement)("div",{className:"gblocks-component-url-input-flex"},Object(l.createElement)(Q.URLInput,{value:a,onChange:function(e){s({url:e})},autoFocus:c}),Object(l.createElement)(C.Button,{icon:j("ellipsis"),label:g?Object(T.__)("Hide More Options","generateblocks"):Object(T.__)("Show More Options","generateblocks"),onClick:function(){e.setState({moreOptions:!g})}})),g&&Object(l.createElement)("div",{className:"gblocks-component-url-input-more-options"},Object(S.applyFilters)("generateblocks.editor.urlInputMoreOptions","",this.props,this.state),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Open link in a new tab","generateblocks"),checked:i||"",onChange:function(e){s({target:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)('Add rel="nofollow"',"generateblocks"),checked:r||"",onChange:function(e){s({relNoFollow:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)('Add rel="sponsored"',"generateblocks"),checked:n||"",onChange:function(e){s({relSponsored:e})}})))}}]),a}(l.Component);function Bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Dt=function(e){f()(a,e);var t=Bt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e,t=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),a=t.url,i=t.uniqueId,r=t.removeText,n=t.backgroundColor,o=t.backgroundColorOpacity,c=t.textColor,s=t.backgroundColorHover,g=t.backgroundColorHoverOpacity,b=t.textColorHover,u=t.fontFamily,d=t.fontFamilyFallback,p=t.fontWeight,f=t.textTransform,h=t.letterSpacing,m=t.fontSize,k=t.fontSizeUnit,y=t.marginTop,v=t.marginRight,w=t.marginBottom,O=t.marginLeft,j=t.marginUnit,T=t.paddingTop,C=t.paddingRight,_=t.paddingBottom,B=t.paddingLeft,D=t.paddingUnit,E=t.borderSizeTop,R=t.borderSizeRight,x=t.borderSizeBottom,L=t.borderSizeLeft,P=t.borderRadiusTopRight,F=t.borderRadiusBottomRight,A=t.borderRadiusBottomLeft,U=t.borderRadiusTopLeft,H=t.borderRadiusUnit,N=t.borderColor,I=t.borderColorOpacity,G=t.borderColorHover,V=t.borderColorHoverOpacity,q=t.gradient,W=t.gradientDirection,Z=t.gradientColorOne,K=t.gradientColorOneOpacity,J=t.gradientColorStopOne,Y=t.gradientColorTwo,Q=t.gradientColorTwoOpacity,X=t.gradientColorStopTwo,$=t.iconPaddingTop,ee=t.iconPaddingRight,te=t.iconPaddingBottom,ae=t.iconPaddingLeft,le=t.iconPaddingUnit,ie=t.iconSize,re=t.iconSizeUnit,ne="",oe="",ce="";q&&(Z&&""!==J&&(oe=" "+J+"%"),Y&&""!==X&&(ce=" "+X+"%")),q&&(e="linear-gradient("+W+"deg, "+he(Z,K)+oe+", "+he(Y,Q)+ce+");"),u&&d&&(ne=", "+d);var se="a.gb-button-"+i;a||(se=".gb-button-"+i);var ge=[];return ge[".block-editor-block-list__block "+se]=[{"background-color":he(n,o),"background-image":e,color:c,padding:De(T,C,_,B,D),"border-radius":De(U,P,F,A,H),"font-family":u+ne,"font-weight":p,"text-transform":f,"font-size":z(m,k),"letter-spacing":z(h,"em"),margin:De(y,v,w,O,j),"border-color":he(N,I)}],(E||R||x||L)&&ge[".block-editor-block-list__block "+se].push({"border-width":De(E,R,x,L,"px"),"border-style":"solid"}),ge[".block-editor-block-list__block "+se+":hover,\n\t\t.block-editor-block-list__block "+se+":focus,\n\t\t.block-editor-block-list__block "+se+":active"]=[{"background-color":he(s,g),color:b,"border-color":he(G,V)}],ge[".block-editor-block-list__block "+se+" .gb-icon"]=[{padding:!r&&De($,ee,te,ae,le),"font-size":z(ie,re)}],ge=Object(S.applyFilters)("generateblocks.editor.mainCSS",ge,this.props,"button"),Object(l.createElement)("style",null,M(ge))}}]),a}(l.Component);function Et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Rt=function(e){f()(a,e);var t=Et(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function xt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Mt=function(e){f()(a,e);var t=xt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.url,a=e.uniqueId,i=e.removeText,r=e.letterSpacingTablet,n=e.fontSizeTablet,o=e.fontSizeUnit,c=e.marginTopTablet,s=e.marginRightTablet,g=e.marginBottomTablet,b=e.marginLeftTablet,u=e.marginUnit,d=e.paddingTopTablet,p=e.paddingRightTablet,f=e.paddingBottomTablet,h=e.paddingLeftTablet,m=e.paddingUnit,k=e.borderSizeTopTablet,y=e.borderSizeRightTablet,v=e.borderSizeBottomTablet,w=e.borderSizeLeftTablet,O=e.borderRadiusTopRightTablet,j=e.borderRadiusBottomRightTablet,T=e.borderRadiusBottomLeftTablet,C=e.borderRadiusTopLeftTablet,_=e.borderRadiusUnit,B=e.iconPaddingTopTablet,D=e.iconPaddingRightTablet,E=e.iconPaddingBottomTablet,R=e.iconPaddingLeftTablet,x=e.iconPaddingUnit,L=e.iconSizeTablet,P=e.iconSizeUnit,F="a.gb-button-"+a;t||(F=".gb-button-"+a);var A=[];return A[".block-editor-block-list__block "+F]=[{"padding-top":z(d,m),"padding-right":z(p,m),"padding-bottom":z(f,m),"padding-left":z(h,m),"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"font-size":z(n,o),"letter-spacing":z(r,"em"),"margin-top":z(c,u),"margin-right":z(s,u),"margin-bottom":z(g,u),"margin-left":z(b,u)}],(k||y||v||w)&&A[".block-editor-block-list__block "+F].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),A[".block-editor-block-list__block "+F+" .gb-icon"]=[{"padding-top":!i&&z(B,x),"padding-right":!i&&z(D,x),"padding-bottom":!i&&z(E,x),"padding-left":!i&&z(R,x),"font-size":z(L,P)}],A=Object(S.applyFilters)("generateblocks.editor.tabletCSS",A,this.props,"button"),Object(l.createElement)("style",null,M(A))}}]),a}(l.Component);function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Lt=function(e){f()(a,e);var t=zt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function Pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ft=function(e){f()(a,e);var t=Pt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.url,a=e.uniqueId,i=e.removeText,r=e.letterSpacingMobile,n=e.fontSizeMobile,o=e.fontSizeUnit,c=e.marginTopMobile,s=e.marginRightMobile,g=e.marginBottomMobile,b=e.marginLeftMobile,u=e.marginUnit,d=e.paddingTopMobile,p=e.paddingRightMobile,f=e.paddingBottomMobile,h=e.paddingLeftMobile,m=e.paddingUnit,k=e.borderSizeTopMobile,y=e.borderSizeRightMobile,v=e.borderSizeBottomMobile,w=e.borderSizeLeftMobile,O=e.borderRadiusTopRightMobile,j=e.borderRadiusBottomRightMobile,T=e.borderRadiusBottomLeftMobile,C=e.borderRadiusTopLeftMobile,_=e.borderRadiusUnit,B=e.iconPaddingTopMobile,D=e.iconPaddingRightMobile,E=e.iconPaddingBottomMobile,R=e.iconPaddingLeftMobile,x=e.iconPaddingUnit,L=e.iconSizeMobile,P=e.iconSizeUnit,F="a.gb-button-"+a;t||(F=".gb-button-"+a);var A=[];return A[".block-editor-block-list__block "+F]=[{"padding-top":z(d,m),"padding-right":z(p,m),"padding-bottom":z(f,m),"padding-left":z(h,m),"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"font-size":z(n,o),"letter-spacing":z(r,"em"),"margin-top":z(c,u),"margin-right":z(s,u),"margin-bottom":z(g,u),"margin-left":z(b,u)}],(k||y||v||w)&&A[".block-editor-block-list__block "+F].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),A[".block-editor-block-list__block "+F+" .gb-icon"]=[{"padding-top":!i&&z(B,x),"padding-right":!i&&z(D,x),"padding-bottom":!i&&z(E,x),"padding-left":!i&&z(R,x),"font-size":z(L,P)}],A=Object(S.applyFilters)("generateblocks.editor.mobileCSS",A,this.props,"button"),Object(l.createElement)("style",null,M(A))}}]),a}(l.Component);function At(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ut=/[\s#]/g,Ht=[],Nt=function(e){f()(a,e);var t=At(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},e.getFontSizePlaceholder=e.getFontSizePlaceholder.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?Ht.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),Ht.push(e)):Ht.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),Ht.push(e));var a=this.getFontSizePlaceholder();a!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:a}),!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}))}},{key:"componentDidUpdate",value:function(){var e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}},{key:"getFontSizePlaceholder",value:function(){var e="17",t=document.querySelector(".gb-button-"+this.props.attributes.uniqueId);return t&&(e=parseFloat(window.getComputedStyle(t).fontSize)),e}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){for(var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.isSelected,s=a.clientId,g=this.state.fontSizePlaceholder,b=i.uniqueId,u=i.className,d=i.anchor,p=i.text,f=i.url,h=i.target,m=i.relNoFollow,k=i.relSponsored,y=i.icon,v=i.iconLocation,O=i.removeText,_=i.ariaLabel,D=i.backgroundColor,R=i.backgroundColorOpacity,x=i.textColor,M=i.backgroundColorHover,z=i.backgroundColorHoverOpacity,L=i.textColorHover,P=i.fontFamily,F=i.googleFont,A=i.googleFontVariants,U=i.borderColor,H=i.borderColorOpacity,N=i.borderColorHover,I=i.borderColorHoverOpacity,G=i.iconSize,V=i.iconSizeTablet,q=i.iconSizeMobile,W=i.iconSizeUnit,Z=document.querySelectorAll("a.gb-button"),K=function(e){Z[e].addEventListener("click",(function(t){Z[e].getAttribute("href")&&(Z[e].removeAttribute("href"),t.preventDefault())}),!1)},J=0;J<Z.length;J++)K(J);var $=[];m&&$.push("nofollow"),h&&$.push("noopener","noreferrer"),k&&$.push("sponsored");var ee="";A&&(ee=":"+A);var te={className:w()((e={"gb-button":!0},o()(e,"gb-button-".concat(b),!0),o()(e,"gb-button-text",!y),o()(e,"".concat(u),void 0!==u),e)),href:f||null,target:h?"_blank":null,rel:$&&$.length>0?$.join(" "):null,"aria-label":_||null,id:d||null};return te=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",te,"generateblocks/button",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-add-new-button",icon:"insert",label:Object(T.__)("Add Button","generateblocks"),onClick:function(){var e=!1;e="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(s,"generateblocks/button-container",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(s);var t=wp.data.select("core/block-editor").getBlocksByClientId(s)[0],a=Object(X.cloneBlock)(t);wp.data.dispatch("core/block-editor").insertBlocks(a,void 0,e)},showTooltip:!0}))),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"buttonTypography",state:this.state,showPanel:!O||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLetterSpacing:!0,fontSizePlaceholder:g,defaultFontSize:generateBlocksDefaults.button.fontSize,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,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)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingMobile}))),Object(S.applyFilters)("generateblocks.editor.controls","","buttonTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"buttonSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(S.applyFilters)("generateblocks.editor.controls","","buttonSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"buttonColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(C.TabPanel,{className:"layout-tab-panel gblocks-control-tabs",activeClass:"active-tab",tabs:[{name:"button-colors",title:Object(T.__)("Normal","generateblocks"),className:"button-colors"},{name:"button-colors-hover",title:Object(T.__)("Hover","generateblocks"),className:"button-colors-hover"}]},(function(e){var a="button-colors"===e.name;return Object(l.createElement)("div",null,a?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:D,alpha:!0,valueOpacity:R,attrOpacity:"backgroundColorOpacity",key:"buttonBackgroundColor",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:x,alpha:!1,key:"buttonTextColor",onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:U,alpha:!0,valueOpacity:H,attrOpacity:"borderColorOpacity",key:"buttonBorderColor",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","buttonColorsNormal",t.props,t.state)):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:M,alpha:!0,valueOpacity:z,attrOpacity:"backgroundColorHoverOpacity",key:"buttonBackgroundColorHover",onChange:function(e){return n({backgroundColorHover:e})},onOpacityChange:function(e){return n({backgroundColorHoverOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:L,alpha:!1,key:"buttonTextColorHover",onChange:function(e){return n({textColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:N,alpha:!0,valueOpacity:I,attrOpacity:"borderColorHoverOpacity",key:"buttonBorderColorHover",onChange:function(e){return n({borderColorHover:e})},onOpacityChange:function(e){return n({borderColorHoverOpacity:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","buttonColorsHover",t.props,t.state)))})),Object(S.applyFilters)("generateblocks.editor.controls","","buttonColors",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Background Gradient","generateblocks"),initialOpen:!1,icon:j("gradients"),className:"gblocks-panel-label",id:"buttonBackgroundGradient",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Ce,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(S.applyFilters)("generateblocks.editor.controls","","buttonBackgroundGradient",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Icon","generateblocks"),initialOpen:!1,icon:j("icons"),className:"gblocks-panel-label",id:"buttonIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!y)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(jt,r()({},this.props,{attrIcon:"icon",attrIconLocation:"iconLocation",attrRemoveText:"removeText",locationOptions:[{label:Object(T.__)("Left","generateblocks"),value:"left"},{label:Object(T.__)("Right","generateblocks"),value:"right"}]})),"Desktop"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:G||"",step:"em"===W?.1:1,onChange:function(e){n({iconSize:e})},onBlur:function(){n({iconSize:parseFloat(G)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSize:generateBlocksDefaults.button.iconSize})}},Object(T.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:V||"",step:"em"===W?.1:1,placeholder:"1",onChange:function(e){n({iconSizeTablet:e})},onBlur:function(){n({iconSizeTablet:parseFloat(V)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeTablet:generateBlocksDefaults.button.iconSizeTablet})}},Object(T.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:q||"",step:"em"===W?.1:1,placeholder:"1",onChange:function(e){n({iconSizeMobile:e})},onBlur:function(){n({iconSizeMobile:parseFloat(q)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeMobile:generateBlocksDefaults.button.iconSizeMobile})}},Object(T.__)("Reset","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","buttonIcon",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","buttonDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor","generateblocks"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:d||"",onChange:function(e){e=e.replace(Ut,"-"),n({anchor:e})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("ARIA Label","generateblocks"),help:Object(T.__)("Helpful to people using screen readers.","generateblocks"),value:_,onChange:function(e){n({ariaLabel:e})}})),Object(l.createElement)(Dt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Rt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Mt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(Lt,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(Ft,this.props)),P&&F&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+P.replace(/ /g,"+")+ee}),Object(l.createElement)(fe,{tagName:f?"a":"span",htmlAttrs:te},!!y&&Object(l.createElement)(l.Fragment,null,"left"===v&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:y}}),!O&&Object(l.createElement)("span",{className:"gb-button-text"},Object(l.createElement)(Q.RichText,{placeholder:Object(T.__)("Add text…","generateblocks"),value:p,onChange:function(e){return n({text:e})},allowedFormats:Object(S.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:c,keepPlaceholderOnFocus:!0})),"right"===v&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:y}})),!y&&!O&&Object(l.createElement)(Q.RichText,{placeholder:Object(T.__)("Add text…","generateblocks"),value:p,onChange:function(e){return n({text:e})},allowedFormats:Object(S.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:c,keepPlaceholderOnFocus:!0})),c&&Object(l.createElement)(_t,{url:f,target:h,relNoFollow:m,relSponsored:k,onChange:function(e){n(e),""!==e.url?n({hasUrl:!0}):n({hasUrl:!1})},autoFocus:!1,className:"gblocks-component-url-input-float"}))}}]),a}(l.Component),It=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(Nt),Gt={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},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.button.showAdvancedTypography},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:""}};function Vt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function qt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Wt=[{attributes:qt(qt({},Gt),{},{text:{type:"array",source:"children",selector:".gb-button .button-text",default:"Button"}}),supports:{anchor:!1,className:!1,customClassName:!1,inserter:!1,reusable:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return qt(qt({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c=a.text,s=a.url,g=a.target,b=a.relNoFollow,u=a.relSponsored,d=a.icon,p=a.iconLocation,f=a.removeText,h=a.ariaLabel,m=[];b&&m.push("nofollow"),g&&m.push("noopener","noreferrer"),u&&m.push("sponsored");var k={id:r||void 0,className:w()((t={"gb-button":!0},o()(t,"gb-button-".concat(i),!0),o()(t,"".concat(n),""!==n),t)),href:s||void 0,target:g?"_blank":void 0,rel:m&&m.length>0?m.join(" "):void 0,"aria-label":h||void 0};return k=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",k,"generateblocks/button",a),Object(l.createElement)("a",k,d&&"left"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(d)}}),!f&&Object(l.createElement)(Q.RichText.Content,{tagName:"span",className:"button-text",value:c,key:"button-text"}),d&&"right"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(d)}}))}}];Object(X.registerBlockType)("generateblocks/button",{title:Object(T.__)("Button","generateblocks"),description:Object(T.__)("Drive conversions with beautiful buttons.","generateblocks"),parent:["generateblocks/button-container"],icon:j("button"),category:"generateblocks",keywords:[Object(T.__)("button"),Object(T.__)("buttons"),Object(T.__)("generate")],attributes:Gt,supports:{className:!1,inserter:!1,reusable:!1},edit:It,save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.className,n=a.text,c=a.url,s=a.target,g=a.relNoFollow,b=a.relSponsored,u=a.icon,d=a.iconLocation,p=a.removeText,f=a.ariaLabel,h=a.anchor,m=[];g&&m.push("nofollow"),s&&m.push("noopener","noreferrer"),b&&m.push("sponsored");var k={className:w()((t={"gb-button":!0},o()(t,"gb-button-".concat(i),!0),o()(t,"gb-button-text",!u),o()(t,"".concat(r),void 0!==r),t)),href:c||null,target:s?"_blank":null,rel:m&&m.length>0?m.join(" "):null,"aria-label":f||null,id:h||null};return k=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",k,"generateblocks/button",a),Object(l.createElement)(fe,{tagName:c?"a":"span",htmlAttrs:k},!!u&&"left"===d&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:u}}),!p&&Object(l.createElement)(Q.RichText.Content,{value:n,tagName:u?"span":null,className:u?"gb-button-text":null}),!!u&&"right"===d&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:u}}))},deprecated:Wt});a(44);function Zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Kt=function(e){f()(a,e);var t=Zt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignment,n=e.backgroundColor,o=e.backgroundColorOpacity,c=e.textColor,s=e.linkColor,g=e.borderColor,b=e.borderColorOpacity,u=e.highlightTextColor,d=e.fontFamily,p=e.fontFamilyFallback,f=e.fontWeight,h=e.fontSize,m=e.fontSizeUnit,k=e.textTransform,y=e.lineHeight,v=e.lineHeightUnit,w=e.letterSpacing,O=e.marginTop,j=e.marginRight,T=e.marginBottom,C=e.marginLeft,_=e.marginUnit,B=e.paddingTop,D=e.paddingRight,E=e.paddingBottom,R=e.paddingLeft,x=e.paddingUnit,L=e.borderSizeTop,P=e.borderSizeRight,F=e.borderSizeBottom,A=e.borderSizeLeft,U=e.borderRadiusTopRight,H=e.borderRadiusBottomRight,N=e.borderRadiusBottomLeft,I=e.borderRadiusTopLeft,G=e.borderRadiusUnit,V=e.icon,q=e.iconColor,W=e.iconColorOpacity,Z=e.iconLocation,K=e.iconVerticalAlignment,J=e.iconPaddingTop,Y=e.iconPaddingRight,Q=e.iconPaddingBottom,X=e.iconPaddingLeft,$=e.iconPaddingUnit,ee=e.iconSize,te=e.iconSizeUnit,ae=e.inlineWidth,le=e.removeText,ie="",re="inline-block";d&&p&&(ie=", "+p);var ne=i+".gb-headline-"+a,oe=[];return oe[".editor-styles-wrapper "+ne]=[{color:c,"font-family":d+ie,"font-weight":f,"text-transform":k,"text-align":r,"font-size":z(h,m),"line-height":z(y,v),"letter-spacing":z(w,"em"),display:!!V&&"flex","align-items":$e("inline"===Z?K:r),"justify-content":$e(r),"flex-direction":!(!V||"above"!==Z)&&"column"}],oe[".editor-styles-wrapper .gb-container "+ne]=[{color:c}],V&&(re="inline-flex"),oe[".editor-styles-wrapper "+ne].push({"background-color":he(n,o),color:c,display:!!ae&&re,"margin-top":z(O,_),"margin-right":z(j,_),"margin-bottom":z(T,_),"margin-left":z(C,_),padding:De(B,D,E,R,x),"border-radius":De(I,U,H,N,G),"border-color":he(g,b)}),(L||P||F||A)&&oe[".editor-styles-wrapper "+ne].push({"border-width":De(L,P,F,A,"px"),"border-style":"solid"}),oe[".editor-styles-wrapper "+ne+" a"]=[{color:s}],oe[ne+" .gb-icon"]=[{padding:!le&&De(J,Y,Q,X,$),"align-self":!(!V||"above"!==Z)&&$e(r),color:he(q,W),display:!(!V||"above"!==Z)&&"inline"}],oe[ne+" .gb-icon svg"]=[{width:z(ee,te),height:z(ee,te)}],oe[ne+" .gb-highlight"]=[{color:u}],oe["#block-"+t]=[{display:!!ae&&"inline-flex"}],oe=Object(S.applyFilters)("generateblocks.editor.mainCSS",oe,this.props,"headline"),Object(l.createElement)("style",null,M(oe))}}]),a}(l.Component);function Jt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Yt=function(e){f()(a,e);var t=Jt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"headline"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function Qt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Xt=function(e){f()(a,e);var t=Qt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignmentTablet,n=e.fontSizeTablet,o=e.fontSizeUnit,c=e.lineHeightTablet,s=e.lineHeightUnit,g=e.letterSpacingTablet,b=e.marginTopTablet,u=e.marginRightTablet,d=e.marginBottomTablet,p=e.marginLeftTablet,f=e.marginUnit,h=e.paddingTopTablet,m=e.paddingRightTablet,k=e.paddingBottomTablet,y=e.paddingLeftTablet,v=e.paddingUnit,w=e.borderSizeTopTablet,O=e.borderSizeRightTablet,j=e.borderSizeBottomTablet,T=e.borderSizeLeftTablet,C=e.borderRadiusTopRightTablet,_=e.borderRadiusBottomRightTablet,B=e.borderRadiusBottomLeftTablet,D=e.borderRadiusTopLeftTablet,E=e.borderRadiusUnit,R=e.icon,x=e.iconLocationTablet,L=e.iconVerticalAlignmentTablet,P=e.iconPaddingTopTablet,F=e.iconPaddingRightTablet,A=e.iconPaddingBottomTablet,U=e.iconPaddingLeftTablet,H=e.iconPaddingUnit,N=e.iconSizeTablet,I=e.iconSizeUnit,G=e.inlineWidthTablet,V=e.removeText,q=i+".gb-headline-"+a,W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":z(n,o),"line-height":z(c,s),"letter-spacing":z(g,"em"),display:!!R&&"flex","align-items":$e("inline"===x?L:r),"justify-content":$e(r),"flex-direction":!(!R||"above"!==x)&&"column","margin-top":z(b,f)+" !important","margin-right":z(u,f)+" !important","margin-bottom":z(d,f)+" !important","margin-left":z(p,f)+" !important","padding-top":z(h,v),"padding-right":z(m,v),"padding-bottom":z(k,v),"padding-left":z(y,v),"border-top-left-radius":z(D,E),"border-top-right-radius":z(C,E),"border-bottom-right-radius":z(_,E),"border-bottom-left-radius":z(B,E)}],R&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(w||O||j||T)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":z(w,"px"),"border-right-width":z(O,"px"),"border-bottom-width":z(j,"px"),"border-left-width":z(T,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&z(P,H),"padding-right":!V&&z(F,H),"padding-bottom":!V&&z(A,H),"padding-left":!V&&z(U,H),"align-self":!(!R||"above"!==x)&&$e(r),display:!(!R||"above"!==x)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:z(N,I),height:z(N,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(S.applyFilters)("generateblocks.editor.tabletCSS",Z,this.props,"text"),Object(l.createElement)("style",null,M(Z))}}]),a}(l.Component);function $t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ea=function(e){f()(a,e);var t=$t(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"headline"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function ta(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var aa=function(e){f()(a,e);var t=ta(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignmentMobile,n=e.fontSizeMobile,o=e.fontSizeUnit,c=e.lineHeightMobile,s=e.lineHeightUnit,g=e.letterSpacingMobile,b=e.marginTopMobile,u=e.marginRightMobile,d=e.marginBottomMobile,p=e.marginLeftMobile,f=e.marginUnit,h=e.paddingTopMobile,m=e.paddingRightMobile,k=e.paddingBottomMobile,y=e.paddingLeftMobile,v=e.paddingUnit,w=e.borderSizeTopMobile,O=e.borderSizeRightMobile,j=e.borderSizeBottomMobile,T=e.borderSizeLeftMobile,C=e.borderRadiusTopRightMobile,_=e.borderRadiusBottomRightMobile,B=e.borderRadiusBottomLeftMobile,D=e.borderRadiusTopLeftMobile,E=e.borderRadiusUnit,R=e.icon,x=e.iconLocationMobile,L=e.iconVerticalAlignmentMobile,P=e.iconPaddingTopMobile,F=e.iconPaddingRightMobile,A=e.iconPaddingBottomMobile,U=e.iconPaddingLeftMobile,H=e.iconPaddingUnit,N=e.iconSizeMobile,I=e.iconSizeUnit,G=e.inlineWidthMobile,V=e.removeText,q=i+".gb-headline-"+a,W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":z(n,o),"line-height":z(c,s),"letter-spacing":z(g,"em"),display:!!R&&"flex","align-items":$e("inline"===x?L:r),"justify-content":$e(r),"flex-direction":!(!R||"above"!==x)&&"column","margin-top":z(b,f)+" !important","margin-right":z(u,f)+" !important","margin-bottom":z(d,f)+" !important","margin-left":z(p,f)+" !important","padding-top":z(h,v),"padding-right":z(m,v),"padding-bottom":z(k,v),"padding-left":z(y,v),"border-top-left-radius":z(D,E),"border-top-right-radius":z(C,E),"border-bottom-right-radius":z(_,E),"border-bottom-left-radius":z(B,E)}],R&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(w||O||j||T)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":z(w,"px"),"border-right-width":z(O,"px"),"border-bottom-width":z(j,"px"),"border-left-width":z(T,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&z(P,H),"padding-right":!V&&z(F,H),"padding-bottom":!V&&z(A,H),"padding-left":!V&&z(U,H),"align-self":!(!R||"above"!==x)&&$e(r),display:!(!R||"above"!==x)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:z(N,I),height:z(N,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(S.applyFilters)("generateblocks.editor.mobileCSS",Z,this.props,"headline"),Object(l.createElement)("style",null,M(Z))}}]),a}(l.Component),la=a(21),ia=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"})),ra=Object(ee.compose)(Object($.withSelect)((function(e){return{selectedBlock:e("core/block-editor").getSelectedBlock()}})),Object(ee.ifCondition)((function(e){return e.selectedBlock&&"generateblocks/headline"===e.selectedBlock.name})))((function(e){var t=function(){return e.onChange(Object(la.toggleFormat)(e.value,{type:"generateblocks/mark"}))};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.RichTextShortcut,{type:"primary",character:"m",onUse:t}),Object(l.createElement)(Q.RichTextToolbarButton,{icon:ia,title:Object(T.__)("Highlight","generateblocks"),onClick:t,isActive:e.isActive,shortcutType:"access",shortcutCharacter:"m",className:"toolbar-button-with-text toolbar-button__".concat("generateblocks/mark")}))})),na={title:Object(T.__)("Highlight","generateblocks"),tagName:"mark",className:"gb-highlight",edit:ra};function oa(e){var t=e.level,a={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(!a.hasOwnProperty(t))return null;var i="0 0 20 20";return"p"!==t&&"div"!==t||(i="0 0 24 24"),Object(l.createElement)(C.SVG,{width:"24",height:"24",viewBox:i,xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(C.Path,{d:a[t]}))}function ca(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}Object(la.registerFormatType)("generateblocks/mark",na);var sa=/[\s#]/g,ga=[],ba=function(e){f()(a,e);var t=ca(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).getFontSizePlaceholder=e.getFontSizePlaceholder.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e.state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?ga.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),ga.push(e)):ga.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),ga.push(e));var a=this.getFontSizePlaceholder();a!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:a}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0})}},{key:"componentDidUpdate",value:function(){var e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}},{key:"getFontSizePlaceholder",value:function(){var e="25";if("em"===this.props.attributes.fontSizeUnit)e="1";else if("%"===this.props.attributes.fontSizeUnit)e="100";else{var t=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);t&&(e=parseFloat(window.getComputedStyle(t).fontSize))}return e}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=this.state.fontSizePlaceholder,s=i.uniqueId,g=i.anchor,b=i.className,u=i.content,d=i.element,p=i.alignment,f=i.alignmentTablet,h=i.alignmentMobile,m=i.backgroundColor,k=i.backgroundColorOpacity,y=i.textColor,v=i.linkColor,O=i.linkColorHover,_=i.borderColor,D=i.borderColorOpacity,R=i.highlightTextColor,x=i.fontFamily,M=i.googleFont,z=i.googleFontVariants,L=i.marginTop,P=i.marginRight,F=i.marginBottom,A=i.marginLeft,U=i.icon,H=i.hasIcon,N=i.iconColor,I=i.iconColorOpacity,G=i.iconLocation,V=i.iconLocationTablet,q=i.iconLocationMobile,W=i.iconVerticalAlignment,Z=i.iconVerticalAlignmentTablet,K=i.iconVerticalAlignmentMobile,J=i.iconSize,X=i.iconSizeTablet,$=i.iconSizeMobile,ee=i.iconSizeUnit,te=i.inlineWidth,ae=i.inlineWidthTablet,le=i.inlineWidthMobile,ie=i.removeText,re=i.ariaLabel,ne="";z&&(ne=":"+z);var oe="";oe=X||0===X?X:J||0===J?J:"";var ce={className:w()((e={"gb-headline":!0},o()(e,"gb-headline-".concat(s),!0),o()(e,"gb-headline-text",!H),o()(e,b,void 0!==b),e)),id:g||null};return ce=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",ce,"generateblocks/headline",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,{isCollapsed:!0,icon:Object(l.createElement)(oa,{level:d}),label:Object(T.__)("Change Headline Element","generateblocks"),controls:[{isActive:"h1"===d,icon:Object(l.createElement)(oa,{level:"h1"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
10
- Object(T.__)("Heading %s","generateblocks"),"1"),onClick:function(){n({element:"h1"})}},{isActive:"h2"===d,icon:Object(l.createElement)(oa,{level:"h2"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
11
- Object(T.__)("Heading %s","generateblocks"),"2"),onClick:function(){n({element:"h2"})}},{isActive:"h3"===d,icon:Object(l.createElement)(oa,{level:"h3"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
12
- Object(T.__)("Heading %s","generateblocks"),"3"),onClick:function(){n({element:"h3"})}},{isActive:"h4"===d,icon:Object(l.createElement)(oa,{level:"h4"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
13
- Object(T.__)("Heading %s","generateblocks"),"4"),onClick:function(){n({element:"h4"})}},{isActive:"h5"===d,icon:Object(l.createElement)(oa,{level:"h5"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
14
- Object(T.__)("Heading %s","generateblocks"),"5"),onClick:function(){n({element:"h5"})}},{isActive:"h6"===d,icon:Object(l.createElement)(oa,{level:"h6"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
15
- Object(T.__)("Heading %s","generateblocks"),"6"),onClick:function(){n({element:"h6"})}},{isActive:"p"===d,icon:Object(l.createElement)(oa,{level:"p"}),title:Object(T.__)("Paragraph","generateblocks"),onClick:function(){n({element:"p"})}},{isActive:"div"===d,icon:Object(l.createElement)(oa,{level:"div"}),title:Object(T.__)("Div","generateblocks"),onClick:function(){n({element:"div"})}}]}),"Desktop"===this.getDeviceType()&&!te&&Object(l.createElement)(Q.AlignmentToolbar,{value:p,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&!ae&&Object(l.createElement)(Q.AlignmentToolbar,{value:f,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&!le&&Object(l.createElement)(Q.AlignmentToolbar,{value:h,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{id:"headlineElement",state:this.state,showPanel:"Desktop"===this.getDeviceType()}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:[{label:"h1",value:"h1"},{label:"h2",value:"h2"},{label:"h3",value:"h3"},{label:"h4",value:"h4"},{label:"h5",value:"h5"},{label:"h6",value:"h6"},{label:"paragraph",value:"p"},{label:"div",value:"div"}],onChange:function(e){n({element:e}),L||P||F||A||n("p"===e?{marginUnit:"em"}:{marginUnit:generateBlocksDefaults.headline.marginUnit})}}),Object(S.applyFilters)("generateblocks.editor.controls","","headlineElement",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"headlineTypography",state:this.state,showPanel:!ie||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,fontSizePlaceholder:c,defaultFontSize:generateBlocksDefaults.headline.fontSize,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Tablet",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingMobile}))),Object(S.applyFilters)("generateblocks.editor.controls","","headlineTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"headlineSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!te,onChange:function(e){n({inlineWidth:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!ae,onChange:function(e){n({inlineWidthTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!le,onChange:function(e){n({inlineWidthMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(S.applyFilters)("generateblocks.editor.controls","","headlineSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"headlineColors",state:this.state,showPanel:"Desktop"===this.getDeviceType()||!1}),Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:m,alpha:!0,valueOpacity:k,attrOpacity:"backgroundColorOpacity",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:y,alpha:!1,onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color","generateblocks"),value:v,alpha:!1,onChange:function(e){return n({linkColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color Hover","generateblocks"),value:O,alpha:!1,onChange:function(e){return n({linkColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:_,alpha:!0,valueOpacity:D,attrOpacity:"borderColorOpacity",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}}),U&&Object(l.createElement)(ke,{label:Object(T.__)("Icon Color","generateblocks"),value:N,alpha:!0,valueOpacity:I,attrOpacity:"iconColorOpacity",onChange:function(e){return n({iconColor:e})},onOpacityChange:function(e){return n({iconColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Highlight Text","generateblocks"),value:R,alpha:!1,onChange:function(e){return n({highlightTextColor:e})}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Icon","generateblocks"),initialOpen:!1,icon:j("icons"),className:"gblocks-panel-label",id:"headlineIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!U)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(jt,r()({},this.props,{attrIcon:"icon",attrRemoveText:"removeText",attrAriaLabel:"ariaLabel"})),"Desktop"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:G,options:[{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocation:e,iconPaddingRight:"inline"===e?"0.5":"",iconPaddingBottom:"above"===e?"0.5":""})}}),"inline"===G&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:W,options:[{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignment:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:J||0===J?J:"",step:"em"===ee?.1:1,onChange:function(e){n({iconSize:e})},onBlur:function(){n({iconSize:parseFloat(J)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSize:generateBlocksDefaults.headline.iconSize})}},Object(T.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:V,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocationTablet:e,iconPaddingRightTablet:"inline"===e?"0.5":"",iconPaddingBottomTablet:"above"===e?"0.5":""})}}),"inline"===V&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:Z,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignmentTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:X||0===X?X:"",step:"em"===ee?.1:1,placeholder:J||0===J?J:"",onChange:function(e){n({iconSizeTablet:e})},onBlur:function(){n({iconSizeTablet:parseFloat(X)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeTablet:generateBlocksDefaults.headline.iconSizeTablet})}},Object(T.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocationMobile:e,iconPaddingRightMobile:"inline"===e?"0.5":"",iconPaddingBottomMobile:"above"===e?"0.5":""})}}),"inline"===q&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:K,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignmentMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:$||0===$?$:"",step:"em"===ee?.1:1,placeholder:oe,onChange:function(e){n({iconSizeMobile:e})},onBlur:function(){n({iconSizeMobile:parseFloat($)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeMobile:generateBlocksDefaults.headline.iconSizeMobile})}},Object(T.__)("Reset","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","headlineIcon",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"headlineDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/headline/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","headlineDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor","generateblocks"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:g||"",onChange:function(e){e=e.replace(sa,"-"),n({anchor:e})}})),Object(l.createElement)(Kt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Yt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Xt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ea,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(aa,this.props)),x&&M&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+x.replace(/ /g,"+")+ne}),Object(S.applyFilters)("generateblocks.editor.beforeHeadlineElement","",this.props),Object(l.createElement)(fe,{tagName:d,htmlAttrs:ce},H&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"gb-icon","aria-label":ie&&re?re:void 0,dangerouslySetInnerHTML:{__html:U}}),!ie&&Object(l.createElement)("span",{className:"gb-headline-text"},Object(l.createElement)(Q.RichText,{tagName:"span",value:u,onChange:function(e){return n({content:e})},placeholder:Object(T.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(S.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null}))),!H&&!ie&&Object(l.createElement)(Q.RichText,{tagName:"span",value:u,onChange:function(e){return n({content:e})},placeholder:Object(T.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(S.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null})))}}]),a}(l.Component),ua=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(ba),da={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},content:{type:"string",source:"html",selector:".gb-headline-text"},element:{type:"string",default:"h2"},alignment:{type:"string",default:generateBlocksDefaults.headline.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.headline.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.headline.alignmentMobile},backgroundColor:{type:"string",default:generateBlocksDefaults.headline.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.headline.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.headline.textColor},linkColor:{type:"string",default:generateBlocksDefaults.headline.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.headline.linkColorHover},borderColor:{type:"string",default:generateBlocksDefaults.headline.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.headline.borderColorOpacity},highlightTextColor:{type:"string",default:generateBlocksDefaults.headline.highlightTextColor},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.headline.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.headline.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.headline.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.headline.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.headline.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.headline.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.headline.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.headline.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.headline.fontSizeUnit},textTransform:{type:"string",default:""},lineHeight:{type:"number",default:generateBlocksDefaults.headline.lineHeight},lineHeightTablet:{type:"number",default:generateBlocksDefaults.headline.lineHeightTablet},lineHeightMobile:{type:"number",default:generateBlocksDefaults.headline.lineHeightMobile},lineHeightUnit:{type:"string",default:generateBlocksDefaults.headline.lineHeightUnit},letterSpacing:{type:"number",default:generateBlocksDefaults.headline.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.headline.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.headline.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.headline.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.headline.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.headline.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.headline.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.headline.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.headline.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.headline.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.headline.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.headline.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.headline.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.headline.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.headline.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.headline.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.headline.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.headline.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.headline.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.headline.paddingLeft},paddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.paddingLeftMobile},paddingUnit:{type:"string",default:generateBlocksDefaults.headline.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},borderSizeTop:{type:"string",default:generateBlocksDefaults.headline.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.headline.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.headline.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftMobile},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconColor:{type:"string",default:generateBlocksDefaults.headline.iconColor},iconColorOpacity:{type:"number",default:generateBlocksDefaults.headline.iconColorOpacity},customIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.headline.iconLocation},iconLocationTablet:{type:"string",default:generateBlocksDefaults.headline.iconLocationTablet},iconLocationMobile:{type:"string",default:generateBlocksDefaults.headline.iconLocationMobile},iconVerticalAlignment:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignment},iconVerticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentTablet},iconVerticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentMobile},iconPaddingTop:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.headline.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.headline.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.headline.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.headline.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.headline.iconSizeUnit},inlineWidth:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidth},inlineWidthTablet:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthTablet},inlineWidthMobile:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthMobile},removeText:{type:"boolean",default:generateBlocksDefaults.headline.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.headline.ariaLabel},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},pa={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(X.createBlock)("generateblocks/headline",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(X.createBlock)("generateblocks/headline",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(X.createBlock)("core/paragraph",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(X.createBlock)("core/heading",{content:t})}}]};function fa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ha(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ma=[{attributes:ha(ha({},da),{},{content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}}),supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor,l=e.element?e.element:generateBlocksDefaults.headline.element;return e.icon&&e.removeText&&"div"!==l&&(l="div"),ha(ha({},e),{},{className:t,anchor:a,cssClasses:"",elementId:"",element:l})},save:function(e){var t,a=e.attributes,i=a.uniqueId,n=a.elementId,c=a.cssClasses,s=a.element,g=a.content,b=a.icon,u=a.removeText,d=a.ariaLabel,p={id:n||void 0,className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"".concat(c),""!==c),t))};return p=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:b,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-headline-wrapper":!0},"gb-headline-wrapper-".concat(i),!0))},e)}},b&&Object(l.createElement)("span",{className:"gb-icon","aria-label":u&&d?d:void 0,dangerouslySetInnerHTML:{__html:Be(b)}}),!u&&Object(l.createElement)(Q.RichText.Content,r()({tagName:s,value:g},p)))}},{attributes:ha(ha({},da),{},{element:{type:"string",default:"p"},content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}}),save:function(e){var t,a=e.attributes,i=a.uniqueId,n=a.elementId,c=a.cssClasses,s=a.element,g=a.content,b=a.icon,u=a.removeText,d=a.ariaLabel,p={id:n||void 0,className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"".concat(c),""!==c),t))};return p=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:b,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-headline-wrapper":!0},"gb-headline-wrapper-".concat(i),!0))},e)}},b&&Object(l.createElement)("span",{className:"gb-icon","aria-label":u&&d?d:void 0,dangerouslySetInnerHTML:{__html:Be(b)}}),!u&&Object(l.createElement)(Q.RichText.Content,r()({tagName:s,value:g},p)))}}];Object(X.registerBlockType)("generateblocks/headline",{title:Object(T.__)("Headline","generateblocks"),description:Object(T.__)("Craft text-rich content with advanced typography.","generateblocks"),icon:j("headline"),category:"generateblocks",keywords:[Object(T.__)("heading"),Object(T.__)("headline"),Object(T.__)("title"),Object(T.__)("generate")],attributes:da,supports:{className:!1},edit:ua,save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.className,n=a.anchor,c=a.element,s=a.content,g=a.icon,b=a.removeText,u=a.ariaLabel,d={className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"gb-headline-text",!g),o()(t,r,void 0!==r),t)),id:n||null};return d=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",d,"generateblocks/headline",a),Object(l.createElement)(fe,{tagName:c,htmlAttrs:d},!!g&&Object(l.createElement)("span",{className:"gb-icon","aria-label":b&&u?u:void 0,dangerouslySetInnerHTML:{__html:g}}),!b&&Object(l.createElement)(Q.RichText.Content,{value:s,tagName:g?"span":null,className:g?"gb-headline-text":null}))},transforms:pa,deprecated:ma});a(45)}]);
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=13)}([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,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),m=v(String.prototype.match),f=v(String.prototype.replace),k=v(String.prototype.indexOf),y=v(String.prototype.trim),w=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 _=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"]),B=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"]),E=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"]),D=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"]),x=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),U=n(/<%[\s\S]*|[\s\S]*%>/gm),P=n(/^data-[\-\w.\u00B7-\uFFFF]/),N=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 q(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 W=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]:W(),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,Q=t.trustedTypes,X=s.prototype,$=C(X,"cloneNode"),ee=C(X,"nextSibling"),te=C(X,"childNodes"),ae=C(X,"parentNode");if("function"==typeof o){var le=i.createElement("template");le.content&&le.content.ownerDocument&&(i=le.content.ownerDocument)}var ie=Z(Q,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=U,he=P,me=N,fe=I,ke=G,ye=H,we=null,Oe=j({},[].concat(q(_),q(B),q(S),q(D),q(M))),ve=null,je=j({},[].concat(q(z),q(R),q(L),q(F))),Te=null,Ce=null,_e=!0,Be=!0,Se=!1,Ee=!1,De=!1,xe=!1,Me=!1,ze=!1,Re=!1,Le=!0,Fe=!1,Ae=!0,Ue=!0,Pe=!1,Ne={},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,qe=j({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),We="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,Qe=i.createElement("form"),Xe=function(e){Ye&&Ye===e||(e&&"object"===(void 0===e?"undefined":V(e))||(e={}),e=T(e),we="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(qe),e.ADD_URI_SAFE_ATTR):qe,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):{},Ne="USE_PROFILES"in e&&e.USE_PROFILES,_e=!1!==e.ALLOW_ARIA_ATTR,Be=!1!==e.ALLOW_DATA_ATTR,Se=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ee=e.SAFE_FOR_TEMPLATES||!1,De=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,Ue=!1!==e.KEEP_CONTENT,Pe=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,Je=e.NAMESPACE||Je,Ee&&(Be=!1),Re&&(ze=!0),Ne&&(we=j({},[].concat(q(M))),ve=[],!0===Ne.html&&(j(we,_),j(ve,z)),!0===Ne.svg&&(j(we,B),j(ve,R),j(ve,F)),!0===Ne.svgFilters&&(j(we,S),j(ve,R),j(ve,F)),!0===Ne.mathMl&&(j(we,D),j(ve,L),j(ve,F))),e.ADD_TAGS&&(we===Oe&&(we=T(we)),j(we,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),Ue&&(we["#text"]=!0),De&&j(we,["html","head","body"]),we.table&&(j(we,["tbody"]),delete Te.tbody),r&&r(e),Ye=e)},$e=j({},["mi","mo","mn","ms","mtext"]),et=j({},["foreignobject","desc","title","annotation-xml"]),tt=j({},B);j(tt,S),j(tt,E);var at=j({},D);j(at,x);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===We?"svg"===a&&("annotation-xml"===l||$e[l]):Boolean(tt[a]);if(e.namespaceURI===We)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===We&&!$e[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=m(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),De?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(m(e.nodeName,/[\u0080-\uFFFF]/))return it(e),!0;var l=h(e.nodeName);if(gt("uponSanitizeElement",e,{tagName:l,allowedTags:we}),!st(e.firstElementChild)&&(!st(e.content)||!st(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return it(e),!0;if(!we[l]||Te[l]){if(Ue&&!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($(r[n],!0),ee(e))}return it(e),!0}return e instanceof s&&!lt(e)?(it(e),!0):"noscript"!==l&&"noembed"!==l||!w(/<\/no(script|embed)/i,e.innerHTML)?(Ee&&3===e.nodeType&&(t=e.textContent,t=f(t,pe," "),t=f(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 Qe))return!1;if(Be&&w(he,t));else if(_e&&w(me,t));else{if(!ve[t]||Ce[t])return!1;if(Ve[t]);else if(w(ye,f(a,ke,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==k(a,"data:")||!Ie[e])if(Se&&!w(fe,f(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=y(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(w(/\/>/i,l))rt(s,e);else{Ee&&(l=f(l,pe," "),l=f(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(xe||Xe(i),a.removed=[],"string"==typeof e&&(Pe=!1),Pe);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&&!Ee&&!De&&-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(Pe?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,Pe)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=De?r.outerHTML:r.innerHTML;return Ee&&(p=f(p,pe," "),p=f(p,ue," ")),ie&&Fe?ie.createHTML(p):p},a.setConfig=function(e){Xe(e),xe=!0},a.clearConfig=function(){Ye=null,xe=!1},a.isValidAttribute=function(e,t,a){Ye||Xe({});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"}))):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}=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"},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 m(e,t){return!(!e&&0!==e)&&e+t}class f 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":m(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 y 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?m(i,"px"):null}],o=Object(d.applyFilters)("generateblocks.editor.tabletCSS",o,this.props,"grid"),Object(l.createElement)("style",null,h(o))}}class w 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?m(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}}var T=a(5),C=a(7),_=a(8),B=a(9);const S=/[\s#]/g,E=[];class D 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=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?E.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),E.push(e)):E.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),E.push(e)),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}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(C.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||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"};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:m,verticalGap:v,verticalAlignment:_,horizontalGapTablet:B,verticalGapTablet:E,verticalAlignmentTablet:D,horizontalGapMobile:x,verticalGapMobile:M,verticalAlignmentMobile:z,horizontalAlignment:R,horizontalAlignmentTablet:L,horizontalAlignmentMobile:F}=e,A=void 0!==e.useGlobalStyle&&e.useGlobalStyle&&void 0!==e.globalStyleId&&e.globalStyleId;let U=m||0===m?m:"";A&&generateBlocksDefaults.gridContainer.horizontalGap===U&&(U="");const P=U,N=v||0===v?v:"";let H=U,I=v||0===v?v:"";B&&(H=B),E&&(I=E);let G={className:o()({"gb-grid-wrapper":!0,["gb-grid-wrapper-"+i]:!0,[""+n]:void 0!==n}),id:c||null};return G=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",G,"generateblocks/grid",e),Object(l.createElement)(l.Fragment,null,(h>0||this.state.selectedLayout)&&Object(l.createElement)(T.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(C.createBlock)("generateblocks/container",{isGrid:!0,gridId:i,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"}),void 0,a)},showTooltip:!0}))),Object(l.createElement)(T.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:U,min:"0",onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGap:e})},onBlur:()=>{A||m||!generateBlocksDefaults.gridContainer.horizontalGap?""!==m&&t({horizontalGap:parseFloat(m)}):t({horizontalGap:0})},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:v||0===v?v:"",min:"0",onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGap:e})},onBlur:()=>{A||v||!generateBlocksDefaults.gridContainer.verticalGap?""!==v&&t({verticalGap:parseFloat(v)}):t({verticalGap:0})},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:_,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:R,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:B||0===B?B:"",min:"0",placeholder:P,onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGapTablet:e})},onBlur:()=>{A||B||!generateBlocksDefaults.gridContainer.horizontalGapTablet?""!==B&&t({horizontalGapTablet:parseFloat(B)}):t({horizontalGapTablet:0})},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:E||0===E?E:"",min:"0",placeholder:N,onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGapTablet:e})},onBlur:()=>{A||E||!generateBlocksDefaults.gridContainer.verticalGapTablet?""!==E&&t({verticalGapTablet:parseFloat(E)}):t({verticalGapTablet:0})},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:L,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:x||0===x?x:"",min:"0",placeholder:H,onChange:e=>{e=e.toString().replace(/-/g,""),t({horizontalGapMobile:e})},onBlur:()=>{A||x||!generateBlocksDefaults.gridContainer.horizontalGapMobile?""!==x&&t({horizontalGapMobile:parseFloat(x)}):t({horizontalGapMobile:0})},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:M||0===M?M:"",min:"0",placeholder:I,onChange:e=>{e=e.toString().replace(/-/g,""),t({verticalGapMobile:e})},onBlur:()=>{A||M||!generateBlocksDefaults.gridContainer.verticalGapMobile?""!==M&&t({verticalGapMobile:parseFloat(M)}):t({verticalGapMobile:0})},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:z,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:F,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)(T.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(S,"-"),t({anchor:e})}})),Object(l.createElement)(f,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)(y,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(w,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(O,this.props)),Object(l.createElement)("div",G,h>0||this.state.selectedLayout?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(T.InnerBlocks,{allowedBlocks:["generateblocks/container"],renderAppender:!1})):this.getLayoutsSelector()))}}var x=Object(B.compose)([Object(_.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(_.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(D),M={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"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},z=[{attributes:M,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)(T.InnerBlocks.Content,null))}}];Object(C.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:M,supports:{className:!1},edit:x,save:()=>Object(l.createElement)(T.InnerBlocks.Content,null),deprecated:z});const R=generateBlocksInfo.hasWideAlignSupport,L=["wide","full"],F=Object(B.createHigherOrderComponent)(e=>t=>{const{name:a,attributes:i,isSelected:r,clientId:n,setAttributes:o}=t,{isGrid:c,align:d}=i;let p=!1;return p="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(n,"generateblocks/grid",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(n),Object(l.createElement)(l.Fragment,null,r&&c&&p&&"generateblocks/container"===a&&Object(l.createElement)(T.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(n)[0],t=Object(C.cloneBlock)(e);wp.data.dispatch("core/block-editor").insertBlocks(t,void 0,p)},showTooltip:!0})),Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-block-control-icon",icon:s("grid"),label:Object(g.__)("Select Parent Grid","generateblocks"),onClick:()=>{wp.data.dispatch("core/block-editor").selectBlock(p)},showTooltip:!0}))),r&&R&&!c&&"generateblocks/container"===a&&Object(l.createElement)(T.BlockControls,null,Object(l.createElement)(T.BlockAlignmentToolbar,{value:d,onChange:e=>{o({align:e}),"full"===e&&o({outerContainer:"full"})},controls:L})),Object(l.createElement)(e,t))},"withAdvancedControls");function A({tagName:e,htmlAttrs:t,children:a}){return Object(l.createElement)(e,t,a)}function U(e,t){return e?t||0===t?(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",F);class P extends l.Component{constructor(){super(...arguments),this.state={colorKey:!1}}render(){const{value:e,onChange:t,onOpacityChange:a,label:i,alpha:r=!1,valueOpacity:n}=this.props,{colorKey:c}=this.state,d=()=>{!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:o()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",e?"":"components-color-palette__custom-color")},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?U(e,n):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)("div",{className:o()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",e?"":"components-color-palette__custom-color")},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:d,"aria-label":Object(g.__)("Custom color picker","generateblocks"),style:{color:e?U(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:d},Object(l.createElement)(b.BaseControl,{key:c},Object(l.createElement)(b.ColorPicker,{key:c,color:e||"",onChangeComplete:e=>{t(e.hex)},disableAlpha:!0})),r&&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.Button,{isSmall:!0,isSecondary:!0,className:"components-color-clear-color",onClick:()=>{t(""),a(1),this.setState({colorKey:!1})}},Object(g.__)("Clear Color","generateblocks")),Object(l.createElement)(b.BaseControl,{className:"gblocks-component-color-picker-palette"},Object(l.createElement)(T.ColorPalette,{value:e,onChange:e=>{t(e),this.setState({colorKey:e})},disableCustomColors:!0,clearable:!1})))))}}class N 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:m=Object(g.__)("Right","generateblocks"),labelBottom:f=Object(g.__)("Bottom","generateblocks"),labelLeft:k=Object(g.__)("Left","generateblocks"),device:y,block:w,defaults:O,units:v}=this.props,j=o()("components-base-control","components-gblocks-dimensions-control");let T="",C="",_="",B="";if("headline"===w&&n.includes("marginBottom")){if("px"===this.props.attributes.marginUnit){const e=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);e&&(_=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&&(_=generateBlocksStyling.headline[e.element].marginBottom);"div"!==this.props.attributes.element&&"span"!==this.props.attributes.element||(_="")}if("Tablet"===y){const t=i.replace("Tablet",""),a=r.replace("Tablet",""),l=n.replace("Tablet",""),o=c.replace("Tablet","");T=e[t]?e[t]:T,C=e[a]?e[a]:C,_=e[l]?e[l]:_,B=e[o]?e[o]:B}if("Mobile"===y){const t=i.replace("Mobile",""),a=r.replace("Mobile",""),l=n.replace("Mobile",""),o=c.replace("Mobile","");e[t+"Tablet"]?T=e[t+"Tablet"]:e[t]&&(T=e[t]),e[a+"Tablet"]?C=e[a+"Tablet"]:e[a]&&(C=e[a]),e[l+"Tablet"]?_=e[l+"Tablet"]:e[l]&&(_=e[l]),e[o+"Tablet"]?B=e[o+"Tablet"]:e[o]&&(B=e[o])}const S=void 0!==e.useGlobalStyle&&e.useGlobalStyle;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:j},Object(l.createElement)(u,{label:t,value:void 0!==e[p]?e[p]:"px",units:v,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: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.onChangeTop(t):this.onReset("attrTop")},onBlur:()=>{S||""!==e[i]||""===O[i]||(this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll("0"):this.onChangeTop("0"))},onClick:e=>{e.currentTarget.focus()}
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: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.onChangeRight(t):this.onReset("attrRight")},onBlur:()=>{S||""!==e[r]||""===O[r]||(this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll("0"):this.onChangeRight("0"))},onClick:e=>{e.currentTarget.focus()}
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:_,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")},onBlur:()=>{S||""!==e[n]||""===O[n]||(this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll("0"):this.onChangeBottom("0"))},onClick:e=>{e.currentTarget.focus()}
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")},onBlur:()=>{S||""!==e[c]||""===O[c]||(this.props.attributes[this.props.attrSyncUnits]?this.onChangeAll("0"):this.onChangeLeft("0"))},onClick:e=>{e.currentTarget.focus()}
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"},m),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},f),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},k),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"}))))}}var H=N,I={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"},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"},"Source Sans Pro":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Roboto Condensed":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Oswald:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},"Roboto Mono":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],fallback:"monospace"},Raleway:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],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"},"Noto 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"},"PT Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-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"},Muli:{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Open Sans Condensed":{weight:["300","300italic","700"],fallback:"sans-serif"},"PT Serif":{weight:["regular","italic","700","700italic"],fallback:"serif"},Lora:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Slabo 27px":{weight:["regular"],fallback:"serif"},Nunito:{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Noto Sans JP":{weight:["100","300","regular","500","700","900"],fallback:"sans-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"},Rubik:{weight:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Noto Serif":{weight:["regular","italic","700","700italic"],fallback:"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"},"Titillium Web":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],fallback:"sans-serif"},Quicksand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Noto Sans KR":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Nanum Gothic":{weight:["regular","700","800"],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"},Heebo:{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Sans Narrow":{weight:["regular","700"],fallback:"sans-serif"},Arimo:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Inconsolata:{weight:["regular","700"],fallback:"monospace"},Barlow:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Oxygen:{weight:["300","regular","700"],fallback:"sans-serif"},Dosis:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Bitter:{weight:["regular","italic","700"],fallback:"serif"},"Libre Baskerville":{weight:["regular","italic","700"],fallback:"serif"},"Crimson Text":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},"Libre Franklin":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Karla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Josefin Sans":{weight:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},Cabin:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Anton:{weight:["regular"],fallback:"sans-serif"},"Source Code Pro":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"monospace"},Hind:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Abel:{weight:["regular"],fallback:"sans-serif"},Amiri:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Fjalla One":{weight:["regular"],fallback:"sans-serif"},Lobster:{weight:["regular"],fallback:"display"},Pacifico:{weight:["regular"],fallback:"handwriting"},"Indie Flower":{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"},"Dancing Script":{weight:["regular","500","600","700"],fallback:"handwriting"},"Source Serif Pro":{weight:["regular","600","700"],fallback:"serif"},Arvo:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Hind Siliguri":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Varela Round":{weight:["regular"],fallback:"sans-serif"},"Merriweather Sans":{weight:["300","300italic","regular","italic","700","700italic","800","800italic"],fallback:"sans-serif"},Cairo:{weight:["200","300","regular","600","700","900"],fallback:"sans-serif"},"Yanone Kaffeesatz":{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Overpass:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Shadows Into Light":{weight:["regular"],fallback:"handwriting"},"Barlow Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"IBM Plex Sans":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Comfortaa:{weight:["300","regular","500","600","700"],fallback:"display"},Asap:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],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"},Kanit:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Questrial:{weight:["regular"],fallback:"sans-serif"},Martel:{weight:["200","300","regular","600","700","800","900"],fallback:"serif"},"Archivo Narrow":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Abril Fatface":{weight:["regular"],fallback:"display"},"Amatic SC":{weight:["regular","700"],fallback:"handwriting"},Acme:{weight:["regular"],fallback:"sans-serif"},Catamaran:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-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"},"EB Garamond":{weight:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],fallback:"serif"},"Bree Serif":{weight:["regular"],fallback:"serif"},"Zilla Slab":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Noto Sans SC":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Cormorant Garamond":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Hind Madurai":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Teko:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Righteous:{weight:["regular"],fallback:"display"},Signika:{weight:["300","regular","600","700"],fallback:"sans-serif"},Play:{weight:["regular","700"],fallback:"sans-serif"},Domine:{weight:["regular","700"],fallback:"serif"},Exo:{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"},Cinzel:{weight:["regular","700","900"],fallback:"serif"},"PT Sans Caption":{weight:["regular","700"],fallback:"sans-serif"},Rajdhani:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Maven Pro":{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Fredoka One":{weight:["regular"],fallback:"display"},"IBM Plex Serif":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Ubuntu Condensed":{weight:["regular"],fallback:"sans-serif"},"Patua One":{weight:["regular"],fallback:"display"},Caveat:{weight:["regular","700"],fallback:"handwriting"},"Permanent Marker":{weight:["regular"],fallback:"handwriting"},Assistant:{weight:["200","300","regular","600","700","800"],fallback:"sans-serif"},ABeeZee:{weight:["regular","italic"],fallback:"sans-serif"},Vollkorn:{weight:["regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"serif"},"Crete Round":{weight:["regular","italic"],fallback:"serif"},"Special Elite":{weight:["regular"],fallback:"display"},Rokkitt:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Bangers:{weight:["regular"],fallback:"display"},"Francois One":{weight:["regular"],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"},"Alegreya Sans":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Satisfy:{weight:["regular"],fallback:"handwriting"},Tajawal:{weight:["200","300","regular","500","700","800","900"],fallback:"sans-serif"},"Bebas Neue":{weight:["regular"],fallback:"display"},"Patrick Hand":{weight:["regular"],fallback:"handwriting"},Cuprum:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Viga:{weight:["regular"],fallback:"sans-serif"},Courgette:{weight:["regular"],fallback:"handwriting"},"Ropa Sans":{weight:["regular","italic"],fallback:"sans-serif"},"Noto Serif JP":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Gochi Hand":{weight:["regular"],fallback:"handwriting"},Alegreya:{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Luckiest Guy":{weight:["regular"],fallback:"display"},"Noticia Text":{weight:["regular","italic","700","700italic"],fallback:"serif"},Tinos:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Passion One":{weight:["regular","700","900"],fallback:"display"},"Alfa Slab One":{weight:["regular"],fallback:"display"},"Nanum Myeongjo":{weight:["regular","700","800"],fallback:"serif"},Monda:{weight:["regular","700"],fallback:"sans-serif"},"Lobster Two":{weight:["regular","italic","700","700italic"],fallback:"display"},Kalam:{weight:["300","regular","700"],fallback:"handwriting"},"Kaushan Script":{weight:["regular"],fallback:"handwriting"},"Archivo Black":{weight:["regular"],fallback:"sans-serif"},Cardo:{weight:["regular","italic","700"],fallback:"serif"},Archivo:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Great Vibes":{weight:["regular"],fallback:"handwriting"},Volkhov:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Quattrocento Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"News Cycle":{weight:["regular","700"],fallback:"sans-serif"},"Pathway Gothic One":{weight:["regular"],fallback:"sans-serif"},Sacramento:{weight:["regular"],fallback:"handwriting"},"Frank Ruhl Libre":{weight:["300","regular","500","700","900"],fallback:"serif"},Yantramanav:{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},Cantarell:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Istok Web":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Didact Gothic":{weight:["regular"],fallback:"sans-serif"},"Concert One":{weight:["regular"],fallback:"display"},Taviraj:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Old Standard TT":{weight:["regular","italic","700"],fallback:"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"},Economica:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Changa:{weight:["200","300","regular","500","600","700","800"],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"},"Gloria Hallelujah":{weight:["regular"],fallback:"handwriting"},Parisienne:{weight:["regular"],fallback:"handwriting"},Orbitron:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Asap Condensed":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Playfair Display SC":{weight:["regular","italic","700","700italic","900","900italic"],fallback:"serif"},Chivo:{weight:["300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"sans-serif"},Sriracha:{weight:["regular"],fallback:"handwriting"},"Hind Vadodara":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"DM Sans":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Prata:{weight:["regular"],fallback:"serif"},Quattrocento:{weight:["regular","700"],fallback:"serif"},Cookie:{weight:["regular"],fallback:"handwriting"},"Poiret One":{weight:["regular"],fallback:"display"},Handlee:{weight:["regular"],fallback:"handwriting"},Sarabun:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},BenchNine:{weight:["300","regular","700"],fallback:"sans-serif"},Merienda:{weight:["regular","700"],fallback:"handwriting"},"M PLUS 1p":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Mono":{weight:["regular"],fallback:"monospace"},Lalezar:{weight:["regular"],fallback:"display"},Sanchez:{weight:["regular","italic"],fallback:"serif"},Lemonada:{weight:["300","regular","500","600","700"],fallback:"display"},"Markazi Text":{weight:["regular","500","600","700"],fallback:"serif"},Neuton:{weight:["200","300","regular","italic","700","800"],fallback:"serif"},"Hind Guntur":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Josefin Slab":{weight:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"serif"},Philosopher:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Advent Pro":{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Do Hyeon":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Mincho":{weight:["regular"],fallback:"sans-serif"},Ruda:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Vidaloka:{weight:["regular"],fallback:"serif"},Ultra:{weight:["regular"],fallback:"serif"},Neucha:{weight:["regular"],fallback:"handwriting"},Arapey:{weight:["regular","italic"],fallback:"serif"},Gudea:{weight:["regular","italic","700"],fallback:"sans-serif"},"Paytone One":{weight:["regular"],fallback:"sans-serif"},Kreon:{weight:["300","regular","500","600","700"],fallback:"serif"},"M PLUS Rounded 1c":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"Pragati Narrow":{weight:["regular","700"],fallback:"sans-serif"},"Press Start 2P":{weight:["regular"],fallback:"display"},"Hammersmith One":{weight:["regular"],fallback:"sans-serif"},"Gentium Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Monoton:{weight:["regular"],fallback:"display"},Alef:{weight:["regular","700"],fallback:"sans-serif"},Alice:{weight:["regular"],fallback:"serif"},Aclonica:{weight:["regular"],fallback:"sans-serif"},"Sigmar One":{weight:["regular"],fallback:"display"},Spectral:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Marck Script":{weight:["regular"],fallback:"handwriting"},Electrolize:{weight:["regular"],fallback:"sans-serif"},Actor:{weight:["regular"],fallback:"sans-serif"},"Architects Daughter":{weight:["regular"],fallback:"handwriting"},Adamina:{weight:["regular"],fallback:"serif"},"Pontano Sans":{weight:["regular"],fallback:"sans-serif"},Audiowide:{weight:["regular"],fallback:"display"},Inter:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Cabin Condensed":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Unica One":{weight:["regular"],fallback:"display"},Yellowtail:{weight:["regular"],fallback:"handwriting"},"El Messiri":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Squada One":{weight:["regular"],fallback:"display"},Staatliches:{weight:["regular"],fallback:"display"},Amaranth:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Enriqueta:{weight:["regular","500","600","700"],fallback:"serif"},Mitr:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Glegoo:{weight:["regular","700"],fallback:"serif"},"Bowlby One SC":{weight:["regular"],fallback:"display"},Basic:{weight:["regular"],fallback:"sans-serif"},"Nanum Gothic Coding":{weight:["regular","700"],fallback:"monospace"},Sarala:{weight:["regular","700"],fallback:"sans-serif"},"Bad Script":{weight:["regular"],fallback:"handwriting"},"Homemade Apple":{weight:["regular"],fallback:"handwriting"},Tangerine:{weight:["regular","700"],fallback:"handwriting"},Cormorant:{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Oleo Script":{weight:["regular","700"],fallback:"display"},Karma:{weight:["300","regular","500","600","700"],fallback:"serif"},"Julius Sans One":{weight:["regular"],fallback:"sans-serif"},"Carter One":{weight:["regular"],fallback:"display"},Khand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Nanum Pen Script":{weight:["regular"],fallback:"handwriting"},Cambay:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Fugaz One":{weight:["regular"],fallback:"display"},"Shadows Into Light Two":{weight:["regular"],fallback:"handwriting"},Coda:{weight:["regular","800"],fallback:"display"},"Signika Negative":{weight:["300","regular","600","700"],fallback:"sans-serif"},Pridi:{weight:["200","300","regular","500","600","700"],fallback:"serif"},Playball:{weight:["regular"],fallback:"display"},Saira:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Rock Salt":{weight:["regular"],fallback:"handwriting"},"Gothic A1":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Gentium Book Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Allura:{weight:["regular"],fallback:"handwriting"},"Yeseva One":{weight:["regular"],fallback:"display"},"DM Serif Text":{weight:["regular","italic"],fallback:"serif"},Lusitana:{weight:["regular","700"],fallback:"serif"},Jura:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Average:{weight:["regular"],fallback:"serif"},Yrsa:{weight:["300","regular","500","600","700"],fallback:"serif"},"Sorts Mill Goudy":{weight:["regular","italic"],fallback:"serif"},"Cantata One":{weight:["regular"],fallback:"serif"},Armata:{weight:["regular"],fallback:"sans-serif"},Scada:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Abhaya Libre":{weight:["regular","500","600","700","800"],fallback:"serif"},Damion:{weight:["regular"],fallback:"handwriting"},Marmelad:{weight:["regular"],fallback:"sans-serif"},Varela:{weight:["regular"],fallback:"sans-serif"},Quantico:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Covered By Your Grace":{weight:["regular"],fallback:"handwriting"},"PT Serif Caption":{weight:["regular","italic"],fallback:"serif"},Ramabhadra:{weight:["regular"],fallback:"sans-serif"},Unna:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Encode Sans":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Arsenal:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Black Han Sans":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Gothic":{weight:["regular"],fallback:"sans-serif"},"Ubuntu Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Pinyon Script":{weight:["regular"],fallback:"handwriting"},"Black Ops One":{weight:["regular"],fallback:"display"},Marcellus:{weight:["regular"],fallback:"serif"},"Fauna One":{weight:["regular"],fallback:"serif"},"Lilita One":{weight:["regular"],fallback:"display"},Sintony:{weight:["regular","700"],fallback:"sans-serif"},Khula:{weight:["300","regular","600","700","800"],fallback:"sans-serif"},Jaldi:{weight:["regular","700"],fallback:"sans-serif"},"Rubik Mono One":{weight:["regular"],fallback:"sans-serif"},Allan:{weight:["regular","700"],fallback:"display"},"Reenie Beanie":{weight:["regular"],fallback:"handwriting"},"Alex Brush":{weight:["regular"],fallback:"handwriting"},"Mr Dafoe":{weight:["regular"],fallback:"handwriting"},Palanquin:{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Encode Sans Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Antic:{weight:["regular"],fallback:"sans-serif"},Knewave:{weight:["regular"],fallback:"display"},"Caveat Brush":{weight:["regular"],fallback:"handwriting"},Rambla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Spinnaker:{weight:["regular"],fallback:"sans-serif"},"IBM Plex Mono":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"monospace"},Michroma:{weight:["regular"],fallback:"sans-serif"},"Nothing You Could Do":{weight:["regular"],fallback:"handwriting"},"Kelly Slab":{weight:["regular"],fallback:"display"},Boogaloo:{weight:["regular"],fallback:"display"},Chewy:{weight:["regular"],fallback:"display"},"ZCOOL XiaoWei":{weight:["regular"],fallback:"serif"},Rancho:{weight:["regular"],fallback:"handwriting"},"Noto Serif SC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Pangolin:{weight:["regular"],fallback:"handwriting"},"Fira Mono":{weight:["regular","500","700"],fallback:"monospace"},Forum:{weight:["regular"],fallback:"display"},"Antic Slab":{weight:["regular"],fallback:"serif"},"Alegreya Sans SC":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Anonymous Pro":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Lateef:{weight:["regular"],fallback:"handwriting"},"Annie Use Your Telescope":{weight:["regular"],fallback:"handwriting"},"Noto Sans HK":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Martel Sans":{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},"Chakra Petch":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Rufina:{weight:["regular","700"],fallback:"serif"},"Bai Jamjuree":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Scheherazade:{weight:["regular","700"],fallback:"serif"},Share:{weight:["regular","italic","700","700italic"],fallback:"display"},"Tenor Sans":{weight:["regular"],fallback:"sans-serif"},"DM Serif Display":{weight:["regular","italic"],fallback:"serif"},VT323:{weight:["regular"],fallback:"monospace"},"Share Tech Mono":{weight:["regular"],fallback:"monospace"},Mali:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"handwriting"},Cousine:{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Cinzel Decorative":{weight:["regular","700","900"],fallback:"display"},Overlock:{weight:["regular","italic","700","700italic","900","900italic"],fallback:"display"},"Arbutus Slab":{weight:["regular"],fallback:"serif"},"Reem Kufi":{weight:["regular"],fallback:"sans-serif"},"Cabin Sketch":{weight:["regular","700"],fallback:"display"},"Saira Extra Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Eczar:{weight:["regular","500","600","700","800"],fallback:"serif"},"Leckerli One":{weight:["regular"],fallback:"handwriting"},Krub:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Berkshire Swash":{weight:["regular"],fallback:"handwriting"},"Fredericka the Great":{weight:["regular"],fallback:"display"},"Saira Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Overpass Mono":{weight:["300","regular","600","700"],fallback:"monospace"},Itim:{weight:["regular"],fallback:"handwriting"},Rasa:{weight:["300","regular","500","600","700"],fallback:"serif"},Bevan:{weight:["regular"],fallback:"display"},"Arima Madurai":{weight:["100","200","300","regular","500","700","800","900"],fallback:"display"},Italianno:{weight:["regular"],fallback:"handwriting"},"Coda Caption":{weight:["800"],fallback:"sans-serif"},Shrikhand:{weight:["regular"],fallback:"display"},"Just Another Hand":{weight:["regular"],fallback:"handwriting"},"Saira Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Almarai:{weight:["300","regular","700","800"],fallback:"sans-serif"},"Mukta Malar":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Oranienbaum:{weight:["regular"],fallback:"serif"},Nobile:{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Candal:{weight:["regular"],fallback:"sans-serif"},"Six Caps":{weight:["regular"],fallback:"sans-serif"},"Space Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Capriola:{weight:["regular"],fallback:"sans-serif"},Biryani:{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},Halant:{weight:["300","regular","500","600","700"],fallback:"serif"},Allerta:{weight:["regular"],fallback:"sans-serif"},Trirong:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},Mallanna:{weight:["regular"],fallback:"sans-serif"},Aldrich:{weight:["regular"],fallback:"sans-serif"},Aleo:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Suez One":{weight:["regular"],fallback:"serif"},Caudex:{weight:["regular","italic","700","700italic"],fallback:"serif"},Niconne:{weight:["regular"],fallback:"handwriting"},"Mrs Saint Delafield":{weight:["regular"],fallback:"handwriting"},Gruppo:{weight:["regular"],fallback:"display"},"Miriam Libre":{weight:["regular","700"],fallback:"sans-serif"},"Contrail One":{weight:["regular"],fallback:"display"},"Days One":{weight:["regular"],fallback:"sans-serif"},"Allerta Stencil":{weight:["regular"],fallback:"sans-serif"},"Average Sans":{weight:["regular"],fallback:"sans-serif"},"Coming Soon":{weight:["regular"],fallback:"handwriting"},Pattaya:{weight:["regular"],fallback:"sans-serif"},"Londrina Solid":{weight:["100","300","regular","900"],fallback:"display"},Bungee:{weight:["regular"],fallback:"display"},Coustard:{weight:["regular","900"],fallback:"serif"},"Marcellus SC":{weight:["regular"],fallback:"serif"},"Racing Sans One":{weight:["regular"],fallback:"display"},Bentham:{weight:["regular"],fallback:"serif"},"Bungee Inline":{weight:["regular"],fallback:"display"},Magra:{weight:["regular","700"],fallback:"sans-serif"},Judson:{weight:["regular","italic","700"],fallback:"serif"},Rochester:{weight:["regular"],fallback:"handwriting"},"Grand Hotel":{weight:["regular"],fallback:"handwriting"},Gelasio:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Yesteryear:{weight:["regular"],fallback:"handwriting"},Syncopate:{weight:["regular","700"],fallback:"sans-serif"},Hanuman:{weight:["regular","700"],fallback:"serif"},"Kosugi Maru":{weight:["regular"],fallback:"sans-serif"},Copse:{weight:["regular"],fallback:"serif"},Mada:{weight:["200","300","regular","500","600","700","900"],fallback:"sans-serif"},"Titan One":{weight:["regular"],fallback:"display"},"Noto Serif TC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Kameron:{weight:["regular","700"],fallback:"serif"},Telex:{weight:["regular"],fallback:"sans-serif"},Norican:{weight:["regular"],fallback:"handwriting"},Maitree:{weight:["200","300","regular","500","600","700"],fallback:"serif"},"IM Fell Double Pica":{weight:["regular","italic"],fallback:"serif"},Molengo:{weight:["regular"],fallback:"sans-serif"},Sunflower:{weight:["300","500","700"],fallback:"sans-serif"},"Alegreya SC":{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Red Hat Display":{weight:["regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},Jua:{weight:["regular"],fallback:"sans-serif"},Ovo:{weight:["regular"],fallback:"serif"},"IBM Plex Sans Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Nixie One":{weight:["regular"],fallback:"display"},Aladin:{weight:["regular"],fallback:"handwriting"},Arizonia:{weight:["regular"],fallback:"handwriting"},"Bubblegum Sans":{weight:["regular"],fallback:"display"},"Changa One":{weight:["regular","italic"],fallback:"display"},"Lexend Deca":{weight:["regular"],fallback:"sans-serif"},Sofia:{weight:["regular"],fallback:"handwriting"},"Jockey One":{weight:["regular"],fallback:"sans-serif"},Suranna:{weight:["regular"],fallback:"serif"},Amethysta:{weight:["regular"],fallback:"serif"},Schoolbell:{weight:["regular"],fallback:"handwriting"},"Nanum Brush Script":{weight:["regular"],fallback:"handwriting"},"Cedarville Cursive":{weight:["regular"],fallback:"handwriting"},"Cutive Mono":{weight:["regular"],fallback:"monospace"},Delius:{weight:["regular"],fallback:"handwriting"},"Raleway Dots":{weight:["regular"],fallback:"display"},Graduate:{weight:["regular"],fallback:"display"},Lustria:{weight:["regular"],fallback:"serif"},"Mukta Vaani":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Kadwa:{weight:["regular","700"],fallback:"serif"},"Rozha One":{weight:["regular"],fallback:"serif"},Buenard:{weight:["regular","700"],fallback:"serif"},Cambo:{weight:["regular"],fallback:"serif"},Marvel:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Krona One":{weight:["regular"],fallback:"sans-serif"},"Carrois Gothic":{weight:["regular"],fallback:"sans-serif"},Carme:{weight:["regular"],fallback:"sans-serif"},"Slabo 13px":{weight:["regular"],fallback:"serif"},Lemon:{weight:["regular"],fallback:"display"},"Love Ya Like A Sister":{weight:["regular"],fallback:"display"},Rosario:{weight:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},"Merienda One":{weight:["regular"],fallback:"handwriting"},"Public Sans":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Petit Formal Script":{weight:["regular"],fallback:"handwriting"},"Ceviche One":{weight:["regular"],fallback:"display"},Voltaire:{weight:["regular"],fallback:"sans-serif"},Fresca:{weight:["regular"],fallback:"sans-serif"},"Averia Serif Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Rye:{weight:["regular"],fallback:"display"},"Noto Serif KR":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Chelsea Market":{weight:["regular"],fallback:"display"},Calligraffitti:{weight:["regular"],fallback:"handwriting"},"Freckle Face":{weight:["regular"],fallback:"display"},"Duru Sans":{weight:["regular"],fallback:"sans-serif"},Trocchi:{weight:["regular"],fallback:"serif"},Metrophobic:{weight:["regular"],fallback:"sans-serif"},Mate:{weight:["regular","italic"],fallback:"serif"},Harmattan:{weight:["regular"],fallback:"sans-serif"},"Gilda Display":{weight:["regular"],fallback:"serif"},"Cormorant Infant":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Spartan:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Oxygen Mono":{weight:["regular"],fallback:"monospace"},Chonburi:{weight:["regular"],fallback:"display"},"Goudy Bookletter 1911":{weight:["regular"],fallback:"serif"},Sansita:{weight:["regular","italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Emilys Candy":{weight:["regular"],fallback:"display"},Amiko:{weight:["regular","600","700"],fallback:"sans-serif"},Kristi:{weight:["regular"],fallback:"handwriting"},"Palanquin Dark":{weight:["regular","500","600","700"],fallback:"sans-serif"},Lekton:{weight:["regular","italic","700"],fallback:"sans-serif"},Cutive:{weight:["regular"],fallback:"serif"},"Herr Von Muellerhoff":{weight:["regular"],fallback:"handwriting"},"GFS Didot":{weight:["regular"],fallback:"serif"},Radley:{weight:["regular","italic"],fallback:"serif"},"Sue Ellen Francisco":{weight:["regular"],fallback:"handwriting"},Pompiere:{weight:["regular"],fallback:"display"},Gabriela:{weight:["regular"],fallback:"serif"},Niramit:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Seaweed Script":{weight:["regular"],fallback:"display"},"Sedgwick Ave":{weight:["regular"],fallback:"handwriting"},Federo:{weight:["regular"],fallback:"sans-serif"},McLaren:{weight:["regular"],fallback:"display"},"IM Fell DW Pica":{weight:["regular","italic"],fallback:"serif"},Sniglet:{weight:["regular","800"],fallback:"display"},"Mr De Haviland":{weight:["regular"],fallback:"handwriting"},Shojumaru:{weight:["regular"],fallback:"display"},Poly:{weight:["regular","italic"],fallback:"serif"},Belleza:{weight:["regular"],fallback:"sans-serif"},Faustina:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"IM Fell English":{weight:["regular","italic"],fallback:"serif"},"Rammetto One":{weight:["regular"],fallback:"display"},Amita:{weight:["regular","700"],fallback:"handwriting"},Inder:{weight:["regular"],fallback:"sans-serif"},"Antic Didone":{weight:["regular"],fallback:"serif"},"Alike Angular":{weight:["regular"],fallback:"serif"},Montez:{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"},UnifrakturMaguntia:{weight:["regular"],fallback:"display"},Gurajada:{weight:["regular"],fallback:"serif"},"Proza Libre":{weight:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},Athiti:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Andada:{weight:["regular"],fallback:"serif"},"Liu Jian Mao Cao":{weight:["regular"],fallback:"handwriting"},Megrim:{weight:["regular"],fallback:"display"},"Vast Shadow":{weight:["regular"],fallback:"display"},Wallpoet:{weight:["regular"],fallback:"display"},Unkempt:{weight:["regular","700"],fallback:"display"},"Fanwood Text":{weight:["regular","italic"],fallback:"serif"},"Doppio One":{weight:["regular"],fallback:"sans-serif"},"Comic Neue":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"handwriting"},Corben:{weight:["regular","700"],fallback:"display"},Frijole:{weight:["regular"],fallback:"display"},Balthazar:{weight:["regular"],fallback:"serif"},Mirza:{weight:["regular","500","600","700"],fallback:"display"},"IM Fell French Canon SC":{weight:["regular"],fallback:"serif"},Brawler:{weight:["regular"],fallback:"serif"},"Oleo Script Swash Caps":{weight:["regular","700"],fallback:"display"},Mandali:{weight:["regular"],fallback:"sans-serif"},Convergence:{weight:["regular"],fallback:"sans-serif"},Fondamento:{weight:["regular","italic"],fallback:"handwriting"},Alike:{weight:["regular"],fallback:"serif"},Baumans:{weight:["regular"],fallback:"display"},Esteban:{weight:["regular"],fallback:"serif"},"Gravitas One":{weight:["regular"],fallback:"display"},Anaheim:{weight:["regular"],fallback:"sans-serif"},"Wendy One":{weight:["regular"],fallback:"sans-serif"},"Stardos Stencil":{weight:["regular","700"],fallback:"display"},"Spicy Rice":{weight:["regular"],fallback:"display"},Rakkas:{weight:["regular"],fallback:"display"},"La Belle Aurore":{weight:["regular"],fallback:"handwriting"},"Secular One":{weight:["regular"],fallback:"sans-serif"},Belgrano:{weight:["regular"],fallback:"serif"},"Bungee Shade":{weight:["regular"],fallback:"display"},"Crafty Girls":{weight:["regular"],fallback:"handwriting"},Battambang:{weight:["regular","700"],fallback:"display"},Quando:{weight:["regular"],fallback:"serif"},"Mouse Memoirs":{weight:["regular"],fallback:"sans-serif"},Gugi:{weight:["regular"],fallback:"display"},"Faster One":{weight:["regular"],fallback:"display"},"B612 Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Limelight:{weight:["regular"],fallback:"display"},"Short Stack":{weight:["regular"],fallback:"handwriting"},"Mountains of Christmas":{weight:["regular","700"],fallback:"display"},"Share Tech":{weight:["regular"],fallback:"sans-serif"},Laila:{weight:["300","regular","500","600","700"],fallback:"serif"},Literata:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Cormorant SC":{weight:["300","regular","500","600","700"],fallback:"serif"},"Fjord One":{weight:["regular"],fallback:"serif"},Podkova:{weight:["regular","500","600","700","800"],fallback:"serif"},Homenaje:{weight:["regular"],fallback:"sans-serif"},"Walter Turncoat":{weight:["regular"],fallback:"handwriting"},Sen:{weight:["regular","700","800"],fallback:"sans-serif"},"Patrick Hand SC":{weight:["regular"],fallback:"handwriting"},Voces:{weight:["regular"],fallback:"display"},Qwigley:{weight:["regular"],fallback:"handwriting"},"Happy Monkey":{weight:["regular"],fallback:"display"},"Rouge Script":{weight:["regular"],fallback:"handwriting"},"Baloo Chettan 2":{weight:["regular","500","600","700","800"],fallback:"display"},NTR:{weight:["regular"],fallback:"sans-serif"},Skranji:{weight:["regular","700"],fallback:"display"},Strait:{weight:["regular"],fallback:"sans-serif"},"Dawning of a New Day":{weight:["regular"],fallback:"handwriting"},Iceland:{weight:["regular"],fallback:"display"},"Expletus Sans":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"display"},"Montserrat Subrayada":{weight:["regular","700"],fallback:"sans-serif"},Oregano:{weight:["regular","italic"],fallback:"display"},"Give You Glory":{weight:["regular"],fallback:"handwriting"},Alata:{weight:["regular"],fallback:"sans-serif"},Puritan:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Mako:{weight:["regular"],fallback:"sans-serif"},Andika:{weight:["regular"],fallback:"sans-serif"},"Cormorant Upright":{weight:["300","regular","500","600","700"],fallback:"serif"},Zeyada:{weight:["regular"],fallback:"handwriting"},"Bowlby One":{weight:["regular"],fallback:"display"},"Aref Ruqaa":{weight:["regular","700"],fallback:"serif"},Numans:{weight:["regular"],fallback:"sans-serif"},Kurale:{weight:["regular"],fallback:"serif"},Spirax:{weight:["regular"],fallback:"display"},"Clicker Script":{weight:["regular"],fallback:"handwriting"},"Waiting for the Sunrise":{weight:["regular"],fallback:"handwriting"},"Holtwood One SC":{weight:["regular"],fallback:"serif"},Katibeh:{weight:["regular"],fallback:"display"},"Carrois Gothic SC":{weight:["regular"],fallback:"sans-serif"},Livvic:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},Eater:{weight:["regular"],fallback:"display"},"Fontdiner Swanky":{weight:["regular"],fallback:"display"},"Finger Paint":{weight:["regular"],fallback:"display"},Bellefair:{weight:["regular"],fallback:"serif"},"Wire One":{weight:["regular"],fallback:"sans-serif"},Kosugi:{weight:["regular"],fallback:"sans-serif"},Charm:{weight:["regular","700"],fallback:"handwriting"},"Delius Swash Caps":{weight:["regular"],fallback:"handwriting"},"Vesper Libre":{weight:["regular","500","700","900"],fallback:"serif"},"Red Hat Text":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Gafata:{weight:["regular"],fallback:"sans-serif"},"Averia Sans Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Denk One":{weight:["regular"],fallback:"sans-serif"},Geo:{weight:["regular","italic"],fallback:"sans-serif"},Tauri:{weight:["regular"],fallback:"sans-serif"},"Cherry Swash":{weight:["regular","700"],fallback:"display"},Codystar:{weight:["300","regular"],fallback:"display"},"Cantora One":{weight:["regular"],fallback:"sans-serif"},"Encode Sans Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Nova Square":{weight:["regular"],fallback:"display"},BioRhyme:{weight:["200","300","regular","700","800"],fallback:"serif"},Timmana:{weight:["regular"],fallback:"sans-serif"},Atma:{weight:["300","regular","500","600","700"],fallback:"display"},Tienne:{weight:["regular","700","900"],fallback:"serif"},Meddon:{weight:["regular"],fallback:"handwriting"},Galada:{weight:["regular"],fallback:"display"},Padauk:{weight:["regular","700"],fallback:"sans-serif"},"Loved by the King":{weight:["regular"],fallback:"handwriting"},"The Girl Next Door":{weight:["regular"],fallback:"handwriting"},"Darker Grotesque":{weight:["300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Life Savers":{weight:["regular","700","800"],fallback:"display"},Bilbo:{weight:["regular"],fallback:"handwriting"},Shanti:{weight:["regular"],fallback:"sans-serif"},"Headland One":{weight:["regular"],fallback:"serif"},"Euphoria Script":{weight:["regular"],fallback:"handwriting"},Imprima:{weight:["regular"],fallback:"sans-serif"},"Aguafina Script":{weight:["regular"],fallback:"handwriting"},"Baloo 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Over the Rainbow":{weight:["regular"],fallback:"handwriting"},Sarpanch:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Orienta:{weight:["regular"],fallback:"sans-serif"},"Spectral SC":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Port Lligat Sans":{weight:["regular"],fallback:"sans-serif"},Artifika:{weight:["regular"],fallback:"serif"},Ledger:{weight:["regular"],fallback:"serif"},Ruluko:{weight:["regular"],fallback:"sans-serif"},Sail:{weight:["regular"],fallback:"display"},Alatsi:{weight:["regular"],fallback:"sans-serif"},"Sonsie One":{weight:["regular"],fallback:"display"},"Bilbo Swash Caps":{weight:["regular"],fallback:"handwriting"},Slackey:{weight:["regular"],fallback:"display"},Salsa:{weight:["regular"],fallback:"display"},Rationale:{weight:["regular"],fallback:"sans-serif"},"Hepta Slab":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Nosifer:{weight:["regular"],fallback:"display"},Dekko:{weight:["regular"],fallback:"handwriting"},"Encode Sans Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Lily Script One":{weight:["regular"],fallback:"display"},"Zilla Slab Highlight":{weight:["regular","700"],fallback:"display"},Dokdo:{weight:["regular"],fallback:"handwriting"},"Kotta One":{weight:["regular"],fallback:"serif"},"Macondo Swash Caps":{weight:["regular"],fallback:"display"},"Encode Sans Semi Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Prosto One":{weight:["regular"],fallback:"display"},"Trade Winds":{weight:["regular"],fallback:"display"},Farsan:{weight:["regular"],fallback:"display"},Manuale:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},Creepster:{weight:["regular"],fallback:"display"},"Medula One":{weight:["regular"],fallback:"display"},Ranchers:{weight:["regular"],fallback:"display"},"David Libre":{weight:["regular","500","700"],fallback:"serif"},"Libre Barcode 39":{weight:["regular"],fallback:"display"},"Vampiro One":{weight:["regular"],fallback:"display"},Metamorphous:{weight:["regular"],fallback:"display"},"Bubbler One":{weight:["regular"],fallback:"sans-serif"},"Nova Mono":{weight:["regular"],fallback:"monospace"},"Princess Sofia":{weight:["regular"],fallback:"handwriting"},"Just Me Again Down Here":{weight:["regular"],fallback:"handwriting"},Notable:{weight:["regular"],fallback:"sans-serif"},"Fascinate Inline":{weight:["regular"],fallback:"display"},Vibur:{weight:["regular"],fallback:"handwriting"},"Vollkorn SC":{weight:["regular","600","700","900"],fallback:"serif"},Crushed:{weight:["regular"],fallback:"display"},Sumana:{weight:["regular","700"],fallback:"serif"},Elsie:{weight:["regular","900"],fallback:"display"},Ranga:{weight:["regular","700"],fallback:"display"},"Port Lligat Slab":{weight:["regular"],fallback:"serif"},Amarante:{weight:["regular"],fallback:"display"},"Ruslan Display":{weight:["regular"],fallback:"display"},"Germania One":{weight:["regular"],fallback:"display"},"Sirin Stencil":{weight:["regular"],fallback:"display"},Pavanam:{weight:["regular"],fallback:"sans-serif"},Peralta:{weight:["regular"],fallback:"display"},"Scope One":{weight:["regular"],fallback:"serif"},Jomolhari:{weight:["regular"],fallback:"serif"},Kranky:{weight:["regular"],fallback:"display"},"Yatra One":{weight:["regular"],fallback:"display"},"Jacques Francois Shadow":{weight:["regular"],fallback:"display"},Ribeye:{weight:["regular"],fallback:"display"},"Averia Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Saira Stencil One":{weight:["regular"],fallback:"display"},"Cherry Cream Soda":{weight:["regular"],fallback:"display"},"Mukta Mahee":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Srisakdi:{weight:["regular","700"],fallback:"display"},Trochut:{weight:["regular","italic","700"],fallback:"display"},Coiny:{weight:["regular"],fallback:"display"},"Ma Shan Zheng":{weight:["regular"],fallback:"handwriting"},Asul:{weight:["regular","700"],fallback:"sans-serif"},Ewert:{weight:["regular"],fallback:"display"},Arya:{weight:["regular","700"],fallback:"sans-serif"},"Hanalei Fill":{weight:["regular"],fallback:"display"},Grenze:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Ribeye Marrow":{weight:["regular"],fallback:"display"},"IM Fell English SC":{weight:["regular"],fallback:"serif"},"Chau Philomene One":{weight:["regular","italic"],fallback:"sans-serif"},Sarina:{weight:["regular"],fallback:"display"},Chicle:{weight:["regular"],fallback:"display"},Manjari:{weight:["100","regular","700"],fallback:"sans-serif"},Montaga:{weight:["regular"],fallback:"serif"},Italiana:{weight:["regular"],fallback:"serif"},Akronim:{weight:["regular"],fallback:"display"},Habibi:{weight:["regular"],fallback:"serif"},Englebert:{weight:["regular"],fallback:"sans-serif"},Dynalight:{weight:["regular"],fallback:"display"},"Mate SC":{weight:["regular"],fallback:"serif"},"Henny Penny":{weight:["regular"],fallback:"display"},"Sree Krushnadevaraya":{weight:["regular"],fallback:"serif"},Engagement:{weight:["regular"],fallback:"handwriting"},Girassol:{weight:["regular"],fallback:"display"},"Kite One":{weight:["regular"],fallback:"sans-serif"},"Ibarra Real Nova":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},Gaegu:{weight:["300","regular","700"],fallback:"handwriting"},Fenix:{weight:["regular"],fallback:"serif"},"Pirata One":{weight:["regular"],fallback:"display"},"Tulpen One":{weight:["regular"],fallback:"display"},"IM Fell Great Primer":{weight:["regular","italic"],fallback:"serif"},Chathura:{weight:["100","300","regular","700","800"],fallback:"sans-serif"},Unlock:{weight:["regular"],fallback:"display"},"Nova Round":{weight:["regular"],fallback:"display"},Sura:{weight:["regular","700"],fallback:"serif"},"Kumar One":{weight:["regular"],fallback:"display"},Baskervville:{weight:["regular","italic"],fallback:"serif"},Quintessential:{weight:["regular"],fallback:"handwriting"},Milonga:{weight:["regular"],fallback:"display"},Bayon:{weight:["regular"],fallback:"display"},"Be Vietnam":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},"Crimson Pro":{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"serif"},B612:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"League Script":{weight:["regular"],fallback:"handwriting"},"Inknut Antiqua":{weight:["300","regular","500","600","700","800","900"],fallback:"serif"},Mogra:{weight:["regular"],fallback:"display"},"Mystery Quest":{weight:["regular"],fallback:"display"},"Monsieur La Doulaise":{weight:["regular"],fallback:"handwriting"},Vibes:{weight:["regular"],fallback:"display"},Rosarivo:{weight:["regular","italic"],fallback:"serif"},"Uncial Antiqua":{weight:["regular"],fallback:"display"},Dorsa:{weight:["regular"],fallback:"sans-serif"},Almendra:{weight:["regular","italic","700","700italic"],fallback:"serif"},Diplomata:{weight:["regular"],fallback:"display"},Simonetta:{weight:["regular","italic","900","900italic"],fallback:"display"},"New Rocker":{weight:["regular"],fallback:"display"},Snippet:{weight:["regular"],fallback:"sans-serif"},Petrona:{weight:["regular"],fallback:"serif"},Ramaraja:{weight:["regular"],fallback:"serif"},"Averia Gruesa Libre":{weight:["regular"],fallback:"display"},"Baloo Bhaina 2":{weight:["regular","500","600","700","800"],fallback:"display"},Kodchasan:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Meera Inimai":{weight:["regular"],fallback:"sans-serif"},Flamenco:{weight:["300","regular"],fallback:"display"},Khmer:{weight:["regular"],fallback:"display"},Paprika:{weight:["regular"],fallback:"display"},Koulen:{weight:["regular"],fallback:"display"},Mansalva:{weight:["regular"],fallback:"handwriting"},"Lovers Quarrel":{weight:["regular"],fallback:"handwriting"},Condiment:{weight:["regular"],fallback:"handwriting"},"Baloo Thambi 2":{weight:["regular","500","600","700","800"],fallback:"display"},Stoke:{weight:["300","regular"],fallback:"serif"},Barrio:{weight:["regular"],fallback:"display"},Barriecito:{weight:["regular"],fallback:"display"},"Donegal One":{weight:["regular"],fallback:"serif"},Kavoon:{weight:["regular"],fallback:"display"},"Big Shoulders Display":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Mina:{weight:["regular","700"],fallback:"sans-serif"},"Big Shoulders Text":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Prociono:{weight:["regular"],fallback:"serif"},"Text Me One":{weight:["regular"],fallback:"sans-serif"},"IM Fell French Canon":{weight:["regular","italic"],fallback:"serif"},"Overlock SC":{weight:["regular"],fallback:"display"},Cagliostro:{weight:["regular"],fallback:"sans-serif"},"Marko One":{weight:["regular"],fallback:"serif"},"Swanky and Moo Moo":{weight:["regular"],fallback:"handwriting"},"Maiden Orange":{weight:["regular"],fallback:"display"},Blinker:{weight:["100","200","300","regular","600","700","800","900"],fallback:"sans-serif"},Miniver:{weight:["regular"],fallback:"display"},Angkor:{weight:["regular"],fallback:"display"},Chango:{weight:["regular"],fallback:"display"},Thasadith:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Modak:{weight:["regular"],fallback:"display"},Junge:{weight:["regular"],fallback:"serif"},"Stint Ultra Condensed":{weight:["regular"],fallback:"display"},Stalemate:{weight:["regular"],fallback:"handwriting"},Tillana:{weight:["regular","500","600","700","800"],fallback:"handwriting"},UnifrakturCook:{weight:["700"],fallback:"display"},"Rum Raisin":{weight:["regular"],fallback:"sans-serif"},Farro:{weight:["300","regular","500","700"],fallback:"sans-serif"},"Delius Unicase":{weight:["regular","700"],fallback:"handwriting"},Sancreek:{weight:["regular"],fallback:"display"},Julee:{weight:["regular"],fallback:"handwriting"},Margarine:{weight:["regular"],fallback:"display"},"Lakki Reddy":{weight:["regular"],fallback:"handwriting"},"Stint Ultra Expanded":{weight:["regular"],fallback:"display"},"Bigshot One":{weight:["regular"],fallback:"display"},Griffy:{weight:["regular"],fallback:"display"},Moul:{weight:["regular"],fallback:"display"},"Diplomata SC":{weight:["regular"],fallback:"display"},Oxanium:{weight:["200","300","regular","500","600","700","800"],fallback:"display"},Offside:{weight:["regular"],fallback:"display"},"Fira Code":{weight:["300","regular","500","600","700"],fallback:"monospace"},"Eagle Lake":{weight:["regular"],fallback:"handwriting"},Flavors:{weight:["regular"],fallback:"display"},"Londrina Outline":{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"},Nokora:{weight:["regular","700"],fallback:"serif"},Calistoga:{weight:["regular"],fallback:"display"},Gotu:{weight:["regular"],fallback:"sans-serif"},"Della Respira":{weight:["regular"],fallback:"serif"},"Cormorant Unicase":{weight:["300","regular","500","600","700"],fallback:"serif"},"Libre Caslon Text":{weight:["regular","italic","700"],fallback:"serif"},Buda:{weight:["300"],fallback:"display"},Asar:{weight:["regular"],fallback:"serif"},"Poller One":{weight:["regular"],fallback:"display"},"Autour One":{weight:["regular"],fallback:"display"},"Nova Slim":{weight:["regular"],fallback:"display"},Underdog:{weight:["regular"],fallback:"display"},Redressed:{weight:["regular"],fallback:"handwriting"},"Yeon Sung":{weight:["regular"],fallback:"display"},Content:{weight:["regular","700"],fallback:"display"},Kantumruy:{weight:["300","regular","700"],fallback:"sans-serif"},"Baloo Paaji 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Jim Nightshade":{weight:["regular"],fallback:"handwriting"},"Glass Antiqua":{weight:["regular"],fallback:"display"},"Snowburst One":{weight:["regular"],fallback:"display"},"Gamja Flower":{weight:["regular"],fallback:"handwriting"},Revalia:{weight:["regular"],fallback:"display"},"Metal Mania":{weight:["regular"],fallback:"display"},Charmonman:{weight:["regular","700"],fallback:"handwriting"},"IM Fell DW Pica SC":{weight:["regular"],fallback:"serif"},Inika:{weight:["regular","700"],fallback:"serif"},"Elsie Swash Caps":{weight:["regular","900"],fallback:"display"},Wellfleet:{weight:["regular"],fallback:"display"},"Chela One":{weight:["regular"],fallback:"display"},"Rhodium Libre":{weight:["regular"],fallback:"serif"},"Mrs Sheppards":{weight:["regular"],fallback:"handwriting"},"Sedgwick Ave Display":{weight:["regular"],fallback:"handwriting"},"Modern Antiqua":{weight:["regular"],fallback:"display"},"Ravi Prakash":{weight:["regular"],fallback:"display"},Galdeano:{weight:["regular"],fallback:"sans-serif"},Oldenburg:{weight:["regular"],fallback:"display"},Arbutus:{weight:["regular"],fallback:"display"},"Poor Story":{weight:["regular"],fallback:"display"},"Hi Melody":{weight:["regular"],fallback:"handwriting"},"Joti One":{weight:["regular"],fallback:"display"},"Nova Flat":{weight:["regular"],fallback:"display"},"ZCOOL QingKe HuangYou":{weight:["regular"],fallback:"display"},"Linden Hill":{weight:["regular","italic"],fallback:"serif"},Bokor:{weight:["regular"],fallback:"display"},"Courier Prime":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Trykker:{weight:["regular"],fallback:"serif"},KoHo:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Song Myung":{weight:["regular"],fallback:"serif"},Ruthie:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended Text":{weight:["regular"],fallback:"display"},Chilanka:{weight:["regular"],fallback:"handwriting"},Fahkwang:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Felipa:{weight:["regular"],fallback:"handwriting"},Monofett:{weight:["regular"],fallback:"display"},"Odibee Sans":{weight:["regular"],fallback:"display"},Smythe:{weight:["regular"],fallback:"display"},"Major Mono Display":{weight:["regular"],fallback:"monospace"},Jomhuria:{weight:["regular"],fallback:"display"},"Croissant One":{weight:["regular"],fallback:"display"},Dangrek:{weight:["regular"],fallback:"display"},"Original Surfer":{weight:["regular"],fallback:"display"},Bahiana:{weight:["regular"],fallback:"display"},Gorditas:{weight:["regular","700"],fallback:"display"},"Odor Mean Chey":{weight:["regular"],fallback:"display"},Iceberg:{weight:["regular"],fallback:"display"},MedievalSharp:{weight:["regular"],fallback:"display"},"Caesar Dressing":{weight:["regular"],fallback:"display"},Sahitya:{weight:["regular","700"],fallback:"serif"},Stylish:{weight:["regular"],fallback:"sans-serif"},"Nova Cut":{weight:["regular"],fallback:"display"},"Purple Purse":{weight:["regular"],fallback:"display"},Devonshire:{weight:["regular"],fallback:"handwriting"},Smokum:{weight:["regular"],fallback:"display"},"Almendra Display":{weight:["regular"],fallback:"display"},Galindo:{weight:["regular"],fallback:"display"},Preahvihear:{weight:["regular"],fallback:"display"},Siemreap:{weight:["regular"],fallback:"display"},"Irish Grover":{weight:["regular"],fallback:"display"},Gupter:{weight:["regular","500","700"],fallback:"serif"},"Meie Script":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128":{weight:["regular"],fallback:"display"},"Keania One":{weight:["regular"],fallback:"display"},"GFS Neohellenic":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Cute Font":{weight:["regular"],fallback:"display"},"Londrina Shadow":{weight:["regular"],fallback:"display"},"East Sea Dokdo":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended":{weight:["regular"],fallback:"display"},Risque:{weight:["regular"],fallback:"display"},Lancelot:{weight:["regular"],fallback:"display"},"Libre Caslon Display":{weight:["regular"],fallback:"serif"},Plaster:{weight:["regular"],fallback:"display"},"Goblin One":{weight:["regular"],fallback:"display"},Asset:{weight:["regular"],fallback:"display"},"Almendra SC":{weight:["regular"],fallback:"serif"},"Jacques Francois":{weight:["regular"],fallback:"serif"},"Jolly Lodger":{weight:["regular"],fallback:"display"},"Lexend Exa":{weight:["regular"],fallback:"sans-serif"},Molle:{weight:["italic"],fallback:"handwriting"},Kavivanar:{weight:["regular"],fallback:"handwriting"},"Kirang Haerang":{weight:["regular"],fallback:"display"},Piedra:{weight:["regular"],fallback:"display"},"Atomic Age":{weight:["regular"],fallback:"display"},"Kulim Park":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Libre Barcode 39 Text":{weight:["regular"],fallback:"display"},"IM Fell Great Primer SC":{weight:["regular"],fallback:"serif"},"Tenali Ramakrishna":{weight:["regular"],fallback:"sans-serif"},Butcherman:{weight:["regular"],fallback:"display"},"Dr Sugiyama":{weight:["regular"],fallback:"handwriting"},"Geostar Fill":{weight:["regular"],fallback:"display"},Romanesco:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128 Text":{weight:["regular"],fallback:"display"},Sunshiney:{weight:["regular"],fallback:"handwriting"},"Kumar One Outline":{weight:["regular"],fallback:"display"},Peddana:{weight:["regular"],fallback:"serif"},"Baloo Bhai 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Kdam Thmor":{weight:["regular"],fallback:"display"},"Ruge Boogie":{weight:["regular"],fallback:"handwriting"},Freehand:{weight:["regular"],fallback:"display"},Bonbon:{weight:["regular"],fallback:"handwriting"},Caladea:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Single Day":{weight:["regular"],fallback:"display"},"Baloo Tamma 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Inria Sans":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Hanalei:{weight:["regular"],fallback:"display"},"Emblema One":{weight:["regular"],fallback:"display"},"Seymour One":{weight:["regular"],fallback:"sans-serif"},"Miss Fajardose":{weight:["regular"],fallback:"handwriting"},Sevillana:{weight:["regular"],fallback:"display"},"Inria Serif":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Bungee Outline":{weight:["regular"],fallback:"display"},Metal:{weight:["regular"],fallback:"display"},"IM Fell Double Pica SC":{weight:["regular"],fallback:"serif"},"Lexend Giga":{weight:["regular"],fallback:"sans-serif"},"ZCOOL KuaiLe":{weight:["regular"],fallback:"display"},Astloch:{weight:["regular","700"],fallback:"display"},"Mr Bedfort":{weight:["regular"],fallback:"handwriting"},Macondo:{weight:["regular"],fallback:"display"},"Butterfly Kids":{weight:["regular"],fallback:"handwriting"},"Supermercado One":{weight:["regular"],fallback:"display"},Fruktur:{weight:["regular"],fallback:"display"},Taprom:{weight:["regular"],fallback:"display"},Lacquer:{weight:["regular"],fallback:"display"},"Black And White Picture":{weight:["regular"],fallback:"sans-serif"},"Bigelow Rules":{weight:["regular"],fallback:"display"},"Beth Ellen":{weight:["regular"],fallback:"handwriting"},"Sofadi One":{weight:["regular"],fallback:"display"},Combo:{weight:["regular"],fallback:"display"},Bellota:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Federant:{weight:["regular"],fallback:"display"},"Miltonian Tattoo":{weight:["regular"],fallback:"display"},"Londrina Sketch":{weight:["regular"],fallback:"display"},Suwannaphum:{weight:["regular"],fallback:"display"},"Bungee Hairline":{weight:["regular"],fallback:"display"},Fascinate:{weight:["regular"],fallback:"display"},"Erica One":{weight:["regular"],fallback:"display"},"Nova Oval":{weight:["regular"],fallback:"display"},"Baloo Da 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Sulphur Point":{weight:["300","regular","700"],fallback:"sans-serif"},Aubrey:{weight:["regular"],fallback:"display"},Gidugu:{weight:["regular"],fallback:"sans-serif"},"Bellota Text":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Nova Script":{weight:["regular"],fallback:"display"},Miltonian:{weight:["regular"],fallback:"display"},Gayathri:{weight:["100","regular","700"],fallback:"sans-serif"},Geostar:{weight:["regular"],fallback:"display"},Moulpali:{weight:["regular"],fallback:"display"},"Passero One":{weight:["regular"],fallback:"display"},"Stalinist One":{weight:["regular"],fallback:"display"},"Long Cang":{weight:["regular"],fallback:"handwriting"},Solway:{weight:["300","regular","500","700","800"],fallback:"serif"},"Zhi Mang Xing":{weight:["regular"],fallback:"handwriting"},"Baloo Tammudu 2":{weight:["regular","500","600","700","800"],fallback:"display"},Chenla:{weight:["regular"],fallback:"display"},Suravaram:{weight:["regular"],fallback:"serif"},Fasthand:{weight:["regular"],fallback:"serif"},Kenia:{weight:["regular"],fallback:"display"},Dhurjati:{weight:["regular"],fallback:"sans-serif"},"Lexend Tera":{weight:["regular"],fallback:"sans-serif"},"BioRhyme Expanded":{weight:["200","300","regular","700","800"],fallback:"serif"},"Turret Road":{weight:["200","300","regular","500","700","800"],fallback:"display"},Warnes:{weight:["regular"],fallback:"display"},"Viaoda Libre":{weight:["regular"],fallback:"display"},"Lexend Mega":{weight:["regular"],fallback:"sans-serif"},Bahianita:{weight:["regular"],fallback:"display"},Manrope:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Lexend Zetta":{weight:["regular"],fallback:"sans-serif"},"Lexend Peta":{weight:["regular"],fallback:"sans-serif"}};class G extends l.Component{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(I).slice(0,20).forEach(e=>{h.push({value:e,label:e})}),h.push({value:"other",label:Object(g.__)("Other","generateblocks")});let m=[{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 f=[{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!==I[t.fontFamily]&&void 0!==I[t.fontFamily].weight&&(m=[{value:"",label:Object(g.__)("Default","generateblocks")},{value:"normal",label:Object(g.__)("Normal","generateblocks")},{value:"bold",label:Object(g.__)("Bold","generateblocks")}],I[t.fontFamily].weight.filter((function(e){const t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e)})).forEach(e=>{m.push({value:e,label:e})}));const k=a=>{"other"===a&&(a="");let l=t.fontWeight;e({fontFamily:a}),t.fontWeight&&Object.values(m).indexOf(t.fontWeight)<0&&(l=""),void 0!==I[a]?e({googleFont:!0,fontFamilyFallback:I[a].fallback,googleFontVariants:I[a].weight.join(", ")}):e({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})},y=t=>{e({fontFamily:t.target.value}),k(t.target.value)},w=(e,a)=>t[e+a],O=(e,t)=>e+t;let v=t.showAdvancedTypography;d&&(v=!0);let j=p;"Tablet"===a&&t.fontSize&&(j=t.fontSize),"Mobile"===a&&(t.fontSizeTablet?j=t.fontSizeTablet:t.fontSize&&(j=t.fontSize));let T="";return"Tablet"===a&&t.lineHeight&&(T=t.lineHeight),"Mobile"===a&&(t.lineHeightTablet?T=t.lineHeightTablet:t.lineHeight&&(T=t.lineHeight)),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:m,onChange:t=>{e({fontWeight:t})},className:"components-base-control"}),o&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Transform","generateblocks"),value:t.textTransform,options:f,onChange:t=>{e({textTransform:t})},className:"components-base-control"})),!d&&Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Show Advanced Typography","generateblocks"),checked:!!t.showAdvancedTypography,onChange:t=>{e({showAdvancedTypography:t})}}),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:y,onBlur:y},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!==I[t.fontFamily]&&e({fontFamilyFallback:I[t.fontFamily].fallback,googleFontVariants:I[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:w("fontSize",a)||"",placeholder:j,onChange:t=>{const l=O("fontSize",a);e({[l]:parseFloat(t)})},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:w("lineHeight",a)||0===w("lineHeight",a)?w("lineHeight",a):"",placeholder:T,onChange:t=>{const l=O("lineHeight",a);e({[l]:t})},onBlur:()=>{const t=O("lineHeight",a);e({[t]:parseFloat(w("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:w("letterSpacing",a)||"",placeholder:"0.01",onChange:t=>{const l=O("letterSpacing",a);e({[l]:t})},onBlur:()=>{const t=O("letterSpacing",a);e({[t]:parseFloat(w("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 V=G;class q 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}=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:e=>{t({[this.props.attrGradient]:e})}}),!!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})}}),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]:1,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)(P,{value:e[r],alpha:!0,valueOpacity:e[n],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)(P,{value:e[c],alpha:!0,valueOpacity:e[s],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 W=q,Z=a(12),K=a.n(Z);function J(e){return K.a.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function Y(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 Q(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 m="";if(n){let e="",t="";const a=U(c,s),l=U(g,b);c&&""!==p&&(e=" "+p+"%"),g&&""!==u&&(t=" "+u+"%"),m="linear-gradient("+h+"deg, "+a+e+", "+l+t+")"}if("gradient"===e)return m;let f=!1;const k=U(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?f=m+", url("+e+")":k&&(f="linear-gradient(0deg, "+k+", "+k+"), url("+e+")"):f="url("+e+")"}return f}class X 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,outerContainer:n,innerContainer:o,containerWidth:c,minHeight:s,minHeightUnit:g,paddingTop:b,paddingRight:p,paddingBottom:u,paddingLeft:f,paddingUnit:k,marginTop:y,marginRight:w,marginBottom:O,marginLeft:v,marginUnit:j,borderSizeTop:T,borderSizeRight:C,borderSizeBottom:_,borderSizeLeft:B,borderRadiusTopRight:S,borderRadiusBottomRight:E,borderRadiusBottomLeft:D,borderRadiusTopLeft:x,borderRadiusUnit:M,borderColor:z,borderColorOpacity:R,backgroundColor:L,backgroundColorOpacity:F,gradient:A,gradientSelector:P,textColor:N,linkColor:H,linkColorHover:I,bgImage:G,bgOptions:V,verticalAlignment:q,zindex:W,innerZindex:Z,alignment:K,fontFamily:J,fontFamilyFallback:X,fontWeight:$,fontSize:ee,fontSizeUnit:te,textTransform:ae,shapeDividers:le}=e;let ie=c;ie||(ie=generateBlocksDefaults.container.containerWidth);let re="";J&&X&&(re=", "+X);const ne=!!G,oe=Q("image",this.props),ce=Q("gradient",this.props);let se=Z,ge=[];return ge[".gb-container-"+a]=[{"background-color":U(L,F),color:N,"border-radius":Y(x,S,E,D,M),margin:Y(y,w,O,v,j),"z-index":W,"text-align":K,"font-family":J+re,"font-weight":$,"text-transform":ae,"font-size":m(ee,te),"min-height":m(s,g),"border-color":U(z,R)}],ne&&"element"===V.selector&&oe?ge[".gb-container-"+a].push({"background-image":oe,"background-size":V.size,"background-position":V.position,"background-repeat":V.repeat,"background-attachment":V.attachment}):A&&"element"===P&&ge[".gb-container-"+a].push({"background-image":ce}),(ne&&"pseudo-element"===V.selector||W||A&&"pseudo-element"===P)&&ge[".gb-container-"+a].push({position:"relative"}),(ne&&"pseudo-element"===V.selector||A&&"pseudo-element"===P)&&(ge[".gb-container-"+a].push({overflow:"hidden"}),ge[".gb-container-"+a+" .block-list-appender"]=[{"z-index":10}],se||(se=1)),ge[".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:N}],(T||C||_||B)&&ge[".gb-container-"+a].push({"border-width":Y(T,C,_,B,"px"),"border-style":"solid"}),s&&!i&&ge[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":q}),i&&(ge[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":q}),ge[".block-editor-block-list__layout > #block-"+t]=[{height:"100%"}]),ne&&"pseudo-element"===V.selector&&(ge[".gb-container-"+a+":before"]=[{content:'""',"background-image":oe,"background-repeat":V.repeat,"background-position":V.position,"background-size":V.size,"background-attachment":V.attachment,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0","border-radius":Y(x,S,E,D,M)}],void 0!==V.opacity&&1!==V.opacity&&ge[".gb-container-"+a+":before"].push({opacity:V.opacity})),A&&"pseudo-element"===P&&(ge[".gb-container-"+a+":after"]=[{content:'""',"background-image":ce,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0"}]),ge[".gb-container-"+a+" a, .gb-container-"+a+" a:visited"]=[{color:H}],ge[".gb-container-"+a+" a:hover"]=[{color:I}],ge[".gb-container-"+a+" > .gb-inside-container"]=[{padding:Y(b,p,u,f,k),width:!(!s||i)&&"100%"}],(se||0===se)&&ge[".gb-container-"+a+" > .gb-inside-container"].push({"z-index":se,position:"relative"}),"contained"!==o||i||ge[".gb-container-"+a+" > .gb-inside-container"].push({"max-width":m(ie,"px"),"margin-left":"auto","margin-right":"auto"}),ge[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:m(r,"%"),display:"flex","flex-direction":"column","margin-left":"0px","margin-right":"0px"}],ge[".block-editor-block-list__layout > #block-"+t]=[{"max-width":"contained"===n&&!i&&m(ie,"px")}],ge[".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%"}],ge["#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"}],le.length&&(ge[".gb-container-"+a].push({position:"relative"}),ge[".gb-container-"+a+" .block-list-appender"]=[{position:"relative","z-index":100}],le.forEach((e,t)=>{const l=[],i=t+1;"top"===le[t].location&&l.push("scaleY(-1)"),le[t].flipHorizontally&&(l.push("scaleX(-1)"),ge[".gblocks-shape-container > .gblocks-shape-toggle-preview-"+i+" .gblocks-shape-divider-preview"]=[{transform:"scaleX(-1)"}]),ge[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i]=[{color:U(le[t].color,le[t].colorOpacity),"z-index":le[t].zindex}],"top"!==le[t].location&&"bottom"!==le[t].location||ge[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({left:"0",right:"0"}),"bottom"===le[t].location&&ge[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({bottom:"-1px"}),"top"===le[t].location&&ge[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({top:"-1px"}),l.length&&ge[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({transform:l.join(" ")});let r=le[t].width+"%";100===le[t].width&&(r="calc("+r+" + 1.3px)"),ge[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"]=[{height:m(le[t].height,"px"),width:r}],"top"!==le[t].location&&"bottom"!==le[t].location||ge[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"].push({position:"relative",left:"50%",transform:"translateX(-50%)","min-width":"100%"})})),ge=Object(d.applyFilters)("generateblocks.editor.mainCSS",ge,this.props,"container"),Object(l.createElement)("style",null,h(ge))}}class $ 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 ee 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,minHeightTablet:n,minHeightUnitTablet:o,paddingTopTablet:c,paddingRightTablet:s,paddingBottomTablet:g,paddingLeftTablet:b,paddingUnit:p,marginTopTablet:u,marginRightTablet:f,marginBottomTablet:k,marginLeftTablet:y,marginUnit:w,borderSizeTopTablet:O,borderSizeRightTablet:v,borderSizeBottomTablet:j,borderSizeLeftTablet:T,borderRadiusTopRightTablet:C,borderRadiusBottomRightTablet:_,borderRadiusBottomLeftTablet:B,borderRadiusTopLeftTablet:S,borderRadiusUnit:E,verticalAlignmentTablet:D,alignmentTablet:x,fontSizeTablet:M,fontSizeUnit:z,shapeDividers:R}=e;let L=[];return L[".gb-container-"+a]=[{"border-top-left-radius":m(S,E),"border-top-right-radius":m(C,E),"border-bottom-right-radius":m(_,E),"border-bottom-left-radius":m(B,E),"margin-top":m(u,w),"margin-right":m(f,w),"margin-bottom":m(k,w),"margin-left":m(y,w),"text-align":x,"font-size":m(M,z),"min-height":m(n,o)}],(O||v||j||T)&&L[".gb-container-"+a].push({"border-top-width":m(O,"px"),"border-right-width":m(v,"px"),"border-bottom-width":m(j,"px"),"border-left-width":m(T,"px"),"border-style":"solid"}),n&&!i&&L[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":"inherit"!==D?D:null}),i&&"inherit"!==D&&L[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":D}),L[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":m(c,p),"padding-right":m(s,p),"padding-bottom":m(g,p),"padding-left":m(b,p),width:!(!n||i)&&"100%"}],L[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:m(r,"%")}],R.length&&R.forEach((e,t)=>{L[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:m(R[t].heightTablet,"px"),width:m(R[t].widthTablet,"%")}]}),L=Object(d.applyFilters)("generateblocks.editor.tabletCSS",L,this.props,"container"),Object(l.createElement)("style",null,h(L))}}class te 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 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,widthMobile:r,minHeightMobile:n,minHeightUnitMobile:o,paddingTopMobile:c,paddingRightMobile:s,paddingBottomMobile:g,paddingLeftMobile:b,paddingUnit:p,marginTopMobile:u,marginRightMobile:f,marginBottomMobile:k,marginLeftMobile:y,marginUnit:w,borderSizeTopMobile:O,borderSizeRightMobile:v,borderSizeBottomMobile:j,borderSizeLeftMobile:T,borderRadiusTopRightMobile:C,borderRadiusBottomRightMobile:_,borderRadiusBottomLeftMobile:B,borderRadiusTopLeftMobile:S,borderRadiusUnit:E,verticalAlignmentMobile:D,removeVerticalGapMobile:x,alignmentMobile:M,fontSizeMobile:z,fontSizeUnit:R,orderMobile:L,shapeDividers:F,bgImage:A,bgOptions:U}=e;let P=[];return P[".gb-container-"+a]=[{"border-top-left-radius":m(S,E),"border-top-right-radius":m(C,E),"border-bottom-right-radius":m(_,E),"border-bottom-left-radius":m(B,E),"margin-top":m(u,w),"margin-right":m(f,w),"margin-bottom":m(k,w),"margin-left":m(y,w),"text-align":M,"font-size":m(z,R),"min-height":m(n,o)}],(O||v||j||T)&&P[".gb-container-"+a].push({"border-top-width":m(O,"px"),"border-right-width":m(v,"px"),"border-bottom-width":m(j,"px"),"border-left-width":m(T,"px"),"border-style":"solid"}),"inherit"!==D&&n&&!i&&P[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":D}),i&&"inherit"!==D&&P[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":D}),P[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":m(c,p),"padding-right":m(s,p),"padding-bottom":m(g,p),"padding-left":m(b,p),width:!(!n||i)&&"100%"}],P[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:m(r,"%"),order:L}],x&&(P[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),F.length&&F.forEach((e,t)=>{P[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:m(F[t].heightMobile,"px"),width:m(F[t].widthMobile,"%")}]}),A&&"fixed"===U.attachment&&("element"===U.selector&&P[".gb-container-"+a].push({"background-attachment":"initial"}),"pseudo-element"===U.selector&&(P[".gb-container-"+a+":before"]=[{"background-attachment":"initial"}])),P=Object(d.applyFilters)("generateblocks.editor.mobileCSS",P,this.props,"container"),Object(l.createElement)("style",null,h(P))}}const le=/[\s#]/g,ie=[];class re 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=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?ie.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),ie.push(e)):ie.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),ie.push(e));const a=document.getElementById("block-"+this.props.clientId);a&&"full"===this.props.attributes.align&&a.setAttribute("data-align","full"),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}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:m,isGrid:f,width:k,widthTablet:y,widthMobile:w,outerContainer:O,innerContainer:v,containerWidth:C,minHeight:_,minHeightUnit:B,minHeightTablet:S,minHeightUnitTablet:E,minHeightMobile:D,minHeightUnitMobile:x,borderColor:M,borderColorOpacity:z,backgroundColor:R,backgroundColorOpacity:L,textColor:F,linkColor:U,linkColorHover:N,bgImage:I,bgOptions:G,bgImageSize:q,verticalAlignment:Z,verticalAlignmentTablet:K,verticalAlignmentMobile:Y,zindex:Q,innerZindex:ie,removeVerticalGap:re,removeVerticalGapTablet:ne,removeVerticalGapMobile:oe,orderTablet:ce,orderMobile:se,alignment:ge,alignmentTablet:be,alignmentMobile:de,fontFamily:pe,googleFont:ue,googleFontVariants:he,fullWidthContent:me,align:fe,shapeDividers:ke}=e;void 0===e.bgOptions.selector&&(e.bgOptions.selector="element"),void 0===e.bgOptions.opacity&&(e.bgOptions.opacity=1);const ye=[{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"aside",value:"aside"}],we=document.getElementById("_generate-full-width-content"),Oe=new Event("change"),ve=wp.data.select("core/block-editor").getBlockHierarchyRootClientId(i)===i;let je="";he&&(je=":"+he);let Te=!1,Ce=!1,_e=!1,Be="";"function"==typeof wp.data.select("core/block-editor").getBlockParents&&(Te=wp.data.select("core/block-editor").getBlockParents(i,!0)[0],Te&&(Ce=wp.data.select("core/block-editor").getBlocksByClientId(Te),Ce&&"generateblocks/grid"===Ce[0].name&&(_e=!0,Be=Ce[0].attributes.uniqueId)));const Se=[];Object.keys(generateBlocksInfo.svgShapes).forEach(e=>{const t=generateBlocksInfo.svgShapes[e].svgs;Object.keys(t).forEach(e=>{Se[e]={label:t[e].label,icon:t[e].icon}})});const Ee=[];Object.keys(generateBlocksInfo.imageSizes).forEach(e=>{Ee.push({label:generateBlocksInfo.imageSizes[e],value:generateBlocksInfo.imageSizes[e]})});let De={className:o()({"gb-container":!0,["gb-container-"+n]:!0,[""+c]:void 0!==c}),id:h||null};return De=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",De,"generateblocks/container",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(T.BlockControls,null,"Desktop"===this.getDeviceType()&&Object(l.createElement)(T.AlignmentToolbar,{value:ge,onChange:e=>{t({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(T.AlignmentToolbar,{value:be,onChange:e=>{t({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(T.AlignmentToolbar,{value:de,onChange:e=>{t({alignmentMobile:e})}})),Object(l.createElement)(T.InspectorControls,null,Object(l.createElement)(p,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:e=>{this.setDeviceType(e)}})),!f&&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,_e&&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:!!f,onChange:e=>{t({isGrid:e,gridId:Be})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Container","generateblocks"),value:O,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"===fe&&t({align:""})}}),"full"===O&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Inner Container","generateblocks"),value:v,options:[{label:Object(g.__)("Full width","generateblocks"),value:"full"},{label:Object(g.__)("Contained width","generateblocks"),value:"contained"}],onChange:e=>{t({innerContainer:e})}}),("contained"===O||"contained"===v)&&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(C)||"",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:m,options:Object(d.applyFilters)("generateblocks.editor.containerTagNames",ye,this.props,this.state),onChange:e=>{t({tagName:e})}}),Object(d.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state),Object(l.createElement)(l.Fragment,null,generateBlocksInfo.isGeneratePress&&ve&&we&&Object(l.createElement)(b.BaseControl,{id:"gblocks-gp-full-width-page",label:Object(g.__)("If you want to build a full width page, use the option below to remove the page width, margin and padding.","generateblocks"),className:"gblocks-gpress-full-width"},Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Make page full-width","generateblocks"),checked:!!me,onChange:e=>{e?("select"===we.tagName.toLowerCase()?(we.value="true",we.dispatchEvent(Oe)):(we.checked=!0,we.setAttribute("value","true"),we.dispatchEvent(Oe)),t({fullWidthContent:"true",align:""})):("select"===we.tagName.toLowerCase()?(we.value="",we.dispatchEvent(Oe)):(we.checked=!1,we.setAttribute("value",""),document.querySelector('input[name="_generate-full-width-content"]#default-content').checked=!0,we.dispatchEvent(Oe)),t({fullWidthContent:""}))}})))),Object(d.applyFilters)("generateblocks.editor.controls","","containerLayout",this.props,this.state)),f&&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}),!_e&&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:!!f,onChange:e=>{t({isGrid:e,gridId:""})}}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:25===k,onClick:()=>t({width:25})},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===k,onClick:()=>t({width:33.33})},"33"),Object(l.createElement)(b.Button,{isPrimary:50===k,onClick:()=>t({width:50})},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===k,onClick:()=>t({width:66.66})},"66"),Object(l.createElement)(b.Button,{isPrimary:75===k,onClick:()=>t({width:75})},"75"),Object(l.createElement)(b.Button,{isPrimary:100===k,onClick:()=>t({width:100})},"100")),Object(l.createElement)(b.RangeControl,{className:"gblocks-column-width-control",value:k||"",onChange:e=>{t({width:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.width}),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:Z,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:!!re,onChange:e=>{t({removeVerticalGap:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Tag Name","generateblocks"),value:m,options:Object(d.applyFilters)("generateblocks.editor.containerTagNames",ye,this.props,this.state),onChange:e=>{t({tagName:e})}}),Object(d.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:25===y,onClick:()=>t({widthTablet:25})},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===y,onClick:()=>t({widthTablet:33.33})},"33"),Object(l.createElement)(b.Button,{isPrimary:50===y,onClick:()=>t({widthTablet:50})},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===y,onClick:()=>t({widthTablet:66.66})},"66"),Object(l.createElement)(b.Button,{isPrimary:75===y,onClick:()=>t({widthTablet:75})},"75"),Object(l.createElement)(b.Button,{isPrimary:100===y,onClick:()=>t({widthTablet:100})},"100")),Object(l.createElement)(b.RangeControl,{className:"gblocks-column-width-control",value:y||"",onChange:e=>{t({widthTablet:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthTablet}),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:K,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:!!ne,onChange:e=>{t({removeVerticalGapTablet:e})}}),Object(l.createElement)(b.TextControl,{type:"number",label:Object(g.__)("Order","generateblocks"),value:ce||0===ce?ce:"",onChange:e=>{t({orderTablet:parseFloat(e)})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(u,{label:Object(g.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:()=>!1}),Object(l.createElement)(b.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(b.Button,{isPrimary:25===w,onClick:()=>t({widthMobile:25})},"25"),Object(l.createElement)(b.Button,{isPrimary:33.33===w,onClick:()=>t({widthMobile:33.33})},"33"),Object(l.createElement)(b.Button,{isPrimary:50===w,onClick:()=>t({widthMobile:50})},"50"),Object(l.createElement)(b.Button,{isPrimary:66.66===w,onClick:()=>t({widthMobile:66.66})},"66"),Object(l.createElement)(b.Button,{isPrimary:75===w,onClick:()=>t({widthMobile:75})},"75"),Object(l.createElement)(b.Button,{isPrimary:100===w,onClick:()=>t({widthMobile:100})},"100")),Object(l.createElement)(b.RangeControl,{className:"gblocks-column-width-control",value:w||"",onChange:e=>{t({widthMobile:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthMobile}),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:Y,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:!!oe,onChange:e=>{t({removeVerticalGapMobile:e})}}),Object(l.createElement)(b.TextControl,{type:"number",label:Object(g.__)("Order","generateblocks"),value:se||0===se?se:"",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)(V,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)(V,r()({},this.props,{device:"Tablet",showFontSize:!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)(V,r()({},this.props,{device:"Mobile",showFontSize:!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:B,units:["px","vh","vw"],onClick:e=>{t({minHeightUnit:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:_||"",onChange:e=>{t({minHeight:parseFloat(e)})}}),!!_&&!f&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:Z,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)(H,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)(H,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)(H,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)(H,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:Q||0===Q?Q:"",onChange:e=>{t({zindex:e})},onBlur:()=>{t({zindex:parseFloat(Q)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Inner z-index","generateblocks"),type:"number",value:ie||0===ie?ie:"",onChange:e=>{t({innerZindex:e})},onBlur:()=>{t({innerZindex:parseFloat(ie)})},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:E,units:["px","vh","vw"],onClick:e=>{t({minHeightUnitTablet:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:S||"",onChange:e=>{t({minHeightTablet:parseFloat(e)})}}),(!!_||!!S)&&!f&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:K,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)(H,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)(H,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)(H,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)(H,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:x,units:["px","vh","vw"],onClick:e=>{t({minHeightUnitMobile:e})}}),Object(l.createElement)(b.TextControl,{type:"number",value:D||"",onChange:e=>{t({minHeightMobile:parseFloat(e)})}}),(!!_||!!S||!!D)&&!f&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Vertical Alignment","generateblocks"),value:Y,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)(H,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)(H,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)(H,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)(H,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)(P,{label:Object(g.__)("Background Color","generateblocks"),value:R,alpha:!0,valueOpacity:L,attrOpacity:"backgroundColorOpacity",onChange:e=>t({backgroundColor:e}),onOpacityChange:e=>t({backgroundColorOpacity:e})}),Object(l.createElement)(P,{label:Object(g.__)("Text Color","generateblocks"),value:F,alpha:!1,onChange:e=>t({textColor:e})}),Object(l.createElement)(P,{label:Object(g.__)("Link Color","generateblocks"),value:U,alpha:!1,onChange:e=>t({linkColor:e})}),Object(l.createElement)(P,{label:Object(g.__)("Link Color Hover","generateblocks"),value:N,alpha:!1,onChange:e=>t({linkColorHover:e})}),Object(l.createElement)(P,{label:Object(g.__)("Border Color","generateblocks"),value:M,alpha:!0,valueOpacity:z,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:I?I.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)(T.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:I?I.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)))),!!I&&Object(l.createElement)(l.Fragment,null,G.overlay?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Background Color Overlay","generateblocks"),checked:!!G.overlay,onChange:e=>{t({bgOptions:{...G,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!==I.id&&I.id&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Image Size","generateblocks"),value:q,options:Ee,onChange:e=>{t({bgImageSize:e})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Selector","generateblocks"),value:G.selector,options:[{label:Object(g.__)("Element","generateblocks"),value:"element"},{label:Object(g.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:e=>{t({bgOptions:{...G,selector:e}})}}),Object(l.createElement)(b.RangeControl,{label:Object(g.__)("Image Opacity","generateblocks"),value:G.opacity,onChange:e=>{t({bgOptions:{...G,opacity:e,selector:"pseudo-element"}})},min:0,max:1,step:.1,initialPosition:generateBlocksDefaults.container.bgOptions.opacity}),1!==G.opacity&&"pseudo-element"!==G.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:G.size,onChange:e=>{t({bgOptions:{...G,size:e}})}}),Object(l.createElement)(b.TextControl,{label:Object(g.__)("Position","generateblocks"),value:G.position,onChange:e=>{t({bgOptions:{...G,position:e}})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Repeat","generateblocks"),value:G.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:{...G,repeat:e}})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Attachment","generateblocks"),value:G.attachment,options:[{label:"scroll",value:""},{label:"fixed",value:"fixed"},{label:"local",value:"local"}],onChange:e=>{t({bgOptions:{...G,attachment:e}})}})),Object(l.createElement)(W,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"},ke.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:R}},void 0!==Se[ke[a].shape]&&Object(l.createElement)("div",{className:"gblocks-shape-divider-preview",style:{color:ke[a].color},dangerouslySetInnerHTML:{__html:J(Se[ke[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(ke[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":ke[a].shape===e}),onClick:()=>{const l=[...ke];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:J(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)(P,{label:Object(g.__)("Color","generateblocks"),value:ke[a].color,alpha:!0,valueOpacity:ke[a].colorOpacity,onChange:e=>{const l=[...ke];l[a]={...l[a],color:e},t({shapeDividers:l})},onOpacityChange:e=>{const l=[...ke];l[a]={...l[a],colorOpacity:e},t({shapeDividers:l})}}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Location","generateblocks"),value:ke[a].location,options:[{label:Object(g.__)("Top","generateblocks"),value:"top"},{label:Object(g.__)("Bottom","generateblocks"),value:"bottom"}],onChange:e=>{const l=[...ke];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:ke[a].height?ke[a].height:"",onChange:e=>{const l=[...ke];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:ke[a].width?ke[a].width:"",min:"100",onChange:e=>{const l=[...ke];l[a]={...l[a],width:parseFloat(e)},t({shapeDividers:l})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Flip Horizontally","generateblocks"),checked:!!ke[a].flipHorizontally,onChange:e=>{const l=[...ke];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:ke[a].zindex||0===ke[a].zindex?ke[a].zindex:"",onChange:e=>{const l=[...ke];l[a]={...l[a],zindex:e},t({shapeDividers:l})},onBlur:()=>{const e=[...ke];e[a]={...e[a],zindex:parseFloat(ke[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:ke[a].heightTablet?ke[a].heightTablet:"",onChange:e=>{const l=[...ke];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:ke[a].widthTablet?ke[a].widthTablet:"",min:"100",onChange:e=>{const l=[...ke];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:ke[a].heightMobile?ke[a].heightMobile:"",onChange:e=>{const l=[...ke];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:ke[a].widthMobile?ke[a].widthMobile:"",min:"100",onChange:e=>{const l=[...ke];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=[...ke];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=[...ke];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)(T.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(le,"-"),t({anchor:e})}})),Object(l.createElement)(X,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)($,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(ee,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(te,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(ae,this.props)),pe&&ue&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+pe.replace(/ /g,"+")+je}),Object(l.createElement)(A,{tagName:Object(d.applyFilters)("generateblocks.frontend.containerTagName",m,e),htmlAttrs:De},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)(T.InnerBlocks,{templateLock:!1,renderAppender:a?void 0:()=>Object(l.createElement)(T.InnerBlocks.ButtonBlockAppender,null)})),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!==Se[ke[t].shape]&&Object(l.createElement)("div",{className:o()({"gb-shape":!0,["gb-shape-"+a]:!0}),dangerouslySetInnerHTML:{__html:J(Se[ke[t].shape].icon)}}))}))),Object(d.applyFilters)("generateblocks.frontend.beforeContainerClose","",e)))}}var ne=Object(B.compose)([Object(_.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(_.withSelect)(e=>{if(!e("core/edit-post"))return{media:null,deviceType:null};const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post"),{getMedia:a}=e("core"),{getEditedPostAttribute:l}=e("core/editor"),i=l("featured_media");return t?{media:i?a(i):null,deviceType:t()}:{media:i?a(i):null,deviceType:null}})])(re);const oe={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},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},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},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"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};generateBlocksInfo.hasCustomFields&&Object.assign(oe,{fullWidthContent:{type:"string",source:"meta",meta:"_generate-full-width-content"}});var ce=oe,se=[{attributes:ce,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)(A,{tagName:a,htmlAttrs:s},Object(d.applyFilters)("generateblocks.frontend.insideContainer","",e),Object(l.createElement)("div",{className:o()({"gb-inside-container":!0})},Object(l.createElement)(T.InnerBlocks.Content,null))))}}];function ge(e){return"left"===e||"top"===e?"flex-start":"right"===e||"bottom"===e?"flex-end":e}Object(C.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:ce,supports:{align:!1,className:!1},edit:ne,save:()=>Object(l.createElement)(T.InnerBlocks.Content,null),deprecated:se});class be 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,stack:s,fillHorizontalSpace:g}=e;let b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block",margin:Y(i,r,n,o,c),"justify-content":ge(a),"flex-direction":!!s&&"column","align-items":!!s&&ge(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&ge(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.mainCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,h(b))}}class de extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,h(e))}}class pe 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,stackTablet:s,fillHorizontalSpaceTablet:g}=e;let b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":m(i,c),"margin-right":m(r,c),"margin-bottom":m(n,c),"margin-left":m(o,c),"justify-content":ge(a),"flex-direction":!!s&&"column","align-items":!!s&&ge(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&ge(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.tabletCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,h(b))}}class ue extends l.Component{render(){let e=[];return e=Object(d.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,h(e))}}class he 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":m(i,c),"margin-right":m(r,c),"margin-bottom":m(n,c),"margin-left":m(o,c),"justify-content":ge(a),"flex-direction":!!s&&"column","align-items":!!s&&ge(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&ge(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 me=/[\s#]/g,fe=[],ke=[{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 ye 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=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?fe.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),fe.push(e)):fe.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),fe.push(e));const a=wp.data.select("core/block-editor").getBlocksByClientId(this.props.clientId)[0];a&&0===a.innerBlocks.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(C.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})}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:m,stack:f,stackTablet:k,stackMobile:y,fillHorizontalSpace:w,fillHorizontalSpaceTablet:O,fillHorizontalSpaceMobile:v}=e;let _={className:o()({"gb-button-wrapper":!0,["gb-button-wrapper-"+i]:!0,[""+n]:void 0!==n}),id:c||null};return _=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",_,"generateblocks/button-container",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(T.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-add-new-button",icon:"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(C.cloneBlock)(t);wp.data.dispatch("core/block-editor").insertBlocks(l,void 0,a)}}else 0===t.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(C.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,a)}},showTooltip:!0})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(T.AlignmentToolbar,{value:u,alignmentControls:ke,onChange:e=>{t({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(T.AlignmentToolbar,{value:h,alignmentControls:ke,onChange:e=>{t({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(T.AlignmentToolbar,{value:m,alignmentControls:ke,onChange:e=>{t({alignmentMobile:e})}})),Object(l.createElement)(T.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)(H,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:!!f,onChange:e=>{t({stack:e})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!w,onChange:e=>{t({fillHorizontalSpace:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(H,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})}}),Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Fill Horizontal Space","generateblocks"),checked:!!O,onChange:e=>{t({fillHorizontalSpaceTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(H,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:!!y,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)(T.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(me,"-"),t({anchor:e})}})),Object(l.createElement)(be,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)(pe,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ue,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(he,this.props)),Object(l.createElement)("div",_,Object(l.createElement)(T.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(C.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,a)}}))})))}}var we=Object(B.compose)([Object(_.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(_.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(ye),Oe={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"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},ve=[{attributes:Oe,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)(T.InnerBlocks.Content,null))}}];Object(C.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:Oe,supports:{className:!1},edit:we,save:()=>Object(l.createElement)(T.InnerBlocks.Content,null),deprecated:ve});var je={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"}))}},Te={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 Ce 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:Te},social:{group:Object(g.__)("Social","generateblocks"),svgs:je}};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]:J(e)}),t(""!==e?{hasIcon:!0}:{hasIcon:!1})}}),Object(l.createElement)("div",{className:"gb-icon-preview"},Object(l.createElement)("span",{dangerouslySetInnerHTML:{__html:J(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:J(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 _e=Ce;class Be 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)(T.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 Se 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:f,letterSpacing:k,fontSize:y,fontSizeUnit:w,marginTop:O,marginRight:v,marginBottom:j,marginLeft:T,marginUnit:C,paddingTop:_,paddingRight:B,paddingBottom:S,paddingLeft:E,paddingUnit:D,borderSizeTop:x,borderSizeRight:M,borderSizeBottom:z,borderSizeLeft:R,borderRadiusTopRight:L,borderRadiusBottomRight:F,borderRadiusBottomLeft:A,borderRadiusTopLeft:P,borderRadiusUnit:N,borderColor:H,borderColorOpacity:I,borderColorHover:G,borderColorHoverOpacity:V,gradient:q,gradientDirection:W,gradientColorOne:Z,gradientColorOneOpacity:K,gradientColorStopOne:J,gradientColorTwo:Q,gradientColorTwoOpacity:X,gradientColorStopTwo:$,iconPaddingTop:ee,iconPaddingRight:te,iconPaddingBottom:ae,iconPaddingLeft:le,iconPaddingUnit:ie,iconSize:re,iconSizeUnit:ne}=e;let oe,ce="",se="",ge="";q&&(Z&&""!==J&&(se=" "+J+"%"),Q&&""!==$&&(ge=" "+$+"%")),q&&(oe="linear-gradient("+W+"deg, "+U(Z,K)+se+", "+U(Q,X)+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":U(r,n),"background-image":oe,color:o,padding:Y(_,B,S,E,D),"border-radius":Y(P,L,F,A,N),"font-family":b+ce,"font-weight":u,"text-transform":f,"font-size":m(y,w),"letter-spacing":m(k,"em"),margin:Y(O,v,j,T,C),"border-color":U(H,I)}],(x||M||z||R)&&de[".block-editor-block-list__block "+be].push({"border-width":Y(x,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":U(c,s),color:g,"border-color":U(G,V)}],de[".block-editor-block-list__block "+be+" .gb-icon"]=[{padding:!i&&Y(ee,te,ae,le,ie),"font-size":m(re,ne)}],de=Object(d.applyFilters)("generateblocks.editor.mainCSS",de,this.props,"button"),Object(l.createElement)("style",null,h(de))}}class Ee 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 De 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:f,paddingBottomTablet:k,paddingLeftTablet:y,paddingUnit:w,borderSizeTopTablet:O,borderSizeRightTablet:v,borderSizeBottomTablet:j,borderSizeLeftTablet:T,borderRadiusTopRightTablet:C,borderRadiusBottomRightTablet:_,borderRadiusBottomLeftTablet:B,borderRadiusTopLeftTablet:S,borderRadiusUnit:E,iconPaddingTopTablet:D,iconPaddingRightTablet:x,iconPaddingBottomTablet:M,iconPaddingLeftTablet:z,iconPaddingUnit:R,iconSizeTablet:L,iconSizeUnit:F}=e;let A="a.gb-button-"+a;t||(A=".gb-button-"+a);let U=[];return U[".block-editor-block-list__block "+A]=[{"padding-top":m(u,w),"padding-right":m(f,w),"padding-bottom":m(k,w),"padding-left":m(y,w),"border-top-left-radius":m(S,E),"border-top-right-radius":m(C,E),"border-bottom-right-radius":m(_,E),"border-bottom-left-radius":m(B,E),"font-size":m(n,o),"letter-spacing":m(r,"em"),"margin-top":m(c,p),"margin-right":m(s,p),"margin-bottom":m(g,p),"margin-left":m(b,p)}],(O||v||j||T)&&U[".block-editor-block-list__block "+A].push({"border-top-width":m(O,"px"),"border-right-width":m(v,"px"),"border-bottom-width":m(j,"px"),"border-left-width":m(T,"px"),"border-style":"solid"}),U[".block-editor-block-list__block "+A+" .gb-icon"]=[{"padding-top":!i&&m(D,R),"padding-right":!i&&m(x,R),"padding-bottom":!i&&m(M,R),"padding-left":!i&&m(z,R),"font-size":m(L,F)}],U=Object(d.applyFilters)("generateblocks.editor.tabletCSS",U,this.props,"button"),Object(l.createElement)("style",null,h(U))}}class xe 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 Me 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:f,paddingBottomMobile:k,paddingLeftMobile:y,paddingUnit:w,borderSizeTopMobile:O,borderSizeRightMobile:v,borderSizeBottomMobile:j,borderSizeLeftMobile:T,borderRadiusTopRightMobile:C,borderRadiusBottomRightMobile:_,borderRadiusBottomLeftMobile:B,borderRadiusTopLeftMobile:S,borderRadiusUnit:E,iconPaddingTopMobile:D,iconPaddingRightMobile:x,iconPaddingBottomMobile:M,iconPaddingLeftMobile:z,iconPaddingUnit:R,iconSizeMobile:L,iconSizeUnit:F}=e;let A="a.gb-button-"+a;t||(A=".gb-button-"+a);let U=[];return U[".block-editor-block-list__block "+A]=[{"padding-top":m(u,w),"padding-right":m(f,w),"padding-bottom":m(k,w),"padding-left":m(y,w),"border-top-left-radius":m(S,E),"border-top-right-radius":m(C,E),"border-bottom-right-radius":m(_,E),"border-bottom-left-radius":m(B,E),"font-size":m(n,o),"letter-spacing":m(r,"em"),"margin-top":m(c,p),"margin-right":m(s,p),"margin-bottom":m(g,p),"margin-left":m(b,p)}],(O||v||j||T)&&U[".block-editor-block-list__block "+A].push({"border-top-width":m(O,"px"),"border-right-width":m(v,"px"),"border-bottom-width":m(j,"px"),"border-left-width":m(T,"px"),"border-style":"solid"}),U[".block-editor-block-list__block "+A+" .gb-icon"]=[{"padding-top":!i&&m(D,R),"padding-right":!i&&m(x,R),"padding-bottom":!i&&m(M,R),"padding-left":!i&&m(z,R),"font-size":m(L,F)}],U=Object(d.applyFilters)("generateblocks.editor.mobileCSS",U,this.props,"button"),Object(l.createElement)("style",null,h(U))}}const ze=/[\s#]/g,Re=[];class Le 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=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?Re.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),Re.push(e)):Re.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),Re.push(e));const a=this.getFontSizePlaceholder();a!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:a}),!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}))}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:m,text:f,url:k,target:y,relNoFollow:w,relSponsored:O,icon:v,iconLocation:_,removeText:B,ariaLabel:S,backgroundColor:E,backgroundColorOpacity:D,textColor:x,backgroundColorHover:M,backgroundColorHoverOpacity:z,textColorHover:R,fontFamily:L,googleFont:F,googleFontVariants:U,borderColor:N,borderColorOpacity:I,borderColorHover:G,borderColorHoverOpacity:q,iconSize:Z,iconSizeTablet:K,iconSizeMobile:J,iconSizeUnit:Y}=e,Q=document.querySelectorAll("a.gb-button");for(let e=0;e<Q.length;e++)Q[e].addEventListener("click",(function(t){Q[e].getAttribute("href")&&(Q[e].removeAttribute("href"),t.preventDefault())}),!1);const X=[];w&&X.push("nofollow"),y&&X.push("noopener","noreferrer"),O&&X.push("sponsored");let $="";U&&($=":"+U);let ee={className:o()({"gb-button":!0,["gb-button-"+c]:!0,"gb-button-text":!v,[""+h]:void 0!==h}),href:k||null,target:y?"_blank":null,rel:X&&X.length>0?X.join(" "):null,"aria-label":S||null,id:m||null};return ee=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",ee,"generateblocks/button",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(T.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,null,Object(l.createElement)(b.ToolbarButton,{className:"gblocks-add-new-button",icon:"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(C.cloneBlock)(t);wp.data.dispatch("core/block-editor").insertBlocks(a,void 0,e)},showTooltip:!0}))),Object(l.createElement)(T.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:!B||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,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)(V,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)(V,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)(H,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)(H,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)(H,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)(H,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)(H,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)(H,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)(H,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)(H,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)(H,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)(H,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)(H,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)(H,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)(P,{label:Object(g.__)("Background Color","generateblocks"),value:E,alpha:!0,valueOpacity:D,attrOpacity:"backgroundColorOpacity",key:"buttonBackgroundColor",onChange:e=>t({backgroundColor:e}),onOpacityChange:e=>t({backgroundColorOpacity:e})}),Object(l.createElement)(P,{label:Object(g.__)("Text Color","generateblocks"),value:x,alpha:!1,key:"buttonTextColor",onChange:e=>t({textColor:e})}),Object(l.createElement)(P,{label:Object(g.__)("Border Color","generateblocks"),value:N,alpha:!0,valueOpacity:I,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)(P,{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)(P,{label:Object(g.__)("Text Color","generateblocks"),value:R,alpha:!1,key:"buttonTextColorHover",onChange:e=>t({textColorHover:e})}),Object(l.createElement)(P,{label:Object(g.__)("Border Color","generateblocks"),value:G,alpha:!0,valueOpacity:q,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)(W,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)(_e,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,!B&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(H,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:Z||"",step:"em"===Y?.1:1,onChange:e=>{t({iconSize:e})},onBlur:()=>{t({iconSize:parseFloat(Z)})},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,!B&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(H,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:K||"",step:"em"===Y?.1:1,placeholder:"1",onChange:e=>{t({iconSizeTablet:e})},onBlur:()=>{t({iconSizeTablet:parseFloat(K)})},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,!B&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(H,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:J||"",step:"em"===Y?.1:1,placeholder:"1",onChange:e=>{t({iconSizeMobile:e})},onBlur:()=>{t({iconSizeMobile:parseFloat(J)})},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)(T.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:m||"",onChange:e=>{e=e.replace(ze,"-"),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:S,onChange:e=>{t({ariaLabel:e})}})),Object(l.createElement)(Se,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Ee,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(De,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(xe,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(Me,this.props)),L&&F&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+L.replace(/ /g,"+")+$}),Object(l.createElement)(A,{tagName:k?"a":"span",htmlAttrs:ee},!!v&&Object(l.createElement)(l.Fragment,null,"left"===_&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:v}}),!B&&Object(l.createElement)("span",{className:"gb-button-text"},Object(l.createElement)(T.RichText,{placeholder:Object(g.__)("Add text…","generateblocks"),value:f,onChange:e=>t({text:e}),allowedFormats:Object(d.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:a,keepPlaceholderOnFocus:!0})),"right"===_&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:v}})),!v&&!B&&Object(l.createElement)(T.RichText,{placeholder:Object(g.__)("Add text…","generateblocks"),value:f,onChange:e=>t({text:e}),allowedFormats:Object(d.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:a,keepPlaceholderOnFocus:!0})),a&&Object(l.createElement)(Be,{url:k,target:y,relNoFollow:w,relSponsored:O,onChange:e=>{t(e),""!==e.url?t({hasUrl:!0}):t({hasUrl:!1})},autoFocus:!1,className:"gblocks-component-url-input-float"}))}}var Fe=Object(B.compose)([Object(_.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(_.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(Le),Ae={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},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.button.showAdvancedTypography},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:{...Ae,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,m=[];s&&m.push("nofollow"),c&&m.push("noopener","noreferrer"),g&&m.push("sponsored");let f={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:m&&m.length>0?m.join(" "):void 0,"aria-label":h||void 0};return f=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",f,"generateblocks/button",e),Object(l.createElement)("a",f,b&&"left"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:J(b)}}),!u&&Object(l.createElement)(T.RichText.Content,{tagName:"span",className:"button-text",value:r,key:"button-text"}),b&&"right"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:J(b)}}))}}];Object(C.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:Ae,supports:{className:!1,inserter:!1,reusable:!1},edit:Fe,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,m=[];c&&m.push("nofollow"),n&&m.push("noopener","noreferrer"),s&&m.push("sponsored");let f={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:m&&m.length>0?m.join(" "):null,"aria-label":u||null,id:h||null};return f=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",f,"generateblocks/button",e),Object(l.createElement)(A,{tagName:r?"a":"span",htmlAttrs:f},!!g&&"left"===b&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:g}}),!p&&Object(l.createElement)(T.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:f,fontWeight:k,fontSize:y,fontSizeUnit:w,textTransform:O,lineHeight:v,lineHeightUnit:j,letterSpacing:T,marginTop:C,marginRight:_,marginBottom:B,marginLeft:S,marginUnit:E,paddingTop:D,paddingRight:x,paddingBottom:M,paddingLeft:z,paddingUnit:R,borderSizeTop:L,borderSizeRight:F,borderSizeBottom:A,borderSizeLeft:P,borderRadiusTopRight:N,borderRadiusBottomRight:H,borderRadiusBottomLeft:I,borderRadiusTopLeft:G,borderRadiusUnit:V,icon:q,iconColor:W,iconColorOpacity:Z,iconLocation:K,iconVerticalAlignment:J,iconPaddingTop:Q,iconPaddingRight:X,iconPaddingBottom:$,iconPaddingLeft:ee,iconPaddingUnit:te,iconSize:ae,iconSizeUnit:le,inlineWidth:ie,removeText:re}=e;let ne="",oe="inline-block";u&&f&&(ne=", "+f);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":m(y,w),"line-height":m(v,j),"letter-spacing":m(T,"em"),display:!!q&&"flex","align-items":ge("inline"===K?J:r),"justify-content":ge(r),"flex-direction":!(!q||"above"!==K)&&"column"}],se[".editor-styles-wrapper .gb-container "+ce]=[{color:c}],q&&(oe="inline-flex"),se[".editor-styles-wrapper "+ce].push({"background-color":U(n,o),color:c,display:!!ie&&oe,"margin-top":m(C,E),"margin-right":m(_,E),"margin-bottom":m(B,E),"margin-left":m(S,E),padding:Y(D,x,M,z,R),"border-radius":Y(G,N,H,I,V),"border-color":U(g,b)}),(L||F||A||P)&&se[".editor-styles-wrapper "+ce].push({"border-width":Y(L,F,A,P,"px"),"border-style":"solid"}),se[".editor-styles-wrapper "+ce+" a"]=[{color:s}],se[ce+" .gb-icon"]=[{padding:!re&&Y(Q,X,$,ee,te),"align-self":!(!q||"above"!==K)&&ge(r),color:U(W,Z),display:!(!q||"above"!==K)&&"inline"}],se[ce+" .gb-icon svg"]=[{width:m(ae,le),height:m(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 Ne 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 He 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:f,marginUnit:k,paddingTopTablet:y,paddingRightTablet:w,paddingBottomTablet:O,paddingLeftTablet:v,paddingUnit:j,borderSizeTopTablet:T,borderSizeRightTablet:C,borderSizeBottomTablet:_,borderSizeLeftTablet:B,borderRadiusTopRightTablet:S,borderRadiusBottomRightTablet:E,borderRadiusBottomLeftTablet:D,borderRadiusTopLeftTablet:x,borderRadiusUnit:M,icon:z,iconLocationTablet:R,iconVerticalAlignmentTablet:L,iconPaddingTopTablet:F,iconPaddingRightTablet:A,iconPaddingBottomTablet:U,iconPaddingLeftTablet:P,iconPaddingUnit:N,iconSizeTablet:H,iconSizeUnit:I,inlineWidthTablet:G,removeText:V}=e,q=i+".gb-headline-"+a;let W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":m(n,o),"line-height":m(c,s),"letter-spacing":m(g,"em"),display:!!z&&"flex","align-items":ge("inline"===R?L:r),"justify-content":ge(r),"flex-direction":!(!z||"above"!==R)&&"column","margin-top":m(b,k)+" !important","margin-right":m(p,k)+" !important","margin-bottom":m(u,k)+" !important","margin-left":m(f,k)+" !important","padding-top":m(y,j),"padding-right":m(w,j),"padding-bottom":m(O,j),"padding-left":m(v,j),"border-top-left-radius":m(x,M),"border-top-right-radius":m(S,M),"border-bottom-right-radius":m(E,M),"border-bottom-left-radius":m(D,M)}],z&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(T||C||_||B)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":m(T,"px"),"border-right-width":m(C,"px"),"border-bottom-width":m(_,"px"),"border-left-width":m(B,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&m(F,N),"padding-right":!V&&m(A,N),"padding-bottom":!V&&m(U,N),"padding-left":!V&&m(P,N),"align-self":!(!z||"above"!==R)&&ge(r),display:!(!z||"above"!==R)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:m(H,I),height:m(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 Ie 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 Ge 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:f,marginUnit:k,paddingTopMobile:y,paddingRightMobile:w,paddingBottomMobile:O,paddingLeftMobile:v,paddingUnit:j,borderSizeTopMobile:T,borderSizeRightMobile:C,borderSizeBottomMobile:_,borderSizeLeftMobile:B,borderRadiusTopRightMobile:S,borderRadiusBottomRightMobile:E,borderRadiusBottomLeftMobile:D,borderRadiusTopLeftMobile:x,borderRadiusUnit:M,icon:z,iconLocationMobile:R,iconVerticalAlignmentMobile:L,iconPaddingTopMobile:F,iconPaddingRightMobile:A,iconPaddingBottomMobile:U,iconPaddingLeftMobile:P,iconPaddingUnit:N,iconSizeMobile:H,iconSizeUnit:I,inlineWidthMobile:G,removeText:V}=e,q=i+".gb-headline-"+a;let W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":m(n,o),"line-height":m(c,s),"letter-spacing":m(g,"em"),display:!!z&&"flex","align-items":ge("inline"===R?L:r),"justify-content":ge(r),"flex-direction":!(!z||"above"!==R)&&"column","margin-top":m(b,k)+" !important","margin-right":m(p,k)+" !important","margin-bottom":m(u,k)+" !important","margin-left":m(f,k)+" !important","padding-top":m(y,j),"padding-right":m(w,j),"padding-bottom":m(O,j),"padding-left":m(v,j),"border-top-left-radius":m(x,M),"border-top-right-radius":m(S,M),"border-bottom-right-radius":m(E,M),"border-bottom-left-radius":m(D,M)}],z&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(T||C||_||B)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":m(T,"px"),"border-right-width":m(C,"px"),"border-bottom-width":m(_,"px"),"border-left-width":m(B,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&m(F,N),"padding-right":!V&&m(A,N),"padding-bottom":!V&&m(U,N),"padding-left":!V&&m(P,N),"align-self":!(!z||"above"!==R)&&ge(r),display:!(!z||"above"!==R)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:m(H,I),height:m(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 Ve=a(10);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"})),We=Object(B.compose)(Object(_.withSelect)((function(e){return{selectedBlock:e("core/block-editor").getSelectedBlock()}})),Object(B.ifCondition)((function(e){return e.selectedBlock&&"generateblocks/headline"===e.selectedBlock.name})))((function(e){const t=()=>e.onChange(Object(Ve.toggleFormat)(e.value,{type:"generateblocks/mark"}));return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(T.RichTextShortcut,{type:"primary",character:"m",onUse:t}),Object(l.createElement)(T.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"}))})),Ze={title:Object(g.__)("Highlight","generateblocks"),tagName:"mark",className:"gb-highlight",edit:We};function Ke({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(Ve.registerFormatType)("generateblocks/mark",Ze);const Je=/[\s#]/g,Ye=[];class Qe 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=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?Ye.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),Ye.push(e)):Ye.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),Ye.push(e));const a=this.getFontSizePlaceholder();a!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:a}),!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}=this.props,{fontSizePlaceholder:a}=this.state,{uniqueId:i,anchor:n,className:c,content:h,element:m,alignment:f,alignmentTablet:k,alignmentMobile:y,backgroundColor:w,backgroundColorOpacity:O,textColor:v,linkColor:C,linkColorHover:_,borderColor:B,borderColorOpacity:S,highlightTextColor:E,fontFamily:D,googleFont:x,googleFontVariants:M,marginTop:z,marginRight:R,marginBottom:L,marginLeft:F,icon:U,hasIcon:N,iconColor:I,iconColorOpacity:G,iconLocation:q,iconLocationTablet:W,iconLocationMobile:Z,iconVerticalAlignment:K,iconVerticalAlignmentTablet:J,iconVerticalAlignmentMobile:Y,iconSize:Q,iconSizeTablet:X,iconSizeMobile:$,iconSizeUnit:ee,inlineWidth:te,inlineWidthTablet:ae,inlineWidthMobile:le,removeText:ie,ariaLabel:re}=e;let ne="";M&&(ne=":"+M);let oe="";oe=X||0===X?X:Q||0===Q?Q:"";let ce={className:o()({"gb-headline":!0,["gb-headline-"+i]:!0,"gb-headline-text":!N,[c]:void 0!==c}),id:n||null};return ce=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",ce,"generateblocks/headline",e),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(T.BlockControls,null,Object(l.createElement)(b.ToolbarGroup,{isCollapsed:!0,icon:Object(l.createElement)(Ke,{level:m}),label:Object(g.__)("Change Headline Element","generateblocks"),controls:[{isActive:"h1"===m,icon:Object(l.createElement)(Ke,{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"===m,icon:Object(l.createElement)(Ke,{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"===m,icon:Object(l.createElement)(Ke,{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"===m,icon:Object(l.createElement)(Ke,{level:"h4"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
13
+ Object(g.__)("Heading %s","generateblocks"),"4"),onClick:()=>{t({element:"h4"})}},{isActive:"h5"===m,icon:Object(l.createElement)(Ke,{level:"h5"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
14
+ Object(g.__)("Heading %s","generateblocks"),"5"),onClick:()=>{t({element:"h5"})}},{isActive:"h6"===m,icon:Object(l.createElement)(Ke,{level:"h6"}),title:Object(g.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
15
+ Object(g.__)("Heading %s","generateblocks"),"6"),onClick:()=>{t({element:"h6"})}},{isActive:"p"===m,icon:Object(l.createElement)(Ke,{level:"p"}),title:Object(g.__)("Paragraph","generateblocks"),onClick:()=>{t({element:"p"})}},{isActive:"div"===m,icon:Object(l.createElement)(Ke,{level:"div"}),title:Object(g.__)("Div","generateblocks"),onClick:()=>{t({element:"div"})}}]}),"Desktop"===this.getDeviceType()&&!te&&Object(l.createElement)(T.AlignmentToolbar,{value:f,onChange:e=>{t({alignment:e})}}),"Tablet"===this.getDeviceType()&&!ae&&Object(l.createElement)(T.AlignmentToolbar,{value:k,onChange:e=>{t({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&!le&&Object(l.createElement)(T.AlignmentToolbar,{value:y,onChange:e=>{t({alignmentMobile:e})}})),Object(l.createElement)(T.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:"headlineElement",state:this.state,showPanel:"Desktop"===this.getDeviceType()}),Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Tag Name","generateblocks"),value:m,options:[{label:"h1",value:"h1"},{label:"h2",value:"h2"},{label:"h3",value:"h3"},{label:"h4",value:"h4"},{label:"h5",value:"h5"},{label:"h6",value:"h6"},{label:"paragraph",value:"p"},{label:"div",value:"div"}],onChange:e=>{t({element:e}),z||R||L||F||t("p"===e?{marginUnit:"em"}:{marginUnit:generateBlocksDefaults.headline.marginUnit})}}),Object(d.applyFilters)("generateblocks.editor.controls","","headlineElement",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:"headlineTypography",state:this.state,showPanel:!ie||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,fontSizePlaceholder:a,defaultFontSize:generateBlocksDefaults.headline.fontSize,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:"Tablet",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(V,r()({},this.props,{device:"Mobile",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingMobile}))),Object(d.applyFilters)("generateblocks.editor.controls","","headlineTypography",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:"headlineSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Inline Width","generateblocks"),checked:!!te,onChange:e=>{t({inlineWidth:e})}}),Object(l.createElement)(H,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.headline,units:["px","em","%"]})),Object(l.createElement)(H,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(H,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.headline,units:["px"]})),Object(l.createElement)(H,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.headline,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Inline Width","generateblocks"),checked:!!ae,onChange:e=>{t({inlineWidthTablet:e})}}),Object(l.createElement)(H,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.headline,units:["px","em","%"]})),Object(l.createElement)(H,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(H,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.headline,units:["px"]})),Object(l.createElement)(H,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.headline,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.ToggleControl,{label:Object(g.__)("Inline Width","generateblocks"),checked:!!le,onChange:e=>{t({inlineWidthMobile:e})}}),Object(l.createElement)(H,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.headline,units:["px","em","%"]})),Object(l.createElement)(H,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(g.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(H,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.headline,units:["px"]})),Object(l.createElement)(H,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.headline,units:["px","em","%"]}))),Object(d.applyFilters)("generateblocks.editor.controls","","headlineSpacing",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:"headlineColors",state:this.state,showPanel:"Desktop"===this.getDeviceType()||!1}),Object(l.createElement)(P,{label:Object(g.__)("Background Color","generateblocks"),value:w,alpha:!0,valueOpacity:O,attrOpacity:"backgroundColorOpacity",onChange:e=>t({backgroundColor:e}),onOpacityChange:e=>t({backgroundColorOpacity:e})}),Object(l.createElement)(P,{label:Object(g.__)("Text Color","generateblocks"),value:v,alpha:!1,onChange:e=>t({textColor:e})}),Object(l.createElement)(P,{label:Object(g.__)("Link Color","generateblocks"),value:C,alpha:!1,onChange:e=>t({linkColor:e})}),Object(l.createElement)(P,{label:Object(g.__)("Link Color Hover","generateblocks"),value:_,alpha:!1,onChange:e=>t({linkColorHover:e})}),Object(l.createElement)(P,{label:Object(g.__)("Border Color","generateblocks"),value:B,alpha:!0,valueOpacity:S,attrOpacity:"borderColorOpacity",onChange:e=>t({borderColor:e}),onOpacityChange:e=>t({borderColorOpacity:e})}),U&&Object(l.createElement)(P,{label:Object(g.__)("Icon Color","generateblocks"),value:I,alpha:!0,valueOpacity:G,attrOpacity:"iconColorOpacity",onChange:e=>t({iconColor:e}),onOpacityChange:e=>t({iconColorOpacity:e})}),Object(l.createElement)(P,{label:Object(g.__)("Highlight Text","generateblocks"),value:E,alpha:!1,onChange:e=>t({highlightTextColor:e})})),Object(l.createElement)(j,r()({},this.props,{title:Object(g.__)("Icon","generateblocks"),initialOpen:!1,icon:s("icons"),className:"gblocks-panel-label",id:"headlineIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!U)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(_e,r()({},this.props,{attrIcon:"icon",attrRemoveText:"removeText",attrAriaLabel:"ariaLabel"})),"Desktop"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Location","generateblocks"),value:q,options:[{label:Object(g.__)("Inline","generateblocks"),value:"inline"},{label:Object(g.__)("Above","generateblocks"),value:"above"}],onChange:e=>{t({iconLocation:e,iconPaddingRight:"inline"===e?"0.5":"",iconPaddingBottom:"above"===e?"0.5":""})}}),"inline"===q&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Alignment","generateblocks"),value:K,options:[{label:Object(g.__)("Top","generateblocks"),value:"top"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"bottom"}],onChange:e=>{t({iconVerticalAlignment:e})}}),Object(l.createElement)(H,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.headline,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:ee,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||0===Q?Q:"",step:"em"===ee?.1:1,onChange:e=>{t({iconSize:e})},onBlur:()=>{t({iconSize:parseFloat(Q)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSize:generateBlocksDefaults.headline.iconSize})}},Object(g.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Location","generateblocks"),value:W,options:[{label:Object(g.__)("Inherit","generateblocks"),value:""},{label:Object(g.__)("Inline","generateblocks"),value:"inline"},{label:Object(g.__)("Above","generateblocks"),value:"above"}],onChange:e=>{t({iconLocationTablet:e,iconPaddingRightTablet:"inline"===e?"0.5":"",iconPaddingBottomTablet:"above"===e?"0.5":""})}}),"inline"===W&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Alignment","generateblocks"),value:J,options:[{label:Object(g.__)("Inherit","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"top"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"bottom"}],onChange:e=>{t({iconVerticalAlignmentTablet:e})}}),Object(l.createElement)(H,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.headline,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:ee,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:X||0===X?X:"",step:"em"===ee?.1:1,placeholder:Q||0===Q?Q:"",onChange:e=>{t({iconSizeTablet:e})},onBlur:()=>{t({iconSizeTablet:parseFloat(X)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSizeTablet:generateBlocksDefaults.headline.iconSizeTablet})}},Object(g.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Location","generateblocks"),value:Z,options:[{label:Object(g.__)("Inherit","generateblocks"),value:""},{label:Object(g.__)("Inline","generateblocks"),value:"inline"},{label:Object(g.__)("Above","generateblocks"),value:"above"}],onChange:e=>{t({iconLocationMobile:e,iconPaddingRightMobile:"inline"===e?"0.5":"",iconPaddingBottomMobile:"above"===e?"0.5":""})}}),"inline"===Z&&Object(l.createElement)(b.SelectControl,{label:Object(g.__)("Icon Alignment","generateblocks"),value:Y,options:[{label:Object(g.__)("Inherit","generateblocks"),value:""},{label:Object(g.__)("Top","generateblocks"),value:"top"},{label:Object(g.__)("Center","generateblocks"),value:"center"},{label:Object(g.__)("Bottom","generateblocks"),value:"bottom"}],onChange:e=>{t({iconVerticalAlignmentMobile:e})}}),Object(l.createElement)(H,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.headline,units:["px","em","%"]}))),Object(l.createElement)(u,{label:Object(g.__)("Icon Size","generateblocks"),value:ee,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:$||0===$?$:"",step:"em"===ee?.1:1,placeholder:oe,onChange:e=>{t({iconSizeMobile:e})},onBlur:()=>{t({iconSizeMobile:parseFloat($)})},onClick:e=>{e.currentTarget.focus()}}),Object(l.createElement)(b.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:()=>{t({iconSizeMobile:generateBlocksDefaults.headline.iconSizeMobile})}},Object(g.__)("Reset","generateblocks")))),Object(d.applyFilters)("generateblocks.editor.controls","","headlineIcon",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:"headlineDocumentation",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/headline/",target:"_blank",rel:"noreferrer noopener"},Object(g.__)("Visit our documentation","generateblocks")),Object(d.applyFilters)("generateblocks.editor.controls","","headlineDocumentation",this.props,this.state))),Object(l.createElement)(T.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:n||"",onChange:e=>{e=e.replace(Je,"-"),t({anchor:e})}})),Object(l.createElement)(Pe,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Ne,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(He,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(Ie,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(Ge,this.props)),D&&x&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+D.replace(/ /g,"+")+ne}),Object(d.applyFilters)("generateblocks.editor.beforeHeadlineElement","",this.props),Object(l.createElement)(A,{tagName:m,htmlAttrs:ce},N&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"gb-icon","aria-label":ie&&re?re:void 0,dangerouslySetInnerHTML:{__html:U}}),!ie&&Object(l.createElement)("span",{className:"gb-headline-text"},Object(l.createElement)(T.RichText,{tagName:"span",value:h,onChange:e=>t({content:e}),placeholder:Object(g.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(d.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null}))),!N&&!ie&&Object(l.createElement)(T.RichText,{tagName:"span",value:h,onChange:e=>t({content:e}),placeholder:Object(g.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(d.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null})))}}var Xe=Object(B.compose)([Object(_.withDispatch)(e=>({setDeviceType(t){const{__experimentalSetPreviewDeviceType:a}=e("core/edit-post")||!1;a&&a(t)}})),Object(_.withSelect)(e=>{const{__experimentalGetPreviewDeviceType:t}=e("core/edit-post")||!1;return t?{deviceType:t()}:{deviceType:null}})])(Qe),$e={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},content:{type:"string",source:"html",selector:".gb-headline-text"},element:{type:"string",default:"h2"},alignment:{type:"string",default:generateBlocksDefaults.headline.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.headline.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.headline.alignmentMobile},backgroundColor:{type:"string",default:generateBlocksDefaults.headline.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.headline.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.headline.textColor},linkColor:{type:"string",default:generateBlocksDefaults.headline.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.headline.linkColorHover},borderColor:{type:"string",default:generateBlocksDefaults.headline.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.headline.borderColorOpacity},highlightTextColor:{type:"string",default:generateBlocksDefaults.headline.highlightTextColor},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.headline.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.headline.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.headline.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.headline.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.headline.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.headline.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.headline.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.headline.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.headline.fontSizeUnit},textTransform:{type:"string",default:""},lineHeight:{type:"number",default:generateBlocksDefaults.headline.lineHeight},lineHeightTablet:{type:"number",default:generateBlocksDefaults.headline.lineHeightTablet},lineHeightMobile:{type:"number",default:generateBlocksDefaults.headline.lineHeightMobile},lineHeightUnit:{type:"string",default:generateBlocksDefaults.headline.lineHeightUnit},letterSpacing:{type:"number",default:generateBlocksDefaults.headline.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.headline.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.headline.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.headline.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.headline.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.headline.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.headline.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.headline.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.headline.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.headline.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.headline.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.headline.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.headline.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.headline.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.headline.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.headline.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.headline.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.headline.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.headline.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.headline.paddingLeft},paddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.paddingLeftMobile},paddingUnit:{type:"string",default:generateBlocksDefaults.headline.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},borderSizeTop:{type:"string",default:generateBlocksDefaults.headline.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.headline.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.headline.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftMobile},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconColor:{type:"string",default:generateBlocksDefaults.headline.iconColor},iconColorOpacity:{type:"number",default:generateBlocksDefaults.headline.iconColorOpacity},customIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.headline.iconLocation},iconLocationTablet:{type:"string",default:generateBlocksDefaults.headline.iconLocationTablet},iconLocationMobile:{type:"string",default:generateBlocksDefaults.headline.iconLocationMobile},iconVerticalAlignment:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignment},iconVerticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentTablet},iconVerticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentMobile},iconPaddingTop:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.headline.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.headline.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.headline.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.headline.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.headline.iconSizeUnit},inlineWidth:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidth},inlineWidthTablet:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthTablet},inlineWidthMobile:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthMobile},removeText:{type:"boolean",default:generateBlocksDefaults.headline.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.headline.ariaLabel},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},et={from:[{type:"block",blocks:["core/paragraph"],transform:({content:e})=>Object(C.createBlock)("generateblocks/headline",{content:e})},{type:"block",blocks:["core/heading"],transform:({content:e})=>Object(C.createBlock)("generateblocks/headline",{content:e})}],to:[{type:"block",blocks:["core/paragraph"],transform:({content:e})=>Object(C.createBlock)("core/paragraph",{content:e})},{type:"block",blocks:["core/heading"],transform:({content:e})=>Object(C.createBlock)("core/heading",{content:e})}]},tt=[{attributes:{...$e,content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}},supports:{anchor:!1,className:!1,customClassName:!1},migrate(e){const t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;let l=e.element?e.element:generateBlocksDefaults.headline.element;return e.icon&&e.removeText&&"div"!==l&&(l="div"),{...e,className:t,anchor:a,cssClasses:"",elementId:"",element:l}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i,element:n,content:c,icon:s,removeText:g,ariaLabel:b}=e;let p={id:a||void 0,className:o()({"gb-headline":!0,["gb-headline-"+t]:!0,[""+i]:""!==i})};return p=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",e),Object(l.createElement)(({condition:e,wrap:t,children:a})=>e?t(a):a,{condition:s,wrap:e=>Object(l.createElement)("div",{className:o()({"gb-headline-wrapper":!0,["gb-headline-wrapper-"+t]:!0})},e)},s&&Object(l.createElement)("span",{className:"gb-icon","aria-label":g&&b?b:void 0,dangerouslySetInnerHTML:{__html:J(s)}}),!g&&Object(l.createElement)(T.RichText.Content,r()({tagName:n,value:c},p)))}},{attributes:{...$e,element:{type:"string",default:"p"},content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}},save({attributes:e}){const{uniqueId:t,elementId:a,cssClasses:i,element:n,content:c,icon:s,removeText:g,ariaLabel:b}=e;let p={id:a||void 0,className:o()({"gb-headline":!0,["gb-headline-"+t]:!0,[""+i]:""!==i})};return p=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",e),Object(l.createElement)(({condition:e,wrap:t,children:a})=>e?t(a):a,{condition:s,wrap:e=>Object(l.createElement)("div",{className:o()({"gb-headline-wrapper":!0,["gb-headline-wrapper-"+t]:!0})},e)},s&&Object(l.createElement)("span",{className:"gb-icon","aria-label":g&&b?b:void 0,dangerouslySetInnerHTML:{__html:J(s)}}),!g&&Object(l.createElement)(T.RichText.Content,r()({tagName:n,value:c},p)))}}];Object(C.registerBlockType)("generateblocks/headline",{title:Object(g.__)("Headline","generateblocks"),description:Object(g.__)("Craft text-rich content with advanced typography.","generateblocks"),icon:s("headline"),category:"generateblocks",keywords:[Object(g.__)("heading"),Object(g.__)("headline"),Object(g.__)("title"),Object(g.__)("generate")],attributes:$e,supports:{className:!1},edit:Xe,save:({attributes:e})=>{const{uniqueId:t,className:a,anchor:i,element:r,content:n,icon:c,removeText:s,ariaLabel:g}=e;let b={className:o()({"gb-headline":!0,["gb-headline-"+t]:!0,"gb-headline-text":!c,[a]:void 0!==a}),id:i||null};return b=Object(d.applyFilters)("generateblocks.frontend.htmlAttributes",b,"generateblocks/headline",e),Object(l.createElement)(A,{tagName:r,htmlAttrs:b},!!c&&Object(l.createElement)("span",{className:"gb-icon","aria-label":s&&g?g:void 0,dangerouslySetInnerHTML:{__html:c}}),!s&&Object(l.createElement)(T.RichText.Content,{value:n,tagName:c?"span":null,className:c?"gb-headline-text":null}))},transforms:et,deprecated:tt})}]);
dist/dashboard.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '515de42fcb4fc24be67de1550c33df60');
1
+ <?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '42b3224ccb277112e40f383393f2ba5e');
dist/dashboard.css CHANGED
@@ -1,2 +1 @@
1
  .gblocks-dashboard-wrap{margin:0;overflow:hidden}.gblocks-dashboard-header{background:#fff;border-bottom:1px solid #e2e4e7;padding:0 20px;text-align:center;display:flex;justify-content:space-between;align-items:center}.gblocks-dashboard-header h1{font-size:17px;font-weight:600;padding-bottom:0;display:flex;align-items:center}.gblocks-dashboard-header h1 svg{width:1em;height:1em;padding-right:10px;fill:#006eb7}.gblocks-navigation{background:#fff;display:flex}.gblocks-navigation a{padding:1rem;display:flex;align-items:center;color:inherit;text-decoration:none}.gblocks-navigation a.active{font-weight:600;box-shadow:inset 0 -3px #007cba}.generateblocks-settings-area .components-placeholder.gblocks-settings-placeholder{margin-top:20px;margin-left:auto;margin-right:auto;max-width:750px;background:#fff;border:1px solid #e2e4e7;box-shadow:none}.generateblocks-settings-area .generateblocks-settings-main{margin-left:auto;margin-right:auto;max-width:750px}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-button{display:flex;align-items:center}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-message{padding-left:10px;opacity:0;transition:opacity 200ms ease-in-out;color:green;pointer-events:none}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-message.gblocks-action-message--show{opacity:1;transition:opacity 200ms ease-in-out}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-message.gblocks-action-message--error{color:red}.generateblocks-settings-area .generateblocks-settings-main .gblocks-css-print-method .components-base-control__label{display:block}.generateblocks-settings-area .generateblocks-settings-main .components-button .components-spinner{margin:0}.generateblocks-settings-area .generateblocks-settings-main .components-button.is-primary .components-spinner{background:#000}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body{margin:25px 0;background:#fff;border:1px solid #e2e4e7}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__body-toggle{border-bottom:1px solid #d6e2ed}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .gblocks-dashboard-panel-row-wrapper{padding-top:10px}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .gblocks-dashboard-panel-row-wrapper>*:last-child{margin-bottom:0}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__row{padding:0;margin:0 0 25px;display:block}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__row .components-base-control .components-base-control__help{margin-bottom:0}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__row .components-base-control .components-base-control__field{margin-bottom:10px}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-notice{margin:0 0 10px}.generateblocks-dashboard-page #wpcontent{padding-left:0}.generateblocks-dashboard-page .update-nag{margin-bottom:20px;margin-left:22px}.generateblocks-dashboard-page.edit-php #wpbody-content .wrap{padding:0 20px;margin:0}
2
-
1
  .gblocks-dashboard-wrap{margin:0;overflow:hidden}.gblocks-dashboard-header{background:#fff;border-bottom:1px solid #e2e4e7;padding:0 20px;text-align:center;display:flex;justify-content:space-between;align-items:center}.gblocks-dashboard-header h1{font-size:17px;font-weight:600;padding-bottom:0;display:flex;align-items:center}.gblocks-dashboard-header h1 svg{width:1em;height:1em;padding-right:10px;fill:#006eb7}.gblocks-navigation{background:#fff;display:flex}.gblocks-navigation a{padding:1rem;display:flex;align-items:center;color:inherit;text-decoration:none}.gblocks-navigation a.active{font-weight:600;box-shadow:inset 0 -3px #007cba}.generateblocks-settings-area .components-placeholder.gblocks-settings-placeholder{margin-top:20px;margin-left:auto;margin-right:auto;max-width:750px;background:#fff;border:1px solid #e2e4e7;box-shadow:none}.generateblocks-settings-area .generateblocks-settings-main{margin-left:auto;margin-right:auto;max-width:750px}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-button{display:flex;align-items:center}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-message{padding-left:10px;opacity:0;transition:opacity 200ms ease-in-out;color:green;pointer-events:none}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-message.gblocks-action-message--show{opacity:1;transition:opacity 200ms ease-in-out}.generateblocks-settings-area .generateblocks-settings-main .gblocks-action-message.gblocks-action-message--error{color:red}.generateblocks-settings-area .generateblocks-settings-main .gblocks-css-print-method .components-base-control__label{display:block}.generateblocks-settings-area .generateblocks-settings-main .components-button .components-spinner{margin:0}.generateblocks-settings-area .generateblocks-settings-main .components-button.is-primary .components-spinner{background:#000}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body{margin:25px 0;background:#fff;border:1px solid #e2e4e7}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__body-toggle{border-bottom:1px solid #d6e2ed}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .gblocks-dashboard-panel-row-wrapper{padding-top:10px}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .gblocks-dashboard-panel-row-wrapper>*:last-child{margin-bottom:0}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__row{padding:0;margin:0 0 25px;display:block}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__row .components-base-control .components-base-control__help{margin-bottom:0}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-panel__row .components-base-control .components-base-control__field{margin-bottom:10px}.generateblocks-settings-area .generateblocks-settings-main .components-panel__body .components-notice{margin:0 0 10px}.generateblocks-dashboard-page #wpcontent{padding-left:0}.generateblocks-dashboard-page .update-nag{margin-bottom:20px;margin-left:22px}.generateblocks-dashboard-page.edit-php #wpbody-content .wrap{padding:0 20px;margin:0}
 
dist/dashboard.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=46)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},,function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(20);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(18),o=n(13);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},,,function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},,,,,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t){!function(){e.exports=this.wp.apiFetch}()},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(5),o=n.n(r),s=n(7),i=n.n(s),c=n(8),a=n.n(c),l=n(13),u=n.n(l),f=n(9),b=n.n(f),p=n(10),g=n.n(p),d=n(4),m=n.n(d),h=n(0),y=n(1),O=n(2),S=n(22),v=n.n(S),j=n(3);n(47);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m()(e);if(t){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g()(this,n)}}var w=function(e){b()(n,e);var t=P(n);function n(){var e;return i()(this,n),(e=t.apply(this,arguments)).state={isAPILoaded:!1,isAPISaving:!1,isRegeneratingCSS:!1,settings:generateBlocksSettings.settings},e.getSetting=e.getSetting.bind(u()(e)),e.updateSettings=e.updateSettings.bind(u()(e)),e}return a()(n,[{key:"componentDidMount",value:function(){this.setState({isAPILoaded:!0})}},{key:"getSetting",value:function(e,t){var n=t;return void 0!==this.state.settings[e]&&(n=this.state.settings[e]),n}},{key:"updateSettings",value:function(e){var t=this;this.setState({isAPISaving:!0});var n=e.target.nextElementSibling;v()({path:"/generateblocks/v1/settings",method:"POST",data:{settings:this.state.settings}}).then((function(e){t.setState({isAPISaving:!1}),n.classList.add("gblocks-action-message--show"),n.textContent=e.response,e.success&&e.response?setTimeout((function(){n.classList.remove("gblocks-action-message--show")}),3e3):n.classList.add("gblocks-action-message--error")}))}},{key:"render",value:function(){var e=this;return this.state.isAPILoaded?Object(h.createElement)(h.Fragment,null,Object(h.createElement)("div",{className:"generateblocks-settings-main"},Object(j.applyFilters)("generateblocks.dashboard.beforeSettings","",this),Object(h.createElement)(O.PanelBody,{title:Object(y.__)("Settings","generateblocks")},Object(h.createElement)("div",{className:"gblocks-dashboard-panel-row-wrapper"},Object(h.createElement)(O.PanelRow,{className:"gblocks-css-print-method"},Object(h.createElement)(O.SelectControl,{label:Object(y.__)("CSS Print Method","generateblocks"),help:Object(y.__)("Generating your CSS in external files is better for overall performance.","generateblocks"),value:this.getSetting("css_print_method"),options:[{label:Object(y.__)("External File","generateblocks"),value:"file"},{label:Object(y.__)("Inline Embedding","generateblocks"),value:"inline"}],onChange:function(t){e.setState({settings:k(k({},e.state.settings),{},{css_print_method:t})})}})),"file"===this.getSetting("css_print_method")&&Object(h.createElement)(O.PanelRow,null,Object(h.createElement)(O.BaseControl,{id:"gblocks-regenerate-css",className:"gblocks-regenerate-css",help:Object(y.__)("Force your external CSS files to regenerate next time their page is loaded.","generateblocks")},Object(h.createElement)("div",{className:"gblocks-action-button"},Object(h.createElement)(O.Button,{isSecondary:!0,onClick:function(t){e.setState({isRegeneratingCSS:!0});var n=t.target.nextElementSibling;v()({path:"/generateblocks/v1/regenerate_css_files",method:"POST"}).then((function(t){e.setState({isRegeneratingCSS:!1}),n.classList.add("gblocks-action-message--show"),n.textContent=t.response,t.success&&t.response?setTimeout((function(){n.classList.remove("gblocks-action-message--show")}),3e3):n.classList.add("gblocks-action-message--error")}))}},this.state.isRegeneratingCSS&&Object(h.createElement)(O.Spinner,null),!this.state.isRegeneratingCSS&&Object(y.__)("Regenerate CSS Files","generateblocks")),Object(h.createElement)("span",{className:"gblocks-action-message"})))),Object(h.createElement)(O.PanelRow,null,Object(h.createElement)(O.ToggleControl,{label:Object(y.__)("Sync Responsive Previews","generateblocks"),help:Object(y.__)("Sync our responsive preview controls with the editor responsive previews.","generateblocks"),checked:this.getSetting("sync_responsive_previews"),onChange:function(t){e.setState({settings:k(k({},e.state.settings),{},{sync_responsive_previews:t})})}})),Object(j.applyFilters)("generateblocks.dashboard.settings","",this),Object(h.createElement)("div",{className:"gblocks-action-button"},Object(h.createElement)(O.Button,{isPrimary:!0,disabled:this.state.isAPISaving,onClick:function(t){return e.updateSettings(t)}},this.state.isAPISaving&&Object(h.createElement)(O.Spinner,null),!this.state.isAPISaving&&Object(y.__)("Save")),Object(h.createElement)("span",{className:"gblocks-action-message"})))),Object(j.applyFilters)("generateblocks.dashboard.afterSettings","",this))):Object(h.createElement)(O.Placeholder,{className:"gblocks-settings-placeholder"},Object(h.createElement)(O.Spinner,null))}}]),n}(h.Component);window.addEventListener("DOMContentLoaded",(function(){Object(h.render)(Object(h.createElement)(w,null),document.getElementById("gblocks-block-default-settings"))}))},function(e,t,n){}]);
1
+ !function(e){var t={};function s(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,s),i.l=!0,i.exports}s.m=e,s.c=t,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)s.d(n,i,function(t){return e[t]}.bind(null,i));return n},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.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){e.exports=window.wp.apiFetch},,,function(e,t,s){"use strict";s.r(t);var n=s(0),i=s(1),a=s(2),o=s(11),r=s.n(o),c=s(3);class l extends n.Component{constructor(){super(...arguments),this.state={isAPILoaded:!1,isAPISaving:!1,isRegeneratingCSS:!1,settings:generateBlocksSettings.settings},this.getSetting=this.getSetting.bind(this),this.updateSettings=this.updateSettings.bind(this)}componentDidMount(){this.setState({isAPILoaded:!0})}getSetting(e,t){let s=t;return void 0!==this.state.settings[e]&&(s=this.state.settings[e]),s}updateSettings(e){this.setState({isAPISaving:!0});const t=e.target.nextElementSibling;r()({path:"/generateblocks/v1/settings",method:"POST",data:{settings:this.state.settings}}).then(e=>{this.setState({isAPISaving:!1}),t.classList.add("gblocks-action-message--show"),t.textContent=e.response,e.success&&e.response?setTimeout((function(){t.classList.remove("gblocks-action-message--show")}),3e3):t.classList.add("gblocks-action-message--error")})}render(){return this.state.isAPILoaded?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"generateblocks-settings-main"},Object(c.applyFilters)("generateblocks.dashboard.beforeSettings","",this),Object(n.createElement)(a.PanelBody,{title:Object(i.__)("Settings","generateblocks")},Object(n.createElement)("div",{className:"gblocks-dashboard-panel-row-wrapper"},Object(n.createElement)(a.PanelRow,{className:"gblocks-css-print-method"},Object(n.createElement)(a.SelectControl,{label:Object(i.__)("CSS Print Method","generateblocks"),help:Object(i.__)("Generating your CSS in external files is better for overall performance.","generateblocks"),value:this.getSetting("css_print_method"),options:[{label:Object(i.__)("External File","generateblocks"),value:"file"},{label:Object(i.__)("Inline Embedding","generateblocks"),value:"inline"}],onChange:e=>{this.setState({settings:{...this.state.settings,css_print_method:e}})}})),"file"===this.getSetting("css_print_method")&&Object(n.createElement)(a.PanelRow,null,Object(n.createElement)(a.BaseControl,{id:"gblocks-regenerate-css",className:"gblocks-regenerate-css",help:Object(i.__)("Force your external CSS files to regenerate next time their page is loaded.","generateblocks")},Object(n.createElement)("div",{className:"gblocks-action-button"},Object(n.createElement)(a.Button,{isSecondary:!0,onClick:e=>{this.setState({isRegeneratingCSS:!0});const t=e.target.nextElementSibling;r()({path:"/generateblocks/v1/regenerate_css_files",method:"POST"}).then(e=>{this.setState({isRegeneratingCSS:!1}),t.classList.add("gblocks-action-message--show"),t.textContent=e.response,e.success&&e.response?setTimeout((function(){t.classList.remove("gblocks-action-message--show")}),3e3):t.classList.add("gblocks-action-message--error")})}},this.state.isRegeneratingCSS&&Object(n.createElement)(a.Spinner,null),!this.state.isRegeneratingCSS&&Object(i.__)("Regenerate CSS Files","generateblocks")),Object(n.createElement)("span",{className:"gblocks-action-message"})))),Object(n.createElement)(a.PanelRow,null,Object(n.createElement)(a.ToggleControl,{label:Object(i.__)("Sync Responsive Previews","generateblocks"),help:Object(i.__)("Sync our responsive preview controls with the editor responsive previews.","generateblocks"),checked:this.getSetting("sync_responsive_previews"),onChange:e=>{this.setState({settings:{...this.state.settings,sync_responsive_previews:e}})}})),Object(c.applyFilters)("generateblocks.dashboard.settings","",this),Object(n.createElement)("div",{className:"gblocks-action-button"},Object(n.createElement)(a.Button,{isPrimary:!0,disabled:this.state.isAPISaving,onClick:e=>this.updateSettings(e)},this.state.isAPISaving&&Object(n.createElement)(a.Spinner,null),!this.state.isAPISaving&&Object(i.__)("Save")),Object(n.createElement)("span",{className:"gblocks-action-message"})))),Object(c.applyFilters)("generateblocks.dashboard.afterSettings","",this))):Object(n.createElement)(a.Placeholder,{className:"gblocks-settings-placeholder"},Object(n.createElement)(a.Spinner,null))}}window.addEventListener("DOMContentLoaded",()=>{Object(n.render)(Object(n.createElement)(l,null),document.getElementById("gblocks-block-default-settings"))})}]);
includes/class-enqueue-css.php CHANGED
@@ -46,6 +46,7 @@ class GenerateBlocks_Enqueue_CSS {
46
  add_action( 'save_post_wp_block', array( $this, 'wp_block_update' ), 10, 2 );
47
  add_action( 'init', array( $this, 'enqueue_assets' ) );
48
  add_filter( 'widget_update_callback', array( $this, 'force_file_regen_on_widget_save' ) );
 
49
  }
50
 
51
  /**
@@ -443,10 +444,24 @@ class GenerateBlocks_Enqueue_CSS {
443
  * @param array $instance The current widget instance's settings.
444
  */
445
  public function force_file_regen_on_widget_save( $instance ) {
446
- update_option( 'generateblocks_dynamic_css_posts', array() );
 
 
447
 
448
  return $instance;
449
  }
 
 
 
 
 
 
 
 
 
 
 
 
450
  }
451
 
452
  GenerateBlocks_Enqueue_CSS::get_instance();
46
  add_action( 'save_post_wp_block', array( $this, 'wp_block_update' ), 10, 2 );
47
  add_action( 'init', array( $this, 'enqueue_assets' ) );
48
  add_filter( 'widget_update_callback', array( $this, 'force_file_regen_on_widget_save' ) );
49
+ add_action( 'customize_save_after', array( $this, 'force_file_regen_on_customizer_save' ) );
50
  }
51
 
52
  /**
444
  * @param array $instance The current widget instance's settings.
445
  */
446
  public function force_file_regen_on_widget_save( $instance ) {
447
+ if ( function_exists( 'wp_use_widgets_block_editor' ) && wp_use_widgets_block_editor() ) {
448
+ update_option( 'generateblocks_dynamic_css_posts', array() );
449
+ }
450
 
451
  return $instance;
452
  }
453
+
454
+ /**
455
+ * Force CSS files to regenerate after the Customizer has been saved.
456
+ * This is necessary because force_file_regen_on_widget_save() doesn't fire in the Customizer for some reason.
457
+ *
458
+ * @todo Make this only happen when the widgets have been changed.
459
+ */
460
+ public function force_file_regen_on_customizer_save() {
461
+ if ( function_exists( 'wp_use_widgets_block_editor' ) && wp_use_widgets_block_editor() ) {
462
+ update_option( 'generateblocks_dynamic_css_posts', array() );
463
+ }
464
+ }
465
  }
466
 
467
  GenerateBlocks_Enqueue_CSS::get_instance();
includes/general.php CHANGED
@@ -20,10 +20,18 @@ add_action( 'enqueue_block_editor_assets', 'generateblocks_do_block_editor_asset
20
  * @since 0.1
21
  */
22
  function generateblocks_do_block_editor_assets() {
 
 
 
 
 
 
 
 
23
  wp_enqueue_script(
24
  'generateblocks',
25
  GENERATEBLOCKS_DIR_URL . 'dist/blocks.js',
26
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor', 'wp-compose', 'wp-data' ),
27
  filemtime( GENERATEBLOCKS_DIR . 'dist/blocks.js' ),
28
  true
29
  );
20
  * @since 0.1
21
  */
22
  function generateblocks_do_block_editor_assets() {
23
+ global $pagenow;
24
+
25
+ $generateblocks_deps = array( 'wp-blocks', 'wp-i18n', 'wp-editor', 'wp-element', 'wp-compose', 'wp-data' );
26
+
27
+ if ( 'widgets.php' === $pagenow ) {
28
+ unset( $generateblocks_deps[2] );
29
+ }
30
+
31
  wp_enqueue_script(
32
  'generateblocks',
33
  GENERATEBLOCKS_DIR_URL . 'dist/blocks.js',
34
+ $generateblocks_deps,
35
  filemtime( GENERATEBLOCKS_DIR . 'dist/blocks.js' ),
36
  true
37
  );
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.3.4
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.3.4' );
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.3.5
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.3.5' );
23
  define( 'GENERATEBLOCKS_DIR', plugin_dir_path( __FILE__ ) );
24
  define( 'GENERATEBLOCKS_DIR_URL', plugin_dir_url( __FILE__ ) );
25
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: blocks, gutenberg, container, headline, grid, columns, page builder, wysiw
5
  Requires at least: 5.4
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
- Stable tag: 1.3.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -77,6 +77,11 @@ GenerateBlocks was built to work hand-in-hand with [GeneratePress](https://gener
77
 
78
  == Changelog ==
79
 
 
 
 
 
 
80
  = 1.3.4 =
81
  * New: Integrate with the new widget block editor
82
  * Fix: Memory leak when reusable blocks try to render inside themselves
5
  Requires at least: 5.4
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
+ Stable tag: 1.3.5
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
77
 
78
  == Changelog ==
79
 
80
+ = 1.3.5 =
81
+ * Fix: Error saving classic widgets in Customizer
82
+ * Fix: Console error in widget editor due to core/edit-post
83
+ * Tweak: Remove wp-editor dependency from widget editor
84
+
85
  = 1.3.4 =
86
  * New: Integrate with the new widget block editor
87
  * Fix: Memory leak when reusable blocks try to render inside themselves
src/blocks/button-container/edit.js CHANGED
@@ -464,7 +464,7 @@ export default compose( [
464
  setDeviceType( type ) {
465
  const {
466
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
467
- } = dispatch( 'core/edit-post' );
468
 
469
  if ( ! setPreviewDeviceType ) {
470
  return;
@@ -476,7 +476,7 @@ export default compose( [
476
  withSelect( ( select ) => {
477
  const {
478
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
479
- } = select( 'core/edit-post' );
480
 
481
  if ( ! getPreviewDeviceType ) {
482
  return {
464
  setDeviceType( type ) {
465
  const {
466
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
467
+ } = dispatch( 'core/edit-post' ) || false;
468
 
469
  if ( ! setPreviewDeviceType ) {
470
  return;
476
  withSelect( ( select ) => {
477
  const {
478
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
479
+ } = select( 'core/edit-post' ) || false;
480
 
481
  if ( ! getPreviewDeviceType ) {
482
  return {
src/blocks/button/edit.js CHANGED
@@ -1114,7 +1114,7 @@ export default compose( [
1114
  setDeviceType( type ) {
1115
  const {
1116
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
1117
- } = dispatch( 'core/edit-post' );
1118
 
1119
  if ( ! setPreviewDeviceType ) {
1120
  return;
@@ -1126,7 +1126,7 @@ export default compose( [
1126
  withSelect( ( select ) => {
1127
  const {
1128
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
1129
- } = select( 'core/edit-post' );
1130
 
1131
  if ( ! getPreviewDeviceType ) {
1132
  return {
1114
  setDeviceType( type ) {
1115
  const {
1116
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
1117
+ } = dispatch( 'core/edit-post' ) || false;
1118
 
1119
  if ( ! setPreviewDeviceType ) {
1120
  return;
1126
  withSelect( ( select ) => {
1127
  const {
1128
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
1129
+ } = select( 'core/edit-post' ) || false;
1130
 
1131
  if ( ! getPreviewDeviceType ) {
1132
  return {
src/blocks/container/edit.js CHANGED
@@ -2067,7 +2067,7 @@ export default compose( [
2067
  setDeviceType( type ) {
2068
  const {
2069
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
2070
- } = dispatch( 'core/edit-post' );
2071
 
2072
  if ( ! setPreviewDeviceType ) {
2073
  return;
@@ -2077,6 +2077,13 @@ export default compose( [
2077
  },
2078
  } ) ),
2079
  withSelect( ( select ) => {
 
 
 
 
 
 
 
2080
  const {
2081
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
2082
  } = select( 'core/edit-post' );
2067
  setDeviceType( type ) {
2068
  const {
2069
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
2070
+ } = dispatch( 'core/edit-post' ) || false;
2071
 
2072
  if ( ! setPreviewDeviceType ) {
2073
  return;
2077
  },
2078
  } ) ),
2079
  withSelect( ( select ) => {
2080
+ if ( ! select( 'core/edit-post' ) ) {
2081
+ return {
2082
+ media: null,
2083
+ deviceType: null,
2084
+ };
2085
+ }
2086
+
2087
  const {
2088
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
2089
  } = select( 'core/edit-post' );
src/blocks/grid/edit.js CHANGED
@@ -886,7 +886,7 @@ export default compose( [
886
  setDeviceType( type ) {
887
  const {
888
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
889
- } = dispatch( 'core/edit-post' );
890
 
891
  if ( ! setPreviewDeviceType ) {
892
  return;
@@ -898,7 +898,7 @@ export default compose( [
898
  withSelect( ( select ) => {
899
  const {
900
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
901
- } = select( 'core/edit-post' );
902
 
903
  if ( ! getPreviewDeviceType ) {
904
  return {
886
  setDeviceType( type ) {
887
  const {
888
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
889
+ } = dispatch( 'core/edit-post' ) || false;
890
 
891
  if ( ! setPreviewDeviceType ) {
892
  return;
898
  withSelect( ( select ) => {
899
  const {
900
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
901
+ } = select( 'core/edit-post' ) || false;
902
 
903
  if ( ! getPreviewDeviceType ) {
904
  return {
src/blocks/headline/edit.js CHANGED
@@ -1296,7 +1296,7 @@ export default compose( [
1296
  setDeviceType( type ) {
1297
  const {
1298
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
1299
- } = dispatch( 'core/edit-post' );
1300
 
1301
  if ( ! setPreviewDeviceType ) {
1302
  return;
@@ -1308,7 +1308,7 @@ export default compose( [
1308
  withSelect( ( select ) => {
1309
  const {
1310
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
1311
- } = select( 'core/edit-post' );
1312
 
1313
  if ( ! getPreviewDeviceType ) {
1314
  return {
1296
  setDeviceType( type ) {
1297
  const {
1298
  __experimentalSetPreviewDeviceType: setPreviewDeviceType,
1299
+ } = dispatch( 'core/edit-post' ) || false;
1300
 
1301
  if ( ! setPreviewDeviceType ) {
1302
  return;
1308
  withSelect( ( select ) => {
1309
  const {
1310
  __experimentalGetPreviewDeviceType: getPreviewDeviceType,
1311
+ } = select( 'core/edit-post' ) || false;
1312
 
1313
  if ( ! getPreviewDeviceType ) {
1314
  return {
src/blocks/headline/markformat.js CHANGED
@@ -9,7 +9,7 @@ import {
9
  import {
10
  toggleFormat,
11
  registerFormatType,
12
- } from '@wordpress/richText';
13
 
14
  import {
15
  RichTextToolbarButton,
9
  import {
10
  toggleFormat,
11
  registerFormatType,
12
+ } from '@wordpress/rich-text';
13
 
14
  import {
15
  RichTextToolbarButton,