Stackable – Page Builder Gutenberg Blocks - Version 2.10.3

Version Description

  • Fixed: Block errors in nested blocks
  • Fixed: PHP warning undefined index page
Download this release

Release Info

Developer bfintal
Plugin Icon 128x128 Stackable – Page Builder Gutenberg Blocks
Version 2.10.3
Comparing to
See all releases

Code changes from version 2.10.2 to 2.10.3

Files changed (2) hide show
  1. dist/editor_blocks.css +1 -1
  2. dist/editor_blocks.js +0 -1
dist/editor_blocks.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";svg.ugb-stackable-icon-gradient{fill:url(#stackable-gradient)!important}.block-editor-block-list__block[data-type^="ugb/"]{margin-top:0!important;margin-bottom:0!important}[data-type^="ugb/"][data-align=full]>*>.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0 35px}[data-type^="ugb/"]>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}.ugb--has-panel-tabs .ugb-panel-tabs~.editorskit-panel{display:none}.components-toolbar__control.ugb--is-premium{position:relative}.components-toolbar__control.ugb--is-premium:after{position:absolute;z-index:1;background:none;line-height:18px;padding:0 6px;border-radius:2px;left:0;right:0;text-transform:uppercase;background-size:100%;background-repeat:no-repeat;font-family:dashicons;content:"\f160";color:#888;font-size:20px;opacity:0}.components-toolbar__control.ugb--is-premium *,.components-toolbar__control.ugb--is-premium:after{transition:all .2s ease-in-out}.components-toolbar__control.ugb--is-premium:disabled{opacity:1}.components-toolbar__control.ugb--is-premium:disabled *{opacity:.3}.components-toolbar__control.ugb--is-premium:hover *{opacity:0}.components-toolbar__control.ugb--is-premium:hover:after{opacity:1}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-base-control__label,body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-toggle-control__label{cursor:help;border-bottom:1px solid transparent}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-base-control__label:hover,body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-toggle-control__label:hover{border-color:#8c33da;color:#8c33da;border-bottom-style:solid!important}body.ugb--help-tips-enabled .components-base-control[class*=ugb--help-tip-]:hover .components-base-control__label,body.ugb--help-tips-enabled .components-base-control[class*=ugb--help-tip-]:hover .components-toggle-control__label{border-color:#a683c5;border-bottom-style:dashed}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle{cursor:pointer}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:after{content:"\f223";margin-left:10px;font-family:dashicons;font-size:20px;line-height:16px;text-shadow:0 0 1px #000;color:#fafafa}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover{color:#8c33da!important}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover:after{cursor:help;color:#b266f4;text-shadow:none}.ugb-help-tooltip-video{margin-left:-30px!important}.ugb-help-tooltip-video .components-popover__content{min-width:220px!important;width:220px!important}.ugb-help-tooltip-video .components-panel__body{padding:0 16px 16px}.ugb-help-tooltip-video video{width:100%;height:auto;position:relative;z-index:2;margin:0 -16px 8px;min-width:calc(100% + 32px);min-height:163.5px}.ugb-help-tooltip-video .ugb-help-tooltip-video__link{margin-top:5px;text-align:right;cursor:pointer}.ugb-help-tooltip-video .ugb-help-tooltip-video__link svg{vertical-align:bottom}.ugb-help-tooltip-video .components-spinner{position:absolute;left:calc(50% - 9px);text-align:center;top:82px;margin:0;z-index:1}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove{background:none!important;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:9!important}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove svg{max-width:none;stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove:hover{color:#444}.ugb-help-tooltip-video h4{margin:0 0 8px;font-size:1em}.ugb-help-tooltip__checkbox{font-size:11px;margin:20px 0 -10px;color:#777;font-style:italic}.ugb-help-tooltip__checkbox .components-checkbox-control__input-container{margin-right:8px}[data-type="ugb/accordion"] .ugb-accordion__heading{outline:none}[data-type="ugb/accordion"] .ugb-accordion__heading svg{transform:rotate(180deg)!important}[data-type="ugb/accordion"] .ugb-accordion__heading>:first-child{flex:1}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__content{display:none}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__heading svg{transform:rotate(0deg)!important}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content .ugb-accordion__content-inner{padding-top:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content{overflow:visible}#editor .ugb-accordion.ugb-accordion--v2.ugb-accordion--design-plain .ugb-accordion__content .ugb-accordion__content-inner{padding-bottom:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__heading{z-index:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay .ugb-video-background,#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay:before{z-index:-1!important}.ugb-accordion__heading>div:empty{display:none}.ugb-blockquote{margin-left:0;margin-right:0}.ugb-blockquote__inspector__icon{flex-wrap:wrap}.ugb-blog-post__inspector-spinner>*{margin:0 auto 16px;display:block;float:none}.ugb-blog-posts__item:after{pointer-events:none}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-cta__item,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background) .ugb-cta__item{border-radius:0}.ugb-column>.ugb-inner-block>.ugb-block-content>.ugb-column__item{overflow:visible!important}[data-type="ugb/column"]>.block-editor-block-list__block-edit{height:100%}[data-type="ugb/column"]>.block-editor-block-list__block-edit>[data-block]{display:flex;flex-direction:column}.wp-block[data-type="ugb/column"],.wp-block[data-type="ugb/column"] .wp-block{max-width:none}[data-type="ugb/column"],[data-type="ugb/column"]>.ugb-column{height:100%}[data-type="ugb/column"]{transition:none!important}.ugb-column__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-block]:first-child{margin-top:0!important}.ugb-column__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:not(:first-child){margin-bottom:-28px!important}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:first-child{grid-area:one}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(2){grid-area:two}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(3){grid-area:three}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(4){grid-area:four}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(5){grid-area:five}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(6){grid-area:six}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(7){grid-area:seven}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(8){grid-area:eight}.ugb-columns:not(.ugb-columns--design-plain):not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-columns:auto;grid-auto-flow:row}.ugb-columns .ugb-columns__item{align-items:stretch}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;grid-gap:35px}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>div{margin-left:0;margin-right:0}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-2>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two";grid-template-columns:1fr 1fr;grid-template-rows:auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-3>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two" "three three";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two" "three four";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-5>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two" "three four" "five five";grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two three" "four five six";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-7>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two three" "four five six" "seven seven seven";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-8>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two three four" "five six seven eight";grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:first-child{grid-area:one}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(2){grid-area:two}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(3){grid-area:three}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(4){grid-area:four}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(5){grid-area:five}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(6){grid-area:six}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(7){grid-area:seven}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(8){grid-area:eight}.ugb-columns:not(.ugb-columns--design-plain):not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-auto-columns:auto;grid-auto-flow:row}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{display:flex!important;justify-content:stretch;align-items:stretch;height:100%}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{height:100%}.ugb-columns__item>.block-editor-inner-blocks{width:100%}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;grid-gap:35px}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>div{margin-left:0;margin-right:0}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-2>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two";grid-template-columns:1fr 1fr;grid-template-rows:auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-3>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two" "three three";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two" "three four";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-5>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two" "three four" "five five";grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two three" "four five six";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-7>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two three" "four five six" "seven seven seven";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-8>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two three four" "five six seven eight";grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{display:flex;flex-direction:column}[data-type="ugb/columns"].has-child-selected [data-type="ugb/column"]:not(.has-child-selected):before,[data-type="ugb/columns"].is-selected [data-type="ugb/column"]:not(.has-child-selected):before{border:1px dashed rgba(123,134,162,.3)}[data-type="ugb/column"]:before{top:0!important;bottom:0!important;left:0!important;right:0!important}[data-type="ugb/columns"]:not(.is-selected):before{border:1px dashed rgba(243,73,87,.6)!important}[data-type="ugb/column"]{transition:all .3s ease-in-out!important}[data-type="ugb/column"][style*="transform: tra"]{transition:none!important}.ugb-columns--highlight-1>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:first-child,.ugb-columns--highlight-2>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(2),.ugb-columns--highlight-3>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(3),.ugb-columns--highlight-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(4),.ugb-columns--highlight-5>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(5),.ugb-columns--highlight-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(6),.ugb-columns--highlight-7>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(7),.ugb-columns--highlight-8>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(8){transform:translateY(-20px)!important}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background){padding-left:0!important;padding-right:0!important}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background)>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper{border-radius:0!important}[data-type="ugb/container"][data-align=center]{text-align:inherit}.ugb-container .block-editor-block-list__block{max-width:none!important}[data-align=full] .ugb-countup{border-radius:0!important;margin-top:0;margin-bottom:0}.ugb-design-library-block .components-placeholder__label svg{margin-right:8px}.ugb-design-library-block button.components-button{height:auto;font-weight:600;text-transform:uppercase;font-size:13px;padding:11px 20px;background:#fff}.ugb-insert-library-button svg{width:20px;height:20px}.ugb-insert-library-button{margin-left:10px;margin-right:10px}.ugb-expand__label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;border:none;box-shadow:none;white-space:nowrap;display:block}.ugb-expand__label:first-child{padding-top:0}.ugb-expand .ugb-expand__less-text p,.ugb-expand .ugb-expand__more-text p{font-size:inherit!important;color:inherit!important}.ugb-expand .ugb-block-content>a{display:inline-block}.ugb-feature.ugb-feature--design-basic .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder,.ugb-feature.ugb-feature--design-plain .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:250px}.ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100px;width:100px;margin:0 auto;border-radius:100%}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-header__item,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background) .ugb-header__item{border-radius:0}.editor-styles-wrapper .ugb-heading .ugb-heading__subtitle,.editor-styles-wrapper .ugb-heading .ugb-heading__top-line{margin-bottom:16px}.editor-styles-wrapper .ugb-heading .ugb-heading__title{margin-bottom:8px}.ugb-icon-list ul{list-style:none!important}.ugb-icon-list ul li:before{cursor:pointer}.ugb-icon-list.ugb-icon-list li:last-child{margin-bottom:0!important}.ugb-icon-list__center-align li,.ugb-icon-list__right-align li{width:-webkit-fit-content!important;width:fit-content!important;width:-moz-fit-content!important;margin-left:auto!important}.ugb-icon-list__center-align li{margin-right:auto!important}.ugb-icon-list__left-align li{width:-webkit-fit-content!important;width:fit-content!important;width:-moz-fit-content!important;margin-right:auto!important}.ugb-image-box__image:hover{opacity:1!important}.ugb-image-box__arrow{pointer-events:all!important}[data-type="ugb/notification"] .ugb-notification.ugb-notification--dismissible{display:flex!important}[data-type="ugb/notification"] .ugb-notification__item>:last-child,[data-type="ugb/notification"] .ugb-notification__item>:last-child [role=textbox]{margin-bottom:0}[data-type="ugb/notification"] .ugb-svg-icon-placeholder__button{display:block;width:100%}.ugb-number-box .ugb-number-box__number[data-is-placeholder-visible=true]{transition:none;height:2.5em;width:2.5em;left:calc(50% - 1.25em)}.ugb-number-box .ugb-number-box__item>:not(.ugb-number-box__content){z-index:3!important}.ugb-number-box .ugb-number-box__item>.ugb-number-box__content{z-index:4!important}.ugb-pricing-box__price-line>:first-child{align-self:flex-start}.ugb-pricing-box__price-line>:last-child{align-self:flex-end}[data-type="ugb/separator"]{z-index:30!important}[data-type="ugb/separator"]~.wp-block.is-selected{z-index:31}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-inner{overflow:hidden}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-wrapper{overflow:visible}.ugb-team-member-setting__social,.ugb-team-member-setting__social .components-base-control__field{margin-bottom:8px!important}.ugb-team-member__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-team-member__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}.ugb-testimonial__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-testimonial__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}#editor [data-type="ugb/video-popup"][data-align=full] .ugb-video-popup.ugb-main-block--inner-full.ugb--has-block-background .ugb-video-popup__wrapper,#editor [data-type="ugb/video-popup"][data-align=full] .ugb-video-popup:not(.ugb--has-block-background) .ugb-video-popup__wrapper{border-radius:0;margin-left:-35px;margin-right:-35px;width:calc(100% + 70px)}.ugb-admin-setting{margin-bottom:16px}.ugb-admin-setting__label-wrapper{display:flex;align-items:center}.ugb-admin-setting__label{width:200px;display:inline-block;font-weight:700;color:#666;padding-right:15px;box-sizing:border-box}.ugb-admin-setting--small .ugb-admin-setting__label{width:130px}.ugb-admin-setting__field{flex:1}input.ugb-admin-text-setting{padding:.5em 1em;box-shadow:0 5px 30px -10px rgba(18,63,82,.1);border:1px solid rgba(0,0,0,.1);margin:0}input.ugb-admin-text-setting[type=text]{width:calc(100% - 300px)}.ugb-admin-toggle-setting__button{outline:0;display:block;height:26px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:1.5em auto 1em!important;padding:0!important;border:0!important;border-radius:26px;transition:all .4s ease;display:inline-block;background:#e4f5e4;outline:none;outline-offset:3px}.ugb-admin-toggle-setting__button:focus{outline:1px dashed #888}.ugb-admin-toggle-setting__button:after,.ugb-admin-toggle-setting__button:before{position:relative;display:block;content:"";width:26px;height:100%}.ugb-admin-toggle-setting__button:after{left:calc(100% - 26px);background:#3ca540;border-radius:50%;transition:all .2s ease;position:absolute;top:0;box-shadow:0 3px 10px -5px #000}.ugb-admin-toggle-setting__button:before{display:none}.ugb-admin-toggle-setting__button span{position:relative;display:flex;justify-content:center;align-items:center;z-index:2;color:rgba(0,0,0,.4);font-size:11px;line-height:26px;transition:padding .2s ease;padding:0 35px 0 15px}.ugb-admin-toggle-setting__button span:first-child{color:#7b7b7b}.ugb-admin-toggle-setting__button span:nth-child(2){color:#209e25}.ugb-admin-toggle-setting__button span:first-child{display:none}.ugb-admin-toggle-setting__button span:nth-child(2){display:block}.ugb-admin-toggle-setting__button[aria-checked=false]{background:#f0f0f0}.ugb-admin-toggle-setting__button[aria-checked=false]:after{left:0;background:#7b7b7b}.ugb-admin-toggle-setting__button[aria-checked=false] span{padding:0 15px 0 35px}.ugb-admin-toggle-setting__button[aria-checked=false] span:first-child{display:block}.ugb-admin-toggle-setting__button[aria-checked=false] span:nth-child(2){display:none}.ugb-advanced-autosuggest-control{margin-bottom:16px}.ugb-advanced-autosuggest-control__select>*{position:relative}.ugb-advanced-autosuggest-control__select input{width:100%}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container{position:absolute;top:100%;max-height:272px;overflow-y:auto;z-index:2;background:#fff;width:100%;margin-top:5px;border-radius:6px}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container:not(:empty){box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list,.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list li{margin:0}.ugb-advanced-autosuggest-control__select .react-autosuggest__section-container:not(.react-autosuggest__section-container--first){border-top:1px solid #ddd}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion{background:#fff;padding:8px 16px;cursor:pointer}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion--highlighted{background:#f1f1f1}.ugb--autosuggest-empty{font-style:italic;font-size:.9em;color:#999}.ugb--autosuggest-group{background:#fff;padding:14px 16px 8px;font-weight:700;color:#aaa}.ugb-advanced-range-control,.ugb-advanced-toolbar-control .components-button-group{width:100%}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--full-width{display:flex;flex-wrap:nowrap}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--full-width>button,.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--full-width>button>svg{width:100%!important}.ugb-advanced-toolbar-control .components-button-group svg{height:20px!important;width:auto}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline{flex-wrap:wrap}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline>button{margin-top:-1px!important;margin-left:-1px!important}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline>button,.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline>button>svg{width:auto!important}.ugb-advanced-toolbar-control__text-button{align-self:center;width:100%}body.branch-5-4 .ugb-advanced-toolbar-control .components-button-group{border:1px solid #e2e4e7}.ugb-base-control-multi-label{display:grid;grid-template-columns:auto 1fr auto;margin-bottom:5px;align-items:center}.ugb-base-control-multi-label .ugb-base-control-multi-label__label{margin-bottom:0}.ugb-base-control-multi-label__units{top:0;right:0;display:flex}.ugb-base-control-multi-label__units button{border:0;font-size:10px;margin:0;font-weight:400;outline:none;color:#aaa;padding:0 4px;background:transparent;cursor:pointer;text-transform:uppercase}.ugb-base-control-multi-label__units button:hover{color:#333}.ugb-base-control-multi-label__units button.is-active{color:#333;text-decoration:underline}.ugb-base-control-multi-label__units .components-button{text-transform:none}.ugb-modal-get-block-attributes-button textarea{width:50vw;height:60vh;font-family:monospace}.ugb-button.ugb-button--icon-only .ugb-svg-icon-placeholder__button{display:block}.ugb-button.ugb-button--has-icon .ugb-svg-icon-placeholder__button{height:auto}.ugb-button svg{transition:initial!important}.ugb-button.ugb-button--has-icon .ugb-icon-inner-svg svg.ugb-custom-icon{fill:initial}.ugb-button-icon-control .components-popover__content{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-button-icon-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-button-icon-control button{display:flex}.components-popover.ugb-button-icon-control__popover{z-index:100000}.ugb-button-icon-control__popover .components-panel__body-title{padding:15px!important;background:transparent!important}.ugb-button-icon-control__wrapper{display:flex;align-items:center}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset{padding:6px;margin:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset svg{width:14px;height:14px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit{padding:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit svg{width:18px;height:18px;margin:0}.ugb-button-icon-control .components-toggle-control,.ugb-button-icon-control .components-toggle-control .components-base-control__field,.ugb-button-icon-control .components-toggle-control .components-toggle-control__label{margin-bottom:0!important}.ugb-code-textarea+.CodeMirror{height:500px;margin-left:-16px;margin-right:-16px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:16px}.ugb-columns-width-control__range{display:flex;align-items:center;margin-bottom:8px}.ugb-columns-width-control__range .ugb-columns-width-control__icon{height:20px;width:20px;flex-shrink:0;font-size:14px;margin-right:10px;font-weight:700;display:block;text-align:center}.ugb-columns-width-control__range .components-base-control.components-range-control,.ugb-columns-width-control__range .components-base-control__field{margin-bottom:0!important}.ugb-columns-width-control__range .components-range-control{flex:1}.ugb-columns-width-control .ugb-design-control-wrapper.components-base-control{margin-bottom:0}.ugb-columns-width-control .ugb-design-control{padding:0}.ugb-columns-width-control .ugb-design-control .components-radio-control__option{width:25%}.ugb-columns-width-control .ugb-design-control .components-base-control__field{margin-bottom:0!important;display:flex;justify-content:space-evenly}.ugb-columns-width-control .ugb-design-panel-item__image{display:block}.ugb-columns-width-control .ugb-columns-width-control__suffix{flex-shrink:0;font-size:14px;margin-left:5px;display:block;text-align:center}.ugb-columns-width-control .ugb-columns-width-control__reset{text-transform:none}.ugb-column-widths-control__columns-slider{height:20px;margin-top:20px}.ugb-column-widths-control__columns-slider [role=slider]{position:absolute;transform:translate(-50%,-50%);width:10px;height:10px;padding:0;border-radius:50%;background-color:#555d66;border:0;outline:0}.ugb-column-widths-control__columns-slider [role=slider]:focus{border:1px solid #555d66;background:#fff}.ugb-column-widths-control__columns-input{display:grid}.ugb-column-widths-control__columns-input input{min-width:40px!important;width:40px;padding:4px 2px!important;font-size:11px;margin:0 auto}.ugb-column-widths-control__columns-input input:not(:hover):not(:focus){border-color:#eee}.ugb-control-separator{height:1px!important;background:#ddd!important;margin:24px -16px!important;border:0!important;padding:0!important;width:calc(100% + 32px)!important;box-shadow:none!important}.components-panel__body-title+.ugb-control-separator{margin-top:0!important}.ugb-design-control{max-height:450px}.ugb-design-control input{opacity:0;height:0;width:0;margin:0;padding:0;position:fixed;top:0}.ugb-design-control .components-radio-control__option{display:inline-block;width:50%;text-align:center}.ugb-design-control label>span{padding:5px;display:block;border-radius:8px}.ugb-design-control label>span>img{border-radius:4px}.ugb-design-control input:checked+label>span{box-shadow:inset 0 0 0 2px #888}.ugb-design-control input:not(:checked)+label>span:hover{box-shadow:inset 0 0 0 2px #f1f1f1}.ugb-design-control .design-label svg{height:12px;margin:0 0 0 5px;fill:#ffad00}.ugb-design-control--columns-3 .ugb-design-control .components-radio-control__option{width:33.3%}.ugb-design-library-control__open-library{margin:0 0 8px auto!important;display:block}.ugb-design-library-control__open-library__toolbar{font-size:11px;display:flex;justify-content:space-between;padding:0 8px}.ugb-design-library-items{page-break-inside:avoid;break-inside:avoid;column-count:1;column-gap:38px}.ugb-design-library-items.ugb-design-library-items--columns-2{column-count:2}.ugb-design-library-items.ugb-design-library-items--columns-3{column-count:3}.ugb-design-library-items.ugb-design-library-items--columns-4{column-count:4}.ugb-design-library-items .components-base-control__help{text-align:center;font-style:italic}.ugb-design-library-items .ugb-design-library-search__spinner{display:flex}.ugb-design-library-items .ugb-design-library-search__spinner .components-spinner{margin:0 auto}.ugb-modal-design-library__wrapper{overflow:hidden}.ugb-modal-design-library__designs{overflow:auto}.ugb-design-library-item{border-radius:4px;box-shadow:0 2px 15px hsla(0,0%,60%,.3);overflow:hidden;transition:all .3s ease-in-out;position:relative;margin-bottom:38px;display:block;transform:translateZ(0);break-inside:avoid;width:100%;will-change:transform}.ugb-design-library-item:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 6px 25px hsla(0,0%,60%,.3)}.ugb-design-library-item img{display:block;pointer-events:none;width:100%;height:auto;min-height:50px;background:#f1f1f1}.ugb-design-library-item footer{padding:8px 12px;font-size:11px;line-height:18px;display:flex;justify-content:space-between}.ugb-design-library-item.ugb--is-busy .ugb-design-library-item__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) translateY(-10px)}.ugb-design-library-item.ugb--is-busy .components-spinner{margin:0}.ugb-design-library-item.ugb--is-busy img{opacity:.15}.ugb-design-library-item .ugb-design-library-item__image svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-40%);opacity:0;fill:#000;height:35px;width:35px}.ugb-design-library-item .ugb-design-library-item__image img,.ugb-design-library-item .ugb-design-library-item__image svg{transition:all .3s ease-in-out}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image img{opacity:.4;filter:blur(3px)}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image svg{transform:translate(-50%,-50%);opacity:1}.ugb-design-library-item__image{padding:0!important;border:0!important;text-align:start!important;width:100%!important;margin:0!important;outline:none!important;cursor:pointer;display:block}.ugb-design-library-item__premium{position:absolute;z-index:1;background:#f34957;font-size:10px;color:#fff;line-height:18px;padding:0 6px;border-radius:2px;top:5px;right:5px;text-transform:uppercase}.ugb-design-library-item__premium-link{cursor:pointer;display:flex}.ugb-design-library-item__premium-link svg{height:15px;margin-right:5px}.ugb-design-library-item__favorite{border:0;padding:0;cursor:pointer;outline:none;transition:all .3 ease-in-out}.ugb-design-library-item__favorite svg{fill:#bbb;height:14px;width:14px}.ugb-design-library-item__favorite.ugb--is-favorite:hover svg,.ugb-design-library-item__favorite.ugb--is-favorite svg,.ugb-design-library-item__favorite:hover svg{fill:#d30c5c}.ugb-design-control{max-height:40vh;overflow-y:auto;padding:0 16px}.ugb-design-control .components-base-control__label{margin-left:-16px;margin-right:-16px;margin-bottom:8px}.ugb-design-panel-item{position:relative}.ugb-design-panel-item__hover-image{position:absolute;top:5px;left:5px;right:5px;width:calc(100% - 10px);opacity:0;transition:opacity .4s ease-in-out}.ugb-design-panel-item:hover .ugb-design-panel-item__hover-image{opacity:1}#editor .ugb--has-background-overlay.ugb--has-background-overlay .ugb-video-background,#editor .ugb--has-background-overlay.ugb--has-background-overlay:before{pointer-events:none}.ugb-icon-control svg .fa-secondary,.ugb-icon-popover svg .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.ugb-icon-is-loading{animation:icon-loading 1.3s linear infinite;height:12px!important;width:12px!important}@keyframes icon-loading{0%{opacity:.8;transform:rotate(0deg)}25%,75%{opacity:.4}50%{opacity:.8}to{opacity:.8;transform:rotate(1turn)}}.ugb-icon--faded{opacity:.4}.ugb-four-range-control__range{display:flex;align-items:center}.ugb-four-range-control__range .ugb-four-range-control__icon{height:20px;width:20px;flex-shrink:0;margin-right:10px}.ugb-four-range-control__range .components-base-control.components-range-control,.ugb-four-range-control__range .components-base-control__field{margin-bottom:0!important}.ugb-four-range-control__range .components-range-control{flex:1}.ugb-four-range-control .ugb-four-range-control__lock{height:auto;color:#555d66;box-shadow:none!important;margin-left:5px}.ugb-four-range-control .ugb-four-range-control__lock svg{height:16px;width:16px}.ugb-four-range-control.ugb--locked .ugb-four-range-control__range{margin-bottom:8px}.ugb-four-range-control:not(.ugb--locked) .ugb-advanced-range-control{margin-bottom:0}.ugb-four-number-control__wrapper{display:grid;grid-gap:4px;grid-template-columns:1fr 1fr 1fr 1fr -webkit-min-content;grid-template-columns:1fr 1fr 1fr 1fr min-content;align-items:flex-start}.ugb-four-number-control__wrapper button{padding:6px!important}.ugb-four-number-control__wrapper button.ugb--is-locked,.ugb-four-number-control__wrapper button.ugb--is-locked:hover{background:#aaa!important;color:#fff!important}.ugb-four-number-control__label{display:flex;flex-direction:column;justify-content:center;align-items:center}.ugb-four-number-control__label span{font-size:9px;opacity:.8}.ugb-four-number-control__label input{margin:0;width:100%;padding-left:0!important;padding-right:0!important;text-align:center}.ugb-four-number-control__label input[disabled]{background:#e5e4e8;cursor:not-allowed}.ugb-icon-control .ugb-icon-control__icon-button{height:auto;padding:8px;margin-right:auto}.ugb-icon-control .ugb-icon-control__icon-button svg{width:30px;height:30px}.ugb-icon-control .ugb-icon-control__wrapper{display:flex;justify-content:space-between;margin-bottom:16px}.ugb-icon-popover .components-popover__content{overflow:hidden;width:330px}.ugb-icon-popover__iconlist{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;align-items:flex-start;margin-top:5px;height:200px;overflow:auto}.ugb-icon-popover__iconlist button{background:none;padding:5px;border-color:transparent;box-shadow:none;width:40px;height:40px}.ugb-icon-popover__iconlist button:hover{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff!important}.ugb-icon-popover__iconlist button:hover>div>svg{color:#000}.ugb-icon-popover__iconlist svg{width:30px!important;height:30px;margin:0;box-sizing:content-box;border-radius:4px}.ugb-icon-popover__iconlist button>div>svg{color:#444}.ugb-icon-popover__iconlist .components-base-control__help{font-style:italic}.ugb-icon-popover__label-container{display:flex;align-items:center;margin-bottom:8px}.ugb-icon-popover__label-container .components-base-control__field{margin-bottom:0}.ugb-icon-popover__label-container .ugb-icon-popover__input{flex:1}.ugb-icon-popover__label-container .components-range-control__reset{margin-left:8px}.ugb-icon-popover__drop-area{font-size:12px;font-style:italic;color:#888;text-align:center;margin:0 0 24px;display:block;outline:none}.file-drop-dragging-over-frame>.ugb-icon-popover__iconlist{pointer-events:none}.ugb-icon-popover__drop-indicator{pointer-events:none;position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.9);flex-direction:column;transition:background .3s ease-in-out}.ugb-icon-popover__drop-indicator svg{margin-bottom:8px;transform-origin:bottom;animation:ugb-icon-popover__drop-indicator 1.8s ease infinite}.file-drop-dragging-over-target>.ugb-icon-popover__drop-indicator{background:#fff;outline-offset:-10px;outline-style:dashed;outline-width:3px;outline-color:#11a0d2}@keyframes ugb-icon-popover__drop-indicator{10%{transform:translateY(0)}50%{transform:translateY(-8px)}60%{transform:translateY(0)}}.ugb-image-control .ugb-placeholder{height:150px;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-bottom:12px;margin-top:.6rem}.ugb-image-control .ugb-placeholder svg{height:50px;fill:#ddd}.ugb-image-control .ugb-image-preview,.ugb-image-control .ugb-placeholder{border-radius:4px;cursor:pointer;transition:all .3s ease-in-out}.ugb-image-control .ugb-image-preview:hover,.ugb-image-control .ugb-placeholder:hover{background:#fafafa}.ugb-image-control .ugb-image-preview:focus,.ugb-image-control .ugb-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-control .ugb-image-preview-wrapper{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-top:.6rem;border-radius:4px}.ugb-image-control .ugb-image-preview-wrapper svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-image-control .ugb-image-preview{min-width:100px;flex:1 1 100px;margin:0;position:relative;z-index:2;-o-object-fit:contain;object-fit:contain;width:auto;height:auto}.ugb-image-control .ugb-image-preview-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:3}.ugb-image-shape-control .ugb-design-control{padding:8px;margin:0 40px;border:1px solid #efefef}.ugb-image-upload-placeholder{position:relative;cursor:copy;margin-left:auto;margin-right:auto}.ugb-image-upload-placeholder img{display:block}.ugb-image-upload-has-placeholder{background:#f1f1f1;display:flex;justify-content:center;align-items:center;height:150px;width:100%}.ugb-image-upload-has-placeholder svg{max-height:50px;fill:#ddd;max-width:40%;width:100%}.ugb-image-upload-has-placeholder:hover{background:#fafafa}.ugb-image-upload-has-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-upload-has-image:hover{opacity:.8}.ugb-image-upload-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;display:none;z-index:9!important}.ugb-image-upload-remove svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff;max-width:none}.block-editor-block-list__block.is-selected .ugb-image-upload-remove,.block-editor-block-list__block:hover .ugb-image-upload-remove{display:block}.ugb-modal-design-library{width:100%;max-width:90%;height:90%;min-height:500px}.ugb-modal-design-library .components-modal__content{padding:0;display:flex;flex-direction:column}.ugb-modal-design-library .components-modal__header{margin:0}.ugb-modal-design-library .ugb-modal-design-library__wrapper{display:grid;grid-template-columns:300px auto;grid-template-rows:50px auto;flex:1}.ugb-modal-design-library .ugb-modal-design-library__sidebar{box-shadow:0 0 30px rgba(0,0,0,.1);background:#fff;grid-column:1/2;grid-row:1/3;display:flex;flex-direction:column;overflow:hidden}.ugb-modal-design-library .ugb-modal-design-library__sidebar .ugb-control-separator{margin:8px 0!important;width:100%!important}.ugb-modal-design-library .ugb-modal-design-library__topbar{display:flex;justify-content:flex-end;padding:0 24px;height:50px;align-items:center;grid-column:2/3;grid-row:1/2}.ugb-modal-design-library .ugb-modal-design-library__designs{padding:24px;grid-column:2/3;grid-row:2/3}.ugb-modal-design-library .ugb-modal-design-library__search{padding:24px;background:#f1f1f1}.ugb-modal-design-library .ugb-modal-design-library__search .components-base-control__field{margin:0}.ugb-modal-design-library .ugb-modal-design-library__topbar .is-pressed{background:#555;color:#fff}.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text.is-pressed,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text:hover,.ugb-modal-design-library .ugb-advanced-toolbar-control .ugb-toolbar--full-width{background:transparent}.ugb-modal-design-library .ugb-modal-design-library__filters{overflow-y:auto;padding:24px}.ugb-block-list li{margin:0}.ugb-block-list li>div{padding:6px 10px;cursor:pointer}.ugb-block-list li [aria-pressed=true]{font-weight:700}.ugb-block-list li .is-disabled{opacity:.3}.ugb-block-list .ugb-block-list__count{float:right}.ugb-block-list [data-count="0"]{opacity:.3}.ugb-modal-design-library__color-list-wrapper{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center}.ugb-modal-design-library__color-list{margin-bottom:8px!important}.ugb-modal-design-library__color-list .components-circular-option-picker{width:24px;flex:0;margin:0 10px 10px}.ugb-modal-design-library__color-list .components-circular-option-picker__option-wrapper{height:22px;width:22px;margin:0}.ugb-modal-design-library__color-list .components-circular-option-picker__option.is-pressed+svg{left:3px;top:3px;width:16px;height:16px}.ugb-modal-design-library__color-list .components-circular-option-picker__option:after{box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)!important}.ugb-modal-design-library__color-list .components-circular-option-picker__option:focus:after{width:28px;height:28px;top:-3px;left:-3px}.ugb-modal-design-library__refresh{margin-right:10px}.ugb-modal-design-library__dev-mode .components-base-control__field{margin:2px 24px 0!important}.ugb-modal-welcome-video p{width:470px;margin:16px auto;text-align:center}.ugb-modal-welcome-video .components-modal__content{padding-bottom:20px}.ugb-modal-welcome-video .components-modal__header{margin-bottom:30px}.ugb-modal-welcome-video,.ugb-modal-welcome-video__overlay{animation-duration:.6s!important;transition-duration:.6s!important}.ugb-toggle-panel-form-toggle{margin-right:12px}.ugb-panel-advanced-button{text-transform:uppercase;font-size:9px;background:transparent;width:100%;display:block;border:0;outline:none;position:relative;cursor:pointer;padding-bottom:15px}.ugb-panel-advanced-button:after{content:"❯";position:absolute;transform:translateX(-50%) rotate(90deg);left:50%;bottom:0}.ugb-panel-advanced-button:hover{color:#999}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button{padding-bottom:0;padding-top:15px}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button:after{top:0;bottom:auto;transform:translate(-50%) rotate(-90deg)}.ugb-panel-tabs{position:-webkit-sticky;position:sticky;top:-1px;z-index:2}.ugb-panel-tabs .ugb-panel-tabs__wrapper{display:flex!important;flex-wrap:nowrap}.ugb-panel-tabs .ugb-panel-tabs__wrapper,.ugb-panel-tabs .ugb-panel-tabs__wrapper>button{transition:all .3s ease-in-out;background:#fff;box-shadow:none;border:0}.ugb-panel-tabs button{outline:none!important;display:flex;flex-direction:column;justify-content:center;align-items:center;height:80px;padding:0!important;flex:1;margin:0!important}.ugb-panel-tabs button svg{margin:5px;height:20px;color:#555d66}.ugb-panel-tabs button.is-active{background:#fafafa;background:linear-gradient(180deg,#fafafa,#fff 70%);border-bottom:0;box-shadow:inset 0 -3px #0085ba!important}.ugb-panel-tabs{border-bottom:1px solid #e2e4e7!important}[data-ugb-tab]>* .components-panel__body:not(.ugb-panel-tabs){box-shadow:0 -12px 0 #f0f3f5;margin-top:12px;border-bottom:1px solid #e2e4e7}.edit-post-sidebar.ugb--has-panel-tabs{background-color:#f0f3f5}.edit-post-sidebar.ugb--has-panel-tabs .edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:0}[data-ugb-tab]>*{padding-bottom:0!important}[data-ugb-tab=advanced] .ugb-inspector-panel-controls:not(.ugb-panel-advanced),[data-ugb-tab=layout] .block-editor-block-inspector__advanced,[data-ugb-tab=layout] .ugb-inspector-panel-controls:not(.ugb-panel-layout),[data-ugb-tab=style] .block-editor-block-inspector__advanced,[data-ugb-tab=style] .ugb-inspector-panel-controls:not(.ugb-panel-style){display:none}.ugb--panel-tabs-dummy{height:80px;margin-top:16px}.ugb--fixed-tabs{position:fixed;top:136px;width:279px;background:#fff;z-index:2;box-shadow:0 20px 30px -20px rgba(0,0,0,.1);margin-top:0!important}.ugb-design-control-pro-note{margin:1.5em 0;color:#6d7882;text-align:center;padding:0 30px}.ugb-design-control-pro-note h4{margin:0 0 1em;font-size:1em}.ugb-design-control-pro-note p{font-size:.9em}.ugb-design-control-pro-note a.button{color:#fff;border:0;text-transform:uppercase;display:inline-block;height:auto;width:auto;margin:0 auto;transition:all .3s ease-in-out;box-shadow:none;font-size:9px;line-height:1.2em;border-radius:25px;padding:10px 18px;background:linear-gradient(90deg,#8c33da -30%,#f34957 130%);transition-timing-function:cubic-bezier(.81,.37,.61,1);transition-duration:.2s}.ugb-design-control-pro-note a.button:hover{background:linear-gradient(90deg,#8c33da -70%,#f34957 170%);color:#fff;transform:scale(1.1)}.ugb-design-control-pro-note svg{height:35px;width:35px;margin:0 0 1em}.ugb-design-control-pro-note.ugb-pro-note__small{display:grid;padding:0;grid-template-columns:30px 1fr -webkit-min-content;grid-template-columns:30px 1fr min-content;grid-gap:5px;align-items:center;margin-bottom:0}.ugb-design-control-pro-note.ugb-pro-note__small svg{margin:0;height:25px;width:25px}.ugb-design-control-pro-note.ugb-pro-note__small p{text-align:left;margin:0;font-size:10px}.ugb-design-control-pro-note.ugb-pro-note--fade *{transition:all .3s ease-in-out}.ugb-design-control-pro-note.ugb-pro-note--fade p{opacity:.8}.ugb-design-control-pro-note.ugb-pro-note--fade a,.ugb-design-control-pro-note.ugb-pro-note--fade svg{opacity:.7}.ugb-design-control-pro-note.ugb-pro-note--fade:hover a,.ugb-design-control-pro-note.ugb-pro-note--fade:hover p,.ugb-design-control-pro-note.ugb-pro-note--fade:hover svg{opacity:1}.ugb-design-control-pro-note .ugb-design-control-pro-note__notice{font-size:10px;line-height:1.4;max-width:140px;margin:16px auto 0;font-style:italic;color:#aaa}.ugb-pro-control-more-dots{display:flex;background:#fff;margin:0 auto;width:50px;justify-content:center;border-radius:25px;height:25px;align-items:center;cursor:pointer;transition:all .3s ease-in-out;border:none;outline:none}.ugb-pro-control-more-dots .ugb-pro-control-more-dots__dot{width:6px;height:6px;background:#aaa;border-radius:100%;margin:0 2px;transition:all .3s ease-in-out}.ugb-pro-control-more-dots:focus,.ugb-pro-control-more-dots:hover{background:#eee}.ugb-pro-control-more-dots:focus .ugb-pro-control-more-dots__dot,.ugb-pro-control-more-dots:hover .ugb-pro-control-more-dots__dot{background:#555}.ugb-pro-control-button__wrapper{max-height:800px;transition:all .3s ease-in-out;overflow:hidden}.ugb-pro-control-button__wrapper.ugb-pro-control-button--hidden{max-height:0}.ugb-pro-modal{overflow:hidden!important;border:0!important;background:#000}.ugb-pro-modal .components-modal__header{position:absolute;top:0;right:10px;z-index:3;border:0;background:transparent}.ugb-pro-modal .components-modal__header .components-button svg{fill:#fff}.ugb-pro-modal .components-modal__header .components-button:hover{background-color:rgba(0,0,0,.4)!important}.ugb-pro-modal .components-modal__content{padding:0}.ugb-pro-modal .components-modal__content img{max-width:1000px;height:auto;width:auto!important}.ugb-pro-modal .ugb-pro-modal__footer{padding:30px;text-align:center;display:flex;justify-content:center;align-items:center}.ugb-pro-modal .ugb-pro-modal__footer *{margin:0 5px}.ugb-pro-modal .ugb-pro-modal__footer .button{color:#fff;background:linear-gradient(90deg,#ab5af1 -50%,#fb6874);border:0;height:auto;font-size:14px;font-weight:500;display:flex;align-items:center;margin:0 15px;border-radius:40px;padding:5px 25px}.ugb-pro-modal .ugb-pro-modal__footer .button svg{fill:#fff;margin:0 10px 0 0}.ugb-pro-modal .ugb-pro-modal__footer .button:hover{background:linear-gradient(90deg,#ab5af1 -50%,#fb6874 50%)}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button){color:#fb6874;text-decoration:none}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button):hover{color:#ab5af1}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost{box-shadow:inset 0 0 0 2px #fb6874;background:none;color:#fb6874;font-weight:400;text-transform:none}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost:hover{box-shadow:inset 0 0 0 2px #ab5af1;background:none;font-weight:400;color:#ab5af1}.ugb-base-control-multi-label__responsive{display:flex;margin-left:6px;align-items:center}.ugb-base-control-multi-label__responsive button{height:11px;width:11px;padding:3px!important;min-width:11px!important;box-sizing:content-box;background:#eee;border-radius:100%;margin:0 2px 0 3px}.ugb-base-control-multi-label__responsive button svg{height:100%;width:100%}.ugb-base-control-multi-label__responsive button.is-active,.ugb-base-control-multi-label__responsive button:hover{background:#999!important;color:#fff!important;border:none!important;box-shadow:none!important}.ugb-base-control-multi-label__responsive button.is-active:not(:first-child){background:#ab5af1!important}.ugb-small-number-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-small-number-control input{width:80px}.ugb-social-url-text-control+.ugb-social-url-text-control{margin-top:-18px!important}.ugb-sort-control .ugb-sort-control__container{display:flex;flex-direction:row}.ugb-sort-control.ugb-sort-control--axis-y .ugb-sort-control__container{flex-direction:column;max-width:150px;margin:0 auto}.ugb-sort-control .ugb-sort-control__item{box-shadow:none}.ugb-sort-control__item{border-radius:4px;background:#fafafa;width:100%;text-align:center;padding:4px;border:1px solid #ddd;margin:2px;display:block;cursor:grab!important;box-shadow:0 5px 15px rgba(0,0,0,.05)}.ugb-sort-control__item:hover{background:#fff;box-shadow:inset 0 0 0 1px #ddd}.ugb-svg-icon-placeholder{line-height:1}.ugb-svg-icon-placeholder button{font-size:inherit;padding:0;color:inherit;outline:none!important;background:transparent!important;border:none!important;box-shadow:none!important;cursor:copy;display:inline-block;width:auto}.ugb-svg-icon-placeholder button svg{display:block}.ugb-svg-icon-placeholder__button{font-size:inherit!important;padding:inherit!important;display:flex!important;height:auto;overflow:visible}.ugb-svg-icon-placeholder__button:hover{color:inherit!important}.edit-post-sidebar .ugb-url-input-control__input input{width:100%;border-radius:4px!important;border:1px solid #8d96a0!important;flex:1!important}.ugb-url-input-popover{z-index:99989}.ugb-url-input-popover.is-from-top{margin-top:20px!important}.ugb-url-input-popover.is-from-bottom{margin-top:-20px!important}.ugb-url-input-popover .ugb-url-input-control__input input[type=text]{border-radius:4px;border:1px solid #8d96a0;flex:1}.ugb-url-input-popover .ugb-url-input-control__more-button{margin-left:5px}.ugb-url-input-popover .ugb-url-input-popover__input-wrapper{display:flex;align-items:center}.ugb-url-input-popover .ugb-url-input-control__icon{margin-right:10px}.ugb-url-input-popover.ugb--show-advanced .ugb-url-input-popover__input-wrapper{margin-bottom:16px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain{flex:1;width:300px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain .components-base-control__field{margin-bottom:0!important}.ugb-url-input-popover .ugb-url-input-control__more-button[aria-expanded=false].ugb--active:not(:hover){box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff}.stackable-components-toolbar{border-right:none!important}.stackable-components-toolbar .components-icon-button{justify-content:center}.stackable-components-toolbar .components-icon-button svg{margin:0!important}.components-stackable-highlight__popover .components-popover__content{overflow:hidden;padding:16px}.ugb-component-inline-color-popover{padding:16px}.ugb-highlight-format__color-picker{margin-bottom:16px}.components-stackable-highlight-color__indicator{position:absolute;background:#000;height:3px;width:20px;left:auto;right:auto;top:50%;margin:9px 0 0}.ugb-bottom-separator .ugb-separator-wrapper,.ugb-top-separator .ugb-separator-wrapper{pointer-events:all}.ugb-panel-controls-separator{margin:0;background:#f0f3f5;text-transform:uppercase;font-size:8px;text-align:center;color:#bfc8ce;padding:14px 0 0}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet{display:block!important}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop.ugb-main-block,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile.ugb-main-block,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet.ugb-main-block{display:flex!important}.ugb-main-block,[class*=ugb-]+form[class*=-link],[class*=ugb-] form[class*=-link],form[class*=ugb-][class*=-link]{display:flex;justify-content:center;align-items:center}.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0}.ugb-main-block.alignfull{padding:0 35px}.ugb-block-content,.ugb-inner-block{margin:0;padding:0;width:100%;position:relative}.ugb--full-height{min-height:700px}.ugb--restrict-content-width .ugb-content-wrapper{max-width:var(--content-width);margin:0 auto}.ugb--shadow-0,.ugb-shadow-0{box-shadow:none!important}.ugb--shadow-1,.ugb-shadow-1{box-shadow:0 0 0 1px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-2,.ugb-shadow-2{box-shadow:0 0 0 2px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-3,.ugb-shadow-3{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2)!important}.ugb--shadow-4,.ugb-shadow-4{box-shadow:0 2px 20px hsla(0,0%,60%,.2)!important}.ugb--shadow-5,.ugb-shadow-5{box-shadow:0 5px 30px -10px rgba(18,63,82,.3)!important}.ugb--shadow-6,.ugb-shadow-6{box-shadow:0 10px 30px rgba(0,0,0,.05)!important}.ugb--shadow-7,.ugb-shadow-7{box-shadow:7px 5px 30px rgba(72,73,121,.15)!important}.ugb--shadow-8,.ugb-shadow-8{box-shadow:0 10px 60px rgba(0,0,0,.1)!important}.ugb--shadow-9,.ugb-shadow-9{box-shadow:0 70px 130px -60px rgba(72,73,121,.38)!important}div[class^=wp-block-ugb-]{z-index:1}@supports (-webkit-touch-callout:inherit){[class*=ugb-]{background-attachment:scroll!important}}.ugb-block-content:after,.ugb-block-content:before{content:none!important}[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background{margin-top:0;margin-bottom:0;padding-top:70px;padding-bottom:70px}[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-full>.ugb-inner-block{width:100%}.ugb-bottom-block-separator-panel .ugb-design-control,.ugb-top-block-separator-panel .ugb-design-control{max-height:270px}.ugb-top-block-separator-panel .ugb-design-panel-item__image{transform:scaleY(-1)}.ugb-bottom-separator svg,.ugb-top-separator svg{transition:none!important}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title{margin:0 0 64px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title.ugb-block-title--with-subtitle{margin-bottom:16px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-description{margin:0 0 64px}.ugb-debugger-panel{padding:16px}.ugb-debugger-panel p{margin:0}.ugb-deprecated-tester .ugb-deprecated-tester__load-button{display:flex;align-items:center;transition:all .3s ease-in-out;margin-top:5px}.ugb-deprecated-tester .ugb-deprecated-tester__load-button svg{margin-right:8px}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button{opacity:.7}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button svg{animation:deprecated-test-rotate 1s linear infinite}.ugb-deprecated-tester--row{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.ugb-deprecated-tester--row button{background:#fafafa;border-color:#ddd}.ugb-deprecated-tester--row.ugb--first{justify-content:flex-end}.ugb-deprecated-tester--row>:last-child{display:flex;justify-content:center;align-items:center}.ugb-deprecated-tester--row>:last-child button{display:inline-block;padding:4px;height:26px;width:26px;margin-left:8px}.ugb-deprecated-tester--row>:last-child svg{height:18px;width:18px}.ugb-deprecated-tester--row .ugb--green{color:#0da00d}.ugb-deprecated-tester--name{display:flex}.ugb-deprecated-tester--name button{padding:0;border:0!important;background:transparent!important;box-shadow:none!important}.ugb-deprecated-tester--name svg{display:inline-block;height:15px;width:15px;vertical-align:text-top;color:#ccc;margin-left:4px}.ugb-deprecated-tester--test-details{display:flex;justify-content:flex-start}.ugb-deprecated-tester--test-details .ugb--version{color:#777}.ugb-deprecated-tester--test-details .ugb--plan{background:#fb6874;color:#fff;padding:0 .5em;border-radius:3px;margin-left:.5em;font-size:.6em;text-transform:uppercase}.ugb-deprecated-tester--test-details .ugb--skipped-note{width:100%;font-style:italic}.ugb-deprecated-tester--test-details .components-icon-button{padding:2px;margin-left:4px}.ugb-deprecated-tester--test-details .components-icon-button svg{height:12px;width:12px}.ugb-deprecated-tester--test-details .components-clipboard-button{font-size:11px;margin-left:6px}.ugb-deprecated-tester--test-detail-wrapper{background:#fafafa;padding:6px;border:1px solid #ddd;border-radius:4px}.ugb-deprecated-tester--test-detail-wrapper>div>div{display:flex;flex-wrap:wrap}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed,.ugb-deprecated-tester--test-detail-wrapper .ugb--passed,.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{padding:0 6px;border-radius:2px;display:inline-block;background:#a7e8a7;color:#0c7b0c;align-self:flex-end;margin:0 0 0 auto}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed{background:#efd5d5;color:#a70d0d}.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{background:#eee;color:#666}@keyframes deprecated-test-rotate{0%{transform:rotate(0deg)}to{transform:rotate(-359deg)}}.ugb-html-validator .CodeMirror{height:300px}.ugb-html-validator .components-base-control__help{margin-top:0}.ugb-html-validator--invalid,.ugb-html-validator--valid{font-weight:700;text-transform:uppercase;color:#1fb51f}.ugb-html-validator--invalid{color:#e4174d}@media screen and (max-width:600px){.ugb-icon-list.ugb-icon-list--display-grid ul{grid-template-columns:1fr!important}.ugb-icon-list.ugb-icon-list ul{column-count:1!important}.ugb-main-block.alignfull{padding-right:17.5px;padding-left:17.5px}}@media screen and (min-width:1025px){.ugb--full-height{min-height:100vh}}@media screen and (max-width:768px){.ugb-columns.ugb-columns.ugb-columns.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-flow:row;grid-template-columns:1fr!important;grid-template-areas:inherit!important}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.ugb-column{grid-area:inherit!important}.ugb-columns.ugb-columns--design-plain.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-flow:row;grid-template-columns:1fr 1fr!important}.ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-columns:1fr!important}.ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:inherit!important}.ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.ugb-column{grid-area:inherit}#editor .ugb-columns.ugb-columns.ugb-columns.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-auto-flow:row;grid-template-columns:1fr!important;grid-template-areas:inherit!important}#editor .ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.ugb-column{grid-area:inherit!important}#editor .ugb-columns.ugb-columns--design-plain.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-auto-flow:row;grid-template-columns:1fr 1fr!important}#editor .ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:1fr!important}#editor .ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:inherit!important}#editor .ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{grid-area:inherit}}@media screen and (min-width:768px) and (max-width:1025px){#editor .ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout,.ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-flow:row;grid-template-columns:1fr 1fr 1fr!important}}@media (min-width:600px){[data-type="ugb/column"].block-editor-block-contextual-toolbar{margin-bottom:0!important;margin-left:0!important}}@media screen and (min-width:960px){[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-center>.ugb-inner-block{max-width:var(--content-width)}}@media screen and (min-width:1280px){[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-wide>.ugb-inner-block{max-width:1200px}}
1
+ @charset "UTF-8";svg.ugb-stackable-icon-gradient{fill:url(#stackable-gradient)!important}.block-editor-block-list__block[data-type^="ugb/"]{margin-top:0!important;margin-bottom:0!important}[data-type^="ugb/"][data-align=full]>*>.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0 35px}[data-type^="ugb/"]>.wp-block[data-align=full]{margin-left:-10px;margin-right:-10px}.ugb--has-panel-tabs .ugb-panel-tabs~.editorskit-panel{display:none}.components-toolbar__control.ugb--is-premium{position:relative}.components-toolbar__control.ugb--is-premium:after{position:absolute;z-index:1;background:none;line-height:18px;padding:0 6px;border-radius:2px;left:0;right:0;text-transform:uppercase;background-size:100%;background-repeat:no-repeat;font-family:dashicons;content:"\f160";color:#888;font-size:20px;opacity:0}.components-toolbar__control.ugb--is-premium *,.components-toolbar__control.ugb--is-premium:after{transition:all .2s ease-in-out}.components-toolbar__control.ugb--is-premium:disabled{opacity:1}.components-toolbar__control.ugb--is-premium:disabled *{opacity:.3}.components-toolbar__control.ugb--is-premium:hover *{opacity:0}.components-toolbar__control.ugb--is-premium:hover:after{opacity:1}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-base-control__label,body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-toggle-control__label{cursor:help;border-bottom:1px solid transparent}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-base-control__label:hover,body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-base-control .components-toggle-control__label:hover{border-color:#8c33da;color:#8c33da;border-bottom-style:solid!important}body.ugb--help-tips-enabled .components-base-control[class*=ugb--help-tip-]:hover .components-base-control__label,body.ugb--help-tips-enabled .components-base-control[class*=ugb--help-tip-]:hover .components-toggle-control__label{border-color:#a683c5;border-bottom-style:dashed}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle{cursor:pointer}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:after{content:"\f223";margin-left:10px;font-family:dashicons;font-size:20px;line-height:16px;text-shadow:0 0 1px #000;color:#fafafa}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover{color:#8c33da!important}body.ugb--help-tips-enabled [class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover:after{cursor:help;color:#b266f4;text-shadow:none}.ugb-help-tooltip-video{margin-left:-30px!important}.ugb-help-tooltip-video .components-popover__content{min-width:220px!important;width:220px!important}.ugb-help-tooltip-video .components-panel__body{padding:0 16px 16px}.ugb-help-tooltip-video video{width:100%;height:auto;position:relative;z-index:2;margin:0 -16px 8px;min-width:calc(100% + 32px);min-height:163.5px}.ugb-help-tooltip-video .ugb-help-tooltip-video__link{margin-top:5px;text-align:right;cursor:pointer}.ugb-help-tooltip-video .ugb-help-tooltip-video__link svg{vertical-align:bottom}.ugb-help-tooltip-video .components-spinner{position:absolute;left:calc(50% - 9px);text-align:center;top:82px;margin:0;z-index:1}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove{background:none!important;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:9!important}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove svg{max-width:none;stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove:hover{color:#444}.ugb-help-tooltip-video h4{margin:0 0 8px;font-size:1em}.ugb-help-tooltip__checkbox{font-size:11px;margin:20px 0 -10px;color:#777;font-style:italic}.ugb-help-tooltip__checkbox .components-checkbox-control__input-container{margin-right:8px}[data-type="ugb/accordion"] .ugb-accordion__heading{outline:none}[data-type="ugb/accordion"] .ugb-accordion__heading svg{transform:rotate(180deg)!important}[data-type="ugb/accordion"] .ugb-accordion__heading>:first-child{flex:1}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__content{display:none}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__heading svg{transform:rotate(0deg)!important}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content .ugb-accordion__content-inner{padding-top:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content{overflow:visible}#editor .ugb-accordion.ugb-accordion--v2.ugb-accordion--design-plain .ugb-accordion__content .ugb-accordion__content-inner{padding-bottom:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__heading{z-index:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay .ugb-video-background,#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay:before{z-index:-1!important}.ugb-accordion__heading>div:empty{display:none}.ugb-blockquote{margin-left:0;margin-right:0}.ugb-blockquote__inspector__icon{flex-wrap:wrap}.ugb-blog-post__inspector-spinner>*{margin:0 auto 16px;display:block;float:none}.ugb-blog-posts__item:after{pointer-events:none}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-cta__item,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background) .ugb-cta__item{border-radius:0}.ugb-column>.ugb-inner-block>.ugb-block-content>.ugb-column__item{overflow:visible!important}[data-type="ugb/column"]>.block-editor-block-list__block-edit{height:100%}[data-type="ugb/column"]>.block-editor-block-list__block-edit>[data-block]{display:flex;flex-direction:column}.wp-block[data-type="ugb/column"],.wp-block[data-type="ugb/column"] .wp-block{max-width:none}[data-type="ugb/column"],[data-type="ugb/column"]>.ugb-column{height:100%}[data-type="ugb/column"]{transition:none!important}.ugb-column__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-block]:first-child{margin-top:0!important}.ugb-column__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-list-appender:not(:first-child){margin-bottom:-28px!important}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:first-child{grid-area:one}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(2){grid-area:two}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(3){grid-area:three}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(4){grid-area:four}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(5){grid-area:five}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(6){grid-area:six}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(7){grid-area:seven}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>:nth-child(8){grid-area:eight}.ugb-columns:not(.ugb-columns--design-plain):not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-columns:auto;grid-auto-flow:row}.ugb-columns .ugb-columns__item{align-items:stretch}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;grid-gap:35px}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>div{margin-left:0;margin-right:0}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-2>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two";grid-template-columns:1fr 1fr;grid-template-rows:auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-3>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two" "three three";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two" "three four";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-5>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two" "three four" "five five";grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two three" "four five six";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-7>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two three" "four five six" "seven seven seven";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-8>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:"one two three four" "five six seven eight";grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:first-child{grid-area:one}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(2){grid-area:two}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(3){grid-area:three}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(4){grid-area:four}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(5){grid-area:five}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(6){grid-area:six}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(7){grid-area:seven}.ugb-columns:not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>:nth-child(8){grid-area:eight}.ugb-columns:not(.ugb-columns--design-plain):not(.ugb-columns--design-plain)>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-auto-columns:auto;grid-auto-flow:row}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{display:flex!important;justify-content:stretch;align-items:stretch;height:100%}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{height:100%}.ugb-columns__item>.block-editor-inner-blocks{width:100%}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;grid-gap:35px}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>div{margin-left:0;margin-right:0}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-2>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two";grid-template-columns:1fr 1fr;grid-template-rows:auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-3>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two" "three three";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two" "three four";grid-template-columns:1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-5>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two" "three four" "five five";grid-template-columns:1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two three" "four five six";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-7>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two three" "four five six" "seven seven seven";grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto}.ugb-columns.ugb-columns--design-grid.ugb-columns--columns-8>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:"one two three four" "five six seven eight";grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:auto auto}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{display:flex;flex-direction:column}[data-type="ugb/columns"].has-child-selected [data-type="ugb/column"]:not(.has-child-selected):before,[data-type="ugb/columns"].is-selected [data-type="ugb/column"]:not(.has-child-selected):before{border:1px dashed rgba(123,134,162,.3)}[data-type="ugb/column"]:before{top:0!important;bottom:0!important;left:0!important;right:0!important}[data-type="ugb/columns"]:not(.is-selected):before{border:1px dashed rgba(243,73,87,.6)!important}[data-type="ugb/column"]{transition:all .3s ease-in-out!important}[data-type="ugb/column"][style*="transform: tra"]{transition:none!important}.ugb-columns--highlight-1>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:first-child,.ugb-columns--highlight-2>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(2),.ugb-columns--highlight-3>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(3),.ugb-columns--highlight-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(4),.ugb-columns--highlight-5>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(5),.ugb-columns--highlight-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(6),.ugb-columns--highlight-7>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(7),.ugb-columns--highlight-8>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="ugb/column"]:nth-child(8){transform:translateY(-20px)!important}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background){padding-left:0!important;padding-right:0!important}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background)>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper{border-radius:0!important}[data-type="ugb/container"][data-align=center]{text-align:inherit}.ugb-container .block-editor-block-list__block{max-width:none!important}[data-align=full] .ugb-countup{border-radius:0!important;margin-top:0;margin-bottom:0}.ugb-design-library-block .components-placeholder__label svg{margin-right:8px}.ugb-design-library-block button.components-button{height:auto;font-weight:600;text-transform:uppercase;font-size:13px;padding:11px 20px;background:#fff}.ugb-insert-library-button svg{width:20px;height:20px}.ugb-insert-library-button{margin-left:10px;margin-right:10px}.ugb-expand__label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;border:none;box-shadow:none;white-space:nowrap;display:block}.ugb-expand__label:first-child{padding-top:0}.ugb-expand .ugb-expand__less-text p,.ugb-expand .ugb-expand__more-text p{font-size:inherit!important;color:inherit!important}.ugb-expand .ugb-block-content>a{display:inline-block}.ugb-feature.ugb-feature--design-basic .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder,.ugb-feature.ugb-feature--design-plain .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:250px}.ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100px;width:100px;margin:0 auto;border-radius:100%}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-header__item,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background) .ugb-header__item{border-radius:0}.editor-styles-wrapper .ugb-heading .ugb-heading__subtitle,.editor-styles-wrapper .ugb-heading .ugb-heading__top-line{margin-bottom:16px}.editor-styles-wrapper .ugb-heading .ugb-heading__title{margin-bottom:8px}.ugb-icon-list ul{list-style:none!important}.ugb-icon-list ul li:before{cursor:pointer}.ugb-icon-list.ugb-icon-list li:last-child{margin-bottom:0!important}.ugb-icon-list__center-align li,.ugb-icon-list__right-align li{width:-webkit-fit-content!important;width:fit-content!important;width:-moz-fit-content!important;margin-left:auto!important}.ugb-icon-list__center-align li{margin-right:auto!important}.ugb-icon-list__left-align li{width:-webkit-fit-content!important;width:fit-content!important;width:-moz-fit-content!important;margin-right:auto!important}.ugb-image-box__image:hover{opacity:1!important}.ugb-image-box__arrow{pointer-events:all!important}[data-type="ugb/notification"] .ugb-notification.ugb-notification--dismissible{display:flex!important}[data-type="ugb/notification"] .ugb-notification__item>:last-child,[data-type="ugb/notification"] .ugb-notification__item>:last-child [role=textbox]{margin-bottom:0}[data-type="ugb/notification"] .ugb-svg-icon-placeholder__button{display:block;width:100%}.ugb-number-box .ugb-number-box__number[data-is-placeholder-visible=true]{transition:none;height:2.5em;width:2.5em;left:calc(50% - 1.25em)}.ugb-number-box .ugb-number-box__item>:not(.ugb-number-box__content){z-index:3!important}.ugb-number-box .ugb-number-box__item>.ugb-number-box__content{z-index:4!important}.ugb-pricing-box__price-line>:first-child{align-self:flex-start}.ugb-pricing-box__price-line>:last-child{align-self:flex-end}[data-type="ugb/separator"]{z-index:30!important}[data-type="ugb/separator"]~.wp-block.is-selected{z-index:31}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-inner{overflow:hidden}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-wrapper{overflow:visible}.ugb-team-member-setting__social,.ugb-team-member-setting__social .components-base-control__field{margin-bottom:8px!important}.ugb-team-member__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-team-member__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}.ugb-testimonial__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-testimonial__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}#editor [data-type="ugb/video-popup"][data-align=full] .ugb-video-popup.ugb-main-block--inner-full.ugb--has-block-background .ugb-video-popup__wrapper,#editor [data-type="ugb/video-popup"][data-align=full] .ugb-video-popup:not(.ugb--has-block-background) .ugb-video-popup__wrapper{border-radius:0;margin-left:-35px;margin-right:-35px;width:calc(100% + 70px)}.ugb-admin-setting{margin-bottom:16px}.ugb-admin-setting__label-wrapper{display:flex;align-items:center}.ugb-admin-setting__label{width:200px;display:inline-block;font-weight:700;color:#666;padding-right:15px;box-sizing:border-box}.ugb-admin-setting--small .ugb-admin-setting__label{width:130px}.ugb-admin-setting__field{flex:1}input.ugb-admin-text-setting{padding:.5em 1em;box-shadow:0 5px 30px -10px rgba(18,63,82,.1);border:1px solid rgba(0,0,0,.1);margin:0}input.ugb-admin-text-setting[type=text]{width:calc(100% - 300px)}.ugb-admin-toggle-setting__button{outline:0;display:block;height:26px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:1.5em auto 1em!important;padding:0!important;border:0!important;border-radius:26px;transition:all .4s ease;display:inline-block;background:#e4f5e4;outline:none;outline-offset:3px}.ugb-admin-toggle-setting__button:focus{outline:1px dashed #888}.ugb-admin-toggle-setting__button:after,.ugb-admin-toggle-setting__button:before{position:relative;display:block;content:"";width:26px;height:100%}.ugb-admin-toggle-setting__button:after{left:calc(100% - 26px);background:#3ca540;border-radius:50%;transition:all .2s ease;position:absolute;top:0;box-shadow:0 3px 10px -5px #000}.ugb-admin-toggle-setting__button:before{display:none}.ugb-admin-toggle-setting__button span{position:relative;display:flex;justify-content:center;align-items:center;z-index:2;color:rgba(0,0,0,.4);font-size:11px;line-height:26px;transition:padding .2s ease;padding:0 35px 0 15px}.ugb-admin-toggle-setting__button span:first-child{color:#7b7b7b}.ugb-admin-toggle-setting__button span:nth-child(2){color:#209e25}.ugb-admin-toggle-setting__button span:first-child{display:none}.ugb-admin-toggle-setting__button span:nth-child(2){display:block}.ugb-admin-toggle-setting__button[aria-checked=false]{background:#f0f0f0}.ugb-admin-toggle-setting__button[aria-checked=false]:after{left:0;background:#7b7b7b}.ugb-admin-toggle-setting__button[aria-checked=false] span{padding:0 15px 0 35px}.ugb-admin-toggle-setting__button[aria-checked=false] span:first-child{display:block}.ugb-admin-toggle-setting__button[aria-checked=false] span:nth-child(2){display:none}.ugb-advanced-autosuggest-control{margin-bottom:16px}.ugb-advanced-autosuggest-control__select>*{position:relative}.ugb-advanced-autosuggest-control__select input{width:100%}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container{position:absolute;top:100%;max-height:272px;overflow-y:auto;z-index:2;background:#fff;width:100%;margin-top:5px;border-radius:6px}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container:not(:empty){box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list,.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list li{margin:0}.ugb-advanced-autosuggest-control__select .react-autosuggest__section-container:not(.react-autosuggest__section-container--first){border-top:1px solid #ddd}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion{background:#fff;padding:8px 16px;cursor:pointer}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion--highlighted{background:#f1f1f1}.ugb--autosuggest-empty{font-style:italic;font-size:.9em;color:#999}.ugb--autosuggest-group{background:#fff;padding:14px 16px 8px;font-weight:700;color:#aaa}.ugb-advanced-range-control,.ugb-advanced-toolbar-control .components-button-group{width:100%}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--full-width{display:flex;flex-wrap:nowrap}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--full-width>button,.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--full-width>button>svg{width:100%!important}.ugb-advanced-toolbar-control .components-button-group svg{height:20px!important;width:auto}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline{flex-wrap:wrap}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline>button{margin-top:-1px!important;margin-left:-1px!important}.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline>button,.ugb-advanced-toolbar-control .components-button-group.ugb-toolbar--multiline>button>svg{width:auto!important}.ugb-advanced-toolbar-control__text-button{align-self:center;width:100%}body.branch-5-4 .ugb-advanced-toolbar-control .components-button-group{border:1px solid #e2e4e7}.ugb-base-control-multi-label{display:grid;grid-template-columns:auto 1fr auto;margin-bottom:5px;align-items:center}.ugb-base-control-multi-label .ugb-base-control-multi-label__label{margin-bottom:0}.ugb-base-control-multi-label__units{top:0;right:0;display:flex}.ugb-base-control-multi-label__units button{border:0;font-size:10px;margin:0;font-weight:400;outline:none;color:#aaa;padding:0 4px;background:transparent;cursor:pointer;text-transform:uppercase}.ugb-base-control-multi-label__units button:hover{color:#333}.ugb-base-control-multi-label__units button.is-active{color:#333;text-decoration:underline}.ugb-base-control-multi-label__units .components-button{text-transform:none}.ugb-modal-get-block-attributes-button textarea{width:50vw;height:60vh;font-family:monospace}.ugb-button.ugb-button--icon-only .ugb-svg-icon-placeholder__button{display:block}.ugb-button.ugb-button--has-icon .ugb-svg-icon-placeholder__button{height:auto}.ugb-button svg{transition:initial!important}.ugb-button.ugb-button--has-icon .ugb-icon-inner-svg svg.ugb-custom-icon{fill:initial}.ugb-button-icon-control .components-popover__content{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-button-icon-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-button-icon-control button{display:flex}.components-popover.ugb-button-icon-control__popover{z-index:100000}.ugb-button-icon-control__popover .components-panel__body-title{padding:15px!important;background:transparent!important}.ugb-button-icon-control__wrapper{display:flex;align-items:center}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset{padding:6px;margin:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset svg{width:14px;height:14px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit{padding:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit svg{width:18px;height:18px;margin:0}.ugb-button-icon-control .components-toggle-control,.ugb-button-icon-control .components-toggle-control .components-base-control__field,.ugb-button-icon-control .components-toggle-control .components-toggle-control__label{margin-bottom:0!important}.ugb-code-textarea+.CodeMirror{height:500px;margin-left:-16px;margin-right:-16px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:16px}.ugb-columns-width-control__range{display:flex;align-items:center;margin-bottom:8px}.ugb-columns-width-control__range .ugb-columns-width-control__icon{height:20px;width:20px;flex-shrink:0;font-size:14px;margin-right:10px;font-weight:700;display:block;text-align:center}.ugb-columns-width-control__range .components-base-control.components-range-control,.ugb-columns-width-control__range .components-base-control__field{margin-bottom:0!important}.ugb-columns-width-control__range .components-range-control{flex:1}.ugb-columns-width-control .ugb-design-control-wrapper.components-base-control{margin-bottom:0}.ugb-columns-width-control .ugb-design-control{padding:0}.ugb-columns-width-control .ugb-design-control .components-radio-control__option{width:25%}.ugb-columns-width-control .ugb-design-control .components-base-control__field{margin-bottom:0!important;display:flex;justify-content:space-evenly}.ugb-columns-width-control .ugb-design-panel-item__image{display:block}.ugb-columns-width-control .ugb-columns-width-control__suffix{flex-shrink:0;font-size:14px;margin-left:5px;display:block;text-align:center}.ugb-columns-width-control .ugb-columns-width-control__reset{text-transform:none}.ugb-column-widths-control__columns-slider{height:20px;margin-top:20px}.ugb-column-widths-control__columns-slider [role=slider]{position:absolute;transform:translate(-50%,-50%);width:10px;height:10px;padding:0;border-radius:50%;background-color:#555d66;border:0;outline:0}.ugb-column-widths-control__columns-slider [role=slider]:focus{border:1px solid #555d66;background:#fff}.ugb-column-widths-control__columns-input{display:grid}.ugb-column-widths-control__columns-input input{min-width:40px!important;width:40px;padding:4px 2px!important;font-size:11px;margin:0 auto}.ugb-column-widths-control__columns-input input:not(:hover):not(:focus){border-color:#eee}.ugb-control-separator{height:1px!important;background:#ddd!important;margin:24px -16px!important;border:0!important;padding:0!important;width:calc(100% + 32px)!important;box-shadow:none!important}.components-panel__body-title+.ugb-control-separator{margin-top:0!important}.ugb-design-control{max-height:450px}.ugb-design-control input{opacity:0;height:0;width:0;margin:0;padding:0;position:fixed;top:0}.ugb-design-control .components-radio-control__option{display:inline-block;width:50%;text-align:center}.ugb-design-control label>span{padding:5px;display:block;border-radius:8px}.ugb-design-control label>span>img{border-radius:4px}.ugb-design-control input:checked+label>span{box-shadow:inset 0 0 0 2px #888}.ugb-design-control input:not(:checked)+label>span:hover{box-shadow:inset 0 0 0 2px #f1f1f1}.ugb-design-control .design-label svg{height:12px;margin:0 0 0 5px;fill:#ffad00}.ugb-design-control--columns-3 .ugb-design-control .components-radio-control__option{width:33.3%}.ugb-design-library-control__open-library{margin:0 0 8px auto!important;display:block}.ugb-design-library-control__open-library__toolbar{font-size:11px;display:flex;justify-content:space-between;padding:0 8px}.ugb-design-library-items{page-break-inside:avoid;break-inside:avoid;column-count:1;column-gap:38px}.ugb-design-library-items.ugb-design-library-items--columns-2{column-count:2}.ugb-design-library-items.ugb-design-library-items--columns-3{column-count:3}.ugb-design-library-items.ugb-design-library-items--columns-4{column-count:4}.ugb-design-library-items .components-base-control__help{text-align:center;font-style:italic}.ugb-design-library-items .ugb-design-library-search__spinner{display:flex}.ugb-design-library-items .ugb-design-library-search__spinner .components-spinner{margin:0 auto}.ugb-modal-design-library__wrapper{overflow:hidden}.ugb-modal-design-library__designs{overflow:auto}.ugb-design-library-item{border-radius:4px;box-shadow:0 2px 15px hsla(0,0%,60%,.3);overflow:hidden;transition:all .3s ease-in-out;position:relative;margin-bottom:38px;display:block;transform:translateZ(0);break-inside:avoid;width:100%;will-change:transform}.ugb-design-library-item:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 6px 25px hsla(0,0%,60%,.3)}.ugb-design-library-item img{display:block;pointer-events:none;width:100%;height:auto;min-height:50px;background:#f1f1f1}.ugb-design-library-item footer{padding:8px 12px;font-size:11px;line-height:18px;display:flex;justify-content:space-between}.ugb-design-library-item.ugb--is-busy .ugb-design-library-item__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) translateY(-10px)}.ugb-design-library-item.ugb--is-busy .components-spinner{margin:0}.ugb-design-library-item.ugb--is-busy img{opacity:.15}.ugb-design-library-item .ugb-design-library-item__image svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-40%);opacity:0;fill:#000;height:35px;width:35px}.ugb-design-library-item .ugb-design-library-item__image img,.ugb-design-library-item .ugb-design-library-item__image svg{transition:all .3s ease-in-out}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image img{opacity:.4;filter:blur(3px)}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image svg{transform:translate(-50%,-50%);opacity:1}.ugb-design-library-item__image{padding:0!important;border:0!important;text-align:start!important;width:100%!important;margin:0!important;outline:none!important;cursor:pointer;display:block}.ugb-design-library-item__premium{position:absolute;z-index:1;background:#f34957;font-size:10px;color:#fff;line-height:18px;padding:0 6px;border-radius:2px;top:5px;right:5px;text-transform:uppercase}.ugb-design-library-item__premium-link{cursor:pointer;display:flex}.ugb-design-library-item__premium-link svg{height:15px;margin-right:5px}.ugb-design-library-item__favorite{border:0;padding:0;cursor:pointer;outline:none;transition:all .3 ease-in-out}.ugb-design-library-item__favorite svg{fill:#bbb;height:14px;width:14px}.ugb-design-library-item__favorite.ugb--is-favorite:hover svg,.ugb-design-library-item__favorite.ugb--is-favorite svg,.ugb-design-library-item__favorite:hover svg{fill:#d30c5c}.ugb-design-control{max-height:40vh;overflow-y:auto;padding:0 16px}.ugb-design-control .components-base-control__label{margin-left:-16px;margin-right:-16px;margin-bottom:8px}.ugb-design-panel-item{position:relative}.ugb-design-panel-item__hover-image{position:absolute;top:5px;left:5px;right:5px;width:calc(100% - 10px);opacity:0;transition:opacity .4s ease-in-out}.ugb-design-panel-item:hover .ugb-design-panel-item__hover-image{opacity:1}#editor .ugb--has-background-overlay.ugb--has-background-overlay .ugb-video-background,#editor .ugb--has-background-overlay.ugb--has-background-overlay:before{pointer-events:none}.ugb-icon-control svg .fa-secondary,.ugb-icon-popover svg .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.ugb-icon-is-loading{animation:icon-loading 1.3s linear infinite;height:12px!important;width:12px!important}@keyframes icon-loading{0%{opacity:.8;transform:rotate(0deg)}25%,75%{opacity:.4}50%{opacity:.8}to{opacity:.8;transform:rotate(1turn)}}.ugb-icon--faded{opacity:.4}.ugb-four-number-control__wrapper{display:grid;grid-gap:4px;grid-template-columns:1fr 1fr 1fr 1fr -webkit-min-content;grid-template-columns:1fr 1fr 1fr 1fr min-content;align-items:flex-start}.ugb-four-number-control__wrapper button{padding:6px!important}.ugb-four-number-control__wrapper button.ugb--is-locked,.ugb-four-number-control__wrapper button.ugb--is-locked:hover{background:#aaa!important;color:#fff!important}.ugb-four-number-control__label{display:flex;flex-direction:column;justify-content:center;align-items:center}.ugb-four-number-control__label span{font-size:9px;opacity:.8}.ugb-four-number-control__label input{margin:0;width:100%;padding-left:0!important;padding-right:0!important;text-align:center}.ugb-four-number-control__label input[disabled]{background:#e5e4e8;cursor:not-allowed}.ugb-four-range-control__range{display:flex;align-items:center}.ugb-four-range-control__range .ugb-four-range-control__icon{height:20px;width:20px;flex-shrink:0;margin-right:10px}.ugb-four-range-control__range .components-base-control.components-range-control,.ugb-four-range-control__range .components-base-control__field{margin-bottom:0!important}.ugb-four-range-control__range .components-range-control{flex:1}.ugb-four-range-control .ugb-four-range-control__lock{height:auto;color:#555d66;box-shadow:none!important;margin-left:5px}.ugb-four-range-control .ugb-four-range-control__lock svg{height:16px;width:16px}.ugb-four-range-control.ugb--locked .ugb-four-range-control__range{margin-bottom:8px}.ugb-four-range-control:not(.ugb--locked) .ugb-advanced-range-control{margin-bottom:0}.ugb-icon-control .ugb-icon-control__icon-button{height:auto;padding:8px;margin-right:auto}.ugb-icon-control .ugb-icon-control__icon-button svg{width:30px;height:30px}.ugb-icon-control .ugb-icon-control__wrapper{display:flex;justify-content:space-between;margin-bottom:16px}.ugb-icon-popover .components-popover__content{overflow:hidden;width:330px}.ugb-icon-popover__iconlist{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;align-items:flex-start;margin-top:5px;height:200px;overflow:auto}.ugb-icon-popover__iconlist button{background:none;padding:5px;border-color:transparent;box-shadow:none;width:40px;height:40px}.ugb-icon-popover__iconlist button:hover{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff!important}.ugb-icon-popover__iconlist button:hover>div>svg{color:#000}.ugb-icon-popover__iconlist svg{width:30px!important;height:30px;margin:0;box-sizing:content-box;border-radius:4px}.ugb-icon-popover__iconlist button>div>svg{color:#444}.ugb-icon-popover__iconlist .components-base-control__help{font-style:italic}.ugb-icon-popover__label-container{display:flex;align-items:center;margin-bottom:8px}.ugb-icon-popover__label-container .components-base-control__field{margin-bottom:0}.ugb-icon-popover__label-container .ugb-icon-popover__input{flex:1}.ugb-icon-popover__label-container .components-range-control__reset{margin-left:8px}.ugb-icon-popover__drop-area{font-size:12px;font-style:italic;color:#888;text-align:center;margin:0 0 24px;display:block;outline:none}.file-drop-dragging-over-frame>.ugb-icon-popover__iconlist{pointer-events:none}.ugb-icon-popover__drop-indicator{pointer-events:none;position:absolute;top:0;left:0;right:0;bottom:0;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,100%,.9);flex-direction:column;transition:background .3s ease-in-out}.ugb-icon-popover__drop-indicator svg{margin-bottom:8px;transform-origin:bottom;animation:ugb-icon-popover__drop-indicator 1.8s ease infinite}.file-drop-dragging-over-target>.ugb-icon-popover__drop-indicator{background:#fff;outline-offset:-10px;outline-style:dashed;outline-width:3px;outline-color:#11a0d2}@keyframes ugb-icon-popover__drop-indicator{10%{transform:translateY(0)}50%{transform:translateY(-8px)}60%{transform:translateY(0)}}.ugb-image-control .ugb-placeholder{height:150px;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-bottom:12px;margin-top:.6rem}.ugb-image-control .ugb-placeholder svg{height:50px;fill:#ddd}.ugb-image-control .ugb-image-preview,.ugb-image-control .ugb-placeholder{border-radius:4px;cursor:pointer;transition:all .3s ease-in-out}.ugb-image-control .ugb-image-preview:hover,.ugb-image-control .ugb-placeholder:hover{background:#fafafa}.ugb-image-control .ugb-image-preview:focus,.ugb-image-control .ugb-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-control .ugb-image-preview-wrapper{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-top:.6rem;border-radius:4px}.ugb-image-control .ugb-image-preview-wrapper svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-image-control .ugb-image-preview{min-width:100px;flex:1 1 100px;margin:0;position:relative;z-index:2;-o-object-fit:contain;object-fit:contain;width:auto;height:auto}.ugb-image-control .ugb-image-preview-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:3}.ugb-image-shape-control .ugb-design-control{padding:8px;margin:0 40px;border:1px solid #efefef}.ugb-image-upload-placeholder{position:relative;cursor:copy;margin-left:auto;margin-right:auto}.ugb-image-upload-placeholder img{display:block}.ugb-image-upload-has-placeholder{background:#f1f1f1;display:flex;justify-content:center;align-items:center;height:150px;width:100%}.ugb-image-upload-has-placeholder svg{max-height:50px;fill:#ddd;max-width:40%;width:100%}.ugb-image-upload-has-placeholder:hover{background:#fafafa}.ugb-image-upload-has-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-upload-has-image:hover{opacity:.8}.ugb-image-upload-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;display:none;z-index:9!important}.ugb-image-upload-remove svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff;max-width:none}.block-editor-block-list__block.is-selected .ugb-image-upload-remove,.block-editor-block-list__block:hover .ugb-image-upload-remove{display:block}.ugb-modal-design-library{width:100%;max-width:90%;height:90%;min-height:500px}.ugb-modal-design-library .components-modal__content{padding:0;display:flex;flex-direction:column}.ugb-modal-design-library .components-modal__header{margin:0}.ugb-modal-design-library .ugb-modal-design-library__wrapper{display:grid;grid-template-columns:300px auto;grid-template-rows:50px auto;flex:1}.ugb-modal-design-library .ugb-modal-design-library__sidebar{box-shadow:0 0 30px rgba(0,0,0,.1);background:#fff;grid-column:1/2;grid-row:1/3;display:flex;flex-direction:column;overflow:hidden}.ugb-modal-design-library .ugb-modal-design-library__sidebar .ugb-control-separator{margin:8px 0!important;width:100%!important}.ugb-modal-design-library .ugb-modal-design-library__topbar{display:flex;justify-content:flex-end;padding:0 24px;height:50px;align-items:center;grid-column:2/3;grid-row:1/2}.ugb-modal-design-library .ugb-modal-design-library__designs{padding:24px;grid-column:2/3;grid-row:2/3}.ugb-modal-design-library .ugb-modal-design-library__search{padding:24px;background:#f1f1f1}.ugb-modal-design-library .ugb-modal-design-library__search .components-base-control__field{margin:0}.ugb-modal-design-library .ugb-modal-design-library__topbar .is-pressed{background:#555;color:#fff}.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text.is-pressed,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text:hover,.ugb-modal-design-library .ugb-advanced-toolbar-control .ugb-toolbar--full-width{background:transparent}.ugb-modal-design-library .ugb-modal-design-library__filters{overflow-y:auto;padding:24px}.ugb-block-list li{margin:0}.ugb-block-list li>div{padding:6px 10px;cursor:pointer}.ugb-block-list li [aria-pressed=true]{font-weight:700}.ugb-block-list li .is-disabled{opacity:.3}.ugb-block-list .ugb-block-list__count{float:right}.ugb-block-list [data-count="0"]{opacity:.3}.ugb-modal-design-library__color-list-wrapper{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center}.ugb-modal-design-library__color-list{margin-bottom:8px!important}.ugb-modal-design-library__color-list .components-circular-option-picker{width:24px;flex:0;margin:0 10px 10px}.ugb-modal-design-library__color-list .components-circular-option-picker__option-wrapper{height:22px;width:22px;margin:0}.ugb-modal-design-library__color-list .components-circular-option-picker__option.is-pressed+svg{left:3px;top:3px;width:16px;height:16px}.ugb-modal-design-library__color-list .components-circular-option-picker__option:after{box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)!important}.ugb-modal-design-library__color-list .components-circular-option-picker__option:focus:after{width:28px;height:28px;top:-3px;left:-3px}.ugb-modal-design-library__refresh{margin-right:10px}.ugb-modal-design-library__dev-mode .components-base-control__field{margin:2px 24px 0!important}.ugb-modal-welcome-video p{width:470px;margin:16px auto;text-align:center}.ugb-modal-welcome-video .components-modal__content{padding-bottom:20px}.ugb-modal-welcome-video .components-modal__header{margin-bottom:30px}.ugb-modal-welcome-video,.ugb-modal-welcome-video__overlay{animation-duration:.6s!important;transition-duration:.6s!important}.ugb-toggle-panel-form-toggle{margin-right:12px}.ugb-panel-advanced-button{text-transform:uppercase;font-size:9px;background:transparent;width:100%;display:block;border:0;outline:none;position:relative;cursor:pointer;padding-bottom:15px}.ugb-panel-advanced-button:after{content:"❯";position:absolute;transform:translateX(-50%) rotate(90deg);left:50%;bottom:0}.ugb-panel-advanced-button:hover{color:#999}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button{padding-bottom:0;padding-top:15px}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button:after{top:0;bottom:auto;transform:translate(-50%) rotate(-90deg)}.ugb-panel-tabs{position:-webkit-sticky;position:sticky;top:-1px;z-index:2}.ugb-panel-tabs .ugb-panel-tabs__wrapper{display:flex!important;flex-wrap:nowrap}.ugb-panel-tabs .ugb-panel-tabs__wrapper,.ugb-panel-tabs .ugb-panel-tabs__wrapper>button{transition:all .3s ease-in-out;background:#fff;box-shadow:none;border:0}.ugb-panel-tabs button{outline:none!important;display:flex;flex-direction:column;justify-content:center;align-items:center;height:80px;padding:0!important;flex:1;margin:0!important}.ugb-panel-tabs button svg{margin:5px;height:20px;color:#555d66}.ugb-panel-tabs button.is-active{background:#fafafa;background:linear-gradient(180deg,#fafafa,#fff 70%);border-bottom:0;box-shadow:inset 0 -3px #0085ba!important}.ugb-panel-tabs{border-bottom:1px solid #e2e4e7!important}[data-ugb-tab]>* .components-panel__body:not(.ugb-panel-tabs){box-shadow:0 -12px 0 #f0f3f5;margin-top:12px;border-bottom:1px solid #e2e4e7}.edit-post-sidebar.ugb--has-panel-tabs{background-color:#f0f3f5}.edit-post-sidebar.ugb--has-panel-tabs .edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:0}[data-ugb-tab]>*{padding-bottom:0!important}[data-ugb-tab=advanced] .ugb-inspector-panel-controls:not(.ugb-panel-advanced),[data-ugb-tab=layout] .block-editor-block-inspector__advanced,[data-ugb-tab=layout] .ugb-inspector-panel-controls:not(.ugb-panel-layout),[data-ugb-tab=style] .block-editor-block-inspector__advanced,[data-ugb-tab=style] .ugb-inspector-panel-controls:not(.ugb-panel-style){display:none}.ugb--panel-tabs-dummy{height:80px;margin-top:16px}.ugb--fixed-tabs{position:fixed;top:136px;width:279px;background:#fff;z-index:2;box-shadow:0 20px 30px -20px rgba(0,0,0,.1);margin-top:0!important}.ugb-design-control-pro-note{margin:1.5em 0;color:#6d7882;text-align:center;padding:0 30px}.ugb-design-control-pro-note h4{margin:0 0 1em;font-size:1em}.ugb-design-control-pro-note p{font-size:.9em}.ugb-design-control-pro-note a.button{color:#fff;border:0;text-transform:uppercase;display:inline-block;height:auto;width:auto;margin:0 auto;transition:all .3s ease-in-out;box-shadow:none;font-size:9px;line-height:1.2em;border-radius:25px;padding:10px 18px;background:linear-gradient(90deg,#8c33da -30%,#f34957 130%);transition-timing-function:cubic-bezier(.81,.37,.61,1);transition-duration:.2s}.ugb-design-control-pro-note a.button:hover{background:linear-gradient(90deg,#8c33da -70%,#f34957 170%);color:#fff;transform:scale(1.1)}.ugb-design-control-pro-note svg{height:35px;width:35px;margin:0 0 1em}.ugb-design-control-pro-note.ugb-pro-note__small{display:grid;padding:0;grid-template-columns:30px 1fr -webkit-min-content;grid-template-columns:30px 1fr min-content;grid-gap:5px;align-items:center;margin-bottom:0}.ugb-design-control-pro-note.ugb-pro-note__small svg{margin:0;height:25px;width:25px}.ugb-design-control-pro-note.ugb-pro-note__small p{text-align:left;margin:0;font-size:10px}.ugb-design-control-pro-note.ugb-pro-note--fade *{transition:all .3s ease-in-out}.ugb-design-control-pro-note.ugb-pro-note--fade p{opacity:.8}.ugb-design-control-pro-note.ugb-pro-note--fade a,.ugb-design-control-pro-note.ugb-pro-note--fade svg{opacity:.7}.ugb-design-control-pro-note.ugb-pro-note--fade:hover a,.ugb-design-control-pro-note.ugb-pro-note--fade:hover p,.ugb-design-control-pro-note.ugb-pro-note--fade:hover svg{opacity:1}.ugb-design-control-pro-note .ugb-design-control-pro-note__notice{font-size:10px;line-height:1.4;max-width:140px;margin:16px auto 0;font-style:italic;color:#aaa}.ugb-pro-control-more-dots{display:flex;background:#fff;margin:0 auto;width:50px;justify-content:center;border-radius:25px;height:25px;align-items:center;cursor:pointer;transition:all .3s ease-in-out;border:none;outline:none}.ugb-pro-control-more-dots .ugb-pro-control-more-dots__dot{width:6px;height:6px;background:#aaa;border-radius:100%;margin:0 2px;transition:all .3s ease-in-out}.ugb-pro-control-more-dots:focus,.ugb-pro-control-more-dots:hover{background:#eee}.ugb-pro-control-more-dots:focus .ugb-pro-control-more-dots__dot,.ugb-pro-control-more-dots:hover .ugb-pro-control-more-dots__dot{background:#555}.ugb-pro-control-button__wrapper{max-height:800px;transition:all .3s ease-in-out;overflow:hidden}.ugb-pro-control-button__wrapper.ugb-pro-control-button--hidden{max-height:0}.ugb-pro-modal{overflow:hidden!important;border:0!important;background:#000}.ugb-pro-modal .components-modal__header{position:absolute;top:0;right:10px;z-index:3;border:0;background:transparent}.ugb-pro-modal .components-modal__header .components-button svg{fill:#fff}.ugb-pro-modal .components-modal__header .components-button:hover{background-color:rgba(0,0,0,.4)!important}.ugb-pro-modal .components-modal__content{padding:0}.ugb-pro-modal .components-modal__content img{max-width:1000px;height:auto;width:auto!important}.ugb-pro-modal .ugb-pro-modal__footer{padding:30px;text-align:center;display:flex;justify-content:center;align-items:center}.ugb-pro-modal .ugb-pro-modal__footer *{margin:0 5px}.ugb-pro-modal .ugb-pro-modal__footer .button{color:#fff;background:linear-gradient(90deg,#ab5af1 -50%,#fb6874);border:0;height:auto;font-size:14px;font-weight:500;display:flex;align-items:center;margin:0 15px;border-radius:40px;padding:5px 25px}.ugb-pro-modal .ugb-pro-modal__footer .button svg{fill:#fff;margin:0 10px 0 0}.ugb-pro-modal .ugb-pro-modal__footer .button:hover{background:linear-gradient(90deg,#ab5af1 -50%,#fb6874 50%)}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button){color:#fb6874;text-decoration:none}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button):hover{color:#ab5af1}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost{box-shadow:inset 0 0 0 2px #fb6874;background:none;color:#fb6874;font-weight:400;text-transform:none}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost:hover{box-shadow:inset 0 0 0 2px #ab5af1;background:none;font-weight:400;color:#ab5af1}.ugb-base-control-multi-label__responsive{display:flex;margin-left:6px;align-items:center}.ugb-base-control-multi-label__responsive button{height:11px;width:11px;padding:3px!important;min-width:11px!important;box-sizing:content-box;background:#eee;border-radius:100%;margin:0 2px 0 3px}.ugb-base-control-multi-label__responsive button svg{height:100%;width:100%}.ugb-base-control-multi-label__responsive button.is-active,.ugb-base-control-multi-label__responsive button:hover{background:#999!important;color:#fff!important;border:none!important;box-shadow:none!important}.ugb-base-control-multi-label__responsive button.is-active:not(:first-child){background:#ab5af1!important}.ugb-small-number-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-small-number-control input{width:80px}.ugb-social-url-text-control+.ugb-social-url-text-control{margin-top:-18px!important}.ugb-sort-control .ugb-sort-control__container{display:flex;flex-direction:row}.ugb-sort-control.ugb-sort-control--axis-y .ugb-sort-control__container{flex-direction:column;max-width:150px;margin:0 auto}.ugb-sort-control .ugb-sort-control__item{box-shadow:none}.ugb-sort-control__item{border-radius:4px;background:#fafafa;width:100%;text-align:center;padding:4px;border:1px solid #ddd;margin:2px;display:block;cursor:grab!important;box-shadow:0 5px 15px rgba(0,0,0,.05)}.ugb-sort-control__item:hover{background:#fff;box-shadow:inset 0 0 0 1px #ddd}.ugb-svg-icon-placeholder{line-height:1}.ugb-svg-icon-placeholder button{font-size:inherit;padding:0;color:inherit;outline:none!important;background:transparent!important;border:none!important;box-shadow:none!important;cursor:copy;display:inline-block;width:auto}.ugb-svg-icon-placeholder button svg{display:block}.ugb-svg-icon-placeholder__button{font-size:inherit!important;padding:inherit!important;display:flex!important;height:auto;overflow:visible}.ugb-svg-icon-placeholder__button:hover{color:inherit!important}.edit-post-sidebar .ugb-url-input-control__input input{width:100%;border-radius:4px!important;border:1px solid #8d96a0!important;flex:1!important}.ugb-url-input-popover{z-index:99989}.ugb-url-input-popover.is-from-top{margin-top:20px!important}.ugb-url-input-popover.is-from-bottom{margin-top:-20px!important}.ugb-url-input-popover .ugb-url-input-control__input input[type=text]{border-radius:4px;border:1px solid #8d96a0;flex:1}.ugb-url-input-popover .ugb-url-input-control__more-button{margin-left:5px}.ugb-url-input-popover .ugb-url-input-popover__input-wrapper{display:flex;align-items:center}.ugb-url-input-popover .ugb-url-input-control__icon{margin-right:10px}.ugb-url-input-popover.ugb--show-advanced .ugb-url-input-popover__input-wrapper{margin-bottom:16px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain{flex:1;width:300px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain .components-base-control__field{margin-bottom:0!important}.ugb-url-input-popover .ugb-url-input-control__more-button[aria-expanded=false].ugb--active:not(:hover){box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff}.stackable-components-toolbar{border-right:none!important}.stackable-components-toolbar .components-icon-button{justify-content:center}.stackable-components-toolbar .components-icon-button svg{margin:0!important}.components-stackable-highlight__popover .components-popover__content{overflow:hidden;padding:16px}.ugb-component-inline-color-popover{padding:16px}.ugb-highlight-format__color-picker{margin-bottom:16px}.components-stackable-highlight-color__indicator{position:absolute;background:#000;height:3px;width:20px;left:auto;right:auto;top:50%;margin:9px 0 0}.ugb-bottom-separator .ugb-separator-wrapper,.ugb-top-separator .ugb-separator-wrapper{pointer-events:all}.ugb-panel-controls-separator{margin:0;background:#f0f3f5;text-transform:uppercase;font-size:8px;text-align:center;color:#bfc8ce;padding:14px 0 0}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet{display:block!important}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop.ugb-main-block,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile.ugb-main-block,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet.ugb-main-block{display:flex!important}.ugb-main-block,[class*=ugb-]+form[class*=-link],[class*=ugb-] form[class*=-link],form[class*=ugb-][class*=-link]{display:flex;justify-content:center;align-items:center}.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0}.ugb-main-block.alignfull{padding:0 35px}.ugb-block-content,.ugb-inner-block{margin:0;padding:0;width:100%;position:relative}.ugb--full-height{min-height:700px}.ugb--restrict-content-width .ugb-content-wrapper{max-width:var(--content-width);margin:0 auto}.ugb--shadow-0,.ugb-shadow-0{box-shadow:none!important}.ugb--shadow-1,.ugb-shadow-1{box-shadow:0 0 0 1px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-2,.ugb-shadow-2{box-shadow:0 0 0 2px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-3,.ugb-shadow-3{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2)!important}.ugb--shadow-4,.ugb-shadow-4{box-shadow:0 2px 20px hsla(0,0%,60%,.2)!important}.ugb--shadow-5,.ugb-shadow-5{box-shadow:0 5px 30px -10px rgba(18,63,82,.3)!important}.ugb--shadow-6,.ugb-shadow-6{box-shadow:0 10px 30px rgba(0,0,0,.05)!important}.ugb--shadow-7,.ugb-shadow-7{box-shadow:7px 5px 30px rgba(72,73,121,.15)!important}.ugb--shadow-8,.ugb-shadow-8{box-shadow:0 10px 60px rgba(0,0,0,.1)!important}.ugb--shadow-9,.ugb-shadow-9{box-shadow:0 70px 130px -60px rgba(72,73,121,.38)!important}div[class^=wp-block-ugb-]{z-index:1}@supports (-webkit-touch-callout:inherit){[class*=ugb-]{background-attachment:scroll!important}}.ugb-block-content:after,.ugb-block-content:before{content:none!important}[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background{margin-top:0;margin-bottom:0;padding-top:70px;padding-bottom:70px}[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-full>.ugb-inner-block{width:100%}.ugb-bottom-block-separator-panel .ugb-design-control,.ugb-top-block-separator-panel .ugb-design-control{max-height:270px}.ugb-top-block-separator-panel .ugb-design-panel-item__image{transform:scaleY(-1)}.ugb-bottom-separator svg,.ugb-top-separator svg{transition:none!important}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title{margin:0 0 64px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title.ugb-block-title--with-subtitle{margin-bottom:16px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-description{margin:0 0 64px}.ugb-debugger-panel{padding:16px}.ugb-debugger-panel p{margin:0}.ugb-deprecated-tester .ugb-deprecated-tester__load-button{display:flex;align-items:center;transition:all .3s ease-in-out;margin-top:5px}.ugb-deprecated-tester .ugb-deprecated-tester__load-button svg{margin-right:8px}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button{opacity:.7}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button svg{animation:deprecated-test-rotate 1s linear infinite}.ugb-deprecated-tester--row{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.ugb-deprecated-tester--row button{background:#fafafa;border-color:#ddd}.ugb-deprecated-tester--row.ugb--first{justify-content:flex-end}.ugb-deprecated-tester--row>:last-child{display:flex;justify-content:center;align-items:center}.ugb-deprecated-tester--row>:last-child button{display:inline-block;padding:4px;height:26px;width:26px;margin-left:8px}.ugb-deprecated-tester--row>:last-child svg{height:18px;width:18px}.ugb-deprecated-tester--row .ugb--green{color:#0da00d}.ugb-deprecated-tester--name{display:flex}.ugb-deprecated-tester--name button{padding:0;border:0!important;background:transparent!important;box-shadow:none!important}.ugb-deprecated-tester--name svg{display:inline-block;height:15px;width:15px;vertical-align:text-top;color:#ccc;margin-left:4px}.ugb-deprecated-tester--test-details{display:flex;justify-content:flex-start}.ugb-deprecated-tester--test-details .ugb--version{color:#777}.ugb-deprecated-tester--test-details .ugb--plan{background:#fb6874;color:#fff;padding:0 .5em;border-radius:3px;margin-left:.5em;font-size:.6em;text-transform:uppercase}.ugb-deprecated-tester--test-details .ugb--skipped-note{width:100%;font-style:italic}.ugb-deprecated-tester--test-details .components-icon-button{padding:2px;margin-left:4px}.ugb-deprecated-tester--test-details .components-icon-button svg{height:12px;width:12px}.ugb-deprecated-tester--test-details .components-clipboard-button{font-size:11px;margin-left:6px}.ugb-deprecated-tester--test-detail-wrapper{background:#fafafa;padding:6px;border:1px solid #ddd;border-radius:4px}.ugb-deprecated-tester--test-detail-wrapper>div>div{display:flex;flex-wrap:wrap}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed,.ugb-deprecated-tester--test-detail-wrapper .ugb--passed,.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{padding:0 6px;border-radius:2px;display:inline-block;background:#a7e8a7;color:#0c7b0c;align-self:flex-end;margin:0 0 0 auto}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed{background:#efd5d5;color:#a70d0d}.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{background:#eee;color:#666}@keyframes deprecated-test-rotate{0%{transform:rotate(0deg)}to{transform:rotate(-359deg)}}.ugb-html-validator .CodeMirror{height:300px}.ugb-html-validator .components-base-control__help{margin-top:0}.ugb-html-validator--invalid,.ugb-html-validator--valid{font-weight:700;text-transform:uppercase;color:#1fb51f}.ugb-html-validator--invalid{color:#e4174d}@media screen and (max-width:600px){.ugb-icon-list.ugb-icon-list--display-grid ul{grid-template-columns:1fr!important}.ugb-icon-list.ugb-icon-list ul{column-count:1!important}.ugb-main-block.alignfull{padding-right:17.5px;padding-left:17.5px}}@media screen and (min-width:1025px){.ugb--full-height{min-height:100vh}}@media screen and (max-width:768px){.ugb-columns.ugb-columns.ugb-columns.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-flow:row;grid-template-columns:1fr!important;grid-template-areas:inherit!important}.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.ugb-column{grid-area:inherit!important}.ugb-columns.ugb-columns--design-plain.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-flow:row;grid-template-columns:1fr 1fr!important}.ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-columns:1fr!important}.ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-template-areas:inherit!important}.ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.ugb-column{grid-area:inherit}#editor .ugb-columns.ugb-columns.ugb-columns.ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-auto-flow:row;grid-template-columns:1fr!important;grid-template-areas:inherit!important}#editor .ugb-columns>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.ugb-column{grid-area:inherit!important}#editor .ugb-columns.ugb-columns--design-plain.ugb-columns--columns-4>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-auto-flow:row;grid-template-columns:1fr 1fr!important}#editor .ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:1fr!important}#editor .ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-areas:inherit!important}#editor .ugb-columns.ugb-columns--design-grid>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout>.block-editor-block-list__block{grid-area:inherit}}@media screen and (min-width:768px) and (max-width:1025px){#editor .ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item>.block-editor-inner-blocks>.block-editor-block-list__layout,.ugb-columns.ugb-columns--design-plain.ugb-columns--columns-6>.ugb-inner-block>.ugb-block-content>.ugb-columns__item{grid-auto-flow:row;grid-template-columns:1fr 1fr 1fr!important}}@media (min-width:600px){[data-type="ugb/column"].block-editor-block-contextual-toolbar{margin-bottom:0!important;margin-left:0!important}}@media screen and (min-width:960px){[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-center>.ugb-inner-block{max-width:var(--content-width)}}@media screen and (min-width:1280px){[data-type^="ugb/"][data-align=full]>*>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-wide>.ugb-inner-block{max-width:1200px}}
dist/editor_blocks.js CHANGED
@@ -1,2 +1,2 @@
1
- var editor_blocks=function(e){function t(t){for(var a,o,l=t[0],c=t[1],s=t[2],b=0,p=[];b<l.length;b++)o=l[b],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&p.push(i[o][0]),i[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(t);p.length;)p.shift()();return r.push.apply(r,s||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==i[c]&&(a=!1)}a&&(r.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},i={0:0},r=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var l=window.webpackJsonp_name_=window.webpackJsonp_name_||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var u=c;return r.push([382,1]),n()}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=stackable},function(e,t,n){"use strict";var a=n(1),i=[],r={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},o=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},l=function(e){if(!i.includes(e)){if(document&&o(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=r[a.locale]?"&subset=".concat(r):"";return"https://fonts.googleapis.com/css?family=".concat(t,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic").concat(n)}(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),document.querySelector("head").appendChild(t)}i.push(e)}},c=function(e){return o(e)?'"'.concat(e,'", Sans-serif'):e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},s=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&l(n)})},u=n(9),b=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.camelCase)(Object(b.sprintf)(e,t,n))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return a.length?n.reduce(function(n,i){return m({},n,{},a.reduce(function(n,a,r){var o=m({},t);return void 0!==o.selector&&(o.selector=Object(b.sprintf)(o.selector,r+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,i,a))]=o,n},{}))},{}):n.reduce(function(n,a,i){var r=m({},t);return void 0!==r.selector&&(r.selector=Object(b.sprintf)(r.selector,i+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,a))]=r,n},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(e,t,["","Tablet","Mobile"])},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.omit)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))}))},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length?Object(u.pick)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))})):e},O=function(e){return Object.keys(h(e))};function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var j=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["FontFamily","FontWeight","TextTransform"]),{},f(e,{type:"number",default:""},["LetterSpacing","FontSize","TabletFontSize","MobileFontSize","LineHeight","TabletLineHeight","MobileLineHeight"]),{},f(e,{type:"string",default:"px"},["FontSizeUnit","TabletFontSizeUnit","MobileFontSizeUnit"]),{},f(e,{type:"string",default:"em"},["LineHeightUnit","TabletLineHeightUnit","MobileLineHeightUnit"]))},k=j,C=function(e){return Object.keys(j(e))},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=st(n,i,""),o=a.importantSize,l=void 0!==o&&o,s=a.important,p=void 0!==s&&s,m=a.inherit,g=void 0===m||m,d=a.inheritMax,f=void 0===d?50:d,h=a.inheritMin,v={},y=r("FontSize"),O=r("TabletFontSize"),w=r("MobileFontSize");if("tablet"!==t&&"mobile"!==t)v={fontFamily:""!==r("FontFamily")?ct(c(r("FontFamily"))):void 0,fontSize:""!==y?ct("".concat(y).concat(r("FontSizeUnit")||"px"),l):void 0,fontWeight:""!==r("FontWeight")?r("FontWeight"):void 0,textTransform:""!==r("TextTransform")?r("TextTransform"):void 0,letterSpacing:""!==r("LetterSpacing")?"".concat(r("LetterSpacing"),"px"):void 0,lineHeight:""!==r("LineHeight")?"".concat(r("LineHeight")).concat(r("LineHeightUnit")||"em"):void 0};else if("tablet"===t){if(v={lineHeight:""!==r("TabletLineHeight")?"".concat(r("TabletLineHeight")).concat(r("TabletLineHeightUnit")||"em"):void 0},g){var _=ut(y,{min:h,max:f});_&&(v.fontSize="".concat(_).concat(r("FontSizeUnit")||"px"))}O&&(v.fontSize=r("TabletFontSize","%s".concat(r("TabletFontSizeUnit")||"px")))}else{if(v={lineHeight:""!==r("MobileLineHeight")?"".concat(r("MobileLineHeight")).concat(r("MobileLineHeightUnit")||"em"):void 0},g){var j=ut(y,{min:h,max:f});j&&(v.fontSize="".concat(j).concat(r("FontSizeUnit")||"px"));var k=ut(O,{min:h,max:f});k?v.fontSize="".concat(k).concat(r("TabletFontSizeUnit")||"px"):(j||O)&&(v.fontSize=void 0)}w&&(v.fontSize=r("MobileFontSize","%s".concat(r("MobileFontSizeUnit")||"px")))}return p?lt(v):v},E=n(19);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T={},B=function(){T=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){A(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},function(e){var t=document.createElement("div");if(t.classList.add("editor-styles-wrapper"),t.innerHTML='<div class="wp-block">'.concat(e.map(function(e){return"<".concat(e,"></").concat(e,">")}).join(),"</div>"),!document||!document.body)return{};document.body.appendChild(t);var n={};return e.forEach(function(e){var a=window.getComputedStyle(t.querySelector(e)).getPropertyValue("font-size");n[e]=Math.round(parseFloat(a))}),document.body.removeChild(t),n}(["h1","h2","h3","h4","h5","h6","p"]))},P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.keys(T).length&&!t||B(),T[e]||T.p||21};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(E.a)(function(){B()});var R=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundMediaId","BackgroundMediaUrl","TabletBackgroundMediaId","TabletBackgroundMediaUrl","MobileBackgroundMediaId","MobileBackgroundMediaUrl","BackgroundGradientBlendMode","BackgroundPosition","TabletBackgroundPosition","MobileBackgroundPosition","BackgroundRepeat","TabletBackgroundRepeat","MobileBackgroundRepeat","BackgroundSize","TabletBackgroundSize","MobileBackgroundSize","BackgroundImageBlendMode"]),{},f(e,{type:"number",default:""},["BackgroundColorOpacity","BackgroundTintStrength","BackgroundGradientDirection","BackgroundCustomSize","TabletBackgroundCustomSize","MobileBackgroundCustomSize","BackgroundGradientLocation1","BackgroundGradientLocation2"]),{},f(e,{type:"boolean",default:""},["FixedBackground"]),{},f(e,{type:"string",default:"%"},["BackgroundCustomSizeUnit","TabletBackgroundCustomSizeUnit","MobileBackgroundCustomSizeUnit"]))},D=R,F=function(e){return Object.keys(R(e))};function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(n,!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=st(n,i),o=a.importantBackgroundColor,l=void 0!==o&&o,c=r("BackgroundCustomSize")?r("BackgroundCustomSize")+(r("BackgroundCustomSizeUnit")||"%"):void 0,s=r("TabletBackgroundCustomSize")?r("TabletBackgroundCustomSize")+(r("TabletBackgroundCustomSizeUnit")||"%"):void 0,p=r("MobileBackgroundCustomSize")?r("MobileBackgroundCustomSize")+(r("MobileBackgroundCustomSizeUnit")||"%"):void 0,m=ct(r("BackgroundColor"),l);return r("BackgroundColorType")||void 0===n[i("BackgroundColorOpacity")]||""===n[i("BackgroundColorOpacity")]||r("BackgroundMediaURL")||r("TabletBackgroundMediaURL")||r("MobileBackgroundMediaURL")||(m=ct("".concat(tn(r("BackgroundColor")||"#ffffff",r("BackgroundColorOpacity")||0)),l)),"tablet"!==t&&"mobile"!==t?{backgroundColor:m,backgroundAttachment:r("FixedBackground")?"fixed":void 0,backgroundImage:r("BackgroundMediaURL","url(%s)"),backgroundPosition:r("BackgroundPosition"),backgroundRepeat:r("BackgroundRepeat"),backgroundSize:r("BackgroundSize")?"custom"!==r("BackgroundSize")?r("BackgroundSize"):c:void 0,backgroundBlendMode:r("BackgroundImageBlendMode")}:"tablet"===t?{backgroundImage:r("TabletBackgroundMediaURL","url(%s)"),backgroundPosition:r("TabletBackgroundPosition"),backgroundRepeat:r("TabletBackgroundRepeat"),backgroundSize:r("TabletBackgroundSize")?"custom"!==r("TabletBackgroundSize")?r("TabletBackgroundSize"):s:void 0}:{backgroundImage:r("MobileBackgroundMediaURL","url(%s)"),backgroundPosition:r("MobileBackgroundPosition"),backgroundRepeat:r("MobileBackgroundRepeat"),backgroundSize:r("MobileBackgroundSize")?"custom"!==r("MobileBackgroundSize")?r("MobileBackgroundSize"):p:void 0}},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},r=st(n,i),o=a.importantBackgroundColor,l=void 0!==o&&o,c=parseInt(r("BackgroundTintStrength","",5)||0,10)/10,s="gradient"===r("BackgroundColorType"),p=tn(r("BackgroundColor2")||"#ffffff",0),m=tn(r("BackgroundColor")||"#ffffff",0),g="".concat(r("BackgroundGradientLocation1")||"0","%"),d="".concat(r("BackgroundGradientLocation2")||"100","%");return"tablet"!==t&&"mobile"!==t?{backgroundColor:ct(!s&&r("BackgroundColor")?r("BackgroundColor"):void 0,l),backgroundImage:ct(s?"linear-gradient(".concat(r("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("BackgroundColor")||p," ").concat(g,", ").concat(r("BackgroundColor2")||m," ").concat(d,")"):void 0,l),opacity:r("BackgroundMediaURL")?c:void 0,mixBlendMode:s?r("BackgroundGradientBlendMode"):void 0}:"tablet"===t?{opacity:r("TabletBackgroundMediaURL")?c:void 0}:{opacity:r("MobileBackgroundMediaURL")?c:void 0}},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=st(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")},G=function(){var e,t,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return H(n={},".".concat(i),z({},L(a,"desktop",r,o))),H(n,".".concat(i,":before"),z({},U(a,"desktop",r,o))),H(n,"tablet",(H(e={},".".concat(i),z({},L(a,"tablet",r,o))),H(e,".".concat(i,":before"),z({},U(a,"tablet",r,o))),e)),H(n,"mobile",(H(t={},".".concat(i),z({},L(a,"mobile",r,o))),H(t,".".concat(i,":before"),z({},U(a,"mobile",r,o))),t)),n},V=L,q=n(8),K=n.n(q),Y=n(6),X=function(e,t){var n=st(t.attributes,function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),i=n("TabletBackgroundMediaUrl"),r=n("MobileBackgroundMediaUrl"),o=K()(["ugb-video-background"],{"ugb--video-hide-tablet":i,"ugb--video-hide-mobile":r}),l=K()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":r}),c=K()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(Y.Fragment,null,Zt(a)&&wp.element.createElement("video",{className:o,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:a}),Zt(i)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:i}),Zt(r)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:r}))};function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach(function(t){Z(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-img":n,i=t.exclude,r=void 0===i?[]:i;return v(J({},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"src"},["Url"]),{},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"alt"},["Alt"]),{},f(e,{type:"string",default:""},["Shape","Size","BlendMode","BackgroundPosition"]),{},f(e,{type:"number",default:""},["Id","Width","Height","TabletWidth","MobileWidth","BorderRadius","Shadow"]),{},f(e,{type:"boolean",default:""},["ShapeStretch","ShapeFlipX","ShapeFlipY","Square","TabletSquare","MobileSquare"]),{},f(e,{type:"string",default:"large"},["Size"])),r,e)},ee=Q,te=n(4),ne=n.n(te);function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=ne.a.createElement("circle",{cx:50,cy:50,r:50}),re=function(e){return ne.a.createElement("svg",ae({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),ie)};function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var le=ne.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),ce=function(e){return ne.a.createElement("svg",oe({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),le)};function se(){return(se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ue=ne.a.createElement("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"}),be=function(e){return ne.a.createElement("svg",se({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),ue)},pe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(Y.renderToString)(e).replace(/viewbox/,"viewBox").replace(/preserveaspectratio/,"preserveAspectRatio");return t?n.replace(/#/g,"%23"):n},me=n(5);function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(n,!0).forEach(function(t){fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he={circle:re,square:ce,blob1:be},ve=function(e){var t=Object(me.applyFilters)("stackable.image.shape.svgs",he);return t[e]?t[e]:null},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=st(n,a),r=i("Shape"),o=function(e,t){return i(t)&&i(e)?i(e,"%spx"):"auto"};return"tablet"!==t&&"mobile"!==t?{borderRadius:r?void 0:i("BorderRadius","%spx"),width:i("Width","%spx"),height:i("Width")?ct(o("Width","Square")):void 0}:"tablet"===t?{width:i("TabletWidth","%spx"),height:i("TabletWidth")?ct(o("TabletWidth","TabletSquare")):void 0}:{width:i("MobileWidth","%spx"),height:i("MobileWidth")?ct(o("MobileWidth","MobileSquare")):void 0}},Oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=st(t,n),i=a("Shape");if(!i)return{};var r=a("ShapeStretch"),o=a("ShapeFlipX"),l=a("ShapeFlipY"),c=ve(i),s=wp.element.createElement(c,{preserveAspectRatio:!["","square"].includes(i)&&r?"none":void 0,transform:o||l?"scale(".concat(o?-1:1,",").concat(l?-1:1,")"):void 0}),p=btoa(pe(s));return{"-webkit-mask-image":"url('data:image/svg+xml;base64,".concat(p,"')"),"mask-image":"url('data:image/svg+xml;base64,".concat(p,"')")}},we=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=i.inherit,o=void 0===r||r,l=(fe(e={},".".concat(n),de({},Oe(t,a,i))),fe(e,"tabletOnly",fe({},".".concat(n),de({},ye(t,"tablet",a,i)))),fe(e,"mobile",fe({},".".concat(n),de({},ye(t,"mobile",a,i)))),e);return o?l[".".concat(n)]=de({},l[".".concat(n)],{},ye(t,"desktop",a,i)):l.desktopTablet=fe({},".".concat(n),de({},ye(t,"desktop",a,i))),l},_e=n(13),je=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},ke=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||je(e):null};window._stackableCachedImageData={};var Ce=function(e,t){var n=t("core").getMedia,a=e?n(e):null;return a&&void 0!==a.id&&(window._stackableCachedImageData[a.id]=a),a},xe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full",n=Ee(e)||Ce(e,_e.select);return n?n.media_details.sizes[t]?n.media_details.sizes[t].source_url:n.source_url:""},Ee=function(e){return window._stackableCachedImageData[e]||null};function Se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Se(n,!0).forEach(function(t){Te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Be=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.exclude,a=void 0===n?[]:n;return v(Ae({},f(e,{type:"string",default:""},["Url","BackgroundPosition","BackgroundRepeat","BackgroundSize"]),{},f(e,{type:"number",default:""},["Id","BackgroundCustomSize"]),{},f(e,{type:"string",default:"large"},["Size"]),{},f(e,{type:"string",default:"px"},["BackgroundCustomSizeUnit"])),a,e)},Pe=Be,Ne=function(e){return Object.keys(Be(e))};function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(n,!0).forEach(function(t){De(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=st(n,a);return"tablet"!==t&&"mobile"!==t?{backgroundImage:i("Url","url(%s)"),backgroundPosition:ct(i("BackgroundPosition")),backgroundRepeat:ct(i("BackgroundRepeat")),backgroundSize:ct("custom"!==i("BackgroundSize")?i("BackgroundSize"):i("BackgroundCustomSize")?i("BackgroundCustomSize")+i("BackgroundCustomSizeUnit","%s","px"):void 0)}:{}},Ie=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return De(e={},".".concat(n),Re({},Fe(t,"desktop",a,i))),De(e,"tablet",De({},".".concat(n),Re({},Fe(t,"tablet",a,i)))),De(e,"mobile",De({},".".concat(n),Re({},Fe(t,"mobile",a,i)))),e};function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(n,!0).forEach(function(t){Le(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,i=void 0===n?".ugb-button":n,r=t.defaultText,o=void 0===r?Object(b.__)("Button text",a.i18n):r,l=t.exclude,c=void 0===l?[]:l,s=t.include,u=void 0===s?[]:s;return y(v(He({},k(e),{},f(e,{type:"string",source:"html",selector:"".concat(i," span"),default:o},["Text"]),{},f(e,{type:"string",source:"attribute",selector:i,attribute:"href",default:""},["Url"]),{},f(e,{type:"boolean",source:"attribute",selector:i,attribute:"target",default:""},["NewTab"]),{},f(e,{type:"string",default:""},["Design","Size","Icon","IconPosition","TextColor","BackgroundColorType","BackgroundColor","BackgroundColor2","HoverEffect","HoverTextColor","HoverBackgroundColor","HoverBackgroundColor2"]),{},f(e,{type:"number",default:""},["Opacity","HoverOpacity","PaddingTop","PaddingRight","PaddingBottom","PaddingLeft","BorderRadius","BorderWidth","Shadow","IconSize","IconSpacing","BackgroundGradientDirection","HoverBackgroundGradientDirection"]),{},f(e,{type:"boolean",default:""},["HoverGhostToNormal","NoFollow"])),c,e),u,e)},We=Ue,Ge=function(e){return Object.keys(Ue(e))},Ve=n(14),qe=n.n(Ve);function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(n,!0).forEach(function(t){Xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $e=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},o=st(a,r,""),l=[];l.push((Xe(e={},".".concat(n," .ugb-button--inner"),Ye({},x(t,"desktop",a))),Xe(e,"tablet",Xe({},".".concat(n," .ugb-button--inner"),Ye({},x(t,"tablet",a)))),Xe(e,"mobile",Xe({},".".concat(n," .ugb-button--inner"),Ye({},x(t,"mobile",a)))),e));var c=o("BackgroundColor2"),s=o("BackgroundColor"),p=!1;if(""===o("Design")||"basic"===o("Design")){var m;l.push((Xe(m={},".".concat(n),{backgroundColor:""!==o("BackgroundColor")?o("BackgroundColor"):void 0,backgroundImage:"gradient"===o("BackgroundColorType")?"linear-gradient(".concat(""!==a[r("BackgroundGradientDirection")]?o("BackgroundGradientDirection","%sdeg","90deg"):"90deg",", ").concat(o("BackgroundColor")||c,", ").concat(o("BackgroundColor2")||s,")"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),Xe(m,".".concat(n," .ugb-button--inner, .").concat(n," svg:not(.ugb-custom-icon)"),{color:ct(ot(o("TextColor"),o("BackgroundColor")))}),Xe(m,".".concat(n,":hover .ugb-button--inner, .").concat(n,":hover svg:not(.ugb-custom-icon)"),{color:ct(ot(o("HoverTextColor"),o("HoverBackgroundColor")))}),Xe(m,".".concat(n,":hover"),{backgroundColor:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),m)),p=""!==o("HoverBackgroundColor");var g="gradient"===o("BackgroundColorType")&&(o("HoverBackgroundColor")||o("HoverBackgroundColor2")||o("HoverBackgroundGradientDirection"));l.push(Xe({},".".concat(n,":before"),{content:g?'""':void 0,backgroundImage:g?"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg")||o("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor")||c,", ").concat(o("HoverBackgroundColor2")||o("BackgroundColor2")||s,")"):void 0})),p=p||g||""!==o("HoverTextColor")}if("ghost"===o("Design")){var d,f;if(l.push((Xe(d={},".".concat(n),{borderColor:""!==o("BackgroundColor")?ct(o("BackgroundColor")):void 0,borderWidth:""!==o("BorderWidth")?"".concat(o("BorderWidth"),"px"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),Xe(d,".".concat(n," .ugb-button--inner"),{color:""!==o("BackgroundColor")?ct(o("BackgroundColor")):void 0}),Xe(d,".".concat(n,":hover"),{borderColor:""!==o("HoverBackgroundColor")?ct(o("HoverBackgroundColor")):void 0}),Xe(d,".".concat(n,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?ct(o("HoverBackgroundColor")):""!==o("BackgroundColor")?ct(o("BackgroundColor")):void 0}),d)),""!==o("Icon")||i)l.push((Xe(f={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),Xe(f,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),f));p=""!==o("HoverBackgroundColor");var h,v=o("HoverGhostToNormal");if(v)l.push((Xe(h={},".".concat(n,":before"),{content:'""',backgroundImage:"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor"),", ").concat(o("HoverBackgroundColor2")||o("HoverBackgroundColor")||o("BackgroundColor"),")"),top:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,right:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,bottom:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,left:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0}),Xe(h,".".concat(n,":hover"),{backgroundColor:ct(""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):o("BackgroundColor"))}),Xe(h,".".concat(n,":hover .ugb-button--inner"),{color:ct(ot(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))}),h)),(""!==o("Icon")||i)&&l.push(Xe({},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:ct(ot(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))})),p=!0}if("plain"===o("Design")){var y,O;if(l.push((Xe(y={},".".concat(n," .ugb-button--inner"),{color:""!==o("BackgroundColor")?ct(o("BackgroundColor")):void 0}),Xe(y,".".concat(n,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?ct(o("HoverBackgroundColor")):void 0}),y)),""!==o("Icon")||i)l.push((Xe(O={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg:not(.ugb-custom-icon)"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),Xe(O,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg:not(.ugb-custom-icon)"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),O));p=""!==o("HoverBackgroundColor")}if("link"!==o("Design")){var w,_=""!==a[r("IconSpacing")]&&void 0!==a[r("IconSpacing")]?"".concat(o("IconSpacing","%spx",16)):void 0,j=a[r("BorderRadius")];l.push((Xe(w={},".".concat(n),{opacity:""!==o("Opacity")?o("Opacity"):void 0,borderRadius:""!==j&&void 0!==j?ct("".concat(j,"px")):void 0}),Xe(w,".".concat(n,":before"),{borderRadius:""!==j&&void 0!==j?ct("".concat(j,"px")):void 0}),Xe(w,".".concat(n,":hover"),{opacity:""!==o("HoverOpacity")?o("HoverOpacity"):p?1:void 0}),Xe(w,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{marginLeft:(""!==o("Icon")||i)&&"right"===o("IconPosition")?_:void 0,marginRight:(""!==o("Icon")||i)&&"right"!==o("IconPosition")?_:void 0,width:""!==o("IconSize")||i?"".concat(o("IconSize"),"px"):void 0,height:""!==o("IconSize")||i?"".concat(o("IconSize"),"px"):void 0}),w))}return qe.a.all(l)},Je=n(57),Ze=n.n(Je);function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function et(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tt=function(e){try{if(!e.match(/^#/))return Ze()(e);var t=e.replace(/#/g,"");return 3===t.length&&(t=t.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")),Ze()("#".concat(t))}catch(e){return!1}},nt=function(e){return"left"===e||"flex-start"===e?0:"auto"},at=function(e){return"right"===e||"flex-end"===e?0:"auto"},it=function(e){return"left"===e?"flex-start":"right"===e?"flex-end":e},rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=""!==e?e:void 0;return!n&&t&&tt(t)?"#ffffff":n},ot=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#ffffff",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#222222",i=""!==e?e:void 0;return!i&&t?tt(t)?n:a:i},lt=function(e){return Object.keys(e).reduce(function(t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(n,!0).forEach(function(t){et(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,et({},n,ct(e[n])))},{})},ct=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?"".concat(e," !important"):e},st=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(a){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,o=null!==t?t:function(e){return Object(u.lowerFirst)(e)},l=void 0===e[o(a)]?"":e[o(a)];return""!==l?i?Object(b.sprintf)(i.replace(/%$/,"%%"),l):l:r}},ut=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.min,a=void 0===n?Number.NEGATIVE_INFINITY:n,i=t.max,r=void 0===i?Number.POSITIVE_INFINITY:i;if(""!==e){var o=Object(u.clamp)(e,parseFloat(a),parseFloat(r));if(!isNaN(o))return parseFloat(o)!==parseFloat(e)?o:void 0}},bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"marginBottom",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"%spx",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o="boolean"==typeof r?{important:r}:r,l=o.important,c=void 0!==l&&l,s=o.inherit,u=void 0===s||s,p=o.inheritTabletMax,m=o.inheritTabletMin,g=o.inheritMobileMax,d=o.inheritMobileMin,f=st(i);if(u){var h,v=f(Object(b.sprintf)(t,""),a),y=f(Object(b.sprintf)(t,"Tablet"),a),O=f(Object(b.sprintf)(t,"Mobile"),a),w=ut(f(Object(b.sprintf)(t,"")),{min:m,max:p}),_=ut(f(Object(b.sprintf)(t,"")),{min:d,max:g});return[(h={},et(h,e,et({},n,ct(v,c))),et(h,"tabletOnly",et({},e,et({},n,ct(y||w&&Object(b.sprintf)(a,w),c)))),et(h,"mobile",et({},e,et({},n,ct(O||_&&Object(b.sprintf)(a,_),c)))),h)]}return[{desktopOnly:et({},e,et({},n,ct(f(Object(b.sprintf)(t,""),a),c))),tabletOnly:et({},e,et({},n,ct(f(Object(b.sprintf)(t,"Tablet"),a),c))),mobile:et({},e,et({},n,ct(f(Object(b.sprintf)(t,"Mobile"),a),c)))}]},pt=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=st(a),r=i("contentAlign"),o=i("TabletContentAlign"),l=i("MobileContentAlign"),c=i(Object(b.sprintf)(n,"")),s=i(Object(b.sprintf)(n,"Tablet")),u=i(Object(b.sprintf)(n,"Mobile"));return[(t={},et(t,e,lt({marginLeft:c||r?nt(c||r):void 0,marginRight:c||r?at(c||r):void 0})),et(t,"tablet",et({},e,lt({marginLeft:s||o?nt(s||o):void 0,marginRight:s||o?at(s||o):void 0}))),et(t,"mobile",et({},e,lt({marginLeft:u||l?nt(u||l):void 0,marginRight:u||l?at(u||l):void 0}))),t)]};function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(n,!0).forEach(function(t){dt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ft=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-button-%s":n,i=t.exclude,r=void 0===i?[]:i,o=t.include,l=void 0===o?[]:o,c=Object.keys(_t).reduce(function(n,i){return gt({},n,{},f(e,{type:"string",source:"attribute",selector:Object(b.sprintf)(a,i),attribute:"href",default:t["".concat(i,"Default")]?t["".concat(i,"Default")]:""},["".concat(Object(u.upperFirst)(i),"Url")]))},{});return y(v(gt({},We(e,{exclude:["Text","Url","NoFollow","Icon","IconPosition","NewTab"]}),{},f(e,{type:"boolean",default:""},["NewTab"]),{},f(e,{type:"boolean",default:!0},["UseSocialColors"]),{},c),r,e),l,e)},ht=ft;function vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vt(n,!0).forEach(function(t){Ot(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wt=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))},o=st(i,r,""),l=[];if(l.push(yt({},$e(n,a,i,!0))),!o("UseSocialColors"))return qe.a.all(l);""!==o("Design")&&"basic"!==o("Design")||l.push((Ot(e={},".".concat(a),{backgroundColor:void 0,backgroundImage:void 0}),Ot(e,".".concat(a," .ugb-button--inner, .").concat(a," svg"),{color:void 0}),Ot(e,".".concat(a,":hover .ugb-button--inner, .").concat(a,":hover svg"),{color:void 0}),Ot(e,".".concat(a,":hover"),{backgroundColor:void 0}),Ot(e,".".concat(a,":before"),{content:void 0,backgroundImage:void 0}),e));if("ghost"===o("Design")){var c;l.push((Ot(c={},".".concat(a),{borderColor:void 0}),Ot(c,".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),Ot(c,".".concat(a,":hover"),{borderColor:void 0}),Ot(c,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),c));var s,p=o("HoverGhostToNormal");if(p)l.push((Ot(s={},".".concat(a,":before"),{content:void 0,backgroundImage:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0}),Ot(s,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),s))}"plain"===o("Design")&&l.push((Ot(t={},".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),Ot(t,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),t));return qe.a.all(l)},_t={facebook:{label:Object(b.__)("Facebook",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><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"></path></svg>'},twitter:{label:Object(b.__)("Twitter",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><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"></path></svg>'},instagram:{label:Object(b.__)("Instagram",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><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"></path></svg>'},pinterest:{label:Object(b.__)("Pinterest",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest-p" class="svg-inline--fa fa-pinterest-p fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><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"></path></svg>'},linkedin:{label:Object(b.__)("LinkedIn",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><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"></path></svg>'},youtube:{label:Object(b.__)("YouTube",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><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"></path></svg>'},email:{label:Object(b.__)("Email",a.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><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"></path></svg>'}},jt=n(17);function kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(n,!0).forEach(function(t){xt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Et=["uniqueClass"],St={};function At(e){return St[e.name]||(St[e.name]=Object(jt.createBlock)(e.name).attributes),Object.keys(St[e.name]).every(function(t){return!!Et.includes(t)||St[e.name][t]===e.attributes[t]})}var Tt=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Object(_e.select)("core/block-editor"),i=a.getBlockName,r=a.getSelectedBlockClientId,o=a.getBlockAttributes,l=a.hasMultiSelection,c=a.getMultiSelectedBlockClientIds,b=Object(_e.dispatch)("core/block-editor"),p=b.updateBlockAttributes,m=Object(_e.select)("core/blocks"),g=m.getBlockType;if(n||!l()){var d=n||r();if(d){var f=o(d),h=i(d).replace(/^\w+\//g,""),v=g(i(d)).attributes,y=Object.keys(v).reduce(function(e,t){return Ct({},e,xt({},t,v[t]?v[t].default:""))},{}),O=Object(me.applyFilters)("stackable.".concat(h,".design.filtered-block-attributes"),Ct({},y,{},t),f),w=Object(me.applyFilters)("stackable.".concat(h,".design.no-text-attributes"),O,f);s(w),p(d,Object(u.omit)(w,["uniqueClass"]))}}else c().forEach(function(n){e(t,n)})};function Bt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(Y.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=Bt(n,2),i=a[0],r=a[1],o=function(t){try{var n=t instanceof Function?t(i):t;r(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[i,o]},Nt=function(){return void 0!==jt.registerBlockCollection},Mt=function(){return Nt()};function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(n,!0).forEach(function(t){Ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var It=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-icon":n,i=t.defaultIcon,r=void 0===i?"fas-cogs":i,o=t.exclude,l=void 0===o?[]:o,c=t.include,s=void 0===c?[]:c;return y(v(Dt({},f(e,{type:"string",source:"html",selector:"".concat(a),default:r},["Icon"]),{},f(e,{type:"string",default:""},["Design","ColorType","Color","Color2","BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundShape","BackgroundShapeColor","Color3","Color4","Color5","Color5","Color6","Color7","Color8","Color9","Color10"]),{},f(e,{type:"number",default:""},["ColorGradientDirection","OutlineWidth","BackgroundColorGradientDirection","Size","TabletSize","MobileSize","BorderRadius","Shadow","Opacity","Padding","Rotation","BackgroundShapeOpacity","BackgroundShapeSize","BackgroundShapeOffsetHorizontal","BackgroundShapeOffsetVertical","MultiOpacity1","MultiOpacity2","MultiOpacity3","MultiOpacity4","MultiOpacity5","MultiOpacity6","MultiOpacity7","MultiOpacity8","MultiOpacity9","MultiOpacity10"]),{},f(e,{type:"boolean",default:""},["ShowBackgroundShape"])),l,e),s,e)},zt=It,Ht=function(e){return Object.keys(It(e))};function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ut=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},r=st(a,i),o=[],l=ut(r("Size"),{max:200}),c=ut(r("Size"),{max:200});return o.push((Lt(e={},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:ct(r("Size","%spx")),height:ct(r("Size","%spx"))}),Lt(e,"tabletOnly",Lt({},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:ct(r("TabletSize","%spx")||l&&"".concat(l,"px")),height:ct(r("TabletSize","%spx")||c&&"".concat(c,"px"))})),Lt(e,"mobile",Lt({},".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg"),{width:ct(r("MobileSize","%spx")||l&&"".concat(l,"px")),height:ct(r("MobileSize","%spx")||c&&"".concat(c,"px"))})),Lt(e,".".concat(n," .ugb-icon-inner-svg"),{color:ct(r("Color")),transform:ct(r("Rotation","rotate(%sdeg)"))}),Lt(e,".".concat(n," .ugb-icon-inner-svg, .").concat(n," .ugb-icon-inner-svg svg *"),{color:ct(r("Color")),fill:ct(r("Color"))}),Lt(e,".".concat(n),{opacity:ct(r("Opacity"))}),e)),"shaped"!==r("Design")&&"outlined"!==r("Design")||o.push(Lt({},".".concat(n," .ugb-icon__design-wrapper"),{borderRadius:ct(r("BorderRadius","%s%","100%")),padding:ct(r("Padding","%spx"))})),"shaped"===r("Design")&&o.push(Lt({},".".concat(n," .ugb-icon__design-wrapper"),{background:ct(r("BackgroundColor"))})),"outlined"===r("Design")&&o.push(Lt({},".".concat(n," .ugb-icon__design-wrapper"),{borderColor:ct(r("BackgroundColor")),borderWidth:ct(r("OutlineWidth","%spx"))})),qe.a.all(Object(me.applyFilters)("stackable.icon-style-set.styles",o,r,n,a))},Wt=function(e){return"string"!=typeof e?0:Object(u.range)(10).reduce(function(t,n){var a=n+1;return new RegExp("(<(circle|ellipse|line|polygon|polyline|rect|shape|path)[^>]*(/>|>[sS]*?</\\w+>)[ \t\r\n\v\f]*){".concat(a,"}"),"gm").test(e)?a:t},0)},Gt=function(e,t){var n=Vt(e,t);return n?n.html[0]:""},Vt=function(e,t){return window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null},qt=function(){return!!window.FontAwesome},Kt=function(){return window.FontAwesome?Promise.resolve(!0):new Promise(function(e,t){var n=240,a=setInterval(function(){window.FontAwesome?(clearInterval(a),e(!0)):n--<0&&(clearInterval(a),t(!1))},250)})},Yt=function(e,t){var n=Vt(e,t);return n?Promise.resolve(n):new Promise(function(n,a){var i=240,r=setInterval(function(){var o=Vt(e,t);window.FontAwesome?(clearInterval(r),n(o)):i--<0&&(clearInterval(r),a(!1))},250)})};n(23),n(416);var Xt=n(81),$t=n.n(Xt);n.d(t,"lb",function(){return Jt}),n.d(t,"rb",function(){return Zt}),n.d(t,"W",function(){return Qt}),n.d(t,"K",function(){return en}),n.d(t,"Y",function(){return tn}),n.d(t,"hb",function(){return nn}),n.d(t,"h",function(){return an}),n.d(t,"kb",function(){return rn}),n.d(t,"U",function(){return ln}),n.d(t,"nb",function(){return cn}),n.d(t,"ab",function(){return un}),n.d(t,"mb",function(){return bn}),n.d(t,"ib",function(){return pn}),n.d(t,"db",function(){return l}),n.d(t,"R",function(){return c}),n.d(t,"eb",function(){return s}),n.d(t,"P",function(){return d}),n.d(t,"i",function(){return f}),n.d(t,"B",function(){return h}),n.d(t,"A",function(){return O}),n.d(t,"H",function(){return k}),n.d(t,"I",function(){return x}),n.d(t,"G",function(){return C}),n.d(t,"Q",function(){return P}),n.d(t,"k",function(){return D}),n.d(t,"j",function(){return F}),n.d(t,"n",function(){return V}),n.d(t,"l",function(){return U}),n.d(t,"m",function(){return G}),n.d(t,"X",function(){return W}),n.d(t,"J",function(){return X}),n.d(t,"u",function(){return ee}),n.d(t,"z",function(){return we}),n.d(t,"y",function(){return Oe}),n.d(t,"V",function(){return ve}),n.d(t,"S",function(){return ke}),n.d(t,"f",function(){return Ce}),n.d(t,"T",function(){return xe}),n.d(t,"w",function(){return Pe}),n.d(t,"v",function(){return Ne}),n.d(t,"x",function(){return Ie}),n.d(t,"p",function(){return We}),n.d(t,"o",function(){return Ge}),n.d(t,"q",function(){return $e}),n.d(t,"Z",function(){return tt}),n.d(t,"fb",function(){return nt}),n.d(t,"gb",function(){return at}),n.d(t,"cb",function(){return it}),n.d(t,"tb",function(){return rt}),n.d(t,"ub",function(){return ot}),n.d(t,"d",function(){return lt}),n.d(t,"c",function(){return ct}),n.d(t,"b",function(){return st}),n.d(t,"g",function(){return ut}),n.d(t,"D",function(){return bt}),n.d(t,"C",function(){return pt}),n.d(t,"E",function(){return ht}),n.d(t,"F",function(){return wt}),n.d(t,"a",function(){return _t}),n.d(t,"bb",function(){return At}),n.d(t,"e",function(){return Tt}),n.d(t,"qb",function(){return pe}),n.d(t,"sb",function(){return Pt}),n.d(t,"ob",function(){return Nt}),n.d(t,"pb",function(){return Mt}),n.d(t,"s",function(){return zt}),n.d(t,"r",function(){return Ht}),n.d(t,"t",function(){return Ut}),n.d(t,"jb",function(){return Wt}),n.d(t,"M",function(){return Gt}),n.d(t,"O",function(){return qt}),n.d(t,"L",function(){return Kt}),n.d(t,"N",function(){return Yt});var Jt=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},Zt=function(e){return e.match(/(mp4|webm|ogg)$/i)},Qt=function(e){var t="";return(t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1])||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:((t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[2])||(t=(e.match(/^\d+$/i)||[])[0]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})},en=function e(t){return"short"===t?Object(b.__)("Description for this block. You can use this space for describing your block.",a.i18n):"medium"===t?"".concat(e()," ").concat(e("short")):"long"===t?"".concat(e("medium")," ").concat(e()," ").concat(e("short")):Object(b.__)("Description for this block. Use this space for describing your block. Any text will do.",a.i18n)},tn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null;e.indexOf("var(")>-1&&(e=window.getComputedStyle(document.documentElement).getPropertyValue(e.replace("var(","").replace(")",""))||"#fff"),(n=e.replace(/#/,"")).length<=4&&(n=n.replace(/#?(.)(.)(.)/,"$1$1$2$2$3$3"));var a=$t()("#".concat(n,"ff"));return a[3]=null!==t?t:1,"rgba(".concat(a.join(", "),")")},nn=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},an=function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(e||"").replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/(.*)?\n/g,"").replace(/([^}]+)({)/g,function(e,i,r){if(i.match(/@\w+/g))return i.replace(/(@\w+[^{]+{\s*)([^{]+)/g,function(e,a,i){var o=rn(i,t,n);return"".concat(a," ").concat(o," ").concat(r)});var o=rn(i,t,n);return(a?"#editor ":"")+"".concat(o," ").concat(r)}).trim()},rn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e.trim().replace(/[\n\s\t]+/g," ").split(",").map(function(e){var i="";return i=n&&t?e.includes(n)?e:n&&!t?".".concat(n," ").concat(e.trim()):".".concat(n," ").concat(e.trim()).replace(new RegExp("(.".concat(n,") (.").concat(t,"(#|:|\\[|\\.|\\s|$))"),"g"),"$1$2"):e,a?"".concat(a," ").concat(i):i}).join(", ")},on="desktop",ln=function(){return on},cn=function(e){return on=e},sn=!1,un=function(){return sn},bn=function(e){return sn=e},pn=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}},function(e,t,n){"use strict";var a=n(21),i=n(2),r=n(9),o=n(8),l=n.n(o),c=n(6),s=n(0);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a},o=Object.keys(i.a).reduce(function(e,i){var o;return p({},e,(m(o={},"".concat(i,"Url"),a("".concat(i,"Url"))),m(o,"onChange".concat(Object(r.upperFirst)(i),"Url"),function(e){return t(m({},n("".concat(i,"Url")),e))}),o))},{});return wp.element.createElement(j,u({design:a("Design",e.designDefault),size:a("Size","normal"),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),useSocialColors:a("UseSocialColors"),newTab:a("NewTab"),onChangeNewTab:function(e){return t(m({},n("NewTab"),e))},isSelected:e.isSelected},o,e))};g.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(g.Content=function(e){var t=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[t(n)];return 0===i?i:i||a},a=Object.keys(i.a).reduce(function(e,t){return p({},e,m({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(j.Content,u({design:n("Design",e.designDefault),size:n("Size","normal"),newTab:n("NewTab"),hoverEffect:n("HoverEffect"),useSocialColors:n("UseSocialColors"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow")},a,e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var d=g;function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return(!0===e["show".concat(Object(r.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(r.upperFirst)(t))])&&wp.element.createElement(a.c,y({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:i.a[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(r.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},w=Object.keys(i.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(r.upperFirst)(t)),null),n))},{});O.defaultProps=h({useSocialColors:!0},w),O.Content=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return!1!==e["show".concat(Object(r.upperFirst)(t))]&&wp.element.createElement(a.c.Content,y({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:i.a[t].icon,url:e["".concat(t,"Url")]||"#"},e))}))};var _=Object.keys(i.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(r.upperFirst)(t)),null),n))},{});O.Content.defaultProps=h({useSocialColors:!0},_);var j=O,k=n(4),C=n.n(k);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),S=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),A=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),T=function(e){return C.a.createElement("svg",x({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),E,S,A)},B=n(11),P=n(7);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,i=e.className,r=e.allowedTypes,o=e.render,c=e.hasRemove,s=e.style,u=l()([i,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),b=M({},s,{backgroundImage:n&&!o?"url(".concat(n,")"):void 0});return wp.element.createElement(P.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,i=t.height,r=e.imageSize||"full";t.sizes&&t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,i=t.sizes[r].height),e.onChange(M({},t,{url:n,width:a,height:i}))},allowedTypes:r,value:t,render:function(e){return n&&o?wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(B.Dashicon,{icon:"no"})),o):wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(B.Dashicon,{icon:"no"})),!n&&wp.element.createElement(T,null))}})};D.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var F=D,I=n(1);function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=function(e){return wp.element.createElement(B.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(P.URLInput,z({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(r.omit)(e,["label","help"]))))};H.defaultProps={label:Object(s.__)("URL",I.i18n),help:null,value:"",onChange:function(){}};var L=H,U=n(417),W=[{id:"opensInNewTab",title:Object(s.__)("Opens in new tab",I.i18n)},{id:"noFollowLink",title:Object(s.__)("Nofollow link",I.i18n)}],G=function(e){var t=e.value,n={url:t,opensInNewTab:e.newTab,noFollowLink:e.noFollow};if(!e.onChange&&!e.onChangeNewTab&&!e.onChangeNoFollow)return null;var a=l()(["ugb-url-input-popover"]),i=W.filter(function(t){switch(t.id){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;default:return!0}});return wp.element.createElement(B.Popover,{className:a,focusOnMount:!1,position:e.position},wp.element.createElement(P.__experimentalLinkControl,{value:n,settings:i,showSuggestions:!e.disableSuggestions,onChange:function(t){var a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow},i=Object(r.omitBy)(Object(r.omit)(t,"id","title","type"),function(e,t){return n[t]===e});Object(r.keys)(i).map(function(e){return a[e](i[e])})}},wp.element.createElement("form",null,wp.element.createElement("input",{placeholder:Object(s.__)("Search or type url",I.i18n),value:t}),wp.element.createElement(B.Button,{icon:U.a,type:"submit"}))))};G.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var V=G,q=n(12),K=n(5);function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var X=Object(s.__)("(current %s: %s)",I.i18n),$=Object(q.compose)([P.withColorContext,Object(q.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.disableCustomColors,a=e.label,i=e.onChange,r=e.value,o=e.className,u=void 0===o?"":o,b=Object(P.getColorObjectByColorValue)(t,r),p=b&&b.name,m=Object(s.sprintf)(X,a.toLowerCase(),p||r),g=wp.element.createElement(c.Fragment,null,a,r&&wp.element.createElement(B.ColorIndicator,{colorValue:r,"aria-label":m}));return wp.element.createElement(B.BaseControl,{className:l()([u,"editor-color-palette-control"]),id:"editor-color-palette-control",label:g},wp.element.createElement(B.ColorPalette,Y({className:"editor-color-palette-control__color-palette",value:r,onChange:function(e){var n=Object(P.getColorObjectByColorValue)(t,e);i(Object(K.applyFilters)("stackable.color-palette-control.change",e,n))}},{colors:t,disableCustomColors:n})))}),J=n(10);function Z(){return(Z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Q=function(e){return wp.element.createElement(B.SelectControl,Z({},e,{options:[{value:"",label:Object(s.__)("None",I.i18n)},{value:"normal",label:Object(s.__)("Normal",I.i18n)},{value:"multiply",label:Object(s.__)("Multiply",I.i18n)},{value:"screen",label:Object(s.__)("Screen",I.i18n)},{value:"overlay",label:Object(s.__)("Overlay",I.i18n)},{value:"darken",label:Object(s.__)("Darken",I.i18n)},{value:"lighten",label:Object(s.__)("Lighten",I.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",I.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",I.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",I.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",I.i18n)},{value:"difference",label:Object(s.__)("Difference",I.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",I.i18n)},{value:"hue",label:Object(s.__)("Hue",I.i18n)},{value:"saturation",label:Object(s.__)("Saturation",I.i18n)},{value:"color",label:Object(s.__)("Color",I.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",I.i18n)},{value:"initial",label:Object(s.__)("Initial",I.i18n)},{value:"inherit",label:Object(s.__)("Inherit",I.i18n)},{value:"unset",label:Object(s.__)("Unset",I.i18n)}]}))};Q.defaultProps={label:Object(s.__)("Mix Blend Mode",I.i18n),help:Object(s.__)("Not supported in all browsers.",I.i18n)};var ee=Object(q.compose)(Object(J.e)("background-blend-mode"))(Q);function te(){return(te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ne=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),ae=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),ie=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),re=function(e){return C.a.createElement("svg",te({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),ne,ae,ie)},oe=function(e){var t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",n=function(){e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(B.BaseControl,{help:e.help},wp.element.createElement(Ye,{label:e.label,screens:e.screens}),wp.element.createElement(P.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(c.Fragment,null,e.imageURL&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:n},wp.element.createElement(B.Dashicon,{icon:"no"})),"video"===t&&wp.element.createElement("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()}}),"image"===t&&wp.element.createElement("img",{className:"ugb-image-preview",src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},alt:Object(s.__)("preview",I.i18n)})),!e.imageURL&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},role:"button",tabIndex:0},wp.element.createElement(re,null)))}})))};oe.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var le=oe;function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var se=function(e){return wp.element.createElement(B.TextareaControl,ce({},e,{help:wp.element.createElement(c.Fragment,null,wp.element.createElement(B.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",I.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",I.i18n))}))};se.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",I.i18n)};var ue=se,be=n(82),pe=n.n(be),me=n(83),ge=n.n(me),de=n(84),fe=n.n(de),he=n(85),ve=n.n(he);function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Oe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var we=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(Va,ye({},e,{className:l()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[].concat(Oe(e.hasDefault?[{label:Object(s.__)("Default",I.i18n),value:"",image:pe.a}]:[]),[{label:Object(s.__)("Square",I.i18n),value:"square",image:ge.a},{label:Object(s.__)("Circle",I.i18n),value:"circle",image:fe.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",I.i18n),1),value:"blob1",image:ve.a}],Oe(Object(K.applyFilters)("stackable.image.control.shapes",[])))})),I.showProNotice&&wp.element.createElement(Go,{type:"image"}))};we.defaultProps={className:"",label:Object(s.__)("Shape",I.i18n),selected:"",hasDefault:!0};var _e=we,je=n(13),ke=function(e){var t=e.imageData?Object(i.S)(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeShape&&wp.element.createElement(_e,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",I.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",I.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",I.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};ke.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Ce=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(ke);function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=function(e){var t,n=(t=e.imageSizes,Object(r.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(r.isEmpty)(n)?null:wp.element.createElement(B.SelectControl,xe({},e,{value:e.value||"large",options:n,className:l()(e.className,["ugb--help-tip-image-size"])}))};Ee.defaultProps={className:"",label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var Se=Object(q.compose)([Object(je.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Ee);function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=C.a.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7v2zM4 6v8h16V6H4z"}),Be=function(e){return C.a.createElement("svg",Ae({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ne=C.a.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v15h8V4H8z"}),Me=function(e){return C.a.createElement("svg",Pe({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Ne)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var De=C.a.createElement("path",{d:"M6 4v15h12V4H6zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z"}),Fe=function(e){return C.a.createElement("svg",Re({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),De)};function Ie(e){return(Ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ze(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function He(e,t){return!t||"object"!==Ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Le(e){return(Le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ue(e,t){return(Ue=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var We={desktop:wp.element.createElement(Be,null),tablet:wp.element.createElement(Fe,null),mobile:wp.element.createElement(Me,null)},Ge={desktop:Object(s.__)("Desktop",I.i18n),tablet:Object(s.__)("Tablet",I.i18n),mobile:Object(s.__)("Mobile",I.i18n)},Ve=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=He(this,Le(t).apply(this,arguments))).state={screen:Object(i.U)(),isScreenPickerOpen:Object(i.ab)()},e}var n,a,r;return 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&&Ue(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChangeScreen",value:function(e){var t=this.props.screens[0];this.state.isScreenPickerOpen||this.state.screen!==t||e!==t?this.state.isScreenPickerOpen&&e===t&&(this.setState({isScreenPickerOpen:!1}),"undefined"==typeof instanceIdOwner&&(Object(i.mb)(!1),Object(K.doAction)("stackable.responsive-toggle.screen.close"))):(this.setState({isScreenPickerOpen:!0}),"undefined"==typeof instanceIdOwner&&(Object(i.mb)(!0),Object(K.doAction)("stackable.responsive-toggle.screen.open"))),this.props.onChangeScreen(e),this.setState({screen:e}),Object(i.nb)(e),Object(K.doAction)("stackable.responsive-toggle.screen.change",e)}},{key:"onOtherScreenChange",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e})}},{key:"onOtherScreenOpen",value:function(){this.setState({isScreenPickerOpen:!0})}},{key:"onOtherScreenClose",value:function(){this.setState({isScreenPickerOpen:!1})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(K.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(K.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(K.addAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e),this.onOtherScreenClose.bind(this))}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(K.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(K.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(K.removeAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e))}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"ugb-base-control-multi-label__responsive"},this.props.screens.length>1&&this.props.screens.map(function(t,n){return n>0&&!e.state.isScreenPickerOpen?null:wp.element.createElement(B.Button,{key:n,className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:We[t],label:Ge[t]})}))}}])&&ze(n.prototype,a),r&&ze(n,r),t}();Ve.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var qe=Object(q.withInstanceId)(Ve),Ke=function(e){return wp.element.createElement("div",{className:"ugb-base-control-multi-label"},wp.element.createElement("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),wp.element.createElement(qe,{screens:e.screens,onChangeScreen:e.onChangeScreen}),wp.element.createElement("div",{className:"ugb-base-control-multi-label__units"},e.units.length>1&&e.units.map(function(t,n){return wp.element.createElement("button",{key:n,className:e.unit===t?"is-active":"",onClick:function(){return e.onChangeUnit(t)}},t)}),e.afterButton))};Ke.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var Ye=Ke;function Xe(e){return(Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function $e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ze=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$e(n,!0).forEach(function(t){Je(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,t.placeholder="20";var a,o=e.placeholder;if(Array.isArray(o)||"object"!==Xe(o))Array.isArray(o)&&"desktop"===e.screen?(t.placeholder=o[n]||"",t.initialPosition=o[n]||"",Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||"")):e.screen&&"desktop"!==e.screen&&(t.placeholder="",t.initialPosition="");else{var c=Object(i.U)()||"desktop";o=void 0!==o[c]?o[c]:o[Object.keys(o)[0]],Array.isArray(o)?(t.placeholder=o[n]||"",t.initialPosition=o[n]||""):(t.placeholder=o||"",t.initialPosition=o||""),Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||""),t.initialPosition="string"==typeof(a=t.initialPosition)&&""!==a&&a.match(/^[\d.]+$/)?a.includes(".")?parseFloat(a):parseInt(a,10):a}return t.value=""===e.value?t.initialPosition:e.value,wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-range-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.RangeControl,t))};Ze.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var Qe=Ze,et=function(e){return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-select-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.SelectControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};et.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var tt=et,nt=function(e){return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-text-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.TextControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};nt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var at=n(86),it=n.n(at);function rt(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ut=function(e){return!(!e.length||"object"!==st(e[0].options))},bt=function(e,t){if(!t.length)return e;if(!ut(t)){var n=t.filter(function(t){return t.value===e});return n.length?n[0].label:e}var a=t.map(function(t){return{title:t.title,options:t.options.filter(function(t){return t.value===e})}}).filter(function(e){return e.options.length>0});return a.length?a[0].options[0].label:e},pt=function(e){return e.value},mt=function(e){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":e.value},e.label)},gt=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},dt=function(e){return e.options},ft=function(){return!0},ht=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ot(t).apply(this,arguments))||"object"!==st(a)&&"function"!=typeof a?lt(n):a).state={value:e.props.value,label:e.props.value?bt(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(lt(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(lt(e)),e.onChange=e.onChange.bind(lt(e)),e.onFocus=e.onFocus.bind(lt(e)),e.autosuggestDiv=Object(c.createRef)(),e}var n,a,i;return 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&&ct(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:bt(n,this.props.options)})}},{key:"onFocus",value:function(){var e=this;setTimeout(function(){var t=e.autosuggestDiv.current.querySelector('[data-value="'.concat(e.state.value,'"]'));t&&t.scrollIntoView()},0)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=e.value,n=e.reason;if("input-focused"!==n&&"suggestion-selected"!==n){var a=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return ut(t)?t.map(function(e){return{title:e.title,options:e.options.filter(function(e){return a.test(e.label)||a.test(e.value)})}}).filter(function(e){return e.options.length>0}):t.filter(function(e){return a.test(e.label)||a.test(e.value)})}(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this.state,t=e.label,n=e.suggestions,a={placeholder:"",value:t,onChange:this.onChange,onFocus:this.onFocus};return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(it.a,{multiSection:ut(this.props.options),suggestions:n,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:pt,renderSuggestion:mt,renderSectionTitle:gt,getSectionSuggestions:dt,shouldRenderSuggestions:ft,inputProps:a}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel)))}}])&&rt(n.prototype,a),i&&rt(n,i),t}();ht.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",I.i18n)};var vt=ht;function yt(){return(yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ot=C.a.createElement("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}),wt=function(e){return C.a.createElement("svg",yt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ot)};function _t(){return(_t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jt=C.a.createElement("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}),kt=function(e){return C.a.createElement("svg",_t({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),jt)};function Ct(){return(Ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xt=C.a.createElement("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}),Et=function(e){return C.a.createElement("svg",Ct({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),xt)};function St(){return(St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var At=C.a.createElement("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}),Tt=function(e){return C.a.createElement("svg",St({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),At)};function Bt(){return(Bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pt=C.a.createElement("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}),Nt=function(e){return C.a.createElement("svg",Bt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Pt)};function Mt(){return(Mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rt=C.a.createElement("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}),Dt=function(e){return C.a.createElement("svg",Mt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Rt)};function Ft(){return(Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var It=C.a.createElement("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}),zt=function(e){return C.a.createElement("svg",Ft({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),It)};function Ht(){return(Ht=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wt=[{value:"flex-start",title:Object(s.__)("Align Left",I.i18n),icon:wp.element.createElement(Et,null)},{value:"center",title:Object(s.__)("Align Center",I.i18n),icon:wp.element.createElement(kt,null)},{value:"flex-end",title:Object(s.__)("Align Right",I.i18n),icon:wp.element.createElement(Tt,null)}],Gt=[{value:"flex-start",title:Object(s.__)("Align Top",I.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",I.i18n),icon:wp.element.createElement(zt,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",I.i18n),icon:wp.element.createElement(wt,null)},{value:"stretch",title:Object(s.__)("Stretch",I.i18n),icon:wp.element.createElement(Nt,null)}],Vt={"flex-horizontal":Wt,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",I.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",I.i18n),icon:wp.element.createElement(zt,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",I.i18n),icon:wp.element.createElement(wt,null)}],"flex-vertical-with-stretch":Gt},qt=function(e){var t="string"==typeof e.controls?Vt[e.controls]:e.controls,n=l()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(B.BaseControl,{help:e.help,className:l()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(B.ButtonGroup,{children:t.map(function(t,n){var a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(n,!0).forEach(function(t){Ut(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isPrimary:e.value===t.value,isSmall:e.isSmall,children:t.icon?null:t.custom||wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)});return wp.element.createElement(B.Button,Ht({key:n},a))}),className:n}))};qt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0,isSmall:!1};var Kt=qt;function Yt(){return(Yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xt=function(e){var t=e.placeholder,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?1:Math.round(parseFloat(e)/parseFloat(t)*10)/10};return"string"==typeof t&&(t=[t,n(t)]),wp.element.createElement(Qe,Yt({},e,{placeholder:t,onChangeUnit:function(t){""!==e.value&&("em"===t||"rem"===t?e.onChange(n(e.value)):"px"===t&&e.onChange(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?21:Math.round(parseFloat(e)*t)}(e.value))),e.onChangeUnit(t)}}))};Xt.defaultProps={label:Object(s.__)("Font Size",I.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};var $t=Xt;function Jt(){return(Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zt=n(87).map(function(e){return{label:e.family,value:e.family}}),Qt=function(e){return wp.element.createElement(vt,Jt({options:[{title:Object(s.__)("System Fonts",I.i18n),options:[{label:Object(s.__)("Sans-Serif",I.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",I.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",I.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",I.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",I.i18n),options:Zt}]},e,{onChange:function(t){Zt.some(function(e){return e.value===t&&(Object(i.db)(t),!0)}),e.onChange(t)}}))};Qt.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",I.i18n),value:""};var en=Qt,tn=n(66);function nn(){return(nn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function an(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var rn=Object(tn.a)(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),on=Object(tn.b)(function(e){var t=e.value,n=(e.key,e.index,an(e,["value","key","index"]));return wp.element.createElement("div",nn({className:"ugb-sort-control__item"},n),t)}),ln=!1,cn=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(r.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(B.BaseControl,{help:t.help,className:l()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(Ye,nn({label:t.label},Object(r.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(B.Button,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(s.__)("Reset")):null})),wp.element.createElement(rn,{onSortStart:function(){return ln=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,i=e.newIndex;ln=!1;var r=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}(n,a,i);t.onChange(r,{oldIndex:a,newIndex:i})},axis:t.axis},n.map(function(e,n){return wp.element.createElement(on,{key:n,index:n,value:e,onMouseEnter:function(){ln||t.onHover(n)},onMouseLeave:function(){ln||t.onHover(null)}})})))};cn.defaultProps={className:"",help:"",label:Object(s.__)("Column Arrangement",I.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};var sn=n(38);function un(e){return(un="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function gn(e){return(gn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fn(e,t){return(fn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var hn=1,vn=function(e){function t(e){var n,a,i;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(n=!(i=gn(t).apply(this,arguments))||"object"!==un(i)&&"function"!=typeof i?dn(a):i).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(dn(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(dn(n)),n.instanceId=hn++,n.panelRef=Object(c.createRef)(),n}var n,a,i;return 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&&fn(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.hasToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?(this.props.onChange&&this.props.onChange(!0),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bn(n,!0).forEach(function(t){pn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,pn({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(K.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(K.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){if(this.setState({opened:!this.state.opened}),!this.state.opened&&this.panelRef.current){var e=this.panelRef.current.querySelector(".components-panel__body-title"),t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?Object(sn.b)(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&Object(sn.b)(this.panelRef.current)}}},{key:"onAdvancedToggle",value:function(){this.setState({showAdvanced:!this.state.showAdvanced})}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"ugb-toggle-panel-body"],pn({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(B.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(c.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(B.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:this.props.checked,onClick:function(t){t.stopPropagation(),t.preventDefault();var n=e.props.checked;n&&e.state.opened?e.onToggle():n||e.state.opened||e.onToggle(),e.props.onChange&&e.props.onChange(!n)},"aria-describedby":this.props.title}),this.props.title),!(this.props.hasToggle&&this.props.toggleAttributeName)&&this.props.title)},this.props.children,this.state.showAdvanced&&this.props.advancedChildren,this.props.advancedChildren&&wp.element.createElement("button",{className:"ugb-panel-advanced-button",onClick:this.onAdvancedToggle},this.state.showAdvanced?Object(s.__)("Simple",I.i18n):Object(s.__)("Advanced",I.i18n)))}}])&&mn(n.prototype,a),i&&mn(n,i),t}();vn.defaultProps={id:"",className:"",title:Object(s.__)("Settings",I.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var yn=vn;function On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wn=function(e){var t=e.blockProps;return wp.element.createElement(yn,On({title:Object(s.__)("Spacing",I.i18n)},e,{className:l()(["ugb--help-tip-spacing",e.className])}),Object(K.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(K.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};wn.defaultProps={className:"",blockProps:{}};var _n=wn,jn=function(e){var t=l()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};jn.defaultProps={tab:"layout"};var kn=jn,Cn=n(19),xn=n(23),En=n.n(xn);function Sn(e,t,n,a,i,r,o){try{var l=e[r](o),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,i)}function An(e){return function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Sn(r,a,i,o,l,"next",e)}function l(e){Sn(r,a,i,o,l,"throw",e)}o(void 0)})}}var Tn=null,Bn={},Pn=[],Nn=function(e){return e.replace(/^[\w-]+\//,"")},Mn=function(){var e=An(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],Tn&&!t){e.next=9;break}return e.next=4,En()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:Tn=e.sent,t&&(Bn={},Pn=[]);case 9:return e.abrupt("return",Tn);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Rn=function(){var e=An(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Nn(t),Bn[n]){e.next=8;break}return e.next=4,En()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Bn[n]=e.sent;case 8:return e.abrupt("return",Bn[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Dn=function(){var e=An(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(Pn[t]){e.next=7;break}return e.next=3,En()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:Pn[t]=e.sent;case 7:return e.abrupt("return",Pn[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Fn=function(){var e=An(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,En()({path:"/wp/v2/stk_design_library_dev_mode/",method:"POST",data:{devmode:t}});case 3:return n=e.sent,e.next=6,n;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(Cn.a)(function(){});var In=function(){var e=An(regeneratorRuntime.mark(function e(t){var n,a,i,r,o,l,c,s,u,b,p,m,g,d,f,h,v,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,a=void 0===n?"":n,i=t.block,r=void 0===i?"":i,o=t.mood,l=void 0===o?"":o,c=t.plan,s=void 0===c?"":c,u=t.colors,b=void 0===u?[]:u,p=t.categories,m=void 0===p?[]:p,g=t.search,d=void 0===g?"":g,f=t.reset,h=void 0!==f&&f,e.t0=Object,e.next=4,Mn(h);case 4:return e.t1=e.sent,v=e.t0.values.call(e.t0,e.t1),a&&(v=v.filter(function(e){return e.type===a})),r&&(y=-1===r.indexOf("ugb/")?"ugb/".concat(r):r,v=v.filter(function(e){return e.block===y})),l&&(v=v.filter(function(e){return e.mood===l})),s&&(v=v.filter(function(e){return e.plan===s})),b&&b.length&&(v=v.filter(function(e){return e.colors.some(function(e){return b.includes(e)})})),m&&m.length&&(v=v.filter(function(e){return e.categories.some(function(e){return m.includes(e)})})),d&&d.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach(function(e){v=v.filter(function(t){return["label","plan","block","tags","categories","colors"].some(function(n){return-1!==t[n].toString().toLowerCase().indexOf(e)})})}),e.abrupt("return",v);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),zn=function(){var e=An(regeneratorRuntime.mark(function e(t){var n,a,i,r,o,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Mn();case 2:if(n=e.sent,a=n[t],i=a.type,r=a.block,o=a.template,"block"!==i||!r){e.next=12;break}return e.next=8,Rn(r);case 8:return l=e.sent,e.abrupt("return",l[t]);case 12:if(!o){e.next=16;break}return e.next=15,Dn(t);case 15:return e.abrupt("return",e.sent);case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Hn=function(){var e=An(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Mn();case 3:return e.t1=e.sent,t=e.t0.values.call(e.t0,e.t1),e.abrupt("return",t.reduce(function(e,t){var n=t.block,a=t.type;return e.includes(n)||"block"!==a||e.push(n),e},[]));case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();function Ln(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Un=function(e){var t=Ln(Object(c.useState)(!1),2),n=t[0],a=t[1],i=Ln(Object(c.useState)(""),2),r=i[0],o=i[1],l=Ln(Object(c.useState)([]),2),u=l[0],b=l[1],p=Ln(Object(c.useState)(!0),2),m=p[0],g=p[1],d=Ln(Object(c.useState)(""),2),f=d[0],h=d[1];return Object(c.useEffect)(function(){In({type:"block",block:e.block,search:r}).then(function(e){b(e)}).finally(function(){g(!1)})},[e.block,r]),wp.element.createElement("div",null,wp.element.createElement(B.Button,{className:"ugb-design-library-control__open-library",label:Object(s.__)("Open Design Library",I.i18n),isSmall:!0,isLink:!0,onClick:function(){return a(!0)}},Object(s.__)("Open Design Library",I.i18n)),wp.element.createElement(B.TextControl,{placeholder:Object(s.__)("Search designs...",I.i18n),value:r,onChange:function(e){return o(e)}}),!I.isPro&&wp.element.createElement(Kt,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("All",I.i18n),wp.element.createElement("span",null,u.length))},{value:"free",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Free",I.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"===t.plan?1:0)},0)))},{value:"premium",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Premium",I.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:f,onChange:function(e){return h(e)}}),wp.element.createElement(na,{designs:u.filter(function(e){var t=e.plan;return!f||t===f}),isBusy:m,onSelect:e.onSelect}),n&&wp.element.createElement(cg,{search:r,selectedBlock:e.block,onClose:function(){a(!1),o("")},onSelect:function(t){e.onSelect(t),a(!1)}}))};Un.defaultProps={block:"",onSelect:function(){}};var Wn=Un,Gn=n(16);function Vn(e){return(Vn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Kn(e){return(Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Yn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xn(e,t){return(Xn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $n=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Kn(t).apply(this,arguments))||"object"!==Vn(a)&&"function"!=typeof a?Yn(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(Yn(e)),e.close=e.close.bind(Yn(e)),e.prev=e.prev.bind(Yn(e)),e.next=e.next.bind(Yn(e)),e}var n,a,i;return 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&&Xn(e,t)}(t,c["Component"]),n=t,(a=[{key:"open",value:function(){this.setState({isOpen:!0})}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"next",value:function(){var e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}},{key:"prev",value:function(){var e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}},{key:"render",value:function(){var e=this.props.tag;return wp.element.createElement(e,null,wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(B.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},wp.element.createElement("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:Object(s.__)("Premium features",I.i18n)}),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-modal-popup&utm_campaign=upgrade&utm_medium=gutenberg",className:"button button-secondary",target:"_premium",title:Object(s.__)("Upgrade to Premium",I.i18n)},wp.element.createElement(Gn.w,null),Object(s.__)("Upgrade to Premium",I.i18n)),wp.element.createElement("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:Object(s.__)("Try Premium Demo",I.i18n)},Object(s.__)("Try Premium Demo",I.i18n)))))}}])&&qn(n.prototype,a),i&&qn(n,i),t}();$n.defaultProps={button:Object(s.__)("Learn More",I.i18n),buttonClassName:"button button-secondary",tag:"div"};var Jn=$n;function Zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Qn=function(e){var t,n,a,i=e.designId,r=e.image,o=e.label,s=e.onClick,u=e.plan,b=e.isPro,p=Zn(Object(c.useState)(!1),2),m=p[0],g=p[1],d=Zn(Object(c.useState)(!1),2),f=d[0],h=d[1],v=l()(["ugb-design-library-item"],(t={"ugb--is-busy":m},n="ugb--is-".concat(u),a=!b&&"free"!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:v,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}},m&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(B.Spinner,null)),!b&&"free"!==u&&wp.element.createElement("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},u),wp.element.createElement("button",{className:"ugb-design-library-item__image",onClick:function(){(b||"free"===u)&&(g(!0),zn(i).then(function(e){g(!1),s(e)}))}},!b&&"free"!==u&&wp.element.createElement(B.Dashicon,{icon:"lock"}),wp.element.createElement("img",{src:r,alt:o,loading:"lazy"})),wp.element.createElement("footer",null,(b||"free"===u)&&wp.element.createElement("span",null,o),!b&&"free"!==u&&!f&&wp.element.createElement("span",null,o),!b&&"free"!==u&&f&&wp.element.createElement(Jn,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(c.Fragment,null,wp.element.createElement(B.Dashicon,{icon:"external"}),e.premiumLabel)})))};Qn.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:I.isPro,premiumLabel:Object(s.__)("Go Premium",I.i18n)};var ea=Qn;var ta=function(e){var t,n,a,i=e.designs,r=e.isBusy,o=e.onSelect,c=l()(["ugb-design-library-items"],(t={},n="ugb-design-library-items--columns-".concat(e.columns),a=!r&&e.columns,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:c},(i||[]).map(function(e,t){return wp.element.createElement(ea,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,onClick:function(e){o(e)}})}),r&&wp.element.createElement("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},wp.element.createElement(B.Spinner,null)),!r&&!(i||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(s.__)("No designs found",I.i18n)))};ta.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var na=ta,aa=(n(340),n(15)),ia=n.n(aa);function ra(e){return(ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function oa(){return(oa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ca(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function sa(e){return(sa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ua(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ba(e,t){return(ba=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ma={},ga=Object(q.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=sa(n).apply(this,arguments))||"object"!==ra(a)&&"function"!=typeof a?ua(t):a).blockClientId=e.props.blockProps.clientId,void 0===ma[e.blockClientId]&&(ma[e.blockClientId]={tab:Object(i.bb)(e.props.blockProps)?"":"style",panel:0}),e.onClickPanel=e.onClickPanel.bind(ua(e)),e.onClickTab=e.onClickTab.bind(ua(e)),e}var a,r,o;return 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&&ba(e,t)}(n,c["Component"]),a=n,(r=[{key:"getActiveTab",value:function(){var e=document.querySelector(".components-panel[data-ugb-tab]");return e?e.getAttribute("data-ugb-tab"):void 0}},{key:"getActiveTabPanelContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab();return e?document.querySelector(".ugb-panel-".concat(e)):void 0}},{key:"getPanelFromIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(-1===e)return null;var t=this.getActiveTabPanelContainer();return t?t.querySelector(".components-panel__body:nth-child(".concat(e+1,"):not(.is-opened) .components-panel__body-toggle")):null}},{key:"getPanelIndex",value:function(e){return e?Array.prototype.slice.call(e.parentElement.children).indexOf(e):-1}},{key:"getOpenPanelIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab(),t=this.getActiveTabPanelContainer(e),n=t.querySelector(".components-panel__body.is-opened");return this.getPanelIndex(n)}},{key:"componentDidMount",value:function(){if(-1!==ma[this.blockClientId].panel){var e=this.getPanelFromIndex(ma[this.blockClientId].panel);e&&e.click()}else Sa()}},{key:"onClickPanel",value:function(e){ma[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?la(n,!0).forEach(function(t){pa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):la(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},ma[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){ma[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,oa({initialTab:ma[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&ca(a.prototype,r),o&&ca(a,o),n}(),pa(t,"propTypes",{blockProps:ia.a.shape({clientId:ia.a.string.isRequired,name:ia.a.string.isRequired,attributes:ia.a.object.isRequired})}),n},"withMemory");function da(e){return(da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fa(){return(fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ha(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function va(e){return(va=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ya(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oa(e,t){return(Oa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var wa=Object(q.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=va(n).apply(this,arguments))||"object"!==da(a)&&"function"!=typeof a?ya(t):a).onSidebarScroll=e.onSidebarScroll.bind(ya(e)),e.sidebarEl=null,e.tabTop=0,e.styleTop=0,e.styleWidth=0,e.state={fixedTabs:!1},e}var a,i,r;return 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&&Oa(e,t)}(n,c["Component"]),a=n,(i=[{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");this.tabTop=e?e.getBoundingClientRect().height+32:75}if(!this.styleWidth){var t=document.querySelector(".edit-post-sidebar-header");if(t){var n=t.getBoundingClientRect();this.styleTop=n.bottom-2,this.styleWidth=n.width}else{var a=document.querySelector(".edit-post-sidebar");if(a){var i=a.getBoundingClientRect();this.styleTop=i.top,this.styleWidth=i.width}}}this.sidebarEl&&this.tabTop&&this.setState({fixedTabs:this.sidebarEl.scrollTop>=this.tabTop})}},{key:"componentDidMount",value:function(){this.sidebarEl=document.querySelector(".edit-post-sidebar"),this.sidebarEl&&this.sidebarEl.addEventListener("scroll",this.onSidebarScroll)}},{key:"componentWillUnmount",value:function(){this.sidebarEl&&this.sidebarEl.removeEventListener("scroll",this.onSidebarScroll)}},{key:"render",value:function(){var t=l()([this.props.className],{"ugb--fixed-tabs":this.state.fixedTabs});return wp.element.createElement(c.Fragment,null,wp.element.createElement(e,fa({},this.props,{className:t,style:{top:this.state.fixedTabs?"".concat(this.styleTop,"px"):void 0,width:this.state.fixedTabs?"".concat(this.styleWidth,"px"):void 0}})),this.state.fixedTabs&&wp.element.createElement("div",{className:"ugb--panel-tabs-dummy"}))}}])&&ha(a.prototype,i),r&&ha(a,r),n}(),r={className:""},(i="defaultProps")in(a=t)?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withSticky");function _a(e){return(_a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ja(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ka(e){return(ka=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ca(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xa(e,t){return(xa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ea=[{value:"layout",title:Object(s.__)("Layout",I.i18n),label:Object(s.__)("Layout Tab",I.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",I.i18n),label:Object(s.__)("Style Tab",I.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",I.i18n),label:Object(s.__)("Advanced Tab",I.i18n),icon:"admin-tools"}],Sa=function(e){[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(t){0!==t.offsetHeight&&t.parentElement.parentElement.classList.contains("is-opened")&&e!==t&&t.click()})},Aa=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ka(t).apply(this,arguments))||"object"!==_a(a)&&"function"!=typeof a?Ca(n):a).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(Ca(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(Ca(e)),e.select=e.select.bind(Ca(e)),e.containerDiv=Object(c.createRef)(),e}var n,a,i;return 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&&xa(e,t)}(t,c["Component"]),n=t,(a=[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t&&(t.setAttribute("data-ugb-tab",e),t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs"))}},{key:"componentDidMount",value:function(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&document.body.addEventListener("click",this.onButtonPanelClick)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t=e.target.closest(".components-panel__body-toggle");t&&"layout"!==this.state.activeTab&&(Sa(t),this.props.onClickPanel(t.closest(".components-panel__body")))}},{key:"select",value:function(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return wp.element.createElement("div",{className:t,style:this.props.style,ref:this.containerDiv},wp.element.createElement("div",{className:"ugb-panel-tabs__wrapper"},Ea.map(function(t,n){var a=t.value,i=t.title,r=t.label,o=t.icon;return e.tabsToUse.includes(a)?wp.element.createElement("button",{key:n,onClick:function(){return e.select(a)},className:l()(["edit-post-sidebar__panel-tab","ugb-tab--".concat(a)],{"is-active":e.state.activeTab===a}),"aria-label":r,"data-label":r},wp.element.createElement(B.Icon,{icon:o}),i):null})))}}])&&ja(n.prototype,a),i&&ja(n,i),t}();Aa.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Ta=ga(Aa);Object(i.pb)()||(Ta=wa(Ta));var Ba=Ta;function Pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Na(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pa(n,!0).forEach(function(t){Ma(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ma(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ra=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.keys(e).reduce(function(r,o){return Na({},r,Ma({},Object(i.kb)(o,t,n,a?"#editor":""),e[o]))},{})},Da=function(e){return Object(i.hb)(Object.keys(e).reduce(function(t,n){var a=Object.keys(e[n]).reduce(function(t,a){var i=e[n][a];if(void 0===i)return t;var o=a.replace(/^(--?)?(.*?$)/,function(e,t,n){return"".concat(t||"").concat(Object(r.kebabCase)(n))});return"".concat(t,"\n\t").concat(o,": ").concat(i,";")},"");return"".concat(t,"\n\n").concat(n," {").concat(a,"\n}")},"").trim())},Fa=function(e){var t=e.style,n=void 0===t?{}:t,a=e.editorMode,o=void 0!==a&&a,l=e.blockUniqueClassName,c=void 0===l?"":l,s=e.blockMainClassName,u=void 0===s?"":s,b=e.breakTablet,p=void 0===b?1025:b,m=e.breakMobile,g=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1025,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:768,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,u=[],b=Object(r.omit)(t,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor"]);if(Object.keys(b).length){var p=Ra(b,n,a,c);u.push(Da(p))}if(void 0!==t.desktopTablet){var m=Ra(t.desktopTablet,n,a,c),g=Da(m);g&&u.push("\n@media screen and (min-width: ".concat(l,"px) {\n").concat(g," }"))}if(void 0!==t.desktopOnly){var d=Ra(t.desktopOnly,n,a,c),f=Da(d);f&&u.push("\n@media screen and (min-width: ".concat(o,"px) {\n").concat(f," }"))}if(void 0!==t.tablet){var h=Ra(t.tablet,n,a,c),v=Da(h);v&&u.push("\n@media screen and (max-width: ".concat(o,"px) {\n").concat(v," }"))}if(void 0!==t.tabletOnly){var y=Ra(t.tabletOnly,n,a,c),O=Da(y);O&&u.push("\n@media screen and (min-width: ".concat(l,"px) and (max-width: ").concat(o,"px) {\n").concat(O," }"))}if(void 0!==t.mobile){var w=Ra(t.mobile,n,a,c),_=Da(w);_&&u.push("\n@media screen and (max-width: ".concat(l,"px) {\n").concat(_," }"))}if(void 0!==t.ie11){var j=Ra(t.ie11,n,a,c),k=Da(j);k&&u.push("\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n".concat(k," }"))}return c&&void 0!==t.editor&&!s&&u.push(e(t.editor,n,a,o,l,c,s++)),Object(i.hb)(u.join(""))}(n,u,c,p,void 0===m?768:m,o);return g?wp.element.createElement("style",null,g):null};function Ia(){return(Ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var za=function(e){var t=e.options,n=e.selected,a=e.title,i=void 0===a?Object(s.__)("Layout",I.i18n):a,o=e.selectedOptionInTitle,c=void 0===o||o,u=e.help,b=void 0===u?"":u,p=e.className,m=void 0===p?"":p,g=e.initialOpen,d=void 0===g||g,f=t?t.find(function(e){return e.value===n}):null,h=f?"".concat(i," – ").concat(f.label):i,v=l()(["ugb-design-panel-body",m]);return wp.element.createElement(B.PanelBody,Ia({title:c?wp.element.createElement("span",null,h):i,className:v,initialOpen:d},Object(r.omit)(e,["help"])),b&&wp.element.createElement("p",{className:"components-base-control__help"},b),t&&wp.element.createElement(Va,Object(r.omit)(e,["help","title"])),e.children)};var Ha=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,i=void 0===a?"":a,r=e.imageHeight,o=void 0===r?"":r,l=e.label,c=t?t.match(/https?:/i)?t:I.srcUrl?"".concat(I.srcUrl,"/").concat(t):t:"",s=n?n.match(/https?:/i)?n:I.srcUrl?"".concat(I.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},s&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:s,alt:l,width:i,height:o}),c&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:c,alt:l,width:i,height:o}),wp.element.createElement("span",{className:"design-label"},l))};function La(){return(La=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ua(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ga=function(e){var t=e.options.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ua(n,!0).forEach(function(t){Wa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ua(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(Ha,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value})}),n=l()([e.className,"ugb-design-control-wrapper","components-base-control","ugb-design-control--columns-".concat(e.columns)]);return wp.element.createElement("div",{className:n},e.label&&wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(B.RadioControl,La({},Object(r.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};Ga.defaultProps={className:"",columns:2,selected:"",options:[],onChange:function(){}};var Va=Ga,qa=n(88),Ka=n.n(qa),Ya=n(89),Xa=n.n(Ya),$a=n(90),Ja=n.n($a),Za=n(91),Qa=n.n(Za),ei=n(92),ti=n.n(ei),ni=n(93),ai=n.n(ni),ii=n(94),ri=n.n(ii),oi=n(95),li=n.n(oi),ci=n(96),si=n.n(ci),ui=n(97),bi=n.n(ui),pi=n(98),mi=n.n(pi),gi=n(99),di=n.n(gi),fi=n(100),hi=n.n(fi);function vi(){return(vi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yi={"wave-1":{image:bi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Wave",I.i18n),1),value:"wave-1"},"straight-1":{image:si.a,label:Object(s.__)("Straight",I.i18n),value:"straight-1"},"wave-2":{image:mi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Wave",I.i18n),2),value:"wave-2"},"wave-3":{image:di.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Wave",I.i18n),3),value:"wave-3"},"wave-4":{image:hi.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Wave",I.i18n),4),value:"wave-4"},"slant-1":{image:ri.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Slant",I.i18n),1),value:"slant-1"},"slant-2":{image:li.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Slant",I.i18n),2),value:"slant-2"},"curve-1":{image:Ka.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Curve",I.i18n),1),value:"curve-1"},"curve-2":{image:Xa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Curve",I.i18n),2),value:"curve-2"},"curve-3":{image:Ja.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Curve",I.i18n),3),value:"curve-3"},"rounded-1":{image:Qa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Rounded",I.i18n),1),value:"rounded-1"},"rounded-2":{image:ti.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Rounded",I.i18n),2),value:"rounded-2"},"rounded-3":{image:ai.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Rounded",I.i18n),3),value:"rounded-3"}},Oi=function(e){var t=Object.keys(yi).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return yi[e]});return wp.element.createElement(B.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Va,vi({options:Object(K.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(r.omit)(e,["label","help"]))))};Oi.defaultProps={label:"",help:"",excludeDesigns:[]};var wi=Oi;function _i(){return(_i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ji=C.a.createElement("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"}),ki=function(e){return C.a.createElement("svg",_i({viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},e),ji)};function Ci(){return(Ci=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xi=Object(q.withInstanceId)(Object(q.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,i=e.setState;return wp.element.createElement(B.BaseControl,Ci({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(r.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(B.Button,{isDefault:!0,className:"ugb-icon-control__icon-button",onClick:function(){i(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},e.value&&wp.element.createElement(go,{value:e.value}),!e.value&&wp.element.createElement(ki,{style:{opacity:.3}})),n&&wp.element.createElement(Ui,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-icon-control-".concat(t))?i({clickedOnButton:!0}):i({openPopover:!1,clickedOnButton:!1})},onClose:function(){return i({openPopover:!1})},returnSVGValue:e.returnSVGValue,onChange:e.onChange})),wp.element.createElement(B.Button,{onClick:function(){e.onReset?e.onReset():e.onChange(""),i({openPopover:!1})},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Reset",I.i18n))))}));xi.defaultProps={label:Object(s.__)("Icon",I.i18n),value:"",returnSVGValue:!0,onChange:function(){}};var Ei=xi;function Si(){return(Si=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ai=C.a.createElement("path",{fill:"currentColor",d:"M360 480H24c-13.3 0-24-10.7-24-24v-24c0-13.3 10.7-24 24-24h336c13.3 0 24 10.7 24 24v24c0 13.3-10.7 24-24 24zM128 56v136H40.3c-17.8 0-26.7 21.5-14.1 34.1l152.2 152.2c7.5 7.5 19.8 7.5 27.3 0l152.2-152.2c12.6-12.6 3.7-34.1-14.1-34.1H256V56c0-13.3-10.7-24-24-24h-80c-13.3 0-24 10.7-24 24z"}),Ti=function(e){return C.a.createElement("svg",Si({"aria-hidden":"true","data-prefix":"fas","data-icon":"arrow-alt-to-bottom",className:"drop_svg__svg-inline--fa drop_svg__fa-arrow-alt-to-bottom drop_svg__fa-w-12",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},e),Ai)};function Bi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Pi(e,t,n,a,i,r,o){try{var l=e[r](o),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,i)}var Ni=function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t,n,a,i,r=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:"icon",n=r.length>1&&void 0!==r[1]?r[1]:I.fontAwesomeSearchProIcons,a='{ search(version: "latest", first: 50, query: "'.concat((t||"info").replace(/["'\\]/g,""),'") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t').concat(n?"pro":"","\n\t\t\t}\n\t\t} }"),e.next=5,fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then(function(e){return e.json()});case 5:return i=e.sent,e.abrupt("return",i.data.search.reduce(function(e,t){return Mi(t,n).forEach(function(t){e.push(t)}),e},[]));case 7:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(a,i){var r=e.apply(t,n);function o(e){Pi(r,a,i,o,l,"next",e)}function l(e){Pi(r,a,i,o,l,"throw",e)}o(void 0)})});return function(){return t.apply(this,arguments)}}(),Mi=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].concat(Bi(e.membership.free),Bi(t?e.membership.pro.filter(function(t){return!e.membership.free.includes(t)}):[]));return n.map(function(t){return{className:"fa".concat(t[0]," fa-").concat(e.id),prefix:"fa".concat(t[0]),iconName:e.id}})},Ri=n(101);function Di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Fi=null,Ii=null,zi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,"$1".concat(t," ")):e.match(/(<svg)/)?e.replace(/(<svg)/,'$1 class="'.concat(t,'"')):e},Hi=function(e){for(var t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1"),n=0;n<2;n++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},Li=function(e){var t=Di(Object(c.useState)(""),2),n=t[0],a=t[1],r=Di(Object(c.useState)([]),2),o=r[0],l=r[1],u=Di(Object(c.useState)(!1),2),b=u[0],p=u[1],m=Di(Object(c.useState)(!1),2),g=m[0],d=m[1],f=e.returnSVGValue;Object(c.useEffect)(function(){return clearTimeout(Fi),Fi=setTimeout(function(){p(!0),Ni(n).then(function(e){l(e)}).finally(function(){p(!1)})},500),function(){return clearTimeout(Fi)}},[n]),Object(c.useEffect)(function(){Ii||(Ii=wp.data.select("core/block-editor").getSettings().mediaUpload),g?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Ii&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Ii})},[g]);return wp.element.createElement(B.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef},wp.element.createElement(B.PanelBody,null,wp.element.createElement(Ri.FileDrop,{onFrameDragEnter:function(){return d(!0)},onFrameDragLeave:function(){return d(!1)},onFrameDrop:function(){return d(!1)},onDrop:function(t){if(f&&t.length)if("image/svg+xml"===t[0].type){var n=new FileReader;n.onload=function(t){d(!1);var n=Hi(zi(t.target.result));e.onChange(n),e.onClose()},n.readAsText(t[0])}else d(!1);else d(!1)}},wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(B.TextControl,{className:"ugb-icon-popover__input",value:n,onChange:a,placeholder:Object(s.__)("Type to search icon",I.i18n)}),f&&wp.element.createElement(B.Button,{onClick:function(t){t.preventDefault();var n=document.createElement("input");n.accept="image/svg+xml",n.type="file",n.onchange=function(t){var n=t.target.files;if(n.length){var a=new FileReader;a.onload=function(t){d(!1);var n=Hi(zi(t.target.result));e.onChange(n),e.onClose()},a.readAsText(n[0])}else d(!1)},n.click()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Upload SVG",I.i18n)),e.allowReset&&wp.element.createElement(B.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isTertiary:!0,className:"components-range-control__reset"},Object(s.__)("Clear",I.i18n))),f&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-area"},Object(s.__)("You can also drop your own SVG icon here",I.i18n)),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},b&&wp.element.createElement(B.Spinner,null),!b&&o.map(function(t,n){var a=t.prefix,r=t.iconName,o="".concat(a,"-").concat(r);return wp.element.createElement("button",{key:n,className:"components-button ugb-prefix--".concat(a," ugb-icon--").concat(r),onClick:function(){e.returnSVGValue?e.onChange(Hi(Object(i.M)(a,r))):e.onChange(o,a,r),e.onClose()}},wp.element.createElement(fg,{prefix:a,iconName:r}))}),!b&&!o.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",I.i18n))),f&&g&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-indicator"},wp.element.createElement(Ti,{height:"40",width:"40"}),Object(s.__)("Drop your SVG here",I.i18n)))))};Li.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};var Ui=Li,Wi=function(e){return wp.element.createElement(ss,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(Us,{label:Object(s.__)("Align",I.i18n),className:l()([e.className,"ugb--help-tip-alignment-all"])}))};Wi.defaultProps={className:"",setAttributes:function(){},blockAttributes:{}};var Gi=Wi,Vi=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})};function qi(e){return(qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Yi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xi(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function $i(e){return($i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ji(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zi(e,t){return(Zi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Qi=1,er=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=$i(t).apply(this,arguments))||"object"!==qi(a)&&"function"!=typeof a?Ji(n):a).state={open:!1,isMouseOutside:!1},e.handleOpen=e.handleOpen.bind(Ji(e)),e.handleClose=e.handleClose.bind(Ji(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Ji(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Ji(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Ji(e)),e.buttonRef=Object(c.createRef)(),e.instanceId=Qi++,e}var n,a,i;return 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&&Zi(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ki(n,!0).forEach(function(t){Yi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ki(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,Yi({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(K.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){Object(K.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleOnClickOutside",value:function(e){this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&this.handleClose()}},{key:"render",value:function(){return wp.element.createElement(B.BaseControl,{help:this.props.help,label:!this.props.onToggle&&wp.element.createElement("label",{htmlFor:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"ugb-button-icon-control",className:l()("ugb-button-icon-control",this.props.className)},this.props.onToggle&&wp.element.createElement(B.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),wp.element.createElement("div",{className:"ugb-button-icon-control__wrapper"},this.props.allowReset&&wp.element.createElement(B.Button,{onClick:this.props.onReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",I.i18n),icon:"image-rotate"}),wp.element.createElement(B.Button,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",I.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(B.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},wp.element.createElement(B.PanelBody,null,(this.props.label||this.props.popoverLabel)&&wp.element.createElement("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}])&&Xi(n.prototype,a),i&&Xi(n,i),t}();er.defaultProps={help:"",label:"",popoverLabel:"",className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var tr=er,nr=function(e){var t=Object(i.S)(e.imageData,e.size||"full"),n=e.widthMax||1e3,a=0;e.imageData&&e.onChangeSize&&t&&(n=t.width,a=t.height);var r=!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(le,{label:Object(s.__)("Image",I.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:"",width:"",height:""})},onChange:function(t){var n=t.url,a=t.width,i=t.height,r=e.size||"full";t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,i=t.sizes[r].height),e.onChangeImage({id:t.id,url:n,width:a,height:i})}}),e.onChangeShape&&wp.element.createElement(Ce,{isSquareImage:r,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),wp.element.createElement(Vi,null),e.onChangeAlt&&wp.element.createElement(ue,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",I.i18n),value:e.size,onChange:function(t){var n=Object(i.S)(e.imageData,t||"full"),a="",r="",o=e.url;n&&(a=n.width,r=n.height,o=n.source_url),e.onChangeSize(t,o,a,r)}}),e.onChangeWidth&&wp.element.createElement(c.Fragment,null,wp.element.createElement(fs,null,wp.element.createElement(Qe,{label:Object(s.__)("Image Width",I.i18n),value:e.width,placeholder:e.placeholder,max:n,onChange:function(t){var i=a/n;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(i*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Image Width",I.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Image Width",I.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&wp.element.createElement(c.Fragment,null,("number"==typeof e.width||e.width)&&wp.element.createElement(fs,null,wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Force square image",I.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Force square image",I.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Force square image",I.i18n),checked:e.mobileSquare,onChange:e.onChangeMobileSquare,className:"ugb--help-tip-image-square"}))),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(Qe,{label:Object(s.__)("Border Radius",I.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(Qe,{label:Object(s.__)("Shadow / Outline",I.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&wp.element.createElement(ee,{label:Object(s.__)("Blend Mode",I.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};nr.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id,e.width,e.height},shape:"",onChangeShape:function(){},shapeStretch:"",onChangeShapeStretch:function(){},alt:"",onChangeAlt:function(){},size:"large",onChangeSize:function(){},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:function(){},onChangeTabletWidth:function(){},onChangeMobileWidth:function(){},square:"",tabletSquare:"",mobileSquare:"",onChangeSquare:function(){},onChangeTabletSquare:function(){},onChangeMobileSquare:function(){},borderRadius:"",onChangeBorderRadius:function(){},shadow:"",onChangeShadow:function(){},blendMode:"",onChangeBlendMode:function(){}};var ar=Object(q.compose)(Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return Object(i.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(nr);function ir(){return(ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var or=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(ar,ir({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,r=e.id,o=e.width,l=e.height;t((rr(a={},n("Url"),i),rr(a,n("Id"),r),rr(a,n("Width"),o),rr(a,n("Height"),l),a))},alt:a("Alt"),onChangeAlt:function(e){return t(rr({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,i,r){var o;t((rr(o={},n("Size"),e),rr(o,n("Url"),a),rr(o,n("Width"),i),rr(o,n("Height"),r),o))},shape:a("Shape"),onChangeShape:function(e){return t(rr({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(rr({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(rr({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(rr({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(rr({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var i;t((rr(i={},n("Width"),e),rr(i,n("Height"),a),i))},onChangeTabletWidth:function(e){return t(rr({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(rr({},n("MobileWidth"),e))},square:a("Square"),tabletSquare:a("TabletSquare"),mobileSquare:a("MobileSquare"),onChangeSquare:function(e){return t(rr({},n("Square"),e))},onChangeTabletSquare:function(e){return t(rr({},n("TabletSquare"),e))},onChangeMobileSquare:function(e){return t(rr({},n("MobileSquare"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(rr({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(rr({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(rr({},n("BlendMode"),e))}},e))};or.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var lr=or,cr=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(le,{label:Object(s.__)("Image",I.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:""})},onChange:function(t){var n=t.url,a=e.size||"full";t.sizes[a]&&(n=t.sizes[a].url),e.onChangeImage({id:t.id,url:n})}}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",I.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,Object(i.T)(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Position",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Top Left",I.i18n),value:"top left"},{label:Object(s.__)("Top Center",I.i18n),value:"top center"},{label:Object(s.__)("Top Right",I.i18n),value:"top right"},{label:Object(s.__)("Center Left",I.i18n),value:"center left"},{label:Object(s.__)("Center Center",I.i18n),value:"center center"},{label:Object(s.__)("Center Right",I.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",I.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",I.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",I.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Repeat",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("No-Repeat",I.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",I.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",I.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",I.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Size",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Auto",I.i18n),value:"auto"},{label:Object(s.__)("Cover",I.i18n),value:"cover"},{label:Object(s.__)("Contain",I.i18n),value:"contain"},{label:Object(s.__)("Custom",I.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",I.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};cr.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id},size:"",onChangeSize:function(){},backgroundPosition:"",onChangeBackgroundPosition:function(){},backgroundRepeat:"",onChangeBackgroundRepeat:function(){},backgroundSize:"",onChangeBackgroundSize:function(){},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:function(){},backgroundCustomSize:"",onChangeBackgroundCustomSize:function(){}};var sr=Object(q.compose)(Object(je.withSelect)(function(e,t){var n=e("core").getMedia;return Object(i.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(cr);function ur(){return(ur=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(sr,ur({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,r=e.id;t((br(a={},n("Url"),i),br(a,n("Id"),r),a))},size:a("Size"),onChangeSize:function(e,a){var i;t((br(i={},n("Size"),e),br(i,n("Url"),a),i))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(br({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(br({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(br({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(br({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(br({},n("BackgroundCustomSizeUnit"),e))}},e))};pr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var mr=pr;function gr(){return(gr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dr=function(e){var t;return t="function"==typeof e.placeholder?Math.round(e.placeholder(Object(i.Q)(e.htmlTag))):e.placeholder||Object(i.Q)(e.htmlTag),wp.element.createElement(c.Fragment,null,wp.element.createElement(tr,{label:e.label,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,className:"ugb--help-tip-typography"},e.onChangeFontFamily&&wp.element.createElement(en,{label:Object(s.__)("Font Family",I.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(fs,null,wp.element.createElement($t,gr({label:Object(s.__)("Size",I.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement($t,gr({label:Object(s.__)("Size",I.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement($t,gr({label:Object(s.__)("Size",I.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Weight",I.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Normal",I.i18n),value:"normal"},{label:Object(s.__)("Bold",I.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Transform",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Uppercase",I.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",I.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",I.i18n),value:"capitalize"},{label:Object(s.__)("None",I.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(c.Fragment,null,wp.element.createElement(fs,null,wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",I.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",I.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",I.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&wp.element.createElement(Qe,{label:Object(s.__)("Letter Spacing",I.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(fs,null,wp.element.createElement($t,gr({label:Object(s.__)("Size",I.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement($t,gr({label:Object(s.__)("Size",I.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement($t,gr({label:Object(s.__)("Size",I.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};dr.defaultProps={label:Object(s.__)("Typography",I.i18n),showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},placeholder:"",htmlTag:"p",onReset:function(){},onChangeFontFamily:function(){},onChangeFontSize:function(){},onChangeTabletFontSize:function(){},onChangeMobileFontSize:function(){},onChangeFontSizeUnit:function(){},onChangeTabletFontSizeUnit:function(){},onChangeMobileFontSizeUnit:function(){},onChangeFontWeight:function(){},onChangeTextTransform:function(){},onChangeLineHeight:function(){},onChangeTabletLineHeight:function(){},onChangeMobileLineHeight:function(){},onChangeLineHeightUnit:function(){},onChangeTabletLineHeightUnit:function(){},onChangeMobileLineHeightUnit:function(){},onChangeLetterSpacing:function(){}};var fr=dr;function hr(){return(hr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(fr,hr({fontFamily:e.blockAttributes[n("FontFamily")]||"",fontSize:e.blockAttributes[n("FontSize")]||"",tabletFontSize:e.blockAttributes[n("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[n("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[n("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[n("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[n("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[n("FontWeight")]||"",textTransform:e.blockAttributes[n("TextTransform")]||"",letterSpacing:e.blockAttributes[n("LetterSpacing")]||"",lineHeight:e.blockAttributes[n("LineHeight")]||"",tabletLineHeight:e.blockAttributes[n("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[n("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[n("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[n("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[n("MobileLineHeightUnit")]||"em",onChangeFontFamily:function(e){return t(vr({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(vr({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(vr({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(vr({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(vr({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(vr({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(vr({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(vr({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(vr({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(vr({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(vr({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(vr({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(vr({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(vr({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(vr({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(vr({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((vr(e={},n("FontFamily"),""),vr(e,n("FontSize"),""),vr(e,n("TabletFontSize"),""),vr(e,n("MobileFontSize"),""),vr(e,n("FontSizeUnit"),"px"),vr(e,n("TabletFontSizeUnit"),"px"),vr(e,n("MobileFontSizeUnit"),"px"),vr(e,n("FontWeight"),""),vr(e,n("TextTransform"),""),vr(e,n("LetterSpacing"),""),vr(e,n("LineHeight"),""),vr(e,n("TabletLineHeight"),""),vr(e,n("MobileLineHeight"),""),vr(e,n("LineHeightUnit"),"em"),vr(e,n("TabletLineHeightUnit"),"em"),vr(e,n("MobileLineHeightUnit"),"em"),e))}},e))};yr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Or=yr,wr=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(B.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("Single",I.i18n)},{value:"gradient",title:Object(s.__)("Gradient",I.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&wp.element.createElement($,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",I.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&wp.element.createElement(Qe,{label:Object(s.__)("Background Color Opacity",I.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement($,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",I.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(tr,{label:Object(s.__)("Adv. Gradient Color Settings",I.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",I.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(Qe,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",I.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(Qe,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",I.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(ee,{label:Object(s.__)("Background Gradient Blend Mode",I.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(Vi,null),e.onChangeBackgroundMedia&&wp.element.createElement(c.Fragment,null,wp.element.createElement(fs,null,wp.element.createElement(le,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",I.i18n):Object(s.__)("Background Image",I.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",I.i18n):"",onRemove:function(){return e.onChangeBackgroundMedia({url:"",id:""})},onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(le,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",I.i18n):Object(s.__)("Background Image",I.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",I.i18n):"",onRemove:function(){return e.onChangeTabletBackgroundMedia({url:"",id:""})},onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(le,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",I.i18n):Object(s.__)("Background Image",I.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",I.i18n):"",onRemove:function(){return e.onChangeMobileBackgroundMedia({url:"",id:""})},onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(Qe,{label:Object(s.__)("Background Media Tint Strength",I.i18n),value:e.backgroundTintStrength,onChange:function(t){var n=void 0===t||""===t;""!==e.backgroundColor||n?"#000000"===e.backgroundColor&&n?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter(function(e){return e}).filter(i.rb).length>0)&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Fixed Background",I.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(tr,{label:Object(s.__)("Adv. Background Image Settings",I.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},wp.element.createElement(fs,null,wp.element.createElement(tt,{label:Object(s.__)("Image Position",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Top Left",I.i18n),value:"top left"},{label:Object(s.__)("Top Center",I.i18n),value:"top center"},{label:Object(s.__)("Top Right",I.i18n),value:"top right"},{label:Object(s.__)("Center Left",I.i18n),value:"center left"},{label:Object(s.__)("Center Center",I.i18n),value:"center center"},{label:Object(s.__)("Center Right",I.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",I.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",I.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",I.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Position",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Top Left",I.i18n),value:"top left"},{label:Object(s.__)("Top Center",I.i18n),value:"top center"},{label:Object(s.__)("Top Right",I.i18n),value:"top right"},{label:Object(s.__)("Center Left",I.i18n),value:"center left"},{label:Object(s.__)("Center Center",I.i18n),value:"center center"},{label:Object(s.__)("Center Right",I.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",I.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",I.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",I.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Position",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Top Left",I.i18n),value:"top left"},{label:Object(s.__)("Top Center",I.i18n),value:"top center"},{label:Object(s.__)("Top Right",I.i18n),value:"top right"},{label:Object(s.__)("Center Left",I.i18n),value:"center left"},{label:Object(s.__)("Center Center",I.i18n),value:"center center"},{label:Object(s.__)("Center Right",I.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",I.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",I.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",I.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(fs,null,wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("No-Repeat",I.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",I.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",I.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",I.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("No-Repeat",I.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",I.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",I.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",I.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("No-Repeat",I.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",I.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",I.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",I.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(fs,null,wp.element.createElement(tt,{label:Object(s.__)("Image Size",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Auto",I.i18n),value:"auto"},{label:Object(s.__)("Cover",I.i18n),value:"cover"},{label:Object(s.__)("Contain",I.i18n),value:"contain"},{label:Object(s.__)("Custom",I.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Size",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Auto",I.i18n),value:"auto"},{label:Object(s.__)("Cover",I.i18n),value:"cover"},{label:Object(s.__)("Contain",I.i18n),value:"contain"},{label:Object(s.__)("Custom",I.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Size",I.i18n),options:[{label:Object(s.__)("Default",I.i18n),value:""},{label:Object(s.__)("Auto",I.i18n),value:"auto"},{label:Object(s.__)("Cover",I.i18n),value:"cover"},{label:Object(s.__)("Contain",I.i18n),value:"contain"},{label:Object(s.__)("Custom",I.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(fs,null,wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",I.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",I.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",I.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&wp.element.createElement(ee,{label:Object(s.__)("Image Blend Mode",I.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};wr.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColorOpacity:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundMedia:function(e){e.url,e.id},onChangeTabletBackgroundMedia:function(e){e.url,e.id},onChangeMobileBackgroundMedia:function(e){e.url,e.id},onChangeBackgroundTintStrength:function(){},onChangeFixedBackground:function(){},labelBackgroundColorType:Object(s.__)("Background Color Type",I.i18n),labelBackgroundColor:Object(s.__)("Background Color",I.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:function(){},onChangeBackgroundGradientDirection:function(){},onChangeBackgroundGradientBlendMode:function(){},onChangeBackgroundGradientLocation1:function(){},onChangeBackgroundGradientLocation2:function(){},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:function(){},onChangeBackgroundPosition:function(){},onChangeTabletBackgroundPosition:function(){},onChangeMobileBackgroundPosition:function(){},onChangeBackgroundRepeat:function(){},onChangeTabletBackgroundRepeat:function(){},onChangeMobileBackgroundRepeat:function(){},onChangeBackgroundSize:function(){},onChangeTabletBackgroundSize:function(){},onChangeMobileBackgroundSize:function(){},onChangeBackgroundCustomSize:function(){},onChangeTabletBackgroundCustomSize:function(){},onChangeMobileBackgroundCustomSize:function(){},onChangeBackgroundCustomSizeUnit:function(){},onChangeTabletBackgroundCustomSizeUnit:function(){},onChangeMobileBackgroundCustomSizeUnit:function(){},onChangeBackgroundImageBlendMode:function(){}};var _r=wr;function jr(){return(jr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function kr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a};return wp.element.createElement(_r,jr({backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColorOpacity:e.blockAttributes[n("BackgroundColorOpacity")],backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundMediaID:e.blockAttributes[n("BackgroundMediaID")]||"",backgroundMediaURL:e.blockAttributes[n("BackgroundMediaURL")]||"",tabletBackgroundMediaID:e.blockAttributes[n("TabletBackgroundMediaID")]||"",tabletBackgroundMediaURL:e.blockAttributes[n("TabletBackgroundMediaURL")]||"",mobileBackgroundMediaID:e.blockAttributes[n("MobileBackgroundMediaID")]||"",mobileBackgroundMediaURL:e.blockAttributes[n("MobileBackgroundMediaURL")]||"",backgroundTintStrength:e.blockAttributes[n("BackgroundTintStrength")],fixedBackground:e.blockAttributes[n("FixedBackground")]||"",onChangeBackgroundColorType:function(e){return t(kr({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(kr({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(kr({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(kr({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((kr(a={},n("BackgroundMediaURL"),i),kr(a,n("BackgroundMediaID"),r),a))},onChangeTabletBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((kr(a={},n("TabletBackgroundMediaURL"),i),kr(a,n("TabletBackgroundMediaID"),r),a))},onChangeMobileBackgroundMedia:function(e){var a,i=e.url,r=e.id;t((kr(a={},n("MobileBackgroundMediaURL"),i),kr(a,n("MobileBackgroundMediaID"),r),a))},onChangeBackgroundTintStrength:function(e,a){var i;t((kr(i={},n("BackgroundTintStrength"),e),kr(i,n("BackgroundColor"),a),i))},onChangeFixedBackground:function(e){return t(kr({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(kr({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(kr({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(kr({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(kr({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((kr(e={},n("BackgroundGradientDirection"),""),kr(e,n("BackgroundGradientBlendMode"),""),kr(e,n("BackgroundGradientLocation1"),""),kr(e,n("BackgroundGradientLocation2"),""),e))},backgroundPosition:e.blockAttributes[n("BackgroundPosition")]||"",tabletBackgroundPosition:e.blockAttributes[n("TabletBackgroundPosition")]||"",mobileBackgroundPosition:e.blockAttributes[n("MobileBackgroundPosition")]||"",backgroundRepeat:e.blockAttributes[n("BackgroundRepeat")]||"",tabletBackgroundRepeat:e.blockAttributes[n("TabletBackgroundRepeat")]||"",mobileBackgroundRepeat:e.blockAttributes[n("MobileBackgroundRepeat")]||"",backgroundSize:e.blockAttributes[n("BackgroundSize")]||"",tabletBackgroundSize:e.blockAttributes[n("TabletBackgroundSize")]||"",mobileBackgroundSize:e.blockAttributes[n("MobileBackgroundSize")]||"",backgroundCustomSize:e.blockAttributes[n("BackgroundCustomSize")]||"",tabletBackgroundCustomSize:e.blockAttributes[n("TabletBackgroundCustomSize")]||"",mobileBackgroundCustomSize:e.blockAttributes[n("MobileBackgroundCustomSize")]||"",backgroundCustomSizeUnit:e.blockAttributes[n("BackgroundCustomSizeUnit")]||"%",tabletBackgroundCustomSizeUnit:e.blockAttributes[n("TabletBackgroundCustomSizeUnit")]||"%",mobileBackgroundCustomSizeUnit:e.blockAttributes[n("MobileBackgroundCustomSizeUnit")]||"%",backgroundImageBlendMode:e.blockAttributes[n("BackgroundImageBlendMode")]||"",onChangeBackgroundPosition:function(e){return t(kr({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(kr({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(kr({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(kr({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(kr({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(kr({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(kr({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(kr({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(kr({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(kr({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(kr({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(kr({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(kr({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(kr({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(kr({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(kr({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((kr(e={},n("BackgroundPosition"),""),kr(e,n("TabletBackgroundPosition"),""),kr(e,n("MobileBackgroundPosition"),""),kr(e,n("BackgroundRepeat"),""),kr(e,n("TabletBackgroundRepeat"),""),kr(e,n("MobileBackgroundRepeat"),""),kr(e,n("BackgroundSize"),""),kr(e,n("TabletBackgroundSize"),""),kr(e,n("MobileBackgroundSize"),""),kr(e,n("BackgroundCustomSize"),""),kr(e,n("TabletBackgroundCustomSize"),""),kr(e,n("MobileBackgroundCustomSize"),""),kr(e,n("BackgroundCustomSizeUnit"),"%"),kr(e,n("TabletBackgroundCustomSizeUnit"),"%"),kr(e,n("MobileBackgroundCustomSizeUnit"),"%"),kr(e,n("BackgroundImageBlendMode"),""),e))}},e))};Cr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var xr=Cr,Er=n(102),Sr=n.n(Er),Ar=n(103),Tr=n.n(Ar),Br=n(104),Pr=n.n(Br),Nr=n(105),Mr=n.n(Nr);function Rr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Dr=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(c.Fragment,null,e.onChangeUrl&&wp.element.createElement(L,{label:Object(s.__)("Link / URL",I.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Open link in new tab",I.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Nofollow link",I.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(Vi,null),e.onChangeDesign&&wp.element.createElement(Va,{label:Object(s.__)("Design",I.i18n),selected:t,options:[{label:Object(s.__)("Basic",I.i18n),value:"basic",image:Sr.a},{label:Object(s.__)("Ghost",I.i18n),value:"ghost",image:Tr.a},{label:Object(s.__)("Plain",I.i18n),value:"plain",image:Mr.a}].concat(Rr(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",I.i18n),value:"link",image:Pr.a}]),Rr(Object(K.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(Vi,null),e.hasTypography&&"link"!==t&&wp.element.createElement(Or,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1,placeholder:e.placeholder}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Button Size",I.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",I.i18n)},{value:"small",label:Object(s.__)("Small",I.i18n)},{value:"normal",label:Object(s.__)("Normal",I.i18n)},{value:"medium",label:Object(s.__)("Medium",I.i18n)},{value:"large",label:Object(s.__)("Large",I.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(Qe,{label:Object(s.__)("Border Radius",I.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Sl,{label:Object(s.__)("Vertical Padding",I.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8],className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Sl,{label:Object(s.__)("Horizontal Padding",I.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26],className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(Qe,{label:Object(s.__)("Border Width",I.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(Qe,{label:Object(s.__)("Shadow",I.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),"link"!==t&&wp.element.createElement(Vi,null),e.onChangeUseSocialColors&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Use social colors",I.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Button Color Type",I.i18n),id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("Single",I.i18n)},{value:"gradient",title:Object(s.__)("Gradient",I.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement($,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",I.i18n),Object(s.__)("Button Color",I.i18n),1):Object(s.__)("Button Color",I.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement($,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",I.i18n),Object(s.__)("Button Color",I.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",I.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&a&&wp.element.createElement($,{label:Object(s.__)("Text Color",I.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(Qe,{label:Object(s.__)("Opacity",I.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(Vi,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",I.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Hover Effect",I.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",I.i18n)},{value:"lift",label:Object(s.__)("Lift",I.i18n)},{value:"scale",label:Object(s.__)("Scale",I.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",I.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",I.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",I.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(Qe,{label:Object(s.__)("Hover Opacity",I.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:0,max:1,step:.1,placeholder:"0.8",allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(tr,{label:Object(s.__)("Hover Colors",I.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement($,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",I.i18n),Object(s.__)("Button Color",I.i18n),1):Object(s.__)("Button Color",I.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement($,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",I.i18n),Object(s.__)("Button Color",I.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",I.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement($,{label:Object(s.__)("Text Color",I.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(Vi,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(Ei,{label:Object(s.__)("Icon",I.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(tr,{label:Object(s.__)("Adv. Icon Settings",I.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(Qe,{label:Object(s.__)("Icon Size",I.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(B.SelectControl,{label:Object(s.__)("Icon Position",I.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",I.i18n)},{value:"right",label:Object(s.__)("Right",I.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(Qe,{label:Object(s.__)("Icon Spacing",I.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};Dr.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},design:"",onChangeDesign:function(){},url:"",newTab:"",noFollow:"",onChangeUrl:function(){},onChangeNewTab:function(){},onChangeNoFollow:function(){},size:"",onChangeSize:function(){},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:function(){},onChangeTextColor:function(){},onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundGradientDirection:function(){},hasHoverColors:!0,onResetHoverColors:function(){},hoverEffect:"",hoverOpacity:"",hoverTextColor:"",hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:function(){},onChangeHoverOpacity:function(){},onChangeHoverTextColor:function(){},onChangeHoverBackgroundColor:function(){},onChangeHoverBackgroundColor2:function(){},onChangeHoverBackgroundGradientDirection:function(){},onChangeHoverGhostToNormal:function(){},borderRadius:"",onChangeBorderRadius:function(){},borderWidth:"",onChangeBorderWidth:function(){},shadow:"",onChangeShadow:function(){},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:function(){},hasAdvancedIcon:!0,onResetAdvancedIcon:function(){},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:function(){},onChangeIconSize:function(){},onChangeIconPosition:function(){},onChangeIconSpacing:function(){},useSocialColors:!0,onChangeUseSocialColors:null};var Fr=Dr;function Ir(){return(Ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement(Fr,Ir({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(zr({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(zr({},n("Url"),e))},onChangeNewTab:function(e){return t(zr({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(zr({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(zr({},n("Size"),e))},opacity:e.blockAttributes[n("Opacity")]||"",textColor:e.blockAttributes[n("TextColor")]||"",backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundGradientDirection:a("BackgroundGradientDirection"),onChangeOpacity:function(e){return t(zr({},n("Opacity"),e))},onChangeTextColor:function(e){return t(zr({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(zr({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(zr({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(zr({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(zr({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((zr(e={},n("HoverBackgroundColor"),""),zr(e,n("HoverBackgroundColor2"),""),zr(e,n("HoverBackgroundGradientDirection"),""),zr(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverTextColor:e.blockAttributes[n("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[n("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[n("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:a("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[n("HoverGhostToNormal")]||"",onChangeHoverEffect:function(e){return t(zr({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(zr({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(zr({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(zr({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(zr({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(zr({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(zr({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(zr({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(zr({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(zr({},n("Shadow"),e))},paddingTop:a("PaddingTop"),paddingRight:a("PaddingRight"),paddingBottom:a("PaddingBottom"),paddingLeft:a("PaddingLeft"),onChangePaddings:function(e){var a={};void 0!==e.top&&(a[n("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(a[n("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(a[n("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(a[n("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(a)},icon:e.blockAttributes[n("Icon")]||"",onChangeIcon:function(e){return t(zr({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((zr(e={},n("IconSize"),""),zr(e,n("IconPosition"),""),zr(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(zr({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(zr({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(zr({},n("IconSpacing"),e))}},e))};Hr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Lr=Hr,Ur=n(106),Wr=n.n(Ur),Gr=n(107),Vr=n.n(Gr),qr=n(108),Kr=n.n(qr);function Yr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Xr=function(e){var t=e.design?e.design:"basic",n="shaped"===t||"outlined"===t;return wp.element.createElement(c.Fragment,null,e.onChangeIcon&&wp.element.createElement(Ei,{label:Object(s.__)("Icon",I.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&wp.element.createElement(Va,{label:Object(s.__)("Design",I.i18n),selected:e.design,columns:3,options:[{label:Object(s.__)("Plain",I.i18n),value:"plain",image:Wr.a},{label:Object(s.__)("Shaped",I.i18n),value:"shaped",image:Vr.a},{label:Object(s.__)("Outlined",I.i18n),value:"outlined",image:Kr.a}].concat(Yr(Object(K.applyFilters)("stackable.icon-controls.edit.layouts",[]))),onChange:e.onChangeDesign}),I.showProNotice&&wp.element.createElement(Go,{title:Object(s.__)("Say Hello to Gorgeous Icons 👋",I.i18n),description:Object(s.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",I.i18n)}),I.showProNotice&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Icon Color Type",I.i18n),id:"icon-color-type"},wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("Single",I.i18n)},{value:"gradient",title:Object(s.__)("Gradient",I.i18n),className:"ugb--is-premium",isDisabled:!0},{value:"multicolor",title:Object(s.__)("Multicolor",I.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(K.applyFilters)("stackable.icon-controls.edit.color",wp.element.createElement(c.Fragment,null,e.onChangeColor&&wp.element.createElement($,{label:Object(s.__)("Icon Color",I.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&wp.element.createElement(Vi,null),n&&e.onChangeBackgroundColor&&wp.element.createElement(c.Fragment,null,I.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&wp.element.createElement(B.BaseControl,{label:Object(s.__)("Icon Shape / Outline Color",I.i18n),id:"icon-shape-color-type"},wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("Single",I.i18n)},{value:"gradient",title:Object(s.__)("Gradient",I.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(K.applyFilters)("stackable.icon-controls.edit.background-color",wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColor&&wp.element.createElement($,{label:Object(s.__)("Icon Shape / Outline Color",I.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&wp.element.createElement(Qe,{label:"shaped"===e.design?Object(s.__)("Icon Shape Border Radius",I.i18n):Object(s.__)("Outline Border Radius",I.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&wp.element.createElement(Qe,{label:"shaped"===e.design?Object(s.__)("Icon Shape Padding",I.i18n):Object(s.__)("Outline Padding",I.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&wp.element.createElement(Qe,{label:Object(s.__)("Shadow / Outline",I.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-general-shadow"}),"outlined"===t&&e.onChangeOutlineWidth&&wp.element.createElement(Qe,{label:Object(s.__)("Outline Width",I.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&wp.element.createElement(Vi,null)),e.onChangeSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(fs,null,wp.element.createElement(Qe,{label:Object(s.__)("Icon Size",I.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),wp.element.createElement(fs,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Icon Size",I.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),wp.element.createElement(fs,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Icon Size",I.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&wp.element.createElement(Qe,{label:Object(s.__)("Icon Opacity",I.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&wp.element.createElement(Qe,{label:Object(s.__)("Icon Rotation",I.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),Object(K.applyFilters)("stackable.icon-controls.edit.after",null,e))};Xr.defaultProps={icon:"",onChangeIcon:function(){},design:"",onChangeDesign:function(){},colorType:"",onChangeColorType:function(){},color:"",onChangeColor:function(){},color2:"",onChangeColor2:function(){},colorGradientDirection:"",onChangeColorGradientDirection:function(){},numPaths:"",color3:"",onChangeColor3:function(){},color4:"",onChangeColor4:function(){},color5:"",onChangeColor5:function(){},color6:"",onChangeColor6:function(){},color7:"",onChangeColor7:function(){},color8:"",onChangeColor8:function(){},color9:"",onChangeColor9:function(){},color10:"",onChangeColor10:function(){},multiOpacity1:"",onChangeMultiOpacity1:function(){},multiOpacity2:"",onChangeMultiOpacity2:function(){},multiOpacity3:"",onChangeMultiOpacity3:function(){},multiOpacity4:"",onChangeMultiOpacity4:function(){},multiOpacity5:"",onChangeMultiOpacity5:function(){},multiOpacity6:"",onChangeMultiOpacity6:function(){},multiOpacity7:"",onChangeMultiOpacity7:function(){},multiOpacity8:"",onChangeMultiOpacity8:function(){},multiOpacity9:"",onChangeMultiOpacity9:function(){},multiOpacity10:"",onChangeMultiOpacity10:function(){},borderRadius:"",onChangeBorderRadius:function(){},padding:"",onChangePadding:function(){},shadow:"",onChangeShadow:function(){},outlineWidth:"",onChangeOutlineWidth:function(){},backgroundColorType:"",onChangeBackgroundColorType:function(){},backgroundColor:"",onChangeBackgroundColor:function(){},backgroundColor2:"",onChangeBackgroundColor2:function(){},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:function(){},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:function(){},onChangeTabletSize:function(){},onChangeMobileSize:function(){},opacity:"",onChangeOpacity:function(){},rotation:"",onChangeRotation:function(){},showBackgroundShape:"",onChangeShowBackgroundShape:function(){},backgroundShape:"",onChangeBackgroundShape:function(){},backgroundShapeSize:"",onChangeBackgroundShapeSize:function(){},backgroundShapeColor:"",onChangeBackgroundShapeColor:function(){},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:function(){},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:function(){}};var $r=Xr;function Jr(){return(Jr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qr=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(i.b)(e.blockAttributes,n,"");return wp.element.createElement($r,Jr({icon:a("Icon"),onChangeIcon:function(e){return t(Zr({},n("Icon"),e))},design:a("Design")||"plain",onChangeDesign:function(e){return t(Zr({},n("Design"),e))},colorType:a("ColorType"),onChangeColorType:function(e){return t(Zr({},n("ColorType"),e))},color:a("Color"),onChangeColor:function(e){return t(Zr({},n("Color"),e))},color2:a("Color2"),onChangeColor2:function(e){return t(Zr({},n("Color2"),e))},colorGradientDirection:a("ColorGradientDirection"),onChangeColorGradientDirection:function(e){return t(Zr({},n("ColorGradientDirection"),e))},color3:a("Color3"),onChangeColor3:function(e){return t(Zr({},n("Color3"),e))},color4:a("Color4"),onChangeColor4:function(e){return t(Zr({},n("Color4"),e))},color5:a("Color5"),onChangeColor5:function(e){return t(Zr({},n("Color5"),e))},color6:a("Color6"),onChangeColor6:function(e){return t(Zr({},n("Color6"),e))},color7:a("Color7"),onChangeColor7:function(e){return t(Zr({},n("Color7"),e))},color8:a("Color8"),onChangeColor8:function(e){return t(Zr({},n("Color8"),e))},color9:a("Color9"),onChangeColor9:function(e){return t(Zr({},n("Color9"),e))},color10:a("Color10"),onChangeColor10:function(e){return t(Zr({},n("Color10"),e))},multiOpacity1:a("MultiOpacity1"),onChangeMultiOpacity1:function(e){return t(Zr({},n("MultiOpacity1"),e))},multiOpacity2:a("MultiOpacity2"),onChangeMultiOpacity2:function(e){return t(Zr({},n("MultiOpacity2"),e))},multiOpacity3:a("MultiOpacity3"),onChangeMultiOpacity3:function(e){return t(Zr({},n("MultiOpacity3"),e))},multiOpacity4:a("MultiOpacity4"),onChangeMultiOpacity4:function(e){return t(Zr({},n("MultiOpacity4"),e))},multiOpacity5:a("MultiOpacity5"),onChangeMultiOpacity5:function(e){return t(Zr({},n("MultiOpacity5"),e))},multiOpacity6:a("MultiOpacity6"),onChangeMultiOpacity6:function(e){return t(Zr({},n("MultiOpacity6"),e))},multiOpacity7:a("MultiOpacity7"),onChangeMultiOpacity7:function(e){return t(Zr({},n("MultiOpacity7"),e))},multiOpacity8:a("MultiOpacity8"),onChangeMultiOpacity8:function(e){return t(Zr({},n("MultiOpacity8"),e))},multiOpacity9:a("MultiOpacity9"),onChangeMultiOpacity9:function(e){return t(Zr({},n("MultiOpacity9"),e))},multiOpacity10:a("MultiOpacity10"),onChangeMultiOpacity10:function(e){return t(Zr({},n("MultiOpacity10"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(Zr({},n("BorderRadius"),e))},padding:a("Padding"),onChangePadding:function(e){return t(Zr({},n("Padding"),e))},outlineWidth:a("OutlineWidth"),onChangeOutlineWidth:function(e){return t(Zr({},n("OutlineWidth"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(Zr({},n("Shadow"),e))},backgroundColorType:a("BackgroundColorType"),onChangeBackgroundColorType:function(e){return t(Zr({},n("BackgroundColorType"),e))},backgroundColor:a("BackgroundColor"),onChangeBackgroundColor:function(e){return t(Zr({},n("BackgroundColor"),e))},backgroundColor2:a("BackgroundColor2"),onChangeBackgroundColor2:function(e){return t(Zr({},n("BackgroundColor2"),e))},backgroundColorGradientDirection:a("BackgroundColorGradientDirection"),onChangeBackgroundColorGradientDirection:function(e){return t(Zr({},n("BackgroundColorGradientDirection"),e))},size:a("Size"),tabletSize:a("TabletSize"),mobileSize:a("MobileSize"),sizeMax:e.sizeMax,onChangeSize:function(e){return t(Zr({},n("Size"),e))},onChangeTabletSize:function(e){return t(Zr({},n("TabletSize"),e))},onChangeMobileSize:function(e){return t(Zr({},n("MobileSize"),e))},opacity:a("Opacity"),onChangeOpacity:function(e){return t(Zr({},n("Opacity"),e))},rotation:a("Rotation"),onChangeRotation:function(e){return t(Zr({},n("Rotation"),e))},showBackgroundShape:a("ShowBackgroundShape"),onChangeShowBackgroundShape:function(e){return t(Zr({},n("ShowBackgroundShape"),e))},backgroundShape:a("BackgroundShape")||"blob1",onChangeBackgroundShape:function(e){return t(Zr({},n("BackgroundShape"),e))},backgroundShapeOpacity:a("BackgroundShapeOpacity"),onChangeBackgroundShapeOpacity:function(e){return t(Zr({},n("BackgroundShapeOpacity"),e))},backgroundShapeSize:a("BackgroundShapeSize"),onChangeBackgroundShapeSize:function(e){return t(Zr({},n("BackgroundShapeSize"),e))},backgroundShapeColor:a("BackgroundShapeColor"),onChangeBackgroundShapeColor:function(e){return t(Zr({},n("BackgroundShapeColor"),e))},backgroundShapeOffsetHorizontal:a("BackgroundShapeOffsetHorizontal"),onChangeBackgroundShapeHorizontalOffset:function(e){return t(Zr({},n("BackgroundShapeOffsetHorizontal"),e))},backgroundShapeOffsetVertical:a("BackgroundShapeOffsetVertical"),onChangeBackgroundShapeVerticalOffset:function(e){return t(Zr({},n("BackgroundShapeOffsetVertical"),e))}},e))};Qr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var eo=Qr,to=function(e){return wp.element.createElement(c.Fragment,null,e.socialUrlFields&&wp.element.createElement(c.Fragment,null,Object.keys(i.a).map(function(t){return wp.element.createElement(B.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",I.i18n),i.a[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(r.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(B.ToggleControl,{label:Object(s.__)("Open link in new tab",I.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(Vi,null),wp.element.createElement(Lr,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}))};to.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var no=to;function ao(){return(ao=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function io(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ro=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(no,ao({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(io({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(io({},n("UseSocialColors"),e))}},e))};ro.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var oo=ro;function lo(){return(lo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function co(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function so(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?co(n,!0).forEach(function(t){uo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):co(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bo=function(e,t){var n=Object(i.V)(t||"blob1");return n?wp.element.createElement("div",{className:"ugb-icon__bg-shape-wrapper"},e,wp.element.createElement(n,{className:"ugb-icon__bg-shape"})):e},po=function(e){var t=Object(K.applyFilters)("stackable.svg-icon.extract-svg",e);return t.match(/^<svg(.*?)<\/svg>$/g)?t:t.match(/<svg/)?(t.match(/<svg.*?<\/svg>/g)||[t])[0]:t},mo=function(e){var t=so({},e,{value:"string"==typeof e.value?po(e.value):e.value}),n=l()(["ugb-icon-inner-svg",e.className],uo({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(fg,lo({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=l()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],uo({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=bo(a,e.backgroundShape)),a=Object(K.applyFilters)("stackable.component.svg-icon",a,t)};mo.defaultProps={className:"",value:"",design:"",colorType:"",showBackgroundShape:!1,backgroundShape:"",shadow:"",gradientColor1:"",gradientColor2:"",gradientDirection:0},(mo.Content=function(e){var t=so({},e,{value:"string"==typeof e.value?po(e.value):e.value}),n=l()(["ugb-icon-inner-svg",e.className],uo({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(fg.Content,lo({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=l()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],uo({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=bo(a,e.backgroundShape)),a=Object(K.applyFilters)("stackable.component.svg-icon",a,t)}).defaultProps=so({},mo.defaultProps);var go=mo;function fo(){return(fo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ho=function(e){var t=Object(i.b)(e.blockAttributes,function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(go,fo({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))};ho.defaultProps={attrNameTemplate:"%s",blockAttributes:{}},ho.Content=function(e){var t=Object(i.b)(e.blockAttributes,function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(go.Content,fo({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))},ho.defaultProps={attrNameTemplate:"%s",blockAttributes:{}};var vo=ho;function yo(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Oo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var wo=Object(q.withInstanceId)(function(e){var t=Oo(Object(c.useState)(!1),2),n=t[0],a=t[1],i=Oo(Object(c.useState)(!1),2),r=i[0],o=i[1],l=e.instanceId,s=e.isOpen,u=e.onChange,b=yo(e,["instanceId","isOpen","onChange"]);return Object(c.useEffect)(function(){e.onToggle(n)},[n]),wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(l)},wp.element.createElement(B.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){r?(a(!1),o(!1)):a(!0)}},wp.element.createElement(vo,b)),(null!==s&&s||null===s&&n)&&wp.element.createElement(Ui,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(l))?o(!0):(a(!1),o(!1))},onClose:function(){return a(!1)},onChange:u}))});wo.defaultProps={isOpen:null,className:"",value:"",onChange:function(){},onToggle:function(){}};var _o=wo;function jo(){return(jo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ko=C.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),Co=C.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),xo=C.a.createElement("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),Eo=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),So=C.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),Ao=C.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),To=C.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),Bo=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),Po=C.a.createElement("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),No=C.a.createElement("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),Mo=C.a.createElement("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}),Ro=function(e){return C.a.createElement("svg",jo({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),ko,Co,xo,Eo,So,Ao,To,Bo,Po,No,Mo)},Do={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",I.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",I.i18n),button:Object(s.__)("Learn More",I.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",I.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",I.i18n),button:Object(s.__)("Learn More",I.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",I.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",I.i18n),button:Object(s.__)("Learn More",I.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",I.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",I.i18n),button:Object(s.__)("Learn More",I.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",I.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",I.i18n),button:Object(s.__)("Learn More",I.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",I.i18n),description:Object(s.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",I.i18n),button:Object(s.__)("Learn More",I.i18n)}},Fo=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement(Ro,null),wp.element.createElement("h4",null,e.title||Do[e.type].title),wp.element.createElement("p",null,e.description||Do[e.type].description),e.showButton&&wp.element.createElement(Jn,{button:e.button||Do[e.type].button}),wp.element.createElement("p",{className:"ugb-design-control-pro-note__notice"},Object(s.__)("You can hide premium hints in the settings",I.i18n)))};Fo.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var Io=Fo;function zo(e){return(zo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ho(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Lo(e){return(Lo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Uo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wo(e,t){return(Wo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Go=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Lo(t).apply(this,arguments))||"object"!==zo(a)&&"function"!=typeof a?Uo(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(Uo(e)),e}var n,a,i;return 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&&Wo(e,t)}(t,c["Component"]),n=t,(a=[{key:"onClick",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=l()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"})),wp.element.createElement("div",{className:e},wp.element.createElement(Io,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&Ho(n.prototype,a),i&&Ho(n,i),t}();function Vo(e){return(Vo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qo(n,!0).forEach(function(t){Yo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function $o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Jo(e){return(Jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qo(e,t){return(Qo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var el=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var i=(e=!(a=Jo(t).apply(this,arguments))||"object"!==Vo(a)&&"function"!=typeof a?Zo(n):a).getEnabledValues(),r=!i.length||i.every(function(e){return e===i[0]}),o=i.every(function(e){return""===e});return e.state={locked:o?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(Zo(e)),e.onChangeTop=e.onChangeTop.bind(Zo(e)),e.onChangeRight=e.onChangeRight.bind(Zo(e)),e.onChangeBottom=e.onChangeBottom.bind(Zo(e)),e.onChangeLeft=e.onChangeLeft.bind(Zo(e)),e}var n,a,i;return 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&&Qo(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(Xo(this.props.enableTop?[this.props.top]:[]),Xo(this.props.enableRight?[this.props.right]:[]),Xo(this.props.enableBottom?[this.props.bottom]:[]),Xo(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(Xo(this.props.enableTop?["top"]:[]),Xo(this.props.enableRight?["right"]:[]),Xo(this.props.enableBottom?["bottom"]:[]),Xo(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Ko({},this.getEnabledValues(),{top:n}))}},{key:"onChangeRight",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Ko({},this.getEnabledValues(),{right:n}))}},{key:"onChangeBottom",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Ko({},this.getEnabledValues(),{bottom:n}))}},{key:"onChangeLeft",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Ko({},this.getEnabledValues(),{left:n}))}},{key:"render",value:function(){var e=this.props.instanceId,t="ugb-four-number-control-".concat(e,"__item-");return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-four-number-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-four-number-control__wrapper"},wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-top")},wp.element.createElement("input",{id:"".concat(t,"-top"),type:"number",onChange:this.onChangeTop,"aria-label":Object(s.__)("Top",I.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",I.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",I.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-right")},wp.element.createElement("input",{id:"".concat(t,"-right"),type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":Object(s.__)("auto",I.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",I.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-bottom")},wp.element.createElement("input",{id:"".concat(t,"-bottom"),type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":Object(s.__)("auto",I.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",I.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-left")},wp.element.createElement("input",{id:"".concat(t,"-left"),type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":Object(s.__)("auto",I.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",I.i18n))),wp.element.createElement(B.Button,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(B.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&$o(n.prototype,a),i&&$o(n,i),t}();el.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};Object(q.withInstanceId)(el);function tl(){return(tl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var nl=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),al=C.a.createElement("path",{d:"M4.4 15.7h11.2c.1 0 .2 0 .2.1l2 2c.2.2.1.6-.2.6H2.4c-.3 0-.4-.3-.2-.6l2-2s.1-.1.2-.1z",fill:"#555d63"}),il=function(e){return C.a.createElement("svg",tl({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),nl,al)};function rl(){return(rl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ol=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),ll=C.a.createElement("path",{d:"M4.3 4.4v11.2c0 .1 0 .2-.1.2l-2 2c-.2.2-.6.1-.6-.2V2.4c0-.3.4-.4.6-.2l2 2s.1.1.1.2z",fill:"#555d63"}),cl=function(e){return C.a.createElement("svg",rl({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ol,ll)};function sl(){return(sl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ul=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),bl=C.a.createElement("path",{d:"M15.7 15.6V4.4c0-.1 0-.2.1-.2l2-2c.2-.2.6-.1.6.2v15.2c0 .3-.3.4-.6.2l-2-2s-.1-.1-.1-.2z",fill:"#555d63"}),pl=function(e){return C.a.createElement("svg",sl({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ul,bl)};function ml(){return(ml=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gl=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),dl=C.a.createElement("path",{d:"M15.6 4.3H4.4c-.1 0-.2 0-.2-.1l-2-2c-.2-.2-.1-.6.2-.6h15.2c.3 0 .4.3.2.6l-2 2s-.1.1-.2.1z",fill:"#555d63"}),fl=function(e){return C.a.createElement("svg",ml({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),gl,dl)};function hl(e){return(hl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function vl(){return(vl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function yl(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Ol(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function wl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ol(n,!0).forEach(function(t){_l(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ol(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function kl(e){return(kl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Cl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xl(e,t){return(xl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var El=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var i=(e=!(a=kl(t).apply(this,arguments))||"object"!==hl(a)&&"function"!=typeof a?Cl(n):a).getEnabledValues(),r=e.firstValue(),o=Object.values(i).every(function(e){return e===r}),l=Object.values(i).every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:o},e.onToggleLock=e.onToggleLock.bind(Cl(e)),e.onChangeAll=e.onChangeAll.bind(Cl(e)),e.onChangeTop=e.onChangeTop.bind(Cl(e)),e.onChangeRight=e.onChangeRight.bind(Cl(e)),e.onChangeBottom=e.onChangeBottom.bind(Cl(e)),e.onChangeLeft=e.onChangeLeft.bind(Cl(e)),e}var n,a,i;return 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&&xl(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return wl({},t,_l({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(yl(this.props.enableTop?["top"]:[]),yl(this.props.enableRight?["right"]:[]),yl(this.props.enableBottom?["bottom"]:[]),yl(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(wl({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(wl({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(wl({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(wl({},this.getEnabledValues(),{left:e||0===e?e:""}))}},{key:"render",value:function(){var e=this.props,t=e.instanceId,n=e.units,a=e.unit,i="ugb-four-range-control-".concat(t,"__item-"),r={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},o=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(r.min=this.props.min[o]),Array.isArray(this.props.max)&&(r.max=this.props.max[o]),Array.isArray(this.props.step)&&(r.step=this.props.step[o]),Array.isArray(this.props.placeholder)&&(r.placeholder=this.props.placeholder[o]),Array.isArray(this.props.initialPosition)&&(r.initialPosition=this.props.initialPosition[o]);var u=l()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),b=wp.element.createElement(B.Button,{className:u,onClick:this.onToggleLock,icon:wp.element.createElement(B.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(B.BaseControl,{help:this.props.help,className:l()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:b}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(Qe,vl({id:"".concat(i,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},r))),!this.state.locked&&wp.element.createElement(c.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Top",I.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(fl,null))),wp.element.createElement(Qe,vl({id:"".concat(i,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},r,{placeholder:this.props.placeholderTop||r.placeholder}))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Right",I.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(pl,null))),wp.element.createElement(Qe,vl({id:"".concat(i,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},r,{placeholder:this.props.placeholderRight||r.placeholder}))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Bottom",I.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(il,null))),wp.element.createElement(Qe,vl({id:"".concat(i,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},r,{placeholder:this.props.placeholderBottom||r.placeholder}))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(B.Tooltip,{text:Object(s.__)("Left",I.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(cl,null))),wp.element.createElement(Qe,vl({id:"".concat(i,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},r,{placeholder:this.props.placeholderLeft||r.placeholder})))))}}])&&jl(n.prototype,a),i&&jl(n,i),t}();El.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,min:0,max:50,step:1,placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",initialPosition:""};var Sl=El,Al=n(109),Tl=n.n(Al),Bl=n(110),Pl=n.n(Bl),Nl=n(111),Ml=n.n(Nl),Rl=n(112),Dl=n.n(Rl),Fl=n(113),Il=n.n(Fl),zl=n(114),Hl=n.n(zl),Ll=n(115),Ul=n.n(Ll),Wl=n(116),Gl=n.n(Wl),Vl=n(117),ql=n.n(Vl),Kl=n(118),Yl=n.n(Kl),Xl=n(119),$l=n.n(Xl),Jl=n(120),Zl=n.n(Jl),Ql=n(121),ec=n.n(Ql),tc=n(122),nc=n.n(tc),ac=n(123),ic=n.n(ac),rc=n(124),oc=n.n(rc),lc=n(125),cc=n.n(lc),sc=n(126),uc=n.n(sc),bc=n(127),pc=n.n(bc),mc=n(128),gc=n.n(mc),dc=n(129),fc=n.n(dc),hc=n(130),vc=n.n(hc),yc=n(131),Oc=n.n(yc),wc=n(132),_c=n.n(wc),jc=n(133),kc=n.n(jc),Cc=n(134),xc=n.n(Cc),Ec=n(135),Sc=n.n(Ec),Ac=n(136),Tc=n.n(Ac),Bc=n(137),Pc=n.n(Bc),Nc=n(138),Mc=n.n(Nc),Rc=n(48);function Dc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Fc(){return(Fc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ic={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},zc={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},Hc=function(e){var t=e.getRailProps;return wp.element.createElement(c.Fragment,null,wp.element.createElement("div",Fc({style:Ic},t())),wp.element.createElement("div",{style:zc}))},Lc=function(e){var t=Dc(e.domain,2),n=t[0],a=t[1],i=e.handle,r=i.id,o=i.value,l=i.percent,c=e.disabled,s=void 0!==c&&c,u=e.getHandleProps;return wp.element.createElement("button",Fc({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":o,disabled:s,style:{left:"".concat(l,"%")}},u(r)))},Uc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(var n=e.length-1;n>=1;n--)if(e[n]<10){var a=10-e[n];e[n]=10,e[n-1]-=a}for(var i=0;i<e.length-1;i++)if(e[i]<10){var r=10-e[i];e[i]=10,e[i+1]-=r}if("right"===t)for(var o=e.length-1;o>=1;o--)if(e[o]<10){var l=10-e[o];e[o]=10,e[o-1]-=l}return e};function Wc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Gc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Vc={position:"relative",width:"100%"},qc=[0,100],Kc=function(e){var t=0;return[].concat(Gc(e),[100]).map(function(e){var n=e-t;return t+=n,n})},Yc=function(e){var t=0;return Gc(e).pop(),e.reduce(function(n,a,i){if(i===e.length-1)return n;var r=a+t;return t+=a,n.push(r),n},[])},Xc=function(e){return wp.element.createElement(Rc.c,{className:"ugb-column-widths-control__columns-slider",rootStyle:Vc,mode:function(e,t){var n,a=e.map(function(e){return e.val}),i=t.map(function(e){return e.val});if(Object(r.isEqual)(a,i))return t;if((n=[0].concat(Gc(i),[100])).some(function(e,t){return 0!==t&&e-n[t-1]<10})){var o=Wc(function(e,t){var n,a=0;return t.some(function(t,i){return t!==e[i]&&(a=i,n=t>e[i]?"right":"left",!0)}),[a,n]}(a,i),2);o[0];(function(e,t,n){var a=Kc(e),i=Uc(a,n);return Yc(i)})(i,0,o[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(Kc(t))},domain:qc,values:Yc(e.value)},wp.element.createElement(Rc.b,null,function(e){var t=e.getRailProps;return wp.element.createElement(Hc,{getRailProps:t})}),wp.element.createElement(Rc.a,null,function(e){var t=e.handles,n=e.getHandleProps;return wp.element.createElement("div",{className:"slider-handles"},t.map(function(e){return wp.element.createElement(Lc,{key:e.id,handle:e,domain:qc,getHandleProps:n})}))}))};Xc.defaultProps={onChange:function(){},value:[]};var $c=Xc;function Jc(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Zc=function(e){return e.every(function(e){return!e})},Qc=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:Zc(e.value)?"column":void 0,justifyContent:Zc(e.value)?"space-around":void 0};return wp.element.createElement("div",{className:"ugb-column-widths-control__columns-input",style:n},e.value.map(function(t,n){return wp.element.createElement("input",{key:n,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:function(t){var a=parseInt(t.target.value,10),i=Jc(e.value);i[n]=isNaN(a)?"":a,e.onChange(i)},onBlur:function(){var t=Uc(e.value),a=100-t.reduce(function(e,t){return e+t},0);n<e.value.length-1?t[n+1]+=a:t[n-1]+=a,e.onChange(Uc(t))}})}))};Qc.defaultProps={onChange:function(){},value:[]};var es=Qc;function ts(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ns={"2-1":[50,50],"2-2":[67,33],"2-3":[33,67],"3-1":[33,33,34],"3-2":[25,50,25],"3-3":[50,25,25],"3-4":[25,25,50],"4-1":[25,25,25,25],"4-2":[40,20,20,20],"4-3":[20,20,20,40],"5-1":[20,20,20,20,20],"6-1":[16,17,17,17,17,16]},as={plain:{2:[{value:"2-1",image:Tl.a},{value:"2-2",image:Pl.a},{value:"2-3",image:Ml.a}],3:[{value:"3-1",image:Dl.a},{value:"3-2",image:Il.a},{value:"3-3",image:Hl.a},{value:"3-4",image:Ul.a}],4:[{value:"4-1",image:Gl.a},{value:"4-2",image:ql.a},{value:"4-3",image:Yl.a}]},grid:{2:[{value:"2-1",image:$l.a},{value:"2-2",image:Zl.a},{value:"2-3",image:ec.a}],3:[{value:"3-1",image:nc.a},{value:"3-2",image:ic.a},{value:"3-3",image:oc.a},{value:"3-4",image:cc.a}],4:[{value:"4-1",image:uc.a},{value:"4-2",image:pc.a},{value:"4-3",image:gc.a}]},uneven:{2:[{value:"2-1",image:fc.a},{value:"2-2",image:vc.a},{value:"2-3",image:Oc.a}],3:[{value:"3-1",image:_c.a},{value:"3-2",image:kc.a},{value:"3-3",image:xc.a},{value:"3-4",image:Sc.a}],4:[{value:"4-1",image:Tc.a},{value:"4-2",image:Pc.a},{value:"4-3",image:Mc.a}]}},is=function(e){return e.every(function(e){return!e})},rs=function(e){var t=ts(Object(c.useState)(-1),2),n=(t[0],t[1]),a=ts(Object(c.useState)(!0),2),i=(a[0],a[1]),o=ts(Object(c.useState)(""),2),u=o[0],b=o[1];Object(c.useEffect)(function(){b("")},[e.columns]);var p="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",m=as[p],g=wp.element.createElement(B.Button,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?is(e.values):Object(r.isEqual)(e.values,ns[u||"".concat(e.columns,"-1")]),onClick:function(){b(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(ns[u||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(s.__)("Reset"));return wp.element.createElement(B.BaseControl,{help:e.help,className:l()(["ugb-columns-width-control","ugb--help-tip-column-width",e.className])},(e.hasIndividualControls||!e.hasIndividualControls&&m[e.columns])&&wp.element.createElement(Ye,{label:e.label,afterButton:e.hasIndividualControls?g:null,screens:e.screens}),m[e.columns]&&wp.element.createElement(Va,{options:m[e.columns],onChange:function(t){n(-1),i(!0),b(t),e.onChange(ns[t])}}),e.hasIndividualControls&&wp.element.createElement(c.Fragment,null,wp.element.createElement($c,{value:is(e.values)?ns["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement(es,{value:is(e.values)?e.forceBlank?e.values:ns["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};rs.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(s.__)("Column Widths",I.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};var os=rs;function ls(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cs=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=Object(i.b)(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(c.Fragment,null,a.includes("desktop")&&wp.element.createElement(fs,{screens:a},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(ls({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(fs,{screens:a,screen:"tablet"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Tablet"),placeholder:n("Tablet")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(ls({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(fs,{screens:a,screen:"mobile"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Mobile"),placeholder:n("Mobile")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(ls({},t("Mobile"),n))}})})))};cs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var ss=cs;function us(e){return(us="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bs(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ps(e){return(ps=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ms(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gs(e,t){return(gs=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ds=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ps(t).apply(this,arguments))||"object"!==us(a)&&"function"!=typeof a?ms(n):a).state={screen:Object(i.U)()},e.onScreenChange=e.onScreenChange.bind(ms(e)),e}var n,a,r;return 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&&gs(e,t)}(t,c["Component"]),n=t,(a=[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(K.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(K.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=c.Children.toArray(this.props.children).map(function(t){return Object(c.cloneElement)(t,{screens:e.props.screens,screen:e.state.screen})}),n=this.state.screen===this.props.screen,a=!this.props.screens.includes(this.state.screen)&&!n&&"desktop"===this.props.screen;return wp.element.createElement(c.Fragment,null,(n||a)&&t)}}])&&bs(n.prototype,a),r&&bs(n,r),t}();ds.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var fs=Object(q.withInstanceId)(ds);function hs(){return(hs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vs=C.a.createElement("path",{d:"M26.6 40.2h-8.2V27.8H8.8v12.4H.6V9.8h8.2v11.3h9.5V9.8h8.2v30.4zM49.4 40.2h-8.3V24.1c0-2 0-3.7.1-5.4-.5.6-1.1 1.3-1.9 2l-3.4 2.8-4.3-5.2L42 9.8h7.4v30.4z"}),ys=function(e){return C.a.createElement("svg",hs({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),vs)};function Os(){return(Os=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ws=C.a.createElement("path",{d:"M24.1 39.6H18V27.2H6.6v12.4H.5V10.8h6.1v11.3H18V10.8h6.1v28.8zM49.5 39.6H29.4v-4.2l7.2-7.3c2.1-2.2 3.5-3.7 4.2-4.6.7-.8 1.1-1.6 1.4-2.4.3-.7.4-1.5.4-2.2 0-1.2-.3-2-1-2.6-.6-.6-1.5-.8-2.5-.8-1.1 0-2.2.3-3.2.8s-2.1 1.2-3.3 2.2l-3.3-3.9c1.4-1.2 2.6-2.1 3.5-2.6.9-.5 1.9-.9 3-1.2 1.1-.3 2.3-.4 3.7-.4 1.8 0 3.4.3 4.8 1s2.4 1.6 3.2 2.8 1.1 2.5 1.1 4.1c0 1.3-.2 2.6-.7 3.7-.5 1.2-1.2 2.4-2.2 3.6s-2.7 3-5.2 5.2l-3.7 3.5v.3h12.5v5z"}),_s=function(e){return C.a.createElement("svg",Os({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),ws)};function js(){return(js=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ks=C.a.createElement("path",{d:"M24 38.9h-4.6V26.4H6.6V39H2V11.1h4.6v11.4h12.8V11.1H24v27.8zM47.2 17.5c0 1.8-.5 3.2-1.5 4.4-1 1.2-2.5 2-4.3 2.4v.2c2.2.3 3.9 1 5 2.1s1.7 2.6 1.7 4.4c0 2.7-.9 4.7-2.8 6.2s-4.6 2.2-8.1 2.2c-3.1 0-5.7-.5-7.8-1.5v-4c1.2.6 2.4 1 3.8 1.4 1.3.3 2.6.5 3.8.5 2.2 0 3.8-.4 4.8-1.2 1.1-.8 1.6-2 1.6-3.7 0-1.5-.6-2.6-1.8-3.3-1.2-.7-3-1-5.6-1h-2.4V23H36c4.4 0 6.7-1.5 6.7-4.6 0-1.2-.4-2.1-1.2-2.8-.8-.6-1.9-1-3.4-1-1.1 0-2.1.1-3 .4-1 .3-2.1.9-3.5 1.7l-2.2-3.1c2.6-1.9 5.5-2.8 8.9-2.8 2.8 0 5 .6 6.6 1.8 1.5 1.1 2.3 2.8 2.3 4.9z"}),Cs=function(e){return C.a.createElement("svg",js({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),ks)};function xs(){return(xs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Es=C.a.createElement("path",{d:"M23.5 37.9h-4.2V26.3H7.4v11.6H3.2V12.2h4.2v10.5h11.8V12.2h4.2v25.7zM46.8 32.3h-3.5v5.6h-4v-5.6H27.5v-3.2l11.7-17h4v16.7h3.5v3.5zm-7.5-3.5v-6.4c0-2.3.1-4.2.2-5.6h-.1c-.3.8-.8 1.7-1.5 2.8l-6.4 9.3h7.8z"}),Ss=function(e){return C.a.createElement("svg",xs({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Es)};function As(){return(As=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ts=C.a.createElement("path",{d:"M24.2 36.2h-3.7V26H10v10.2H6.3V13.5H10v9.3h10.5v-9.3h3.7v22.7zM36.3 22c2.3 0 4.1.6 5.4 1.8 1.3 1.2 2 2.9 2 5 0 2.4-.8 4.3-2.3 5.7s-3.7 2-6.5 2c-2.5 0-4.5-.4-6-1.2V32c.8.5 1.8.8 2.9 1.1s2.1.4 3 .4c1.6 0 2.9-.4 3.8-1.1.9-.7 1.3-1.8 1.3-3.2 0-2.7-1.7-4.1-5.2-4.1-.5 0-1.1 0-1.8.1s-1.3.2-1.9.3l-1.6-1 .9-11.1h11.8v3.2h-8.6l-.5 5.8c.4-.1.8-.1 1.3-.2.6-.1 1.2-.2 2-.2z"}),Bs=function(e){return C.a.createElement("svg",As({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ts)};function Ps(){return(Ps=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ns=C.a.createElement("path",{d:"M24.1 35.2h-3.3V26h-9.4v9.2H8.1V14.8h3.3v8.3h9.4v-8.3h3.3v20.4zM28.1 26.5c0-8 3.2-11.9 9.7-11.9 1 0 1.9.1 2.6.2v2.7c-.7-.2-1.5-.3-2.4-.3-2.2 0-3.8.6-4.9 1.8-1.1 1.2-1.7 3-1.8 5.6h.2c.4-.8 1-1.3 1.8-1.7.8-.4 1.7-.6 2.8-.6 1.8 0 3.3.6 4.3 1.7s1.5 2.7 1.5 4.6c0 2.1-.6 3.8-1.8 5.1-1.2 1.2-2.8 1.9-4.9 1.9-1.5 0-2.7-.3-3.8-1.1-1.1-.7-1.9-1.7-2.5-3.1-.5-1.4-.8-3-.8-4.9zm7.1 6.2c1.1 0 2-.4 2.6-1.1.6-.7.9-1.8.9-3.1 0-1.2-.3-2.1-.9-2.8-.6-.7-1.4-1-2.6-1-.7 0-1.4.2-1.9.5-.6.3-1.1.7-1.4 1.2-.3.5-.5 1.1-.5 1.6 0 1.3.4 2.4 1.1 3.3.7 1 1.6 1.4 2.7 1.4z"}),Ms=function(e){return C.a.createElement("svg",Ps({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ns)};function Rs(){return(Rs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ds=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Heading",I.i18n),1),icon:wp.element.createElement(ys,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Heading",I.i18n),2),icon:wp.element.createElement(_s,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Heading",I.i18n),3),icon:wp.element.createElement(Cs,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Heading",I.i18n),4),icon:wp.element.createElement(Ss,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Heading",I.i18n),5),icon:wp.element.createElement(Bs,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",I.i18n),Object(s.__)("Heading",I.i18n),6),icon:wp.element.createElement(Ms,null)}],Fs=function(e){return wp.element.createElement(Kt,Rs({},e,{className:"ugb-heading-buttons-control",controls:Ds}))};Fs.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",I.i18n)),value:Ds[0].value};var Is=Fs;function zs(){return(zs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hs=[{value:"left",title:Object(s.__)("Align Left",I.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",I.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",I.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",I.i18n),icon:"editor-justify"}],Ls=function(e){var t=e.justified,n=e.className;return wp.element.createElement(Kt,zs({},Object(r.omit)(e,["justified"]),{className:l()([n,"ugb-align-buttons-control"]),controls:Hs.filter(function(e){return!!t||"justify"!==e.value})}))};Ls.defaultProps={className:"",label:Object(s.__)("Align",I.i18n),value:Hs[0].value,justified:!1};var Us=Ls;function Ws(){return(Ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Gs(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Vs={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,i=e.blockTag,r=Gs(e,["blockProps","render","mainClass","blockTag"]),o=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,m=void 0===p?"div":p,g=l()([e.className],Object(K.applyFilters)("stackable.".concat(o,".main-block.classes"),{"ugb-main-block":a},t)),d=l()(["ugb-inner-block"],Object(K.applyFilters)("stackable.".concat(o,".main-block.inner-classes"),{},t)),f=m||i||"div";return wp.element.createElement(f,Ws({},r,{id:u,className:g}),t.styles,Object(K.applyFilters)("stackable.".concat(o,".edit.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:d},Object(K.applyFilters)("stackable.".concat(o,".edit.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(K.applyFilters)("stackable.".concat(o,".edit.output.after"),null,b,t)))}};Vs.Edit.defaultProps={styles:null,mainClass:!0},Vs.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,i=e.blockTag,r=Gs(e,["blockProps","render","mainClass","blockTag"]),o=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,m=void 0===p?"div":p,g=l()([e.className],Object(K.applyFilters)("stackable.".concat(o,".main-block.classes"),{"ugb-main-block":a},t)),d=l()(["ugb-inner-block"],Object(K.applyFilters)("stackable.".concat(o,".main-block.inner-classes"),{},t)),f=m||i||"div";return wp.element.createElement(f,Ws({},r,{id:u,className:g}),t.styles,Object(K.applyFilters)("stackable.".concat(o,".save.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:d},Object(K.applyFilters)("stackable.".concat(o,".save.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(K.applyFilters)("stackable.".concat(o,".save.output.after"),null,b,t)))},Vs.Save.defaultProps={styles:null,mainClass:!0};var qs=Vs,Ks=n(44),Ys=n(14),Xs=n.n(Ys);function $s(e){return($s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Js(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Zs(e){return(Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eu(e,t){return(eu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var tu=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Zs(t).apply(this,arguments))||"object"!==$s(a)&&"function"!=typeof a?Qs(n):a).state={value:e.props.value},e.uniqueId=Object(r.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(Qs(e)),e.debouncedOnChange=Object(r.debounce)(e.debouncedOnChange.bind(Qs(e)),500,{leading:!0}),e.codeMirror=null,e}var n,a,i;return 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&&eu(e,t)}(t,c["Component"]),n=t,(a=[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){Ks.initialize&&(this.codeMirror=Object(Ks.initialize)(this.uniqueId,Xs()(Ks.defaultSettings,this.props.editorSettings)),this.codeMirror.codemirror.on("change",this.onChange))}},{key:"debouncedOnChange",value:function(e){this.props.onChange(e||this.state.value)}},{key:"onChange",value:function(e){var t=e.getValue?e.getValue():e;this.setState({value:t}),this.debouncedOnChange(t)}},{key:"render",value:function(){return wp.element.createElement("textarea",{className:"ugb-code-textarea",id:this.uniqueId,value:this.state.value,onChange:this.onChange})}}])&&Js(n.prototype,a),i&&Js(n,i),t}();tu.defaultProps={value:"",onChange:function(){},editorSettings:{}};var nu=tu;function au(){return(au=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var iu=C.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),ru=function(e){return C.a.createElement("svg",au({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),iu)};function ou(){return(ou=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lu=C.a.createElement("filter",{id:"curve-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),cu=C.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),su=function(e){return C.a.createElement("svg",ou({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),lu,cu)};function uu(){return(uu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bu=C.a.createElement("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}),pu=function(e){return C.a.createElement("svg",uu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),bu)};function mu(){return(mu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gu=C.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),du=C.a.createElement("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}),fu=function(e){return C.a.createElement("svg",mu({viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gu,du)};function hu(){return(hu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vu=C.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),yu=function(e){return C.a.createElement("svg",hu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),vu)};function Ou(){return(Ou=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wu=C.a.createElement("filter",{id:"curve-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),_u=C.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),ju=function(e){return C.a.createElement("svg",Ou({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),wu,_u)};function ku(){return(ku=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cu=C.a.createElement("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}),xu=function(e){return C.a.createElement("svg",ku({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Cu)};function Eu(){return(Eu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Su=C.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Au=C.a.createElement("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}),Tu=function(e){return C.a.createElement("svg",Eu({viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Su,Au)};function Bu(){return(Bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pu=C.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),Nu=function(e){return C.a.createElement("svg",Bu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Pu)};function Mu(){return(Mu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ru=C.a.createElement("filter",{id:"curve-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Du=C.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),Fu=function(e){return C.a.createElement("svg",Mu({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ru,Du)};function Iu(){return(Iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zu=C.a.createElement("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}),Hu=function(e){return C.a.createElement("svg",Iu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zu)};function Lu(){return(Lu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Uu=C.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Wu=C.a.createElement("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}),Gu=function(e){return C.a.createElement("svg",Lu({viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Uu,Wu)};function Vu(){return(Vu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qu=C.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),Ku=function(e){return C.a.createElement("svg",Vu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),qu)};function Yu(){return(Yu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xu=C.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),$u=C.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),Ju=function(e){return C.a.createElement("svg",Yu({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Xu,$u)};function Zu(){return(Zu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qu=C.a.createElement("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}),eb=function(e){return C.a.createElement("svg",Zu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Qu)};function tb(){return(tb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var nb=C.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ab=C.a.createElement("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}),ib=function(e){return C.a.createElement("svg",tb({viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),nb,ab)};function rb(){return(rb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ob=C.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),lb=function(e){return C.a.createElement("svg",rb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ob)};function cb(){return(cb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sb=C.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ub=C.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),bb=function(e){return C.a.createElement("svg",cb({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),sb,ub)};function pb(){return(pb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var mb=C.a.createElement("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}),gb=function(e){return C.a.createElement("svg",pb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),mb)};function db(){return(db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fb=C.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),hb=C.a.createElement("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}),vb=function(e){return C.a.createElement("svg",db({viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fb,hb)};function yb(){return(yb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ob=C.a.createElement("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}),wb=function(e){return C.a.createElement("svg",yb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ob)};function _b(){return(_b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jb=C.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),kb=C.a.createElement("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}),Cb=function(e){return C.a.createElement("svg",_b({viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),jb,kb)};function xb(){return(xb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Eb=C.a.createElement("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}),Sb=function(e){return C.a.createElement("svg",xb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Eb)};function Ab(){return(Ab=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tb=C.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Bb=C.a.createElement("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}),Pb=function(e){return C.a.createElement("svg",Ab({viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Tb,Bb)};function Nb(){return(Nb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mb=C.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),Rb=function(e){return C.a.createElement("svg",Nb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mb)};function Db(){return(Db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fb=C.a.createElement("filter",{id:"slant-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ib=C.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),zb=function(e){return C.a.createElement("svg",Db({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fb,Ib)};function Hb(){return(Hb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lb=C.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),Ub=function(e){return C.a.createElement("svg",Hb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lb)};function Wb(){return(Wb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gb=C.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Vb=C.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),qb=function(e){return C.a.createElement("svg",Wb({viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gb,Vb)};function Kb(){return(Kb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yb=C.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),Xb=function(e){return C.a.createElement("svg",Kb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yb)};function $b(){return($b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jb=C.a.createElement("filter",{id:"slant-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Zb=C.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Qb=function(e){return C.a.createElement("svg",$b({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Jb,Zb)};function ep(){return(ep=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var tp=C.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),np=function(e){return C.a.createElement("svg",ep({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),tp)};function ap(){return(ap=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ip=C.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),rp=C.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),op=function(e){return C.a.createElement("svg",ap({viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ip,rp)};function lp(){return(lp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cp=C.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),sp=function(e){return C.a.createElement("svg",lp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cp)};function up(){return(up=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bp=C.a.createElement("filter",{id:"straight-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pp=C.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),mp=function(e){return C.a.createElement("svg",up({viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),bp,pp)};function gp(){return(gp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dp=C.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),fp=function(e){return C.a.createElement("svg",gp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),dp)};function hp(){return(hp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vp=C.a.createElement("filter",{id:"wave-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),yp=C.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),Op=function(e){return C.a.createElement("svg",hp({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),vp,yp)};function _p(){return(_p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jp=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}),kp=function(e){return C.a.createElement("svg",_p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),jp)};function Cp(){return(Cp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xp=C.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ep=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}),Sp=function(e){return C.a.createElement("svg",Cp({viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),xp,Ep)};function Ap(){return(Ap=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tp=C.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),Bp=function(e){return C.a.createElement("svg",Ap({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Tp)};function Pp(){return(Pp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Np=C.a.createElement("filter",{id:"wave-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Mp=C.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),Rp=function(e){return C.a.createElement("svg",Pp({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Np,Mp)};function Dp(){return(Dp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fp=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}),Ip=function(e){return C.a.createElement("svg",Dp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fp)};function zp(){return(zp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hp=C.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Lp=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}),Up=function(e){return C.a.createElement("svg",zp({viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hp,Lp)};function Wp(){return(Wp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gp=C.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),Vp=function(e){return C.a.createElement("svg",Wp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gp)};function qp(){return(qp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Kp=C.a.createElement("filter",{id:"wave-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Yp=C.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Xp=function(e){return C.a.createElement("svg",qp({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Kp,Yp)};function $p(){return($p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jp=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}),Zp=function(e){return C.a.createElement("svg",$p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Jp)};function Qp(){return(Qp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var em=C.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),tm=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}),nm=function(e){return C.a.createElement("svg",Qp({viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),em,tm)};function am(){return(am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var im=C.a.createElement("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}),rm=function(e){return C.a.createElement("svg",am({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),im)};function om(){return(om=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lm=C.a.createElement("filter",{id:"wave-4-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),cm=C.a.createElement("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}),sm=function(e){return C.a.createElement("svg",om({viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),lm,cm)};function um(){return(um=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bm=C.a.createElement("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}),pm=function(e){return C.a.createElement("svg",um({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),bm)};function mm(){return(mm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gm=C.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),dm=C.a.createElement("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}),fm={"wave-1":{default:{shape:fp,shadow:Op},inverted:{shape:kp,shadow:Sp}},"wave-2":{default:{shape:Bp,shadow:Rp},inverted:{shape:Ip,shadow:Up}},"wave-3":{default:{shape:Vp,shadow:Xp},inverted:{shape:Zp,shadow:nm}},"wave-4":{default:{shape:rm,shadow:sm},inverted:{shape:pm,shadow:function(e){return C.a.createElement("svg",mm({viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gm,dm)}}},"curve-1":{default:{shape:ru,shadow:su},inverted:{shape:pu,shadow:fu}},"curve-2":{default:{shape:yu,shadow:ju},inverted:{shape:xu,shadow:Tu}},"curve-3":{default:{shape:Nu,shadow:Fu},inverted:{shape:Hu,shadow:Gu}},"slant-1":{default:{shape:Rb,shadow:zb},inverted:{shape:Ub,shadow:qb}},"slant-2":{default:{shape:Xb,shadow:Qb},inverted:{shape:np,shadow:op}},"straight-1":{default:{shape:sp,shadow:mp},inverted:{shape:sp,shadow:mp}},"rounded-1":{default:{shape:Ku,shadow:Ju},inverted:{shape:eb,shadow:ib}},"rounded-2":{default:{shape:lb,shadow:bb},inverted:{shape:gb,shadow:vb}},"rounded-3":{default:{shape:wb,shadow:Cb},inverted:{shape:Sb,shadow:Pb}}},hm=function(e){var t=fm[e.design][e.inverted?"inverted":"default"],n=t.shape,a=t.shadow,i=l()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:i},e.shadow&&wp.element.createElement(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(n,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};hm.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},hm.Save=function(e){return wp.element.createElement(hm,e)};var vm=hm,ym=n(18),Om=n.n(ym);function wm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _m=function(e){var t,n=l()([e.className,"ugb-img"],(wm(t={},"wp-image-".concat(e.imageId),e.imageId),wm(t,"ugb-img--shape",e.shape),wm(t,"ugb-image--shape-stretch",e.shapeStretch),wm(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:Om()(e.alt||void 0),width:e.width||void 0,height:e.height||void 0})};_m.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var jm=_m,km=n(17),Cm=n(27),xm=wp.element.createElement(B.Icon,{icon:Gn.h}),Em=wp.element.createElement(B.Icon,{icon:Gn.D});var Sm=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),i=a.getBlockRootClientId,r=a.getBlocksByClientId,o=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?i(n[0]):void 0),l=r(n),c=1===l.length&&l[0]&&"ugb/container"===l[0].name;return{isGroupable:o&&l.length&&!c,isUngroupable:c&&!!l[0].innerBlocks.length,blocksSelection:l,groupingBlockName:"ugb/container"}}),Object(je.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,i=void 0===a?r.noop:a,o=t.blocksSelection,l=void 0===o?[]:o,c=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=l.map(function(e){return Object(km.cloneBlock)(e)}),t=Object(km.createBlock)("ugb/container",{},e);c(n,t),i()}},onConvertFromGroup:function(){if(l.length){var e=l[0].innerBlocks;e.length&&(c(n,e),i())}}}})])(function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,a=e.isGroupable,i=void 0!==a&&a,r=e.isUngroupable,o=void 0!==r&&r;return Object(je.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(c.Fragment,null,i&&wp.element.createElement(Cm.PluginBlockSettingsMenuItem,{icon:xm,label:Object(s.__)("Group into Container",I.i18n),onClick:t}),o&&wp.element.createElement(Cm.PluginBlockSettingsMenuItem,{icon:Em,label:Object(s.__)("Ungroup from Container",I.i18n),onClick:n})):null}),Am=Object(je.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(Sm),Tm=Object(q.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,i=e.setState,o=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(c.Fragment,null,wp.element.createElement(Cm.PluginBlockSettingsMenuItem,{icon:"editor-code",label:"Get / Set Block Attributes",onClick:function(){i({openPopover:!0,changed:!1}),setTimeout(function(){return document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()},100)}}),n&&wp.element.createElement(B.Modal,{title:"".concat(Object(r.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;l(e)}i({openPopover:!1})}},wp.element.createElement("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),wp.element.createElement("textarea",{onChange:function(){return i({changed:!0})}},o())))}),Bm=Object(q.compose)([Object(je.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName:n&&a(n)?a(n).replace(/^\w+\//g,""):"",getJSONBlockAttributes:function(){var t=e("core/block-editor").getBlockName,a=e("core/blocks").getBlockType;if(!n)return{};var i=e("core/block-editor").getBlockAttributes(n),r=t(n).replace(/^\w+\//g,""),o=a(t(n)).attributes,l=Object.keys(i).reduce(function(e,t){return i[t]!==(o[t]?o[t].default:"")&&(e[t]=i[t]),e},{});return l.uniqueClass=void 0,JSON.stringify(Object(K.applyFilters)("stackable.".concat(r,".design.filtered-block-attributes"),l),null,4)}}}),Object(je.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{var t=JSON.parse(e);Object(i.e)(t,n)}catch(e){console.error(e)}}}})])(Tm),Pm=Object(je.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(Bm);function Nm(){return(Nm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Mm(e,t){if(null==e)return{};var n,a,i=function(e,t){if(null==e)return{};var n,a,i={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Rm=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,o=e.showBackground,c=e.showVideoBackground,s=Mm(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),u=l()([n],{"ugb--has-background-overlay":o&&Object(i.X)(a,r.attributes)});return wp.element.createElement(t,Nm({className:u},s),e.children,o&&c&&Object(i.J)(a,r))};Rm.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var Dm=Rm,Fm=function(e){return wp.element.createElement(B.Modal,{title:Object(s.__)("Stackable Welcome Guide",I.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},wp.element.createElement("p",null,Object(s.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",I.i18n)),wp.element.createElement("iframe",{title:Object(s.__)("Video Tutorial",I.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),wp.element.createElement("p",null,wp.element.createElement(B.Button,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(s.__)("Close it, I'm good",I.i18n))))};Fm.defaultProps={onRequestClose:function(){}};var Im=Fm;function zm(){return(zm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hm=C.a.createElement("path",{d:"M38 12H12v26h26V12z"}),Lm=function(e){return C.a.createElement("svg",zm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Hm)};function Um(){return(Um=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wm=C.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),Gm=function(e){return C.a.createElement("svg",Um({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Wm)};function Vm(){return(Vm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qm=C.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),Km=function(e){return C.a.createElement("svg",Vm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),qm)},Ym=void 0;function Xm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function $m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xm(n,!0).forEach(function(t){Jm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xm(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Jm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Zm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Qm=function(e){var t=Zm(Object(c.useState)([]),2),n=t[0],a=t[1],i=Zm(Object(c.useState)({}),2),o=i[0],u=i[1],b=Zm(Object(c.useState)(0),2),p=b[0],m=b[1],g=Zm(Object(c.useState)(0),2),d=g[0],f=g[1],h=Zm(Object(c.useState)(0),2),v=h[0],y=h[1],O=Zm(Object(c.useState)(""),2),w=O[0],_=O[1];return Object(c.useEffect)(function(){Hn().then(function(e){var t=e.reduce(function(e,t){if(!e[t]){if(Object(je.select)("core/edit-post").getPreference("hiddenBlockTypes").includes(t))return e;if(!Object(je.select)("core/blocks").getBlockType(t))return e;e[t]={count:0,name:t,label:t?Object(je.select)("core/blocks").getBlockType(t).title:""}}return e},{});u(t)})},[]),Object(c.useEffect)(function(){Object.keys(o).length&&In({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(o).reduce(function(e,t){return e[t]=$m({},o[t]),e},{}),i=0,l=0,c=t.reduce(function(t,n){var a=n.block,r=n.type,o=n.plan;return"block"===r&&t[a]&&t[a].count++,e.forceBlock&&e.forceBlock!==n.block||(l++,"free"===o&&i++),t},$m({},n));m(l),f(i),y(l-i),a(Object(r.orderBy)(c,["title"],["asc"]))})},[o,e.search,e.mood,e.colors]),wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement("li",null,wp.element.createElement("div",{className:""===w?"is-active":"","data-count":p,onClick:function(){_(""),e.onSelect({block:"",plan:""})},onKeyPress:function(e){13===e.keyCode&&Ym.click()},role:"button",tabIndex:0,"aria-pressed":""===w?"true":"false"},Object(s.__)("All Block Designs",I.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},p))),p!==d&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===w?"is-active":"","data-count":d,onClick:function(){_("free"),e.onSelect({block:"",plan:"free"})},onKeyPress:function(e){13===e.keyCode&&Ym.click()},role:"button",tabIndex:0,"aria-pressed":"free"===w?"true":"false"},Object(s.__)("Free Designs",I.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},d)),wp.element.createElement("div",{className:"premium"===w?"is-active":"","data-count":v,onClick:function(){_("premium"),e.onSelect({block:"",plan:"premium"})},onKeyPress:function(e){13===e.keyCode&&Ym.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===w?"true":"false"},Object(s.__)("Premium Designs",I.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},v))),wp.element.createElement(Vi,null),n.map(function(t,n){var a=w===t.name||t.name===e.forceBlock,i=l()({"is-active":a,"is-disabled":e.forceBlock&&t.name!==e.forceBlock});return wp.element.createElement("li",{key:n},wp.element.createElement("div",{className:i,"data-count":t.count,onClick:function(){e.forceBlock||(_(t.name),e.onSelect({block:t.name,plan:""}))},onKeyPress:function(e){13===e.keyCode&&Ym.click()},role:"button",tabIndex:0,"aria-pressed":a?"true":"false"},t.label,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(t.name,"-count")},t.count)))}))};Qm.defaultProps={search:"",mood:"",colors:[],onSelect:function(){},forceBlock:""};var eg=Qm;function tg(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ng(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ag={red:{color:"#f44336",name:"red"},green:{color:"#4caf50",name:"green"},yellow:{color:"#ffeb3b",name:"yellow"},blue:{color:"#2196f3",name:"blue"},pink:{color:"#e91e63",name:"pink"},gray:{color:"#9e9e9e",name:"gray"},brown:{color:"#795548",name:"brown"},orange:{color:"#ff9800",name:"orange"},purple:{color:"#9c27b0",name:"purple"},black:{color:"#212121",name:"black"},white:{color:"#fff",name:"white"}},ig=function(e){var t=ng(Object(c.useState)([]),2),n=t[0],a=t[1];return wp.element.createElement(B.BaseControl,{className:"ugb-modal-design-library__color-list",id:"design-colors"},wp.element.createElement("div",{className:"ugb-modal-design-library__color-list-wrapper"},Object.keys(e.colors).map(function(t){var i=ag[t],r=i.color,o=i.name;return wp.element.createElement(B.ColorPalette,{key:t,value:n.includes(o)?r:"",colors:[{color:r,name:o}],onChange:function(t){var i;i=t?[].concat(tg(n),[o]):n.filter(function(e){return e!==o}),a(i),e.onSelect(i)},clearable:!1,disableCustomColors:!0})})))};ig.defaultProps={onSelect:function(){},colors:ag};var rg=ig;function og(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var lg=function(e){var t=og(Object(c.useState)(e.search),2),n=t[0],a=t[1],r=og(Object(c.useState)(),2),o=r[0],l=r[1],u=og(Object(c.useState)(""),2),b=u[0],p=u[1],m=og(Object(c.useState)(""),2),g=m[0],d=m[1],f=og(Object(c.useState)([]),2),h=f[0],v=f[1],y=og(Object(c.useState)(3),2),O=y[0],w=y[1],_=og(Object(c.useState)([]),2),j=_[0],k=_[1],C=og(Object(c.useState)(!0),2),x=C[0],E=C[1],S=og(Object(c.useState)(!1),2),A=S[0],T=S[1],P=og(Object(i.sb)("stk__design_library_dev_mode",!1),2),N=P[0],M=P[1];Object(c.useEffect)(function(){return l(e.selectedBlock)},[e.selectedBlock]);var R=og(Object(c.useState)(n),2),D=R[0],F=R[1],z=og(Object(c.useState)(null),2),H=z[0],L=z[1];return Object(c.useEffect)(function(){H&&(clearTimeout(H),L(null)),L(setTimeout(function(){F(n)},500))},[n]),Object(c.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(c.useEffect)(function(){A&&(k([]),E(!0)),In({type:"block",block:o,plan:b,mood:g,colors:h,search:D,reset:A}).then(function(e){k(e)}).finally(function(){E(!1),T(!1)})},[o,g,h,b,D,A]),wp.element.createElement(B.Modal,{title:Object(s.__)("Stackable Design Library",I.i18n),className:"ugb-modal-design-library",onRequestClose:e.onClose},wp.element.createElement("div",{className:"ugb-modal-design-library__wrapper"},wp.element.createElement("aside",{className:"ugb-modal-design-library__sidebar"},wp.element.createElement(B.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(s.__)("Search designs...",I.i18n),value:n,onChange:function(e){return a(e)},"data-testid":"input-search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(rg,{onSelect:function(e){v(e)}}),wp.element.createElement(Kt,{controls:[{value:"",title:Object(s.__)("All",I.i18n)},{value:"light",title:Object(s.__)("Light",I.i18n)},{value:"dark",title:Object(s.__)("Dark",I.i18n)}],value:g,onChange:function(e){return d(e)}}),wp.element.createElement(eg,{search:n,mood:g,colors:h,forceBlock:e.selectedBlock,onSelect:function(e){var t=e.block,n=e.plan;l(t),p(n)}}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},I.devMode&&wp.element.createElement(B.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:N,onChange:function(e){Fn(e).then(function(){T(!0)}),M(e)}}),wp.element.createElement(B.Button,{icon:"image-rotate",label:Object(s.__)("Refresh Library",I.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return T(!0)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(Lm,{width:"18",height:"18"}),className:2===O?"is-active":"",label:Object(s.__)("Large preview",I.i18n),onClick:function(){return w(2)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(Km,{width:"18",height:"18"}),className:3===O?"is-active":"",label:Object(s.__)("Medium preview",I.i18n),onClick:function(){return w(3)}}),wp.element.createElement(B.Button,{icon:wp.element.createElement(Gm,{width:"18",height:"18"}),className:4===O?"is-active":"",label:Object(s.__)("Small preview",I.i18n),onClick:function(){return w(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(na,{columns:O,onSelect:e.onSelect,isBusy:x,designs:e.selectedBlock?j.filter(function(t){return t.block===e.selectedBlock}):j}))))};lg.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var cg=lg;function sg(){return(sg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ug=C.a.createElement("path",{fill:"currentColor",d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"}),bg=function(e){return C.a.createElement("svg",sg({"aria-hidden":"true","data-prefix":"fas","data-icon":"circle-notch",className:"spinner_svg__svg-inline--fa spinner_svg__fa-circle-notch spinner_svg__fa-w-16",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),ug)};function pg(){return(pg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function mg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var gg=function(){return wp.element.createElement(bg,{className:"ugb-icon-is-loading"})},dg=function(e){var t=mg(Object(c.useState)(0),2),n=t[0],a=t[1],o=function(){a(n+1)};Object(c.useEffect)(function(){Object(i.L)().then(o)},[]);var l=Object(r.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(c.RawHTML,l,e.value);if(!Object(i.O)())return wp.element.createElement(gg,null);var s=e.value?e.value.replace(/-.*$/,""):e.prefix,u=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(s&&u){var b=Object(i.M)(s,u);return b?wp.element.createElement(c.RawHTML,l,b):(Object(i.N)(s,u).then(o),wp.element.createElement(gg,null))}var p=Object(i.M)("far","smile");return wp.element.createElement(c.RawHTML,pg({},l,{className:"".concat(e.className," ugb-icon--faded")}),p)};dg.Content=function(e){var t=Object(r.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(c.RawHTML,t,e.value);var n=e.value?e.value.replace(/-.*$/,""):e.prefix,a=e.value?e.value.replace(/^.*?-/,""):e.iconName,o=Object(i.M)(n,a);return wp.element.createElement(c.RawHTML,t,o)},dg.defaultProps={prefix:"",iconName:"",value:""};var fg=dg;function hg(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var vg=1,yg=function(e){var t,n,a,i=hg(Object(c.useState)("ugb-admin-setting-".concat(vg++)),1)[0],r=l()(["ugb-admin-setting"],(t={},n="ugb-admin-setting--".concat(e.size),a=e.size,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:r,id:i},wp.element.createElement("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:i},wp.element.createElement("span",{className:"ugb-admin-setting__label"},e.label),wp.element.createElement("div",{className:"ugb-admin-setting__field"},e.children)))};yg.defaultProps={label:""};var Og=yg,wg=function(e){return wp.element.createElement(Og,e,wp.element.createElement("input",{className:"ugb-admin-text-setting",type:e.type,value:e.value,placeholder:e.placeholder,onChange:e.onChange}))};wg.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:function(){}};var _g=function(e){return wp.element.createElement(Og,e,wp.element.createElement("button",{className:"ugb-admin-toggle-setting__button",type:"button",role:"switch","aria-checked":!!e.value,onClick:function(){return e.onChange(!e.value)},style:{minWidth:e.width||void 0}},wp.element.createElement("span",null,e.disabled),wp.element.createElement("span",null,e.enabled)))};_g.defaultProps={label:"",value:!1,placeholder:"",onChange:function(){},disabled:Object(s.__)("Disabled",I.i18n),enabled:Object(s.__)("Enabled",I.i18n),width:""};n.d(t,"o",function(){return a.c}),n.d(t,"p",function(){return a.a}),n.d(t,"jb",function(){return j}),n.d(t,"kb",function(){return d}),n.d(t,"Y",function(){return F}),n.d(t,"sb",function(){return L}),n.d(t,"tb",function(){return V}),n.d(t,"s",function(){return $}),n.d(t,"j",function(){return ee}),n.d(t,"S",function(){return le}),n.d(t,"P",function(){return ue}),n.d(t,"V",function(){return _e}),n.d(t,"W",function(){return Ce}),n.d(t,"X",function(){return Se}),n.d(t,"c",function(){return Qe}),n.d(t,"d",function(){return tt}),n.d(t,"b",function(){return vt}),n.d(t,"e",function(){return Kt}),n.d(t,"G",function(){return $t}),n.d(t,"F",function(){return en}),n.d(t,"cb",function(){return yn}),n.d(t,"db",function(){return _n}),n.d(t,"Z",function(){return kn}),n.d(t,"y",function(){return Wn}),n.d(t,"z",function(){return na}),n.d(t,"eb",function(){return Ba}),n.d(t,"l",function(){return Fa}),n.d(t,"A",function(){return za}),n.d(t,"B",function(){return Ha}),n.d(t,"x",function(){return Va}),n.d(t,"C",function(){return wi}),n.d(t,"K",function(){return Ei}),n.d(t,"N",function(){return Ui}),n.d(t,"u",function(){return Gi}),n.d(t,"v",function(){return Vi}),n.d(t,"q",function(){return tr}),n.d(t,"T",function(){return ar}),n.d(t,"U",function(){return lr}),n.d(t,"Q",function(){return sr}),n.d(t,"R",function(){return mr}),n.d(t,"qb",function(){return fr}),n.d(t,"rb",function(){return Or}),n.d(t,"g",function(){return _r}),n.d(t,"h",function(){return xr}),n.d(t,"m",function(){return Fr}),n.d(t,"n",function(){return Lr}),n.d(t,"L",function(){return $r}),n.d(t,"M",function(){return eo}),n.d(t,"lb",function(){return no}),n.d(t,"mb",function(){return oo}),n.d(t,"nb",function(){return go}),n.d(t,"ob",function(){return vo}),n.d(t,"pb",function(){return _o}),n.d(t,"fb",function(){return Io}),n.d(t,"gb",function(){return Go}),n.d(t,"H",function(){return Sl}),n.d(t,"t",function(){return os}),n.d(t,"hb",function(){return ss}),n.d(t,"i",function(){return Ye}),n.d(t,"ub",function(){return fs}),n.d(t,"J",function(){return Is}),n.d(t,"f",function(){return Us}),n.d(t,"k",function(){return qs}),n.d(t,"r",function(){return nu}),n.d(t,"ib",function(){return vm}),n.d(t,"O",function(){return jm}),n.d(t,"w",function(){return Am}),n.d(t,"I",function(){return Pm}),n.d(t,"D",function(){return Dm}),n.d(t,"bb",function(){return Im}),n.d(t,"ab",function(){return cg}),n.d(t,"E",function(){return fg}),n.d(t,"a",function(){return Og})},,function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.element},function(e,t){e.exports=wp.blockEditor},,function(e,t){e.exports=lodash},function(e,t,n){"use strict";var a=n(3),i=n(5),r=n(8),o=n.n(r),l=n(6),c=n(12),s=n(15),u=n.n(s);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function f(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(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&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(c.createHigherOrderComponent)(function(n){var r,c;return c=r=function(r){function c(){return m(this,c),f(this,h(c).apply(this,arguments))}return v(c,l["Component"]),d(c,[{key:"render",value:function(){var r=o()([this.props.className,this.props.attributes.uniqueClass]),l=this.props.blockName,c=Object(i.applyFilters)("stackable.".concat(l,".styles"),e(this.props),this.props),s=wp.element.createElement(a.l,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.mainClassName,style:c,editorMode:t.editorMode||!1});return wp.element.createElement(n,p({},this.props,{className:r,styles:s}))}}]),c}(),O(r,"propTypes",{attributes:u.a.shape({uniqueClass:u.a.string.isRequired}),blockName:u.a.string.isRequired,mainClassName:u.a.string.isRequired}),O(r,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),c},"withBlockStyles")},_=n(2);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function x(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}function E(e,t){return!t||"object"!==j(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function A(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&&T(e,t)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return k(this,a),E(this,S(a).apply(this,arguments))}return A(a,l["Component"]),x(a,[{key:"componentDidMount",value:function(){var t=this.props.blockName;Object(i.addFilter)("stackable.".concat(t,".setAttributes"),"stackable/".concat(t,"/contentAlign"),function(n){var a=Object(i.applyFilters)("stackable.with-content-align-reseter.attributeNamesToReset",e,t);return["","Tablet","Mobile"].forEach(function(e){void 0!==n[Object(_.P)("%sContentAlign",e)]&&a.forEach(function(t){n[Object(_.P)(t,e)]=""})}),n})}},{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}(),B(n,"defaultProps",{attributes:{},blockName:""}),a},"withContentAlignReseter")};function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function R(e,t){return!t||"object"!==N(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function F(e,t){return(F=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=Object(c.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),R(this,D(n).apply(this,arguments))}var a,i,r;return 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&&F(e,t)}(n,l["Component"]),a=n,(i=[{key:"componentDidMount",value:function(){Object(_.eb)(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&M(a.prototype,i),r&&M(a,r),n}(),r={attributes:{}},(i="defaultProps")in(a=t)?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withGoogleFont");function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function L(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function U(e,t){return!t||"object"!==z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var V=function(e){return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),U(this,W(a).apply(this,arguments))}var r,c,s;return 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&&G(e,t)}(a,l["Component"]),r=a,(c=[{key:"render",value:function(){var n=e.replace(/^\w+\//g,""),a=e.replace(/\//g,"-"),r=Object(i.applyFilters)("stackable.".concat(n,".mainClassName"),a,e),l=o()([(this.props.className||"").split(" ").filter(function(e){return e!==a}),r]);return wp.element.createElement(t,H({},this.props,{className:l,mainClassName:r,blockName:n}))}}])&&L(r.prototype,c),s&&L(r,s),a}()},"withMainClassname")},q=n(9);function K(e){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function X(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function $(e){return($=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Q=Object(c.createHigherOrderComponent)(function(e){var t,n,a,r,o;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=$(n).apply(this,arguments))||"object"!==K(a)&&"function"!=typeof a?J(t):a).setAttributes=e.setAttributes.bind(J(e)),e}var a,r,o;return 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&&Z(e,t)}(n,l["Component"]),a=n,(r=[{key:"componentDidUpdate",value:function(e){Object(q.isEqual)(e.attributes,this.props.attributes)||Object(i.doAction)("stackable.setAttributes.after")}},{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(i.applyFilters)("stackable.setAttributes",e,this.props);n=Object(i.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,Y({},this.props,{setAttributes:this.setAttributes}))}}])&&X(a.prototype,r),o&&X(a,o),n}(),a=t,r="propTypes",o={setAttributes:u.a.func.isRequired},r in a?Object.defineProperty(a,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[r]=o,n},"withSetAttributeHook"),ee=n(7);function te(e){return(te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ae(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ie(e,t,n){return t&&ae(e.prototype,t),n&&ae(e,n),e}function re(e,t){return!t||"object"!==te(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function le(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&&ce(e,t)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(c.createHigherOrderComponent)(function(t){var n,r;return r=n=function(n){function r(){return ne(this,r),re(this,oe(r).apply(this,arguments))}return le(r,l["Component"]),ie(r,[{key:"render",value:function(){var n=this.props.blockName,r=Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.block"),null,this.props);return wp.element.createElement(l.Fragment,null,Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.before"),null,this.props),wp.element.createElement(ee.InspectorControls,null,wp.element.createElement(a.eb,{tabs:e,blockProps:this.props}),wp.element.createElement(a.Z,null,Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.layout.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.layout.after"),null,this.props)),wp.element.createElement(a.Z,{tab:"style"},Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.style.after"),null,this.props),r&&wp.element.createElement("div",{className:"ugb-panel-controls-separator",role:"presentation"},"— — —"),r),wp.element.createElement(a.Z,{tab:"advanced"},Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.before"),null,this.props),Object(i.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.after"),null,this.props))),wp.element.createElement(t,this.props))}}]),r}(),se(n,"defaultProps",{attributes:{},blockName:""}),r},"withTabbedInspector")};function be(e){return(be="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function me(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ge(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function de(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e,t){return(he=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ye=Object(c.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),de(this,fe(n).apply(this,arguments))}var a,i,r;return 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&&he(e,t)}(n,l["Component"]),a=n,(i=[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,i="ugb-".concat(a.substring(0,7));void 0!==t.uniqueClass&&t.uniqueClass===i||n({uniqueClass:i})}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&ge(a.prototype,i),r&&ge(a,r),n}(),ve(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(i.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(me(e),["uniqueClass"])}),Object(i.addFilter)("stackable.block.attributes","stackable/unique-class",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(n,!0).forEach(function(t){ve(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var Oe=ye,we=n(38),_e=n(19);function je(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var xe=!1,Ee={".ugb-top-separator":"top-separator",".ugb-bottom-separator":"bottom-separator",".ugb-inner-block":"column-background",".ugb-block-title":"block-title",".ugb-block-description":"block-description",".ugb--has-block-background":"block-background"},Se={},Ae=[".block-editor-rich-text__editable",".editor-rich-text__editable","svg","img","figure",".ugb-button",'[role="button"]',".ugb-block-content > * > *",".ugb-block-content > *",".ugb-content-wrapper",".ugb-top-separator",".ugb-bottom-separator",".ugb-inner-block",".ugb-main-block"],Te=function(e,t,n){void 0===Se[e]&&(Se[e]={}),Se[e][t]=n},Be=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(n,!0).forEach(function(t){Ce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Se[e],{},Ee)};function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Me(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Re(e,t,n){return t&&Me(e.prototype,t),n&&Me(e,n),e}function De(e,t){return!t||"object"!==Pe(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ie(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&&ze(e,t)}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(_e.a)(function(){if(!xe&&(xe=!0,Element.prototype.matches)){var e=Object(i.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){var n,a,i=(n=t.target,(a=n.closest("[data-type]"))&&a.getAttribute("data-type").match(/^ugb\//i)?a.getAttribute("data-type").replace(/^ugb\//i,""):"");if(i){var r=Be(i);if(r){var o=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(o=e[n],!0)}),[].concat(je(o),Ae).some(function(e){var n=t.target.closest(e);return!!n&&Object.keys(r).some(function(e){if(n.matches(e)){var t=r[e];return Object(we.a)(t)}return!1})})}}})}});var He=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){var t;Ne(this,a);var n=(t=De(this,Fe(a).apply(this,arguments))).props.blockName;return e.forEach(function(e){Te(n,e[0],e[1])}),t}return Ie(a,l["Component"]),Re(a,[{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}()},"withClickOpenInspector")};function Le(e){return(Le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function We(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ge(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qe(e,t){return(qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=function(e){return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),Ge(this,Ve(a).apply(this,arguments))}var i,r,c;return 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&&qe(e,t)}(a,l["Component"]),i=a,(r=[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=o()([this.props.className],Ke({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,Ue({},this.props,{className:a}))}}])&&We(i.prototype,r),c&&We(i,c),a}(),Ke(n,"defaultProps",{className:""}),a},"withHelpTip")};n.d(t,"a",function(){return w}),n.d(t,"c",function(){return P}),n.d(t,"d",function(){return I}),n.d(t,"f",function(){return V}),n.d(t,"g",function(){return Q}),n.d(t,"h",function(){return ue}),n.d(t,"i",function(){return Oe}),n.d(t,"b",function(){return He}),n.d(t,"e",function(){return Ye})},function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.data},,,function(e,t,n){"use strict";var a=n(4),i=n.n(a);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=i.a.createElement("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),l=i.a.createElement("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),c=i.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),s=i.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}),u=function(e){return i.a.createElement("svg",r({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),o,l,c,s)};function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=i.a.createElement("path",{d:"M17 9.4H3c-.4 0-.8-.3-.8-.8s.4-.7.8-.7h14c.4 0 .8.3.8.8s-.4.7-.8.7zm.8 1.9c0-.4-.3-.8-.8-.8H3c-.4 0-.8.3-.8.8s.3.8.8.8h14c.4 0 .8-.4.8-.8zm.4-9.8H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3V1.8c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8C.8 6 0 5.2 0 4.2V1.8C0 .8.8 0 1.8 0h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6zm.6 12.5H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3v-2.3c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8c-1 0-1.8-.8-1.8-1.8v-2.3c0-1 .8-1.8 1.8-1.8h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6z"}),m=function(e){return i.a.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg"},e),p)};function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=i.a.createElement("path",{d:"M0 2.7C0 1.6.3 0 2.4 0c.3 0 .6.3.6.6s-.3.6-.6.6c-.6-.1-1.1.3-1.1.8H2c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1H1c-.6 0-1-.4-1-1V2.7zm4.4 0c0-1.1.3-2.7 2.4-2.7.3 0 .6.3.6.6s-.3.6-.6.6c-.7-.1-1.2.3-1.2.8h.7c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1h-1c-.6 0-1-.4-1-1V2.7zm11.2 14.6c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9h-.7c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm4.4 0c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9H18c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm0-10c0-.4-.3-.8-.8-.8H.8c-.4.1-.8.4-.8.8s.3.8.8.8h18.5c.4 0 .7-.3.7-.8zm0 2.7c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.4-.8.8s.3.8.8.8h18.5c.4-.1.7-.4.7-.8zm0 2.6c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h18.5c.4 0 .7-.4.7-.8z"}),f=function(e){return i.a.createElement("svg",g({xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=i.a.createElement("path",{d:"M4.4 1.5v2.9H1.5V1.5h2.9M5 0H.9C.4 0 0 .4 0 .9V5c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V.9C5.9.4 5.5 0 5 0zm3.3 4.8h11c.4 0 .7-.4.7-.8s-.3-.8-.8-.8h-11c-.3.1-.7.4-.7.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m-3.9 6v2.9H1.5V8.6h2.9M5 7.1H.9c-.5 0-.9.4-.9.9v4c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V8c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m0-2.3h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8m-3.9 6v2.9H1.5v-2.9h2.9m.6-1.5H.9c-.5 0-.9.4-.9.9v4.1c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V15c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8"}),y=function(e){return i.a.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg"},e),v)};function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var w=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v5.3C0 8.2.8 9 1.8 9H7v2.7c-.1-.2-.2-.4-.3-.5-.3-.5-.7-.9-1.3-1.1-.5-.2-1.1-.1-1.6.2-1.1.6-1.5 1.9-.9 2.9l1.3 2.4c.1.1.1.2.2.3.9 1.6 2.3 4 6.5 4 4.1 0 6-3.6 6-7v-3c0-.4-.1-.7-.2-1h1.5c1 0 1.8-.8 1.8-1.8V1.8c0-1-.8-1.8-1.8-1.8zm-2.8 13c0 2-1 5.5-4.5 5.5-3.3 0-4.3-1.7-5.2-3.3-.1-.1-.1-.2-.2-.3l-1.3-2.4c-.1-.2-.1-.3 0-.5s.2-.3.3-.4c.2-.1.3-.1.5 0s.3.2.4.3c.1.2.3.7.5.9.4.5 1 .8 1.6.6.6-.2 1-.8 1-1.5V5.1c0-.4.3-.7.7-.7s.7.3.7.7v5.7c0 .4.3.8.8.8s.8-.3.8-.8V8.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7v2.3c0 .4.3.8.8.8s.8-.3.8-.8V9.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7V13zm3.1-5.8c0 .2-.1.3-.3.3h-4.7c-.4-.4-.9-.6-1.5-.6-.2 0-.4 0-.6.1V5.1c0-1.2-1-2.2-2.2-2.2S7 3.9 7 5.1v2.4H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v5.4z"}),_=function(e){return i.a.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg"},e),w)};function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var k=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zm.3 18.2c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v16.4zm-1.6-5c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h12.3c.3 0 .7.4.7.8zm0 2.6c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.4-.8.8-.8h12.3c.3 0 .7.4.7.8zM5 10h10c.2 0 .4-.1.5-.2s.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5s-.3-.3-.5-.3H5c-.2 0-.4.1-.5.2s-.2.3-.2.5v5c0 .2.1.4.2.5s.3.3.5.3zm.8-5h8.5v3.5H5.8V5z"}),C=function(e){return i.a.createElement("svg",j({xmlns:"http://www.w3.org/2000/svg"},e),k)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 18.5c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h7.4v17H1.8zm16.4 0h-7.4v-17h7.3c.2 0 .3.1.3.3v16.4h.1c0 .2-.1.3-.3.3z"}),S=function(e){return i.a.createElement("svg",x({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),B=function(e){return i.a.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=i.a.createElement("path",{d:"M18.5 2.9h-17C.7 2.9 0 3.6 0 4.4v11.1c0 .9.7 1.5 1.5 1.5h16.9c.9 0 1.5-.7 1.5-1.5V4.4c.1-.8-.6-1.5-1.4-1.5zm0 12.7h-7.1c.2-.3.3-.7.4-1.2 0-.3-.1-.6-.2-.9-.3-.5-.8-.9-1.4-1.1.3-.3.7-.8 1-1.2.2-.2.3-.4.4-.6.2-.5.1-.8-.3-1.1-.1-.1-.2-.1-.4-.1h-3c-.1 0-.3.1-.4.1-.2.3-.3.5-.3.7 0 .3.3.6.6.6h2c-.5.6-1.2 1.3-1.4 1.5-.3.3-.4.7-.1 1l.2.2c.1.1.3.1.4.1 1 .1 1.4.3 1.5 1-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7 0 .1.1.4.3.7H1.5V4.4h8.6c-.3.4-.7.8-1 1.1H9c-.6.6-1.2 1.2-1.7 1.6-.2.1-.3.3-.4.4V8c.1.2.2.4.4.5.2.1.4.2.6.2h3.2c.3 0 .6-.3.6-.6s-.3-.6-.6-.6H8.9c.4-.3.7-.7 1.1-1 .5-.5 1.1-1.1 1.4-1.6.1-.1.1-.3.2-.4H16c.1.1.1.3.2.5-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7.1.2.5 1.7 2.3 1.7 1.5 0 2.4-.9 2.5-2.2v-.5h1.1v11.2zM5.9 13c0 .3-.3.6-.6.6H3.6c-.4 0-.6-.3-.6-.6s.3-.6.6-.6h.2V8.2l-.3.1c-.1.1-.3.1-.5.1s-.3-.1-.4-.3v-.5c0-.2.1-.3.3-.4l1.2-.7c.3-.1.7 0 .9.3v5.6h.2c.4-.1.7.2.7.6zm11.2-1h-.3V8.4c0-.3-.3-.6-.6-.6-.2 0-.4.1-.5.3l-3.3 4.2c-.1.1-.2.3-.1.5 0 .2.1.3.2.4.1.1.2.1.4.1h2.7v1.1c0 .3.3.6.6.6s.6-.3.6-.6v-1.1h.3c.3 0 .6-.3.6-.6.1-.4-.2-.7-.6-.7zm-1.5 0h-1.4l1.4-1.8V12z"}),M=function(e){return i.a.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=i.a.createElement("path",{d:"M16.1 8.5c0-1.4-1-2.5-2.2-2.9V1.5c0-.3-.1-.5-.3-.6-.2-.1-.5-.2-.7-.1L4.5 4.6H.8c-.5 0-.8.3-.8.8v6.3c0 .4.3.8.8.8h1.1v5.7c0 .4.3.8.8.8h2.1c.4 0 .8-.3.8-.8V13l7.4 3.4c.1 0 .2.1.3.1.1 0 .3 0 .4-.1.2-.1.3-.4.3-.6v-4.2c1.2-.5 2.1-1.7 2.1-3.1zM1.5 6.1h2.4v4.8H1.5V6.1zm1.8 11.3v-4.9h.6v4.9h-.6zm9.1-3l-6.9-3.2V5.8l6.9-3.2v11.8zm1.5-4.3V7c.6.3 1 .9 1 1.5 0 .7-.4 1.3-1 1.6zM20 8.5c0 .3-.3.6-.6.6h-1.5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h1.5c.3 0 .6.3.6.6zm-2.2 4.4c.2.2.2.6 0 .9-.1.1-.3.2-.4.2-.2 0-.3-.1-.4-.2l-1.1-1.1c-.2-.2-.2-.6 0-.9.2-.2.6-.2.9 0l1 1.1zm-2-7.7c-.2-.2-.2-.6 0-.9l1.1-1.1c.2-.2.6-.2.9 0 .2.2.2.6 0 .9l-1.1 1.1c-.1.1-.3.2-.4.2-.2 0-.4 0-.5-.2z"}),F=function(e){return i.a.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg"},e),D)};function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var z=i.a.createElement("path",{d:"M.8 10.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h18.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8"}),H=function(e){return i.a.createElement("svg",I({xmlns:"http://www.w3.org/2000/svg"},e),z)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=i.a.createElement("path",{d:"M2.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1s-1-.5-1-1c0-.6.5-1 1-1m0-1.5C1.1 7.5 0 8.6 0 10s1.1 2.5 2.5 2.5S5 11.4 5 10c.1-1.4-1.1-2.5-2.5-2.5zM10 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1 0-.6.4-1 1-1m0-1.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zM17.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1-.1-.6.4-1 1-1m0-1.5C16.1 7.5 15 8.6 15 10s1.1 2.5 2.5 2.5S20 11.4 20 10s-1.1-2.5-2.5-2.5z"}),W=function(e){return i.a.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg"},e),U)};function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var V=i.a.createElement("path",{d:"M18.6 0H12c-.8 0-1.4.6-1.4 1.4v8.3c0 .8.6 1.4 1.4 1.4h6.6c.8 0 1.4-.6 1.4-1.4V1.4c0-.8-.6-1.4-1.4-1.4zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2h-6.4c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5s2.4.6 2.9 1.4c.2.2.3.5.3.8zm-5.3-6.1c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6c.5.1.8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zM8 0H1.4C.6 0 0 .6 0 1.4v8.3c0 .8.6 1.4 1.4 1.4H8c.8 0 1.4-.6 1.4-1.4V1.4C9.4.6 8.8 0 8 0zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2H1.5c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5 1.3-.1 2.5.5 3 1.4.1.2.2.5.2.8zM2.6 3.6c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.3 0-.6-.3-.6-.8 0-.4.3-.8.8-.8h6c.3.1.6.4.6.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8z"}),q=function(e){return i.a.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg"},e),V)};function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h6.1v9.6c-.8-.8-2-1.3-3.2-1.3-1.2 0-2.4.5-3.2 1.3V1.8c0-.2.1-.3.3-.3zm-.3 16.7v-3.6c0-.9.4-1.7.9-2.3.6-.6 1.4-.9 2.3-.9.9 0 1.7.4 2.3.9.6.6.9 1.4.9 2.3v4H1.8c-.2-.1-.3-.2-.3-.4zm17 0c0 .2-.1.3-.3.3H9.4v-17h8.7c.2 0 .3.1.3.3v16.4zM2.6 6.8c0-.6.5-1 1-1s1 .5 1 1-.5 1-1 1-1-.5-1-1zM17 8.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 7.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5.1.8.4.8.8z"}),X=function(e){return i.a.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg"},e),Y)};function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var J=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.1 0 .2.1.2.1s.1.1.1.2v1.7h-17V1.8c.1-.2.2-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3V4.5h17v13.6c0 .3-.1.4-.3.4zM16.3 5.8H3.7c-.2 0-.4 0-.5.2-.1.1-.2.3-.2.5v5c0 .2.1.4.2.5.1.1.3.2.5.2h12.5c.2 0 .4-.1.5-.2.1-.1.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5 0-.2-.2-.2-.4-.2zM4.5 10.7V7.3h11v3.5h-11zM14 9c0 .4-.3.7-.7.7H6.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7h6.5c.5-.1.8.3.8.7zM2.7 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),Z=function(e){return i.a.createElement("svg",$({xmlns:"http://www.w3.org/2000/svg"},e),J)};function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ee=i.a.createElement("path",{d:"M15.3 1.1c-.7 0-1.4.5-1.4 1.4v6.3H6.1V2.5c0-.7-.5-1.4-1.4-1.4-.7 0-1.4.5-1.4 1.4v14.9c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4v-6.3h7.7v6.3c0 .9.7 1.4 1.4 1.4s1.4-.5 1.4-1.4V2.5c.1-.7-.4-1.4-1.3-1.4z"}),te=function(e){return i.a.createElement("svg",Q({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ee)};function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ae=i.a.createElement("path",{d:"M19.6 8.9c.7-.7.4-1.9-.6-2.1l-4.9-.7c-.3-.1-.6-.3-.8-.6l-2.2-4.4C10.7.2 9.4.2 9 1.1L6.7 5.5c-.1.4-.4.6-.8.6L1 6.8C0 7-.3 8.2.4 8.9l3.5 3.5c.3.2.4.6.3.9l-.8 4.9c-.2 1 .9 1.7 1.7 1.3l4.4-2.3c.3-.2.7-.2 1 0l4.4 2.3c.9.5 1.9-.3 1.7-1.3l-.8-4.9c-.1-.3.1-.7.3-.9zm-5.4 3.8l.8 4.7c0 .2-.2.4-.4.3l-4.2-2.2c-.3-.1-.6-.1-.9 0l-4.2 2.2c-.1.1-.3-.1-.3-.3l.8-4.6c.1-.3 0-.6-.3-.8L2.1 8.7c-.1-.2 0-.5.2-.5L7 7.5c.3 0 .6-.2.7-.5l2.1-4.2c.1-.2.4-.2.5 0l2 4.2c.1.3.4.5.7.5l4.6.7c.2 0 .3.3.2.5L14.4 12c-.2.2-.2.4-.2.7z"}),ie=function(e){return i.a.createElement("svg",ne({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ae)};function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=i.a.createElement("path",{d:"M19.3 4.3H8.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h10.4c.4 0 .8.3.8.8s-.3.8-.7.8zM2.9 5.7l3.2-3.2c.3-.3.3-.8 0-1.1s-.8-.3-1.1 0L2.4 4.1 1.3 3C1 2.7.5 2.7.2 3c-.3.3-.3.8 0 1.1l1.6 1.6c.2.1.4.2.6.2.2 0 .4-.1.5-.2zM20 9.9c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5 0 .8-.4.8-.8zM2.9 12l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1-1C1 9.1.5 9.1.2 9.4c-.3.3-.3.8 0 1.1L1.8 12c.1.1.3.2.5.2.3.1.5 0 .6-.2zM20 16.3c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5-.1.8-.4.8-.8zM2.9 18.4l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1.1-1.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1l1.6 1.6c.1.1.3.2.5.2.4 0 .6 0 .7-.2z"}),le=function(e){return i.a.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg"},e),oe)};function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var se=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-4.7 6.1-1.9-2.6c-.3-.3-.6-.4-1-.4s-.7.2-.9.5l-3.3 4.3V1.8c0-.2.1-.3.3-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-1.3c.1 0 .1-.1.2-.2l4.1-5.4 2.1 2.8c.2.2.5.4.7.4.3 0 .6-.1.7-.4l4.9-6.4 4.1 5.4c0 .1.1.1.2.2v4.8c0 .3-.2.4-.3.4zM7.2 7.8c1.3 0 2.3-1 2.3-2.3s-1-2.3-2.3-2.3-2.3 1-2.3 2.3 1 2.3 2.3 2.3zm0-3.2c.4 0 .8.4.8.8 0 .5-.4.8-.8.8-.5 0-.8-.4-.8-.8-.1-.4.3-.8.8-.8z"}),ue=function(e){return i.a.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg"},e),se)};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pe=i.a.createElement("path",{d:"M10 2.2l8.3 15.7H1.7L10 2.2m0-1.8c-.4 0-.8.2-1.1.6L.1 17.7c-.4.8.2 1.7 1.1 1.7h17.6c.9 0 1.5-.9 1.1-1.7L11.1 1c-.2-.4-.7-.6-1.1-.6zm-.7 7.2v4.6c0 .4.3.7.7.7s.7-.3.7-.7V7.6c0-.4-.3-.7-.7-.7s-.7.3-.7.7m.7 6.8c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z"}),me=function(e){return i.a.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg"},e),pe)};function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=i.a.createElement("path",{d:"M18.2 1.5c.2 0 .3.1.3.3v16.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.4m0-1.5H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.4 6.7l1-.6v8.3h-.7c-.4 0-.7.3-.7.8s.3.7.7.7h2.9c.4 0 .8-.3.8-.7s-.4-.8-.8-.8h-.7V4.8c0-.1 0-.3-.1-.4-.2-.3-.7-.4-1-.2L3.6 5.4c-.4.2-.5.7-.3 1 .3.4.7.5 1.1.3zm5.6.1h5.7c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H10c-.4.1-.7.4-.7.8s.3.8.7.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.7h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8"}),fe=function(e){return i.a.createElement("svg",ge({xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=i.a.createElement("path",{d:"M19.8.2c-.3-.3-.7-.3-1 0l-1.1 1.1c-.2-.1-.4-.1-.6-.1l-5-.1H12c-.7 0-1.4.3-1.9.8L.7 11.3c-.9.9-.9 2.4 0 3.3l4.8 4.8c.5.4 1.1.6 1.7.6.6 0 1.2-.2 1.7-.7l9.4-9.4c.5-.5.8-1.3.8-2l-.1-5c0-.2 0-.4-.1-.6L20 1.2c.1-.2.1-.7-.2-1zm-4.6 5.9c0 .3-.1.6-.4.9-.2.2-.6.4-.9.4-.3 0-.6-.1-.9-.4-.2-.2-.4-.6-.4-.9 0-.3.1-.6.4-.9.2-.2.6-.4.9-.4h.2l-.5.5c-.3.3-.3.7 0 1 .3.3.7.3 1 0l.5-.5c.1.1.1.2.1.3zM17.6 8c0 .3-.1.7-.4.9l-9.4 9.4c-.2.2-.4.3-.6.3-.2 0-.5-.1-.6-.3l-4.8-4.8c-.2-.2-.3-.4-.3-.6 0-.2.1-.5.3-.6l9.4-9.4c.2-.2.6-.4.9-.4l4.4.1-1.1 1.1c-.4-.2-.9-.3-1.3-.3a2.732 2.732 0 00-2.7 2.7 2.732 2.732 0 002.7 2.7 2.732 2.732 0 002.7-2.7c0-.5-.1-.9-.3-1.3l1.1-1.1V8zm-6.1 1.4l-.5.5c.5.7.6 1.5.6 1.6.1.4-.2.8-.6.8-.4.1-.8-.2-.8-.6 0-.2-.2-.8-.5-1.1-.3-.3-.8-.5-1.1-.2-.2.2 0 .8.2 1.3 0 .1.1.2.1.2.3.6.9 1.8-.3 2.9-.3.3-.7.4-1.2.4-.4 0-.7-.1-1.1-.3-.1-.1-.2-.1-.3-.2l-.5.5c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.2-.2-.2-.5 0-.7l.5-.5c-.4-.5-.8-1.3-.7-2.2 0-.4.4-.7.8-.7s.7.4.7.8c-.1.9.5 1.5.9 1.7.3.1.5.2.7.1.3-.2.3-.4 0-1.1 0-.1-.1-.2-.1-.3-.3-.6-.9-2 .1-3 .8-.8 1.9-.7 2.7-.1l.5-.5c.2-.2.5-.2.7 0 0 .2 0 .5-.2.7z"}),ye=function(e){return i.a.createElement("svg",he({xmlns:"http://www.w3.org/2000/svg"},e),ve)};function Oe(){return(Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var we=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v7.1c-.8.7-2.2 2.1-4.1 2.1-3.1 0-4.8-3.6-8.1-3.6-1.9 0-3.7 1.3-4.6 2.1V1.8zm17 16.3c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V12c.9-.9 2.7-2.7 4.5-2.7 2.7 0 4.3 3.4 8.3 3.4 1.9 0 3.4-1 4.1-1.6v7z"}),_e=function(e){return i.a.createElement("svg",Oe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),we)};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ke=i.a.createElement("path",{d:"M1.6.8c0-.5.3-.8.7-.8h16c.4 0 .8.3.8.8s-.3.8-.8.8h-16c-.4-.1-.7-.4-.7-.8zm16.7 17.7h-16c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h16c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM13.2 6.7c.3.3.8.3 1.1 0 .3-.3.3-.8 0-1.1l-3.4-3.4c-.3-.3-.8-.3-1.1 0L6.4 5.6c-.3.3-.3.8 0 1.1.1.1.3.2.5.2s.4-.1.5-.2l2.1-2.1v11l-2.1-2.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1L9.7 18c.1.1.3.2.5.2s.4-.1.5-.2l3.4-3.4c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.1 2.1v-11l2.3 2.1z"}),Ce=function(e){return i.a.createElement("svg",je({xmlns:"http://www.w3.org/2000/svg"},e),ke)};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=i.a.createElement("path",{d:"M8.6 12.1c.4-.5.6-1.2.6-1.9V8c0-1.9-1.5-3.4-3.4-3.4S2.4 6.1 2.4 8v2.1c0 .7.2 1.4.6 1.9-1.7.3-3 1.9-3 3.7V17c0 1.2.9 2.1 2.1 2.1h7.4c1.2 0 2.1-.9 2.1-2.1v-1.2c.1-1.9-1.3-3.4-3-3.7zm-2.8-6c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.2-.2-.5-.5-.9-.5s-.8.3-1 .5c.1-.8.9-1.6 1.8-1.6zM4 8.9c.2-.1.5-.2.8-.5.1-.1.2-.1.2-.1s.1 0 .2.2c.6.5 1.1.7 1.6.7.3 0 .6-.1.9-.2v1.1c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V8.9zm2.8 4.6c-.2.9-.6 1.4-1 1.4-.3 0-.7-.5-1-1.4h2zm3.3 3.5c0 .3-.3.6-.6.6H2.1c-.3 0-.6-.3-.6-.6v-1.2c0-1.2 1-2.2 2.2-2.2h.1c.3 1.4 1.1 2.4 2 2.4s1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2V17zM17 8.3c.4-.5.6-1.2.6-1.9V4.3c0-1.9-1.5-3.4-3.4-3.4s-3.4 1.5-3.4 3.4v2.1c0 .7.2 1.4.6 1.9-.4.1-.8.2-1.1.4v1.4c0 .3 0 .5-.1.8.4-.7 1.1-1.1 1.9-1.1h.1c.3 1.4 1.1 2.4 2 2.4.9 0 1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2v1.2c0 .3-.3.6-.6.6h-5.4c.2.5.3 1 .4 1.5h5c1.2 0 2.1-.9 2.1-2.1V12c0-1.8-1.3-3.3-3-3.7zm-2.8-5.9c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.7-.7-1.3-.6-1.9 0 0-.9.8-1.6 1.8-1.6zm0 8.8c-.3 0-.7-.5-1-1.4h1.9c-.2.8-.6 1.4-.9 1.4zM16 6.4c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V5.2c.3-.1.6-.2.8-.5.2-.2.3-.2.3-.2s.1 0 .2.2c.6.6 1.1.8 1.6.8.3 0 .6-.1.9-.2v1.1z"}),Se=function(e){return i.a.createElement("svg",xe({xmlns:"http://www.w3.org/2000/svg"},e),Ee)};function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=i.a.createElement("path",{d:"M4 20c-.1 0-.2 0-.3-.1-.3-.1-.5-.4-.5-.7v-2.9H1.9c-1 0-1.9-.8-1.9-1.9V1.9C0 .8.8 0 1.9 0h16.2c1 0 1.9.8 1.9 1.9v12.6c0 1-.8 1.9-1.9 1.9H7.9l-3.4 3.4c-.1.1-.3.2-.5.2zM1.9 1.5c-.2 0-.4.2-.4.4v12.6c0 .2.2.4.4.4H4c.4 0 .8.3.8.8v1.8l2.3-2.3c.1-.1.3-.2.5-.2h10.5c.2 0 .4-.2.4-.4V1.9c0-.2-.2-.4-.4-.4H1.9zM7.2 13c-.1 0-.3 0-.4-.1-.2-.1-.3-.4-.2-.6L7 9.5l-2-2c-.2-.2-.2-.4-.2-.7.1-.2.3-.4.5-.4L8.1 6l1.3-2.5c.1-.3.3-.4.6-.4.2 0 .5.1.6.3L11.8 6l2.8.4c.2 0 .4.2.5.4.1.2 0 .5-.2.6l-2 2 .5 2.8c0 .2-.1.5-.2.6-.2.1-.4.2-.7 0L10 11.6l-2.5 1.3c-.1.1-.2.1-.3.1zm2.8-2.7c.1 0 .2 0 .3.1l1.7.9-.3-1.9c0-.2 0-.4.2-.6l1.4-1.3-1.9-.3c-.2 0-.4-.2-.5-.3L10 5.1l-.9 1.7c-.1.2-.2.4-.5.4l-1.8.3 1.4 1.3c.1.1.2.4.2.6L8 11.2l1.7-.9h.3z"}),Be=function(e){return i.a.createElement("svg",Ae({xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Pe(){return(Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ne=i.a.createElement("path",{d:"M17.1 1.1H7.4C4.4 1.1 2 3.5 2 6.5c0 3 2.4 5.4 5.4 5.4.4 0 .7 0 .9-.1v6.3c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.4v15.4c0 .5.5.8.9.8s.9-.3.9-.8V2.7h2.6c.5 0 .8-.4.8-.8.2-.4-.1-.8-.6-.8zM8.4 10c-.2.1-.5.2-.9.2-2.1 0-3.8-1.7-3.8-3.8s1.7-3.8 3.8-3.8c.4 0 .7.1.9.2V10z"}),Me=function(e){return i.a.createElement("svg",Pe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ne)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var De=i.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V13h-17V1.8c.1-.2.3-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-3.7h17v3.7c0 .2-.1.3-.3.3zm-11-7.2c.2.1.5.1.8 0L13.5 8c.2-.1.4-.4.4-.6 0-.3-.1-.5-.4-.6L7.9 3.4c-.2-.1-.5-.1-.8 0-.2.1-.3.3-.3.6v6.6c0 .3.1.5.4.7zm1.1-6l3.4 2-3.4 2v-4zm9 11.2c0 .4-.3.8-.8.8H3.4c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h13.2c.4 0 .7.3.7.8z"}),Fe=function(e){return i.a.createElement("svg",Re({xmlns:"http://www.w3.org/2000/svg"},e),De)};function Ie(){return(Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ze=i.a.createElement("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}),He=function(e){return i.a.createElement("svg",Ie({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ze)},Le=n(6),Ue=n(19);n.d(t,"v",function(){return Ge}),n.d(t,"w",function(){return Ve}),n.d(t,"z",function(){return qe}),n.d(t,"a",function(){return Ke}),n.d(t,"b",function(){return Ye}),n.d(t,"c",function(){return Xe}),n.d(t,"d",function(){return $e}),n.d(t,"f",function(){return Je}),n.d(t,"g",function(){return Ze}),n.d(t,"h",function(){return Qe}),n.d(t,"i",function(){return et}),n.d(t,"e",function(){return tt}),n.d(t,"j",function(){return nt}),n.d(t,"k",function(){return at}),n.d(t,"l",function(){return it}),n.d(t,"m",function(){return rt}),n.d(t,"n",function(){return ot}),n.d(t,"o",function(){return lt}),n.d(t,"p",function(){return ct}),n.d(t,"q",function(){return st}),n.d(t,"r",function(){return ut}),n.d(t,"s",function(){return bt}),n.d(t,"t",function(){return pt}),n.d(t,"u",function(){return mt}),n.d(t,"x",function(){return gt}),n.d(t,"y",function(){return dt}),n.d(t,"A",function(){return ft}),n.d(t,"B",function(){return ht}),n.d(t,"C",function(){return vt}),n.d(t,"E",function(){return yt}),n.d(t,"D",function(){return Ot});var We=function(e){return Object(Le.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(Ue.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(Le.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"stackable-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});var Ge=function(){return We(wp.element.createElement(u,{width:"20",height:"20",className:"components-panel__icon"}))},Ve=function(){return wp.element.createElement(u,{width:"20",height:"20"})},qe=function(){return We(wp.element.createElement(u,{width:"20",height:"20"}))},Ke=function(){return We(wp.element.createElement(m,{width:"20",height:"20"}))},Ye=function(){return We(wp.element.createElement(f,{width:"20",height:"20"}))},Xe=function(){return We(wp.element.createElement(y,{width:"20",height:"20"}))},$e=function(){return We(wp.element.createElement(_,{width:"20",height:"20"}))},Je=function(){return We(wp.element.createElement(C,{width:"20",height:"20"}))},Ze=function(){return We(wp.element.createElement(S,{width:"20",height:"20"}))},Qe=function(){return We(wp.element.createElement(B,{width:"20",height:"20"}))},et=function(){return We(wp.element.createElement(M,{width:"20",height:"20"}))},tt=function(){return We(wp.element.createElement(F,{width:"20",height:"20"}))},nt=function(){return We(wp.element.createElement(H,{width:"20",height:"20"}))},at=function(){return We(wp.element.createElement(W,{width:"20",height:"20"}))},it=function(){return We(wp.element.createElement(q,{width:"20",height:"20"}))},rt=function(){return We(wp.element.createElement(X,{width:"20",height:"20"}))},ot=function(){return We(wp.element.createElement(Z,{width:"20",height:"20"}))},lt=function(){return We(wp.element.createElement(te,{width:"20",height:"20"}))},ct=function(){return We(wp.element.createElement(ie,{width:"20",height:"20"}))},st=function(){return We(wp.element.createElement(le,{width:"20",height:"20"}))},ut=function(){return We(wp.element.createElement(ue,{width:"20",height:"20"}))},bt=function(){return We(wp.element.createElement(me,{width:"20",height:"20"}))},pt=function(){return We(wp.element.createElement(fe,{width:"20",height:"20"}))},mt=function(){return We(wp.element.createElement(ye,{width:"20",height:"20"}))},gt=function(){return We(wp.element.createElement(_e,{width:"20",height:"20"}))},dt=function(){return We(wp.element.createElement(Ce,{width:"20",height:"20"}))},ft=function(){return We(wp.element.createElement(Se,{width:"20",height:"20"}))},ht=function(){return We(wp.element.createElement(Be,{width:"20",height:"20"}))},vt=function(){return We(wp.element.createElement(Me,{width:"20",height:"20"}))},yt=function(){return We(wp.element.createElement(Fe,{width:"20",height:"20"}))},Ot=function(){return We(wp.element.createElement(He,{width:"20",height:"20"}))}},function(e,t){e.exports=wp.blocks},,,,function(e,t,n){"use strict";var a=n(3),i=n(18),r=n.n(i),o=n(0),l=n(6),c=n(8),s=n.n(c),u=n(1),b=n(7);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){var t,n=e.className,i=void 0===n?"":n,r=e.align,o=void 0===r?"center":r,l=e.size,c=void 0===l?"normal":l,u=e.url,m=void 0===u?"":u,g=e.icon,d=void 0===g?null:g,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,O=e.design,w=void 0===O?"basic":O,_=e.newTab,j=void 0!==_&&_,k={borderRadius:"link"===w?void 0:"plain"===w?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===w?v:void 0,color:"ghost"===w?v:"plain"===w?v:"link"===w?void 0:f};k.backgroundColor="ghost"===w?void 0:k.backgroundColor,k.backgroundColor="plain"===w?void 0:k.backgroundColor,k.backgroundColor="link"===w?void 0:k.backgroundColor;var C=s()([i,"ugb-button","ugb-button--align-".concat(o),"ugb-button--size-".concat(c)],(p(t={},"ugb-button--design-".concat(w),"basic"!==w),p(t,"ugb-button--has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:C,href:m,style:k,target:j?"_blank":void 0,rel:j?"noopener noreferrer":void 0},d&&"link"!==w&&wp.element.createElement(a.nb.Content,{value:d,style:{color:"ghost"===w?v:"plain"===w?v:f}}),wp.element.createElement(b.RichText.Content,{tagName:"span",className:"link"===w?"":"ugb-button--inner",style:{color:"ghost"===w?v:"plain"===w?v:"link"===w?void 0:f},value:h})))},g=n(9);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=function(e){var t=e.setAttributes,n=function(t){return Object(g.camelCase)(Object(o.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[n(t)];return 0===i?i:i||a};return wp.element.createElement(S,d({design:a("Design",e.designDefault),size:a("Size","normal"),text:a("Text",""),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),icon:a("Icon"),iconPosition:a("IconPosition"),onChange:function(e){return t(f({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(f({},n("Url"),e))},onChangeNewTab:function(e){return t(f({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(f({},n("NoFollow"),e))},onChangeIcon:function(e){return t(f({},n("Icon"),e))},isSelected:e.isSelected},e))};h.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(h.Content=function(e){var t=function(t){return Object(g.camelCase)(Object(o.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=e.blockAttributes[t(n)];return 0===i?i:i||a};return wp.element.createElement(S.Content,d({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var v=h;function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function w(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"b",function(){return m}),n.d(t,"a",function(){return v});var x=1,E=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,a=_(t).apply(this,arguments),e=!a||"object"!==O(a)&&"function"!=typeof a?j(n):a,C(j(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=x++,e.onButtonClickHandler=e.onButtonClickHandler.bind(j(e)),e.outsideClickHandler=e.outsideClickHandler.bind(j(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(j(e)),e}var n,i,r;return 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&&k(e,t)}(t,l["Component"]),n=t,(i=[{key:"onButtonClickHandler",value:function(e){if(this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button"));else if(e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-url-input-popover")||e.target.closest(".ugb-icon-popover")||e.target.closest(".components-popover"))return;this.state.openPopup||document.body.addEventListener("click",this.outsideClickHandler),this.setState({openPopup:!0})}},{key:"outsideClickHandler",value:function(e){e.target.closest(".ugb-button-container-".concat(this.buttonInstanceId))||e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")?this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-svg-icon-placeholder__button")&&this.hideUrlPopup():this.hideUrlPopup()}},{key:"onKeyPressHandler",value:function(e){e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")||this.hideUrlPopup()}},{key:"render",value:function(){var e,t=this.props,n=t.iconButton,i=t.className,r=void 0===i?"":i,c=t.size,p=void 0===c?"normal":c,m=t.text,g=void 0===m?"":m,d=t.onChange,f=void 0===d?function(){}:d,h=t.design,v=void 0===h?"basic":h,y=t.shadow,O=void 0===y?0:y,w=t.iconPosition,_=void 0===w?"":w,j=t.hoverEffect,k=void 0===j?"":j,x=t.ghostToNormalEffect,E=void 0!==x&&x,S=t.url,A=void 0===S?"":S,T=t.newTab,B=void 0===T?"":T,P=t.noFollow,N=void 0===P?"":P,M=t.onChangeUrl,R=void 0===M?null:M,D=t.onChangeNewTab,F=void 0===D?null:D,I=t.onChangeNoFollow,z=void 0===I?null:I,H=t.onChangeIcon,L=void 0===H?null:H,U=t.icon,W=void 0===U?null:U,G=t.isSelected,V=void 0===G?null:G,q=s()([r,"ugb-button","ugb-button--size-".concat(p)],(C(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":E},"ugb--hover-effect-".concat(k),"link"!==v&&k),C(e,"ugb--shadow-".concat(O),"basic"===v&&O),C(e,"ugb-button--design-".concat(v),"basic"!==v),C(e,"ugb-button--has-icon",W),C(e,"ugb-button--icon-position-".concat(_),_),e)),K=s()(["ugb-button-container","ugb-button-container-".concat(this.buttonInstanceId),this.props.containerClassName]),Y=(null===V||V)&&this.state.openPopup;return wp.element.createElement("div",{className:K,onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:q},W&&"link"!==v&&wp.element.createElement(l.Fragment,null,!L&&wp.element.createElement(a.nb,{value:W}),L&&wp.element.createElement(a.pb,{value:W,onChange:L,isOpen:n?Y:null})),!n&&wp.element.createElement(b.RichText,{tagName:"span",className:"link"===v?"":"ugb-button--inner",placeholder:Object(o.__)("Button text",u.i18n),value:g,onChange:f,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),Y&&wp.element.createElement(a.tb,{value:A,onChange:R,newTab:B,noFollow:N,onChangeNewTab:F,onChangeNoFollow:z,disableSuggestions:this.props.disableSuggestions})))}}])&&w(n.prototype,i),r&&w(n,r),t}();E.defaultProps={iconButton:!1,disableSuggestions:!1,containerClassName:"",className:"",size:"normal",text:"",onChange:function(){},design:"basic",shadow:0,iconPosition:"",hoverEffect:"",ghostToNormalEffect:!1,url:"",newTab:"",noFollow:"",onChangeUrl:null,onChangeNewTab:null,onChangeNoFollow:null,onChangeIcon:null,icon:null,isSelected:null},E.Content=function(e){var t,n=e.iconButton,i=e.className,o=void 0===i?"":i,l=e.size,c=void 0===l?"normal":l,u=e.url,p=void 0===u?"":u,m=e.icon,g=void 0===m?null:m,d=e.text,f=void 0===d?"":d,h=e.design,v=void 0===h?"basic":h,O=e.newTab,w=void 0!==O&&O,_=e.shadow,j=void 0===_?0:_,k=e.iconPosition,x=void 0!==k&&k,E=e.hoverEffect,S=void 0===E?"":E,A=e.noFollow,T=void 0!==A&&A,B=e.ghostToNormalEffect,P=void 0!==B&&B,N=e.target,M=void 0===N?"":N,R=e.role,D=void 0===R?"":R,F=e.title,I=void 0===F?"":F,z=s()([o,"ugb-button","ugb-button--size-".concat(c)],(C(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":P},"ugb--hover-effect-".concat(S),"link"!==v&&S),C(t,"ugb--shadow-".concat(j),"basic"===v&&j),C(t,"ugb-button--design-".concat(v),"basic"!==v),C(t,"ugb-button--has-icon",g),C(t,"ugb-button--icon-position-".concat(x),x),t)),H=[];w&&(H.push("noopener"),H.push("noreferrer")),T&&H.push("nofollow");var L={};return D&&(L.role=D),wp.element.createElement("div",{className:"ugb-button-container"},(f||n)&&wp.element.createElement("a",y({className:z,href:p,target:M||w?M||"_blank":void 0,rel:e.rel||H.join(" "),title:r()(I)},L),g&&"link"!==v&&wp.element.createElement(a.nb.Content,{value:g}),!n&&wp.element.createElement(b.RichText.Content,{tagName:"span",className:"link"===v?"":"ugb-button--inner",value:f})))};var S=t.c=E},,function(e,t){e.exports=wp.apiFetch},,,,function(e,t){e.exports=wp.editPost},,,,,function(e,t,n){"use strict";n.r(t);var a=n(4),i=n.n(a);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=i.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM78.2 150.4l-10.6-10.6L110.3 97 67.6 54.2l10.6-10.6L131.5 97l-53.3 53.4z"}),l=function(e){return i.a.createElement("svg",r({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),o)};function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=i.a.createElement("path",{d:"M59.4 177.5l82.4-82.4-82.4-82.3-10.6 10.6 71.8 71.7-71.8 71.8 10.6 10.6z"}),u=function(e){return i.a.createElement("svg",c({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),s)};function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=i.a.createElement("path",{d:"M73.1 65.3L104.8 97l-31.7 31.7 10.6 10.6L126 97 83.7 54.7z"}),m=i.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),g=function(e){return i.a.createElement("svg",b({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),p,m)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=i.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM76.6 144.7l-36.5-36.5 10.6-10.6 25.9 25.9 68.8-68.8L156 65.3l-79.4 79.4z"}),h=function(e){return i.a.createElement("svg",d({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),f)};function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var y=i.a.createElement("path",{d:"M173.8 28.4L60.4 141.8 15.7 97.2 5.1 107.8 60.4 163l124-124-10.6-10.6z"}),O=function(e){return i.a.createElement("svg",v({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),y)};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _=i.a.createElement("path",{d:"M79.4 112.4L60.7 93.7l-10.6 10.6 29.3 29.3 62.3-62.3-10.6-10.6z"}),j=i.a.createElement("path",{d:"M182.3 57.5c-7.2-17-19.3-31.5-34.4-41.8C132.7 5.5 114.4-.5 94.7-.5c-13.1 0-25.6 2.7-37 7.5-17 7.2-31.5 19.2-41.7 34.4C5.7 56.5-.3 74.8-.3 94.5c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8 15.2 10.2 33.5 16.2 53.1 16.2 13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1.1-13.1-2.6-25.6-7.4-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.6-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29-8.6-12.8-13.7-28.1-13.7-44.7 0-11.1 2.2-21.6 6.3-31.1C27.1 49 37.2 36.8 50 28.1c12.8-8.6 28.1-13.7 44.7-13.7 11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7.1 11.2-2.2 21.7-6.2 31.2z"}),k=function(e){return i.a.createElement("svg",w({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),_,j)};function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var x=i.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm47.4 131.5l-10.6 10.6-36.5-36.5-36.5 36.5-10.6-10.6L86.6 97 50.1 60.5l10.6-10.6 36.5 36.5 36.5-36.5 10.6 10.6L107.8 97l36.5 36.5z"}),E=function(e){return i.a.createElement("svg",C({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),x)};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var A=i.a.createElement("path",{d:"M167.2 33.4l-10.6-10.6-61.7 61.7-61.7-61.7-10.6 10.6 61.7 61.7-61.7 61.7 10.6 10.6 61.7-61.7 61.7 61.7 10.6-10.6-61.7-61.7z"}),T=function(e){return i.a.createElement("svg",S({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),A)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=i.a.createElement("path",{d:"M134.7 70.1l-10.6-10.6-26.9 26.9-26.8-26.9-10.7 10.6L86.6 97l-26.9 26.9 10.7 10.6 26.8-26.9 26.9 26.9 10.6-10.6L107.8 97z"}),N=i.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),M=function(e){return i.a.createElement("svg",B({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),P,N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=i.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM151 104.5h-46.6v46.6h-15v-46.6H42.8v-15h46.6V42.9h15v46.6H151v15z"}),F=function(e){return i.a.createElement("svg",R({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),D)};function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var z=i.a.createElement("path",{d:"M181.9 87.6h-79.3V8.4h-15v79.2H8.4v15h79.2v79.2h15v-79.2h79.3z"}),H=function(e){return i.a.createElement("svg",I({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),z)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=i.a.createElement("path",{d:"M104.5 55.4h-15v34.1H55.4v15h34.1v34.1h15v-34.1h34.1v-15h-34.1z"}),W=i.a.createElement("path",{d:"M184.5 60c-7.2-17-19.2-31.5-34.4-41.8C135 8 116.6 2 97 2 83.9 2 71.4 4.7 60 9.5c-17.1 7.2-31.6 19.3-41.8 34.4S2 77.4 2 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.3 192 97 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4C186 134.9 192 116.6 192 97c0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2C128.9 172 113.6 177 97 177c-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C22 129 17 113.6 17 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C65 22 80.4 17 97 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29C171.9 65.1 177 80.4 177 97c0 11.1-2.2 21.6-6.3 31.1z"}),G=function(e){return i.a.createElement("svg",L({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),U,W)};function V(){return(V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var q=i.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm37.8 150.1l-37.8-19.5-37.8 19.5 6.9-41.9-30.2-29.9 42-6.4 19.1-38 19.1 38 42 6.4-30.2 29.9 6.9 41.9z"}),K=function(e){return i.a.createElement("svg",V({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),q)};function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var X=i.a.createElement("path",{d:"M95.4 6.3l29.2 58 64.2 9.9-46.2 45.7 10.5 64.1-57.7-29.8L37.6 184l10.5-64.1L2 74.2l64.2-9.9z"}),$=function(e){return i.a.createElement("svg",Y({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),X)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=i.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),Q=i.a.createElement("path",{d:"M96.9 49.3L82.2 78.5l-32.3 5 23.2 23-5.3 32.2 29.1-15 29 15-5.2-32.2 23.2-23-32.3-5z"}),ee=function(e){return i.a.createElement("svg",J({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),Z,Q)},te=n(0),ne=n(1),ae=n(2);var ie={check:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(O,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(h,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(k,{style:{fill:e}})},title:Object(te.__)("Check",ne.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(H,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(F,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(G,{style:{fill:e}})},title:Object(te.__)("Plus",ne.i18n),value:"plus"},arrow:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(u,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(l,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(g,{style:{fill:e}})},title:Object(te.__)("Arrow",ne.i18n),value:"arrow"},cross:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(T,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(E,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(M,{style:{fill:e}})},title:Object(te.__)("Cross",ne.i18n),value:"cross"},star:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement($,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(K,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ee,{style:{fill:e}})},title:Object(te.__)("Star",ne.i18n),value:"star"}},re=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},oe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ie[e]?ie[e][re(t)]():null},le=function(e,t,n){var a=re(t);if(!ie[e])return"";var i=Object(ae.qb)(ie[e][a](n),!1);return btoa(i)},ce=n(5),se=n(7),ue=n(8),be=n.n(ue);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"deprecatedIcon_2_9_1",function(){return de}),n.d(t,"deprecatedSchema_1_15_4",function(){return fe});var ge,de=(ge={},["check","plus","arrow","cross","star"].forEach(function(e){["","circle","outline"].forEach(function(t){ge["".concat(e,"-").concat(t||"default")]=Object(ae.qb)(oe(e,t))})}),ge),fe={icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li",default:""},gap:{type:"number",default:16},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},he=[{attributes:fe,save:function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.iconShape,r=n.iconColor,o=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=n.design,b=void 0===u?"":u,p=be()([t.split(" ").filter(function(e){return"ugb-icon-list"!==e}),"ugb-icon-list-wrapper"],Object(ce.applyFilters)("stackable.icon-list.mainclasses_1_15_4",{},b,e)),m=be()(["ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)],Object(ce.applyFilters)("stackable.icon-list.ulclasses_1_15_4",{},b,e)),g={"--icon":"url('data:image/svg+xml;base64,"+le(a,i,r)+"')","--icon-size":o?"".concat(o,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement("div",{className:p},Object(ce.applyFilters)("stackable.icon-list.save.output.before_1_15_4",null,b,e),wp.element.createElement(se.RichText.Content,{tagName:"ul",className:m,style:g,value:l}),Object(ce.applyFilters)("stackable.icon-list.save.output.after_1_15_4",null,b,e))},migrate:function(e){var t=function(e){return(e||"").replace(/.ugb-icon-list-wrapper .ugb-icon-list li/g,".ugb-icon-list li").replace(/.ugb-icon-list-wrapper .ugb-icon-list/g,".ugb-icon-list ul").replace(/.ugb-icon-list-wrapper/g,".ugb-icon-list")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(n,!0).forEach(function(t){me(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{columns:e.columns?e.columns:1,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled)})}},{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,i=n.iconShape,r=n.iconColor,o=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=be()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+le(a,i,r)+"')","--icon-size":o?"".concat(o,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(se.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}}];t.default=he},,function(e,t){e.exports=wp.plugins},function(e,t){e.exports=wp.richText},,,function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s});var a=n(2),i=function(e){var t=r(e);if(t){var n=o(t);l(n),c(t)}return t},r=function(e){return document.querySelector(".ugb-panel--".concat(e))},o=function(e){var t=e.closest(".ugb-inspector-panel-controls");if(!t)return null;var n=t.getAttribute("class").match(/ugb-panel-(\w+)/);if(n){var a=n[1];return document.querySelector(".ugb-tab--".concat(a))}return null},l=function(e){e&&(e.classList.contains("is-active")||e.click())},c=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}s(e)}},s=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar"),i=e.getBoundingClientRect().top+2;if(i-=t?t.getBoundingClientRect().height:0,i-=n.getBoundingClientRect().top,!Object(a.pb)()){var r=document.querySelector(".edit-post-sidebar-header");i-=r?r.getBoundingClientRect().height-1:0}document.querySelector(".edit-post-sidebar").scrollTop+=i}},,,,,,function(e,t){e.exports=wp.codeEditor},function(e,t){e.exports="dist/videos/help/alignment-image.mp4"},function(e,t){e.exports="dist/videos/help/spacing-image.mp4"},function(e,t){e.exports=wp.api},,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(12),i=n(32),r=Object(a.createHigherOrderComponent)(function(e){return function(t){var n=t.attributes,a=n.icon,r=n.iconShape;return(a&&!a.match(/^</)||r)&&(t.attributes.icon=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=i.deprecatedIcon_2_9_1["".concat(e,"-").concat(t||"default")]||i.deprecatedIcon_2_9_1["check-".concat(t||"default")];return n||e}(a,r),t.attributes.iconShape=void 0),wp.element.createElement(e,t)}},"withTransformOldIconAttributes");t.default=r},,function(e,t,n){"use strict";n.r(t);var a=n(54);n.d(t,"withTransformOldIconAttributes",function(){return a.default})},,,function(e,t){e.exports="dist/videos/help/typography-family.mp4"},function(e,t){e.exports="dist/videos/help/alignment-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-title.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-margins.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-paddings.mp4"},function(e,t){e.exports="dist/videos/help/accordion-border-size.mp4"},function(e,t){e.exports=wp.date},,,,,,,,,,,,,,,,,function(e,t){e.exports="dist/images/components-image-shape-control-default.f59a6f2.png"},function(e,t){e.exports="dist/images/components-image-shape-control-square.54ea536.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.9bd9f74.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.8e07b2a.png"},,function(e){e.exports=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","600","700","800"],"subsets":["hebrew","latin"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["regular","700"],"subsets":["khmer"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer"]},{"family":"Be Vietnam","variants":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","600","700","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Epilogue","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grandstander","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze Gotisch","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["regular","700"],"subsets":["khmer"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kufam","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumbh Sans","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Metal","variants":["regular"],"subsets":["khmer"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MuseoModerno","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["regular","700"],"subsets":["khmer"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overpass Mono","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese"]},{"family":"Red Hat Display","variants":["regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sora","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["regular"],"subsets":["khmer"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Syne","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Varta","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]')},function(e,t){e.exports="dist/images/components-design-separator-control-curve-1.a61eacd.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-2.7a9883c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-3.b42e517.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.d2b77d9.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.e6d5edc.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-3.54719e2.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.1a7bbee.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.622c736.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.3d6e794.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.479a6de.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.8ad6a1d.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.6db0486.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-4.5f9e008.png"},,function(e,t){e.exports="dist/images/components-button-controls-basic.b11a0a1.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.693bd0a.png"},function(e,t){e.exports="dist/images/components-button-controls-link.5941222.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.9a9337a.png"},function(e,t){e.exports="dist/images/components-icon-controls-plain.08b10ae.png"},function(e,t){e.exports="dist/images/components-icon-controls-shaped.f4f347f.png"},function(e,t){e.exports="dist/images/components-icon-controls-outlined.ecba760.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1.b25dc1c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2.251f715.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3.a91efa1.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1.4c4319a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2.c441aac.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3.2409bb5.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4.9b307d9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1.ec684b9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2.4601b46.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3.4ef0451.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-grid.c178b51.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-grid.9c461c0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-grid.3921dc3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-grid.fe6e028.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-grid.5c04307.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-grid.111efd7.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-grid.ef73de3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-grid.146feaa.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-grid.5d65a3e.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-grid.906e9b0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-uneven.7045e09.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-uneven.a4f271c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-uneven.1983521.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-uneven.929b1cf.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-uneven.a346601.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-uneven.84b5000.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-uneven.42a4995.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-uneven.430f93a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-uneven.f1a848f.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-uneven.8099e5e.png"},,,function(e,t){e.exports="dist/videos/help/full-height.mp4"},function(e,t){e.exports="dist/videos/help/general-restrict-content.mp4"},function(e,t){e.exports="dist/videos/help/general-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/general-shadow.mp4"},function(e,t){e.exports="dist/videos/help/alignment-all.mp4"},function(e,t){e.exports="dist/videos/help/general-columns.mp4"},function(e,t){e.exports="dist/videos/help/column-background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/image-shape.mp4"},function(e,t){e.exports="dist/videos/help/image-size.mp4"},function(e,t){e.exports="dist/videos/help/image-size-no-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-width-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-height-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-square.mp4"},function(e,t){e.exports="dist/videos/help/image-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/image-shadow.mp4"},function(e,t){e.exports="dist/videos/help/typography-size.mp4"},function(e,t){e.exports="dist/videos/help/typography-weight.mp4"},function(e,t){e.exports="dist/videos/help/typography-transform.mp4"},function(e,t){e.exports="dist/videos/help/typography-line-height.mp4"},function(e,t){e.exports="dist/videos/help/typography-letter-spacing.mp4"},function(e,t){e.exports="dist/videos/help/alignment-description.mp4"},function(e,t){e.exports="dist/videos/help/alignment-button.mp4"},function(e,t){e.exports="dist/videos/help/button-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-vertical-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-horizontal-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-size.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-opacity.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-color.mp4"},function(e,t){e.exports="dist/videos/help/button-shadow.mp4"},function(e,t){e.exports="dist/videos/help/button-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/button-color-type.mp4"},function(e,t){e.exports="dist/videos/help/button-to-normal.mp4"},function(e,t){e.exports="dist/videos/help/button-collapse.mp4"},function(e,t){e.exports="dist/videos/help/spacing.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button-gap.mp4"},function(e,t){e.exports="dist/videos/help/hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/background-color-opacity.mp4"},function(e,t){e.exports="dist/videos/help/background-tint.mp4"},function(e,t){e.exports="dist/videos/help/background-color-type.mp4"},function(e,t){e.exports="dist/videos/help/background-fixed.mp4"},function(e,t){e.exports="dist/videos/help/gradient-direction.mp4"},function(e,t){e.exports="dist/videos/help/gradient-location.mp4"},function(e,t){e.exports="dist/videos/help/background-image-position.mp4"},function(e,t){e.exports="dist/videos/help/background-image-repeat.mp4"},function(e,t){e.exports="dist/videos/help/background-image-size.mp4"},function(e,t){e.exports="dist/videos/help/background-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/separator-top-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-bottom-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-height.mp4"},function(e,t){e.exports="dist/videos/help/separator-width.mp4"},function(e,t){e.exports="dist/videos/help/separator-shadow.mp4"},function(e,t){e.exports="dist/videos/help/separator-bring-to-front.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer2.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer3.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-opacity.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/advanced-opacity.mp4"},function(e,t){e.exports="dist/videos/help/advanced-zindex.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-paddings.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-content-width.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-horizontal-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-gap.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-column-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-content-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/accordion-adjacent-open.mp4"},function(e,t){e.exports="dist/videos/help/accordion-closed-state-background-color.mp4"},function(e,t){e.exports="dist/videos/help/accordion-padding.mp4"},function(e,t){e.exports="dist/videos/help/accordion-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-column-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-offset.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-grid.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-gap.mp4"},function(e,t){e.exports="dist/videos/help/image-box-height.mp4"},function(e,t){e.exports="dist/videos/help/notification-dismissible.mp4"},function(e,t){e.exports="dist/videos/help/posts-content-order.mp4"},function(e,t){e.exports="dist/videos/help/posts-meta-separator.mp4"},function(e,t){e.exports="dist/videos/help/divider-margin.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay-hover.mp4"},function(e,t){e.exports="dist/videos/help/image-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-line-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-align.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-width.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-height.mp4"},function(e,t){e.exports="dist/videos/help/container-image-width.mp4"},function(e,t){e.exports="dist/videos/help/container-image-height.mp4"},function(e,t){e.exports="dist/videos/help/column-row-gap.mp4"},function(e,t){e.exports="dist/videos/help/no-padding.mp4"},function(e,t){e.exports="dist/videos/help/column-width.mp4"},function(e,t){e.exports="dist/videos/help/column-arrangement.mp4"},function(e,t){e.exports="dist/images/block-accordion-basic.b0f3789.png"},function(e,t){e.exports="dist/images/block-accordion-plain.2aeac8f.png"},function(e,t){e.exports="dist/images/block-blockquote-basic.0a574ba.png"},function(e,t){e.exports="dist/images/block-blockquote-plain.cd0c86f.png"},function(e,t){e.exports="dist/images/block-blog-posts-basic.0431caf.png"},function(e,t){e.exports="dist/images/block-blog-posts-list.78b14dd.png"},function(e,t){e.exports=wp.htmlEntities},function(e,t){e.exports="dist/images/block-button-basic.cf5349e.png"},function(e,t){e.exports="dist/images/block-button-fullwidth.f370f41.png"},function(e,t){e.exports="dist/images/block-button-grouped-1.6509764.png"},function(e,t){e.exports="dist/images/block-button-grouped-2.45eb41b.png"},function(e,t){e.exports="dist/images/block-button-spread.a2b3bf6.png"},function(e,t){e.exports="dist/images/block-call-to-action-basic.82b89ff.png"},function(e,t){e.exports="dist/images/block-call-to-action-plain.aeb4b5d.png"},function(e,t){e.exports="dist/images/block-card-basic.ed15cbf.png"},function(e,t){e.exports="dist/images/block-card-plain.01b366e.png"},function(e,t){e.exports="dist/images/block-column-basic.eeda154.png"},function(e,t){e.exports="dist/images/block-column-plain.dd6702f.png"},function(e,t){e.exports="dist/images/block-columns-grid.74cce02.png"},function(e,t){e.exports="dist/images/block-columns-plain.f83145c.png"},function(e,t){e.exports="dist/images/block-container-basic.9b80141.png"},function(e,t){e.exports="dist/images/block-container-plain.b0bf4b9.png"},function(e,t){e.exports="dist/images/block-count-up-plain.9350896.png"},function(e,t){e.exports="dist/images/block-count-up-plain-2.ba5ab0d.png"},function(e,t){e.exports="dist/images/block-divider-basic.728eebd.png"},function(e,t){e.exports="dist/images/block-divider-bar.38cc0b7.png"},function(e,t){e.exports="dist/images/block-divider-dots.6f31a0f.png"},function(e,t){e.exports="dist/images/block-divider-asterisks.d07ce3c.png"},function(e,t){e.exports="dist/images/block-feature-grid-basic.d153b82.png"},function(e,t){e.exports="dist/images/block-feature-grid-plain.d4efae7.png"},function(e,t){e.exports="dist/images/block-feature-basic.21129f8.png"},function(e,t){e.exports="dist/images/block-feature-plain.705697f.png"},function(e,t){e.exports="dist/images/block-header-basic.a9cc4da.png"},function(e,t){e.exports="dist/images/block-header-plain.aeccf8f.png"},function(e,t){e.exports="dist/images/block-image-box-basic.f577755.png"},function(e,t){e.exports="dist/images/block-image-box-plain.7482e86.png"},function(e,t){e.exports="dist/images/block-notification-basic.a1f0aae.png"},function(e,t){e.exports="dist/images/block-notification-plain.eccdf36.png"},function(e,t){e.exports="dist/images/block-number-box-basic.3d5ce27.png"},function(e,t){e.exports="dist/images/block-number-box-plain.1e11a36.png"},function(e,t){e.exports="dist/images/block-pricing-box-basic.f439dd1.png"},function(e,t){e.exports="dist/images/block-pricing-box-plain.d7c8289.png"},function(e,t){e.exports="dist/images/block-team-member-basic.53fb1db.png"},function(e,t){e.exports="dist/images/block-team-member-plain.c44209b.png"},function(e,t){e.exports="dist/images/block-testimonial-basic.13e214f.png"},function(e,t){e.exports="dist/images/block-testimonial-plain.8208cdb.png"},function(e,t){e.exports="dist/images/block-text-plain.dc76980.png"},function(e,t){e.exports="dist/images/block-text-side-title-1.72a0b81.png"},function(e,t){e.exports="dist/images/block-text-side-title-2.4b31aa6.png"},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var a={"./accordion/index.js":386,"./blockquote/index.js":384,"./blog-posts/index.js":388,"./button/index.js":403,"./call-to-action/index.js":391,"./card/index.js":392,"./column/index.js":407,"./columns/index.js":404,"./container/index.js":405,"./count-up/index.js":389,"./design-library/index.js":413,"./divider/index.js":408,"./expand/index.js":409,"./feature-grid/index.js":393,"./feature/index.js":394,"./header/index.js":395,"./heading/index.js":396,"./icon-list/deprecated/index.js":32,"./icon-list/higher-order/index.js":56,"./icon-list/higher-order/with-transform-old-icon-attributes/index.js":54,"./icon-list/index.js":406,"./icon/index.js":397,"./image-box/index.js":390,"./notification/index.js":387,"./number-box/index.js":398,"./pricing-box/index.js":399,"./separator/index.js":383,"./spacer/index.js":410,"./team-member/index.js":400,"./testimonial/index.js":401,"./text/index.js":402,"./video-popup/index.js":385};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id=381},function(e,t,n){"use strict";n.r(t);var a=n(3),i=n(2),r=n(1),o=n(11),l=n(35),c=n(7),s=n(0),u=n(6),b=n(19),p=n(13);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var g=function(e,t,n,a){return""===t?n?Object(l.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(n,";")}}):Object(l.removeFormat)(e,"ugb/highlight"):"highlight"===t?Object(l.applyFormat)(e,{type:"ugb/highlight",attributes:{style:(n?"color: ".concat(n,";"):"")+(a?"background-color: ".concat(a):"")}}):Object(l.applyFormat)(e,{type:"ugb/highlight",attributes:{style:(n?"color: ".concat(n,";"):"")+(a?"background: linear-gradient(to bottom, transparent 50%, ".concat(a," 50%)"):"")}})};Object(l.registerFormatType)("ugb/highlight",{title:Object(s.__)("Highlight Text",r.i18n),tagName:"span",className:"ugb-highlight",edit:function(e){var t=m(Object(u.useState)(!1),2),n=t[0],l=t[1],b=Object(u.useRef)(null),p=Object(u.useCallback)(function(e){n&&(e.target.closest(b.current)||e.target.closest(".components-popover")||l(!1))});Object(u.useEffect)(function(){return document.body.addEventListener("click",p),function(){return document.body.removeEventListener("click",p)}},[p]);var d=e.activeAttributes,f=e.isActive,h=e.onChange,v=e.value,y=f?function(e){var t="",n="",a="";if(e.match(/linear-gradient\(/)){a="low";var i=e.match(/linear-gradient\(\s*to bottom\s*,\s*transparent \d+%\s*,\s*(.*?)\s\d+%\)/);i&&(n=i[1])}else if(e.match(/background-color:/)){a="highlight";var r=e.match(/background-color:\s*([^;]*)?/);r&&(n=r[1])}var o=e.match(/(^|[^-])color:\s*([^;]*)?/);return o&&(t=o[2]),{textColor:t,highlightColor:n,colorType:a}}(d.style):{},O=y.textColor,w=void 0===O?"":O,_=y.highlightColor,j=void 0===_?"":_,k=y.colorType,C=void 0===k?"":k,x=(""!==C?j:w)||w;return wp.element.createElement(c.BlockControls,null,wp.element.createElement(o.Toolbar,{className:"stackable-components-toolbar"},wp.element.createElement(o.Button,{className:"components-button components-icon-button components-toolbar__control",icon:"editor-textcolor","aria-haspopup":"true",tooltip:Object(s.__)("Color & Highlight",r.i18n),onClick:function(){return l(!n)}},wp.element.createElement("span",{className:"components-stackable-highlight-color__indicator",style:{backgroundColor:x}})),n&&wp.element.createElement(o.Popover,{position:"bottom center",className:"components-stackable-highlight__popover",focusOnMount:"container",useRef:b},wp.element.createElement("div",{className:"components-stackable-highlight__inner"},wp.element.createElement("div",{className:"ugb-highlight-format__color-picker"},wp.element.createElement(a.s,{label:Object(s.__)("Text Color",r.i18n),value:w,onChange:function(e){h(g(v,C,e,j),{withoutHistory:!0})}})),""!==C&&wp.element.createElement("div",{className:"ugb-highlight-format__color-picker"},wp.element.createElement(a.s,{label:Object(s.__)("Highlight Color",r.i18n),value:j,onChange:function(e){h(g(v,C,w,e),{withoutHistory:!0})}})),wp.element.createElement(a.e,{controls:[{value:"",title:Object(s.__)("None",r.i18n)},{value:"highlight",title:Object(s.__)("Highlight",r.i18n)},{value:"low",title:Object(s.__)("Low",r.i18n)}],value:C,onChange:function(e){var t=j||(""!==e?w||"#f34957":j),n="highlight"===e?Object(i.ub)("",t):"low"===e?"":j||w||"";h(g(v,e,n,t),{withoutHistory:!0})},isSmall:!0})))))},attributes:{style:"style"}}),Object(b.a)(function(){Object(p.select)("core/edit-post").isFeatureActive("disableEditorsKitColorsFormats")||Object(p.dispatch)("core/edit-post").toggleFeature("disableEditorsKitColorsFormats"),Object(p.select)("core/edit-post").isFeatureActive("disableEditorsKitHighlightFormats")||Object(p.dispatch)("core/edit-post").toggleFeature("disableEditorsKitHighlightFormats")});var d=n(17),f=n(55),h=n(24),v=n(9);function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function O(e){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var w=["style","svg"],_=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&!Object(v.isEqual)(e.args[2].match(/ugb-[^\s]+/g),e.args[3].match(/ugb-[^\s]+/g)))))},j=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&(e.args[2].match(/wp-image-\d+/)&&!e.args[3].match(/wp-image-\d+/)||!e.args[2].match(/wp-image-\d+/)&&e.args[3].match(/wp-image-\d+/)))))},k=function(e){return!!e.args&&(3===e.args.length&&("style"===e.args[1]&&"style"!==e.args[2]||"style"!==e.args[1]&&"style"===e.args[2]))},C=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&("aria-label"===e.args[1]||"title"===e.args[1]||"alt"===e.args[1])))},x=function(e){if(!e.args)return!1;if(3!==e.args.length)return!1;if("object"!==O(e.args[1])||"object"!==O(e.args[2]))return!1;if(!Array.isArray(e.args[1])||!Array.isArray(e.args[2]))return!1;var t=e.args[1].map(function(e){return e[0]}),n=e.args[2].map(function(e){return e[0]}),a=Object(v.difference)(t,n);return!!(a.includes("aria-label")||a.includes("title")||a.includes("alt"))},E=function(e){return!!e.args&&(3===e.args.length&&("svg"===e.args[1]&&"svg"!==e.args[2]||"svg"!==e.args[1]&&"svg"===e.args[2]))},S=function(e){return!!e.args&&(3===e.args.length&&("video"===e.args[1]&&"video"!==e.args[2]||"video"===e.args[2]&&"video"!==e.args[1]))},A=function(e){return!!e.args&&(3===e.args.length&&(!!Array.isArray(e.args[1])&&!!e.args[1].some(function(e){return Array.isArray(e)&&"playsinline"===e[0]})))},T=function(e){var t,n=e.name,a=e.attributes,i=e.innerBlocks,r=e.originalContent;if(e.isValid)return!1;try{t=Object(d.getSaveContent)(n,a,i)}catch(e){return!1}return function(e,t){var n=y([e,t].map(function(e){return function(e){try{return new f.Tokenizer(new h.DecodeEntityParser).tokenize(e)}catch(e){}return null}(e)}),2),a=n[0],i=n[1];if(!a||!i)return!1;var r,o,l=[];for(;r=Object(h.getNextNonWhitespaceToken)(a);){if(o=Object(h.getNextNonWhitespaceToken)(i),"StartTag"===r.type&&l.push(r.tagName.toLowerCase()),!o)return l;if(r.type!==o.type)return l;var c=h.isEqualTokensOfType[r.type];if(c&&!c(r,o))return l;"StartTag"===r.type&&!0===r.selfClosing?l.pop():"EndTag"===r.type&&l.pop(),Object(h.isClosedByToken)(r,i[0])?Object(h.getNextNonWhitespaceToken)(i):Object(h.isClosedByToken)(o,a[0])&&Object(h.getNextNonWhitespaceToken)(a)}return!1}(r,t)};function B(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var P=function(){var e;(e=document.createElement("style")).setAttribute("id","ugb-disable-block-warnings"),e.innerHTML='.has-warning[data-type^="ugb/"] { opacity: 0 !important; }',document.body.appendChild(e),setTimeout(function(){N(Object(p.select)("core/editor").getEditorBlocks()),function(){var e=document.querySelector("#ugb-disable-block-warnings");e&&document.body.removeChild(e)}()},0)},N=function e(t){t.forEach(function(t){(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w,n=e.name,a=e.isValid,i=e.validationIssues;if(!n||!n.match(/^ugb\//))return!1;if(a)return!1;if(!i.length)return!1;if(_(i[0]))return!0;if(k(i[0]))return!0;if(E(i[0]))return!0;if(j(i[0]))return!0;if(S(i[0]))return!0;if(A(i[0]))return!0;if(C(i[0]))return!0;if(x(i[0]))return!0;var r=T(e);return!!r&&r.some(function(e){return t.includes(e)})})(t)&&M()(t),t.innerBlocks&&t.innerBlocks.length&&e(t.innerBlocks)})},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){var n=t.name,a=t.attributes,i=t.innerBlocks,r=t.clientId,o=e||wp.data.select("core/block-editor"),l=o.getBlockParents,c=o.getBlock,s=o.getTemplateLock,u=l(r);if(u&&u.length){var b=u[u.length-1],m=c(b);if(s(b)&&m.innerBlocks.includes(t)){var g=m.innerBlocks.indexOf(t),f=Object(d.createBlock)(n,a,i),h=B(m.innerBlocks);h[g]=f;var v=Object(d.createBlock)(m.name,m.attributes,h);return void Object(p.dispatch)("core/block-editor").replaceBlock(b,v)}}var y=Object(d.createBlock)(n,a,i);Object(p.dispatch)("core/block-editor").replaceBlock(r,y)}};Object(b.a)(function(){window._wpLoadBlockEditor&&window._wpLoadBlockEditor.then(function(){P()})});var R=n(5),D=n(34),F={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"};Object(R.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-preview",function(e){var t=Object(p.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType,n=Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType;if(t){var a=F[e];a!==n()&&t(a)}});Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType&&Object(D.registerPlugin)("stackable-responsive-toggle-change",{render:function(){var e=Object(p.useSelect)(function(e){return{deviceType:e("core/edit-post").__experimentalGetPreviewDeviceType()}},[]).deviceType,t=Object(v.findKey)(F,function(t){return t===e})||"desktop";return setTimeout(function(){t!==Object(i.U)()&&(Object(i.nb)(t),Object(R.doAction)("stackable.responsive-toggle.screen.change",t)),"desktop"!==t?(Object(i.mb)(!0),Object(R.doAction)("stackable.responsive-toggle.screen.open")):(Object(i.mb)(!1),Object(R.doAction)("stackable.responsive-toggle.screen.close"))},0),null}});var I=n(140),z=n.n(I);function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){W(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var V=[null,"/dist/frontend_blocks__premium_only.css","/dist/frontend_blocks.css","/dist/editor_blocks__premium_only.css","/dist/editor_blocks.css"],q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return[];var n=[];return e.forEach(function(e,a){var i=e.href;t.some(function(e){return e||null!==i?!!(i&&e&&i.includes(e))&&n.push(a):n.push(a)})}),n},K={},Y={},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:V,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.styleSheets,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:K,a=Array.from(t),i=q(a,e),r=[];return i.forEach(function(e){if(t[e].__id)r.push(t[e].__id);else{var n=z()(Math.floor(Math.random()*(new Date).getTime())).substr(0,10);t[e].__id=n,r.push(n)}}),r.forEach(function(e){var t={},i=Array.from(a).findIndex(function(t){return t.__id===e}),r=Array.from(a[i].cssRules).filter(function(e){return e.media});(!Y[e]||Y[e]&&!Object(v.isEqual)(Y[e],r))&&(Y[e]=!Object(v.isEmpty)(r)&&G(r),Array.from(a[i].cssRules).forEach(function(a,i){var r=a.cssText,o=a.media;if(o&&r.includes(".ugb")&&o.mediaText.match(/(max|min)-width/)){var l=o.mediaText.match(/max-width:\s*(\d+)px/),c=o.mediaText.match(/min-width:\s*(\d+)px/),s=l?parseInt(l[1],10):9999,u=c?parseInt(c[1],10):0;if(n&&n[e]&&n[e][i])n[e][i].previousMediaText===o.mediaText?t[i]=U({},n[e][i]):t[i]={cssText:r,mediaText:o.mediaText,min:u,max:s};else t[i]={cssText:r,mediaText:o.mediaText,min:u,max:s}}}),n[e]=U({},t))}),U({},n)},$=".edit-post-visual-editor",J="Desktop",Z={},Q=function(){var e=Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType;if(e){var t=e();if("Desktop"!==t||"Desktop"!==J){if(J=t,!Z[t]){var n=document.querySelector($);Z[t]=parseInt(window.getComputedStyle(n).width,10)}!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:document.styleSheets,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:K;try{var r=X(n,a,i),o=function(e){var n=H(e.split("vw"),1)[0],a=parseFloat(n)/100*t;return"".concat(a,"px")},l=function(e){return e.replace(/(-?[.0-9]+)vw/g,o)},c=function(e,t,n){a[e].deleteRule(t),a[e].insertRule(n,t)};"Tablet"===e||"Mobile"===e?Object(v.keys)(r).forEach(function(e){var n=Array.from(a).findIndex(function(t){return t.__id===e});Object(v.keys)(r[e]).forEach(function(i){if(a[n]&&a[n].cssRules[i]){var o=r[e][i],s=o.min,u=o.max,b=o.cssText;Object(v.inRange)(t,s,u)?(b&&b.match(/(-?[.0-9]+)vw/g)&&c(n,i,l(b)),a[n].cssRules[i].media.mediaText="screen and (max-width: 5000px)"):(b&&b.match(/(-?[.0-9]+)vw/g)&&c(n,i,l(b)),a[n].cssRules[i].media.mediaText="screen and (min-width: 5000px)"),r[e][i].previousMediaText!==a[n].cssRules[i].media.mediaText&&(r[e][i].previousMediaText=a[n].cssRules[i].media.mediaText)}})}):Object(v.keys)(r).forEach(function(e){var t=Array.from(a).findIndex(function(t){return t.__id===e});Object(v.keys)(r[e]).forEach(function(n){if(a[t]&&a[t].cssRules[n]){var i=r[e][n].cssText;a[t].cssRules[n].media.mediaText!==r[e][n].mediaText&&(r[e][n].previousMediaText=a[t].cssRules[n].media.mediaText,c(t,n,i)),r[e][n].previousMediaText!==a[t].cssRules[n].media.mediaText&&(r[e][n].previousMediaText=a[t].cssRules[n].media.mediaText)}})})}catch(e){console.warn("Stackable error: plugin stylesheet is hosted in a remote location, responsive live editing is disabled. To enable it, please don't use a CDN while using Gutenberg")}}(t,Z[t])}}};Object(R.addAction)("stackable.setAttributes.after","stackable/responsive-preview",Q);Object(p.select)("core/edit-post").__experimentalGetPreviewDeviceType&&Object(b.a)(function(){var e=document.querySelector($);if(e){new MutationObserver(Object(v.throttle)(Q,500)).observe(e,{attributes:!0,childList:!0,subtree:!0})}});var ee="https://raw.githubusercontent.com/gambitph/Stackable/feat-three-tabs/dist/deprecation-tests.json",te=function(e){try{var t=Object(d.parse)(e.replace(/\n/g,"").replace(/\t/g,""))[0],n=function(e){var t=(e.match(/<!--\s*[^:]*:([\/\w\d-]+)/i)||[])[1];return"string"!=typeof t?"":t.match(/^[^\/]+\//)?t:"core/".concat(t)}(e);return t.name!==n?"Block rendered as: ".concat(t.name):t.isValid&&t.name===n}catch(e){return!1}},ne=n(8),ae=n.n(ne);function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(n,!0).forEach(function(t){ce(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function be(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var me=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ue(t).apply(this,arguments))||"object"!==ie(a)&&"function"!=typeof a?be(n):a).state={tests:[],testBlockNames:[],show:[],loaded:!1,isLoading:!1},e.onClick=e.onClick.bind(be(e)),e.onClickLocal=e.onClickLocal.bind(be(e)),e.onRunAllTests=e.onRunAllTests.bind(be(e)),e.onRunTest=e.onRunTest.bind(be(e)),e.onShowToggle=e.onShowToggle.bind(be(e)),e}var n,a,i;return 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&&pe(e,t)}(t,u["Component"]),n=t,(a=[{key:"updateTestState",value:function(e){this.setState({tests:e.map(function(e){return le({},e,{passed:null})}),testBlockNames:re(new Set(e.map(function(e){return e.block})))})}},{key:"fetchTests",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee;this.setState({isLoading:!0}),fetch(t).then(function(t){return e.setState({isLoading:!1,loaded:!0}),t.json()}).then(function(t){e.updateTestState(t)})}},{key:"onClick",value:function(){this.fetchTests(ee)}},{key:"onClickLocal",value:function(){this.fetchTests(Object(s.sprintf)("%s/dist/deprecation-tests.json",r.srcUrl))}},{key:"onRunAllTests",value:function(){var e=this.state.tests.map(function(e){return e.skip?le({},e,{passed:!0}):le({},e,{passed:te(e.html)})});this.setState({tests:e})}},{key:"onRunTest",value:function(e){var t=this.state.tests.map(function(t){return t.block!==e?t:t.skip?le({},t,{passed:!0}):le({},t,{passed:te(t.html)})});this.setState({tests:t})}},{key:"onShowToggle",value:function(e){this.setState({show:this.state.show.includes(e)?this.state.show.filter(function(t){return t!==e}):this.state.show.concat(e)})}},{key:"render",value:function(){var e=this,t=ae()(["ugb-deprecated-tester"],{"ugb-deprecated-tester--loading":this.state.isLoading});return wp.element.createElement("div",{className:t},wp.element.createElement(o.BaseControl,null,wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("When Stackable blocks are updated, block internal workings may change & editing existing blocks may result in errors if the changes are not backward compatible. This area tests multiple outdated blocks on whether they can migrate properly to newer versions.",r.i18n)),wp.element.createElement(o.Button,{className:"ugb-deprecated-tester__load-button",isDefault:!0,onClick:this.onClick,disabled:this.state.isLoading},wp.element.createElement(o.Dashicon,{icon:"image-rotate",size:"12"}),Object(s.__)("Load Tests from Server",r.i18n)),!1),this.state.loaded&&wp.element.createElement(u.Fragment,null,wp.element.createElement("hr",null),wp.element.createElement("p",{className:"ugb-deprecated-tester--row ugb--first"},wp.element.createElement(o.Button,{isPrimary:!0,isSmall:!0,onClick:this.onRunAllTests},Object(s.__)("Run All Tests",r.i18n)))),this.state.loaded&&this.state.testBlockNames.map(function(t,n){var a=e.state.tests.filter(function(e){return e.block===t}),i=a.length,l=a.filter(function(e){return e.passed}).length;return wp.element.createElement(u.Fragment,{key:n},wp.element.createElement("div",{key:n,className:"ugb-deprecated-tester--row"},wp.element.createElement("span",{className:"ugb-deprecated-tester--name"},t,wp.element.createElement(o.Button,{isDefault:!1,icon:"editor-help",onClick:function(){return e.onShowToggle(t)}})),wp.element.createElement("span",{className:i===l?"ugb--green":""},Object(s.sprintf)(Object(s.__)("%d / %d Tests",r.i18n),l,i),wp.element.createElement(o.Button,{isDefault:!1,onClick:function(){return e.onRunTest(t)},icon:"controls-play"}))),e.state.show.includes(t)&&wp.element.createElement("div",{className:"ugb-deprecated-tester--test-detail-wrapper"},a.map(function(e,t){var n=e.html.replace(/(<!--[\s\S]*?-->)/g,function(e,t){return t.replace(/\n/g,"\\n").replace(/\t/g,"\\t")});return wp.element.createElement("div",{key:t},wp.element.createElement("div",null,e.description,!e.skip&&!0===e.passed&&wp.element.createElement("small",{className:"ugb--passed"},Object(s.__)("Passed",r.i18n)),!e.skip&&!1===e.passed&&wp.element.createElement("small",{className:"ugb--failed"},Object(s.__)("Failed",r.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped"},Object(s.__)("Skipped",r.i18n))),wp.element.createElement("div",{className:"ugb-deprecated-tester--test-details"},wp.element.createElement("small",{className:"ugb--version"},Object(s.sprintf)(Object(s.__)("v%s",r.i18n),e.version)),e.plan&&wp.element.createElement("small",{className:"ugb--plan ugb--plan-".concat(e.plan)},e.plan),wp.element.createElement(o.ClipboardButton,{isDefault:!1,isLink:!0,text:n},Object(s.__)("Copy code",r.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped-note"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Note",r.i18n)},"⚠️")," ",e.skip)))})))}))}}])&&se(n.prototype,a),i&&se(n,i),t}();function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function de(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function he(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ve(e,t){return(ve=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ye={codemirror:{mode:"html"}},Oe=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=fe(t).apply(this,arguments))||"object"!==ge(a)&&"function"!=typeof a?he(n):a).state={value:e.props.value,isValid:te(e.props.value)},e.onChange=e.onChange.bind(he(e)),e}var n,i,l;return 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&&ve(e,t)}(t,u["Component"]),n=t,(i=[{key:"onChange",value:function(e){this.setState({value:e,isValid:te(e)})}},{key:"render",value:function(){return wp.element.createElement(o.BaseControl,{className:"ugb-html-validator"},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("Enter some HTML below to see whether it renders correctly as a block. Check the browser console for block errors.",r.i18n)),wp.element.createElement(a.r,{value:this.state.value,onChange:this.onChange,editorSettings:ye}),!0===this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--valid"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Valid",r.i18n)},"✔️"),Object(s.__)("Valid",r.i18n)),!0!==this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--invalid"},wp.element.createElement("span",{role:"img","aria-label":Object(s.__)("Invalid",r.i18n)},"️️⚠️"),Object(s.__)("Invalid",r.i18n),wp.element.createElement("br",null),this.state.isValid))}}])&&de(n.prototype,i),l&&de(n,l),t}();Oe.defaultProps={value:"\x3c!-- wp:paragraph --\x3e\n<p>Some sample code</p>\n\x3c!-- /wp:paragraph --\x3e"};var we=Oe,_e=n(27),je=function(){return wp.element.createElement(u.Fragment,null,wp.element.createElement(_e.PluginSidebarMoreMenuItem,{target:"stackable-block-tester"},Object(s.__)("Stackable Debugger",r.i18n)),wp.element.createElement(_e.PluginSidebar,{name:"stackable-block-tester",isPinnable:!1,title:Object(s.__)("Stackable Debugger",r.i18n)},wp.element.createElement("div",{className:"ugb-debugger-panel"},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("This area contains a number of testing and debugging tools made specifically for Stackable.",r.i18n))),wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Block Validity Checker",r.i18n)},wp.element.createElement(we,null)),wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Block Migration Tests",r.i18n)},wp.element.createElement(me,null))))};Object(D.registerPlugin)("stackable-convert-to-container-button",{render:a.w}),r.devMode&&(Object(D.registerPlugin)("stackable-block-tester",{icon:"clipboard",render:je}),Object(D.registerPlugin)("stackable-block-attributes-get-button",{render:a.I}));var ke=n(141),Ce=n.n(ke),xe=n(142),Ee=n.n(xe),Se=n(143),Ae=n.n(Se),Te=n(144),Be=n.n(Te),Pe=n(145),Ne=n.n(Pe),Me=n(146),Re=n.n(Me),De=n(147),Fe=n.n(De),Ie=n(148),ze=n.n(Ie),He=n(149),Le=n.n(He),Ue=n(150),We=n.n(Ue),Ge=n(151),Ve=n.n(Ge),qe=n(152),Ke=n.n(qe),Ye=n(153),Xe=n.n(Ye),$e=n(154),Je=n.n($e),Ze=n(155),Qe=n.n(Ze),et=n(59),tt=n.n(et),nt=n(156),at=n.n(nt),it=n(157),rt=n.n(it),ot=n(158),lt=n.n(ot),ct=n(159),st=n.n(ct),ut=n(160),bt=n.n(ut),pt=n(45),mt=n.n(pt),gt=n(60),dt=n.n(gt),ft=n(161),ht=n.n(ft),vt=n(162),yt=n.n(vt),Ot=n(163),wt=n.n(Ot),_t=n(164),jt=n.n(_t),kt=n(165),Ct=n.n(kt),xt=n(166),Et=n.n(xt),St=n(167),At=n.n(St),Tt=n(168),Bt=n.n(Tt),Pt=n(169),Nt=n.n(Pt),Mt=n(170),Rt=n.n(Mt),Dt=n(171),Ft=n.n(Dt),It=n(172),zt=n.n(It),Ht=n(173),Lt=n.n(Ht),Ut=n(174),Wt=n.n(Ut),Gt=n(175),Vt=n.n(Gt),qt=n(176),Kt=n.n(qt),Yt=n(177),Xt=n.n(Yt),$t=n(46),Jt=n.n($t),Zt=n(61),Qt=n.n(Zt),en=n(178),tn=n.n(en),nn=n(179),an=n.n(nn),rn=n(180),on=n.n(rn),ln=n(181),cn=n.n(ln),sn=n(182),un=n.n(sn),bn=n(183),pn=n.n(bn),mn=n(184),gn=n.n(mn),dn=n(185),fn=n.n(dn),hn=n(186),vn=n.n(hn),yn=n(187),On=n.n(yn),wn=n(188),_n=n.n(wn),jn=n(189),kn=n.n(jn),Cn=n(190),xn=n.n(Cn),En=n(191),Sn=n.n(En),An=n(192),Tn=n.n(An),Bn=n(193),Pn=n.n(Bn),Nn=n(194),Mn=n.n(Nn),Rn=n(195),Dn=n.n(Rn),Fn=n(196),In=n.n(Fn),zn=n(197),Hn=n.n(zn),Ln=n(198),Un=n.n(Ln),Wn=n(199),Gn=n.n(Wn),Vn=n(200),qn=n.n(Vn),Kn=n(201),Yn=n.n(Kn),Xn=n(202),$n=n.n(Xn),Jn=n(203),Zn=n.n(Jn),Qn=n(204),ea=n.n(Qn),ta=n(62),na=n.n(ta),aa=n(205),ia=n.n(aa),ra=n(206),oa=n.n(ra),la=n(207),ca=n.n(la),sa=n(208),ua=n.n(sa),ba=n(209),pa=n.n(ba),ma=n(63),ga=n.n(ma),da=n(210),fa=n.n(da),ha=n(211),va=n.n(ha),ya=n(212),Oa=n.n(ya),wa=n(213),_a=n.n(wa),ja=n(214),ka=n.n(ja),Ca=n(215),xa=n.n(Ca),Ea=n(216),Sa=n.n(Ea),Aa=n(217),Ta=n.n(Aa),Ba=n(64),Pa=n.n(Ba),Na=n(218),Ma=n.n(Na),Ra=n(219),Da=n.n(Ra),Fa=n(220),Ia=n.n(Fa),za=n(221),Ha=n.n(za),La=n(222),Ua=n.n(La),Wa=n(223),Ga=n.n(Wa),Va=n(224),qa=n.n(Va),Ka=n(225),Ya=n.n(Ka),Xa=n(226),$a=n.n(Xa),Ja=n(227),Za=n.n(Ja),Qa=n(228),ei=n.n(Qa),ti=n(229),ni=n.n(ti),ai=n(230),ii=n.n(ai),ri=n(231),oi=n.n(ri),li=n(232),ci=n.n(li),si=n(233),ui=n.n(si),bi=n(234),pi=n.n(bi),mi=n(235),gi=n.n(mi),di=n(236),fi=n.n(di),hi=n(237),vi=n.n(hi),yi=n(238),Oi=n.n(yi),wi=n(239),_i=n.n(wi),ji=n(240),ki=n.n(ji),Ci=n(241),xi=n.n(Ci),Ei=n(242),Si=n.n(Ei),Ai=n(243),Ti=n.n(Ai),Bi=n(244),Pi=n.n(Bi),Ni=n(245),Mi=n.n(Ni),Ri=n(246),Di=n.n(Ri),Fi=n(247),Ii=n.n(Fi),zi=n(248),Hi=n.n(zi),Li=n(249),Ui=n.n(Li),Wi=n(250),Gi=n.n(Wi),Vi=n(251),qi=n.n(Vi),Ki=n(252),Yi=n.n(Ki),Xi=n(253),$i=n.n(Xi),Ji=n(254),Zi=n.n(Ji),Qi=n(255),er=n.n(Qi),tr=n(256),nr=n.n(tr),ar=n(257),ir=n.n(ar),rr=n(258),or=n.n(rr),lr=n(259),cr=n.n(lr),sr=n(260),ur=n.n(sr),br={fullHeight:{video:Ce.a,title:Object(s.__)("Full Height",r.i18n),description:Object(s.__)("Block height takes up the full height of the screen",r.i18n)},generalRestrictContent:{video:Ee.a,title:Object(s.__)("Restrict to Content Width",r.i18n),description:Object(s.__)("Restricts content to a narrower space when block width is set to full width",r.i18n)},generalBorderRadius:{video:Ae.a,title:Object(s.__)("Border Radius",r.i18n),description:Object(s.__)("Adjusts the radius of block corners to make them more rounded",r.i18n)},generalShadow:{video:Be.a,title:Object(s.__)("Shadow/Outline",r.i18n),description:Object(s.__)("Adjusts the intensity of the shadow/outline of the block and the appearance of the block border",r.i18n)},alignmentAll:{video:Ne.a,title:Object(s.__)("Align (general / all)",r.i18n),description:Object(s.__)("Adjusts the placement of all content in the block to align left, center or right",r.i18n)},generalColumns:{video:Re.a,title:Object(s.__)("Columns",r.i18n),description:Object(s.__)("Sets the number of columns",r.i18n)},columnBackgroundOnOff:{video:Fe.a,title:Object(s.__)("Column / Container Background",r.i18n),description:Object(s.__)("Background settings for the container or columns.",r.i18n)},imageShape:{video:ze.a,title:Object(s.__)("Shape",r.i18n),description:Object(s.__)("Change the shape of the image",r.i18n)},imageSize:{video:Le.a,title:Object(s.__)("Image size",r.i18n),description:Object(s.__)("Sets the image display size to thumbnail, medium, large or full size. A smaller image size will also load faster.",r.i18n)},imageSizeNoCrop:{video:We.a,title:Object(s.__)("Image size",r.i18n),description:Object(s.__)("Adjusts the image size / width while preseving the aspect ratio",r.i18n)},imageWidthCrop:{video:Ve.a,title:Object(s.__)("Image width",r.i18n),description:Object(s.__)("Adjusts the image width",r.i18n)},imageHeightCrop:{video:Ke.a,title:Object(s.__)("Image height",r.i18n),description:Object(s.__)("Adjusts the image height",r.i18n)},imageSquare:{video:Xe.a,title:Object(s.__)("Force Square Image",r.i18n),description:Object(s.__)("Crops image into a square",r.i18n)},imageBorderRadius:{video:Je.a,title:Object(s.__)("Border radius (of image)",r.i18n),description:Object(s.__)("Adjusts the radius of image corners to make them more rounded",r.i18n)},imageShadow:{video:Qe.a,title:Object(s.__)("Shadow (of image)",r.i18n),description:Object(s.__)("Adjusts the intensity of the image shadow",r.i18n)},typography:{video:tt.a,title:Object(s.__)("Typography",r.i18n),description:Object(s.__)("Change the font family, size, weight and spacing of the font of this text",r.i18n)},typographyFamily:{video:tt.a,title:Object(s.__)("Font family",r.i18n),description:Object(s.__)("Sets the font set to be used for the element",r.i18n)},typographySize:{video:at.a,title:Object(s.__)("Font size",r.i18n),description:Object(s.__)("Sets the size of text characters",r.i18n)},typographyWeight:{video:rt.a,title:Object(s.__)("Font weight",r.i18n),description:Object(s.__)("Sets the thinness or thickness of text characters",r.i18n)},typographyTransform:{video:lt.a,title:Object(s.__)("Transform",r.i18n),description:Object(s.__)("Sets the usage of upper or lower case",r.i18n)},typographyLineHeight:{video:st.a,title:Object(s.__)("Line height",r.i18n),description:Object(s.__)("Sets the vertical distance between lines of text",r.i18n)},typographyLetterSpacing:{video:bt.a,title:Object(s.__)("Letter spacing",r.i18n),description:Object(s.__)("Sets the distance or space between letters",r.i18n)},alignmentImage:{video:mt.a,title:Object(s.__)("Image alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the image to align left, center or right",r.i18n)},alignmentNumber:{video:mt.a,title:Object(s.__)("Number alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the number to align left, center or right",r.i18n)},alignmentIcon:{video:mt.a,title:Object(s.__)("Icon alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the icon to align left, center or right",r.i18n)},alignmentTitle:{video:dt.a,title:Object(s.__)("Title / subtitle alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the title or subtitle to align left, center or right",r.i18n)},alignmentName:{video:dt.a,title:Object(s.__)("Name / position alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the name or position to align left, center or right",r.i18n)},alignmentDescription:{video:ht.a,title:Object(s.__)("Description / text alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the text to align left, center or right",r.i18n)},alignmentButton:{video:yt.a,title:Object(s.__)("Button / link alignment",r.i18n),description:Object(s.__)("Adjusts the placement of the button or link to align left, center or right",r.i18n)},buttonPadding:{video:wt.a,title:Object(s.__)("Button padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button borders",r.i18n)},buttonVerticalPadding:{video:jt.a,title:Object(s.__)("Button vertical padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button's top and bottom borders",r.i18n)},buttonHorizontalPadding:{video:Ct.a,title:Object(s.__)("Button horizontal padding",r.i18n),description:Object(s.__)("Adjusts the space between the button text and button's side borders",r.i18n)},buttonSize:{video:Et.a,title:Object(s.__)("Button size",r.i18n),description:Object(s.__)("Sets the size of the button. Choose from tiny, small, normal, medium or large.",r.i18n)},buttonHoverEffect:{video:At.a,title:Object(s.__)("Hover effect",r.i18n),description:Object(s.__)("Triggers animation or effects when you mouse over",r.i18n)},buttonHoverOpacity:{video:Bt.a,title:Object(s.__)("Hover opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the button when you mouse over",r.i18n)},buttonHoverColor:{video:Nt.a,title:Object(s.__)("Hover colors",r.i18n),description:Object(s.__)("Triggers a change in color when you mouse over",r.i18n)},buttonShadow:{video:Rt.a,title:Object(s.__)("Button shadow",r.i18n),description:Object(s.__)("Adjusts the intensity of the button shadow",r.i18n)},buttonBorderRadius:{video:Ft.a,title:Object(s.__)("Button border radius",r.i18n),description:Object(s.__)("Adjusts the radius of button corners to make them more rounded",r.i18n)},buttonColorType:{video:zt.a,title:Object(s.__)("Button color type",r.i18n),description:Object(s.__)("Sets the button color type to single or gradient",r.i18n)},buttonToNormal:{video:Lt.a,title:Object(s.__)("Change to normal button on hover",r.i18n),description:Object(s.__)("Triggers change from ghost to normal button when you mouse over",r.i18n)},buttonCollapse:{video:Wt.a,title:Object(s.__)("Collapse buttons on",r.i18n),description:Object(s.__)("Sets when buttons will be triggered to arrange vertically",r.i18n)},spacing:{video:Vt.a,title:Object(s.__)("Spacing",r.i18n),description:Object(s.__)("Adjusts the space between block elements",r.i18n)},spacingBlockTitle:{video:Kt.a,title:Object(s.__)("Block title spacing",r.i18n),description:Object(s.__)("Adjusts the space below the block title",r.i18n)},spacingBlockDescription:{video:Xt.a,title:Object(s.__)("Block description spacing",r.i18n),description:Object(s.__)("Adjusts the space below the block description",r.i18n)},spacingImage:{video:Jt.a,title:Object(s.__)("Image spacing",r.i18n),description:Object(s.__)("Adjusts the space below the image",r.i18n)},spacingNumber:{video:Jt.a,title:Object(s.__)("Number spacing",r.i18n),description:Object(s.__)("Adjusts the space below the number",r.i18n)},spacingIcon:{video:Jt.a,title:Object(s.__)("Icon spacing",r.i18n),description:Object(s.__)("Adjusts the space below the icon",r.i18n)},spacingTitle:{video:Qt.a,title:Object(s.__)("Title spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},spacingName:{video:Qt.a,title:Object(s.__)("Name / position spacing",r.i18n),description:Object(s.__)("Adjusts the space below the name / position",r.i18n)},spacingDescription:{video:tn.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},spacingButton:{video:an.a,title:Object(s.__)("Button spacing",r.i18n),description:Object(s.__)("Adjusts the space beloe the button",r.i18n)},spacingButtonGap:{video:on.a,title:Object(s.__)("Button spacing gap",r.i18n),description:Object(s.__)("Adjusts the gap between the buttons",r.i18n)},hoverEffect:{video:cn.a,title:Object(s.__)("Hover effect",r.i18n),description:Object(s.__)("Triggers animation or effects when you mouse over",r.i18n)},backgroundOnOff:{video:un.a,title:Object(s.__)("Background Toggle On/Off",r.i18n),description:Object(s.__)("Turns the block background on/off. Turn on to enable different background settings.",r.i18n),learnMore:"https://wpstackable.com/blog/column-backgrounds-and-block-backgrounds/?utm_medium=Help%20Tooltip&utm_campaign=Help%20Tooltip&utm_source=Plugin"},backgroundColorOpacity:{video:pn.a,title:Object(s.__)("Background Color Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the background color",r.i18n)},backgroundTint:{video:gn.a,title:Object(s.__)("Background Media Tint Strength",r.i18n),description:Object(s.__)("Adjusts the intensity of the background media tint",r.i18n)},backgroundColorType:{video:fn.a,title:Object(s.__)("Color type",r.i18n),description:Object(s.__)("Sets the color to either a single color or a gradient",r.i18n)},backgroundFixed:{video:vn.a,title:Object(s.__)("Fixed Background",r.i18n),description:Object(s.__)("Keeps the background image fixed in place while scrolling",r.i18n)},gradientDirection:{video:On.a,title:Object(s.__)("Gradient direction",r.i18n),description:Object(s.__)("Sets the direction (in degrees) of the colors",r.i18n)},gradientLocation:{video:_n.a,title:Object(s.__)("Gradient Color location",r.i18n),description:Object(s.__)("Sets the placement of each color in relation to the other color",r.i18n)},backgroundImagePosition:{video:kn.a,title:Object(s.__)("Image Position",r.i18n),description:Object(s.__)("Chooses which part of the background image will be the focal point",r.i18n)},backgroundImageRepeat:{video:xn.a,title:Object(s.__)("Image Repeat",r.i18n),description:Object(s.__)("Covers the background with tiled images",r.i18n)},backgroundImageSize:{video:Sn.a,title:Object(s.__)("Image Size",r.i18n),description:Object(s.__)("Sets the display image size",r.i18n)},backgroundBlendMode:{video:Tn.a,title:Object(s.__)("Image Blend Mode",r.i18n),description:Object(s.__)("Sets how this background gradient/image blends into the other background",r.i18n)},separatorTopOn:{video:Pn.a,title:Object(s.__)("Separator Top On and Off",r.i18n),description:Object(s.__)("Turns the top separator on/off. Turn on to enable different separator settings.",r.i18n)},separatorBottomOn:{video:Mn.a,title:Object(s.__)("Separator Bottom On and Off",r.i18n),description:Object(s.__)("Turns the bottom separator on/off. Turn on to enable different separator settings.",r.i18n)},separatorHeight:{video:Dn.a,title:Object(s.__)("Separator height",r.i18n),description:Object(s.__)("Adjusts the height of the separator to stretch or compress vertically",r.i18n)},separatorWidth:{video:In.a,title:Object(s.__)("Separator width",r.i18n),description:Object(s.__)("Adusts the width of the separator to stretch or compress horizantally",r.i18n)},separatorShadow:{video:Hn.a,title:Object(s.__)("Shadow",r.i18n),description:Object(s.__)("Adjusts the intensity of the separator shadow and makes the separator more prominent",r.i18n)},separatorBringToFront:{video:Un.a,title:Object(s.__)("Bring to Front",r.i18n),description:Object(s.__)("Brings the separator layer in front of other block elements",r.i18n)},separatorLayer2:{video:Gn.a,title:Object(s.__)("Layer 2",r.i18n),description:Object(s.__)("Turns a second separator layer on/off. Turn on to enable the separate layer settings.",r.i18n)},separatorLayer3:{video:qn.a,title:Object(s.__)("Layer 3",r.i18n),description:Object(s.__)("Turns a third separator layer on/off. Turn on to enable the separate layer settings.",r.i18n)},separatorLayerOpacity:{video:Yn.a,title:Object(s.__)("Layer Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the separator layer",r.i18n)},separatorLayerBlendMode:{video:$n.a,title:Object(s.__)("Layer blend mode",r.i18n),description:Object(s.__)("Sets how the sepator layer is blended into the background",r.i18n)},advancedOpacity:{video:Zn.a,title:Object(s.__)("Opacity",r.i18n),description:Object(s.__)("Adjusts the transparency of the entire block",r.i18n)},advancedZindex:{video:ea.a,title:Object(s.__)("Z-Index",r.i18n),description:Object(s.__)("Sets the stack order of different blocks to make one appear in front of another. A block with a higher z-index will show up on top of another block with a lower z-index.",r.i18n)},advancedBlockSpacing:{video:na.a,title:Object(s.__)("Block Spacing",r.i18n),description:Object(s.__)("Set margins, paddings and alignment of the block and its content",r.i18n)},advancedBlockMargins:{video:na.a,title:Object(s.__)("Block Margins",r.i18n),description:Object(s.__)("Sets the block margin, i.e. the space outside the block between the block border and the next block",r.i18n)},advancedBlockPaddings:{video:ia.a,title:Object(s.__)("Block Padding",r.i18n),description:Object(s.__)("Sets the block padding, i.e. the space inside the block between the column container and the block border",r.i18n)},advancedBlockHeight:{video:oa.a,title:Object(s.__)("Min Block Height",r.i18n),description:Object(s.__)("Adjusts the minimum allowable height of the block",r.i18n)},advancedBlockVerticalAlign:{video:ca.a,title:Object(s.__)("Content Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to top, center or bottom. Available when the min. block height is set to higher than default.",r.i18n)},advancedBlockContentWidth:{video:ua.a,title:Object(s.__)("Max Content Width",r.i18n),description:Object(s.__)("Adjusts the maximum allowable width of the block. The settings will depend on the block width you set on the toolbar.",r.i18n)},advancedBlockHorizontalAlign:{video:pa.a,title:Object(s.__)("Content Horizontal Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to left, center or right. Not available when block width is set to full width.",r.i18n)},advancedColumnSpacing:{video:ga.a,title:Object(s.__)("Column Spacing & More",r.i18n),description:Object(s.__)("Sets column paddings, the space inside the block between the block elements and the column container border",r.i18n)},advancedColumnPaddings:{video:ga.a,title:Object(s.__)("Column Paddings",r.i18n),description:Object(s.__)("Sets the column padding, the space inside the block between the block elements and the column container border",r.i18n)},advancedColumnGap:{video:fa.a,title:Object(s.__)("Column Gap",r.i18n),description:Object(s.__)("Sets the distance between two or more columns",r.i18n)},advancedColumnColumnVerticalAlign:{video:va.a,title:Object(s.__)("Column Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the column container to top, center, bottom or stretch. Available when column heights are different.",r.i18n)},advancedColumnHeight:{video:Oa.a,title:Object(s.__)("Min Column Height",r.i18n),description:Object(s.__)("Adjusts the minimum allowable height of the column container",r.i18n)},advancedColumnContentVerticalAlign:{video:_a.a,title:Object(s.__)("Content Vertical Align",r.i18n),description:Object(s.__)("Sets the placement of the block elements to top, center, bottom or stretch. Available when column heights are different or when min. column height is set to higher than default.",r.i18n)},accordionAdjacentOpen:{video:ka.a,title:Object(s.__)("Close adjacent on open",r.i18n),description:Object(s.__)("Automatically closes adjacent accordion panels when clicked",r.i18n)},accordionClosedStateBackgroundColor:{video:xa.a,title:Object(s.__)("Closed state Background Color",r.i18n),description:Object(s.__)("Sets color of the panel when closed",r.i18n)},accordionPadding:{video:Sa.a,title:Object(s.__)("Accordion Padding",r.i18n),description:Object(s.__)("Sets the accordion padding, i.e. the space inside the block between the panel elements and the panel border",r.i18n)},accordionTitleSpacing:{video:Ta.a,title:Object(s.__)("Accordion Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},accordionBorder:{video:Pa.a,title:Object(s.__)("Border",r.i18n),description:Object(s.__)("Adjusts the thickness and color of the border of a closed panel for the Lined to Colored layout",r.i18n)},accordionBorderSize:{video:Pa.a,title:Object(s.__)("Border Size",r.i18n),description:Object(s.__)("Adjusts the thickness of the border of a closed panel for the Lined to Colored layout",r.i18n)},imageColumnWidth:{video:Ma.a,title:Object(s.__)("Image Column Width",r.i18n),description:Object(s.__)("Adjusts the width of the image",r.i18n)},featureContainerWidth:{video:Da.a,title:Object(s.__)("Container Width",r.i18n),description:Object(s.__)("Adjusts the width of the text and button container",r.i18n)},featureContainerOffset:{video:Ia.a,title:Object(s.__)("Container Offset",r.i18n),description:Object(s.__)("Adjusts the relative arrangement of the image and the text and button contianer",r.i18n)},iconListGrid:{video:Ha.a,title:Object(s.__)("Display as a grid",r.i18n),description:Object(s.__)("Displays the list in an evenly-spaced grid arrangement",r.i18n)},iconListGap:{video:Ua.a,title:Object(s.__)("List Gap",r.i18n),description:Object(s.__)("Adjusts the space between different list lines",r.i18n)},imageBoxHeight:{video:Ga.a,title:Object(s.__)("Height",r.i18n),description:Object(s.__)("Adjusts the height of the image box",r.i18n)},notificationDismissible:{video:qa.a,title:Object(s.__)("Dismissible",r.i18n),description:Object(s.__)("Provides option to close the notification",r.i18n)},postsContentOrder:{video:Ya.a,title:Object(s.__)("Content Order",r.i18n),description:Object(s.__)("Sets the order of the items displayed (category, title, meta, excerpt) for each post",r.i18n)},postsMetaSeparator:{video:$a.a,title:Object(s.__)("Meta Separator",r.i18n),description:Object(s.__)("Sets the separators between meta items (dot, space, comma, dash, pipe)",r.i18n)},dividerMargin:{video:Za.a,title:Object(s.__)("Vertical Margin",r.i18n),description:Object(s.__)("Adjusts the space between the divider and the vertically adjacent blocks",r.i18n)},pricingImageAlign:{video:ei.a,title:Object(s.__)("Image Align",r.i18n),description:Object(s.__)("Adjusts the placement of the image to align left, center or right",r.i18n)},pricingTitleAlign:{video:ni.a,title:Object(s.__)("Title Align",r.i18n),description:Object(s.__)("Adjusts the placement of the title to align left, center or right",r.i18n)},pricingPriceAlign:{video:ii.a,title:Object(s.__)("Price Align",r.i18n),description:Object(s.__)("Adjusts the placement of the price to align left, center or right",r.i18n)},pricingSubpriceAlign:{video:oi.a,title:Object(s.__)("Sub Price Align",r.i18n),description:Object(s.__)("Adjusts the placement of the subtitle to align left, center or right",r.i18n)},pricingButtonAlign:{video:ci.a,title:Object(s.__)("Button Align",r.i18n),description:Object(s.__)("Adjusts the placement of the button to align left, center or right",r.i18n)},pricingDescriptionAlign:{video:ui.a,title:Object(s.__)("Description Align",r.i18n),description:Object(s.__)("Adjusts the placement of the description to align left, center or right",r.i18n)},pricingImageSpacing:{video:pi.a,title:Object(s.__)("Image Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the image",r.i18n)},pricingTitleSpacing:{video:gi.a,title:Object(s.__)("Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},pricingPriceSpacing:{video:fi.a,title:Object(s.__)("Price Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the price",r.i18n)},pricingSubpriceSpacing:{video:vi.a,title:Object(s.__)("Sub Price Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the subtitle",r.i18n)},pricingButtonSpacing:{video:Oi.a,title:Object(s.__)("Button Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the button",r.i18n)},pricingDescriptionSpacing:{video:_i.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},imageBoxOverlay:{video:ki.a,title:Object(s.__)("Overlay Color",r.i18n),description:Object(s.__)("Sets the overlay color of all image boxes",r.i18n)},imageBoxOverlayHover:{video:xi.a,title:Object(s.__)("Overlay Hover Color",r.i18n),description:Object(s.__)("Triggers change in overlay color when you mouse over",r.i18n)},imageBoxHoverEffect:{video:Si.a,title:Object(s.__)("Image Hover Effect",r.i18n),description:Object(s.__)("Sets an effect that animates the image",r.i18n)},imageBoxBoxHoverEffect:{video:Ti.a,title:Object(s.__)("Box Hover Effect",r.i18n),description:Object(s.__)("Sets an effect that animates the container of the image",r.i18n)},imageBoxSubtitleSpacing:{video:Pi.a,title:Object(s.__)("Subtitle Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the subtitle",r.i18n)},imageBoxTitleSpacing:{video:Mi.a,title:Object(s.__)("Title Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the title",r.i18n)},imageBoxLineSpacing:{video:Di.a,title:Object(s.__)("Line Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the line",r.i18n)},imageBoxDescriptionSpacing:{video:Ii.a,title:Object(s.__)("Description Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the description",r.i18n)},imageBoxArrowSpacing:{video:Hi.a,title:Object(s.__)("Arrow Spacing",r.i18n),description:Object(s.__)("Adjusts the space below the arrow",r.i18n)},imageBoxSubtitleAlign:{video:Ui.a,title:Object(s.__)("Subtitle Align",r.i18n),description:Object(s.__)("Adjusts the placement of the subtitle to align left, center or right",r.i18n)},imageBoxTitleAlign:{video:Gi.a,title:Object(s.__)("Title Align",r.i18n),description:Object(s.__)("Adjusts the placement of the title to align left, center or right",r.i18n)},imageBoxDescriptionAlign:{video:qi.a,title:Object(s.__)("Description Align",r.i18n),description:Object(s.__)("Adjusts the placement of the description to align left, center or right",r.i18n)},imageBoxArrowAlign:{video:Yi.a,title:Object(s.__)("Arrow Align",r.i18n),description:Object(s.__)("Adjusts the placement of the arrow to align left, center or right",r.i18n)},videoPopupWidth:{video:$i.a,title:Object(s.__)("Video popup width",r.i18n),description:Object(s.__)("Adjusts the width of the video popup container",r.i18n)},videoPopupHeight:{video:Zi.a,title:Object(s.__)("Video popup height",r.i18n),description:Object(s.__)("Adjusts the height of the video popup container",r.i18n)},containerImageWidth:{video:er.a,title:Object(s.__)("Image width",r.i18n),description:Object(s.__)("Adjusts the image width",r.i18n)},containerImageHeight:{video:nr.a,title:Object(s.__)("Image height",r.i18n),description:Object(s.__)("Adjusts the image height",r.i18n)},columnRowGap:{video:ir.a,title:Object(s.__)("Row gap",r.i18n),description:Object(s.__)("Adjusts the vertical row gap between columns",r.i18n)},noPadding:{video:or.a,title:Object(s.__)("No paddings",r.i18n),description:Object(s.__)("Removes all outer paddings of the block",r.i18n)},columnWidth:{video:cr.a,title:Object(s.__)("Column widths",r.i18n),description:Object(s.__)("Adjust the individual widths of each column",r.i18n)},columnArrangement:{video:ur.a,title:Object(s.__)("Column arrangement",r.i18n),description:Object(s.__)("Rearrange and move columns around by dragging each handle",r.i18n)}},pr=function(e){var t=e.getAnchorRect,n=e.title,a=e.videoUrl,i=e.description,l=e.learnMoreUrl,c=e.learnMore,b=Object(u.useRef)();return Object(u.useEffect)(function(){var e=b.current;e.muted=!0,e&&!e.playing&&e.play()},[]),Object(u.useEffect)(function(){window.dispatchEvent(new window.Event("resize"))},[e.videoUrl]),wp.element.createElement(o.Popover,{title:n,focusOnMount:"container",className:"ugb-help-tooltip-video",position:"middle left",getAnchorRect:t},wp.element.createElement(o.PanelBody,null,wp.element.createElement("button",{className:"ugb-help-tooltip-video__remove","data-testid":"close-button",onClick:e.onClickClose},wp.element.createElement(o.Dashicon,{icon:"no"})),a&&wp.element.createElement(u.Fragment,null,wp.element.createElement("video",{ref:b,width:"600",autoPlay:!0,loop:!0,muted:!0,playsinline:!0,role:"img","aria-labelledby":"ugb-help-tooltip-video__description",src:a}),(!b.current||!b.current.playing)&&wp.element.createElement(o.Spinner,null)),wp.element.createElement("div",{className:"ugb-help-tooltip-video__description",id:"ugb-help-tooltip-video__description"},n&&wp.element.createElement("h4",null,n),i,l&&wp.element.createElement("div",{className:"ugb-help-tooltip-video__link"},wp.element.createElement("a",{href:l,target:"_learn"},c," ",wp.element.createElement(o.Dashicon,{icon:"external"}))),wp.element.createElement(o.CheckboxControl,{label:Object(s.__)("Stop showing tooltips",r.i18n),className:"ugb-help-tooltip__checkbox",checked:!e.tooltipsEnabled,onChange:function(t){return e.onTooltipsEnabledChange(!t)}}))))};pr.defaultProps={onClickClose:function(){},getAnchorRect:null,title:Object(s.__)("Help",r.i18n),description:"",videoUrl:"",learnMoreUrl:"",learnMore:Object(s.__)("Learn more",r.i18n),tooltipsEnabled:!0,onTooltipsEnabledChange:function(){}};var mr=pr,gr=n(47),dr=null,fr={},hr={},vr={},yr=function(e){return e.closest('[class*="ugb--help-tip-"]')},Or=function(){!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};fr[e]=function(n){var a=n.target.closest(e);a&&dr!==a&&(dr=a,t(a))},hr[e]=function(t){var a=t.target.closest(e);t.relatedTarget&&a===t.relatedTarget.closest(e)||a&&dr===a&&(n(dr),dr=null)},document.body.addEventListener("mouseover",fr[e]),document.body.addEventListener("mouseout",hr[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),function(e){return Object(R.doAction)("stackable.help-video.control.hover.in",e,yr(e))},function(){return Object(R.doAction)("stackable.help-video.control.hover.out")}),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};vr[e]=function(n){var a=n.target.closest(e);a&&t(a)},document.body.addEventListener("click",vr[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "),function(e){return Object(R.doAction)("stackable.help-video.control.click",e,yr(e))})},wr=function(){var e;e=['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),document.body.removeEventListener("mouseover",fr[e]),document.body.removeEventListener("mouseout",hr[e]),function(e){document.body.removeEventListener("click",vr[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "))};function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kr,Cr={show:!1,controlEl:null,target:null},xr=function(e,t){kr=setTimeout(function(){Sr(e,t)},1500)},Er=function(){kr&&clearTimeout(kr),kr=null},Sr=function(e,t){Cr=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_r(n,!0).forEach(function(t){jr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_r(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Cr,{show:!0,controlEl:t,target:e}),Object(R.doAction)("stackable.help-video.show",e)},Ar=function(){Cr.show=!1,Object(R.doAction)("stackable.help-video.hide")};function Tr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Br=function(e){return"".concat(r.cdnUrl,"/").concat(e)},Pr=function(e){var t=Tr(Object(u.useState)(null),2),n=t[0],a=t[1],i=Tr(Object(u.useState)(!1),2),r=i[0],o=i[1],l=Tr(Object(u.useState)(""),2),c=l[0],s=l[1],b=Tr(Object(u.useState)(!1),2),p=b[0],m=b[1],g=function(e){document.activeElement&&document.activeElement.blur();var t,n="string"!=typeof e&&e,i=e&&"string"!=typeof e?(t=e)&&t.closest('[class*="ugb--help-tip-"]')&&Object(v.camelCase)((t.closest('[class*="ugb--help-tip-"]').getAttribute("class").match(/ugb--help-tip-([\w\d-_]+)/)||["",""])[1]):e;a(n),s(i),o(!0)},d=function(){o(!1);var e=document.querySelector(".components-popover .components-popover__content");e&&e.focus()};if(Object(u.useEffect)(function(){return gr.loadPromise.then(function(){(new gr.models.Settings).fetch().then(function(e){m(!e.stackable_help_tooltip_disabled)})}),Object(R.addAction)("stackable.help-video.show","stackable/help",g),Object(R.addAction)("stackable.help-video.hide","stackable/help",d),function(){Object(R.removeAction)("stackable.help-video.show","stackable/help"),Object(R.removeAction)("stackable.help-video.hide","stackable/help")}},[]),Object(u.useEffect)(function(){p?(Or(),document.body.classList.add("ugb--help-tips-enabled"),Object(R.addAction)("stackable.help-video.control.hover.in","stackable/help/hoverin",xr),Object(R.addAction)("stackable.help-video.control.hover.out","stackable/help/hoverout",Er),Object(R.addAction)("stackable.help-video.control.click","stackable/help/click",function(e,t){if(!Cr.show)return Sr(e,t);e===Cr.target?Ar():Sr(e,t)}),document.body.addEventListener("click",function(e){Cr.show&&(e.target.closest(".ugb-help-tooltip-video")||yr(e.target)===Cr.controlEl||Ar())})):(document.body.classList.remove("ugb--help-tips-enabled"),wr(),Object(R.removeAction)("stackable.help-video.control.hover.in","stackable/help/hoverin"),Object(R.removeAction)("stackable.help-video.control.hover.out","stackable/help/hoverout"),Object(R.removeAction)("stackable.help-video.control.click","stackable/help/click"))},[p]),!r)return null;if(void 0===e.tooltipData[c])return null;var f=e.tooltipData[c],h=f.title,y=f.video,O=f.description,w=f.learnMore;return wp.element.createElement(mr,{onClickClose:d,getAnchorRect:function(){if(!n)return null;var e=n.getBoundingClientRect(),t=document.querySelector(".edit-post-sidebar");if(t){var a=t.getBoundingClientRect();e.x=a.x,e.width=a.width}return e},title:h,description:O,videoUrl:Br(y),learnMoreUrl:w,tooltipsEnabled:p,onTooltipsEnabledChange:function(e){!function(e){new gr.models.Settings({stackable_help_tooltip_disabled:e?"":"1"}).save()}(e),m(e)}})};Pr.defaultProps={tooltipData:br};var Nr=Pr,Mr=n(23),Rr=n.n(Mr),Dr=n(12);function Fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,i=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(a=(o=l.next()).done)&&(n.push(o.value),!t||n.length!==t);a=!0);}catch(e){i=!0,r=e}finally{try{a||null==l.return||l.return()}finally{if(i)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ir=!1,zr=Object(Dr.createHigherOrderComponent)(function(e){return function(t){var n=t.isSelected,i=t.name,r=Fr(Object(u.useState)(!1),2),o=r[0],l=r[1],c=Fr(Object(u.useState)(null),2),s=c[0],b=c[1];return Object(u.useEffect)(function(){return n&&i.match(/^ugb\//)&&!o&&!Ir&&b(setTimeout(function(){Ir||(Ir=!0,b(null),l(!0))},1e3)),function(){s&&clearTimeout(s)}},[o,n]),wp.element.createElement(u.Fragment,null,wp.element.createElement(e,t),o&&wp.element.createElement(a.bb,{onRequestClose:function(){l(!1),Rr()({path:"/wp/v2/stk_welcome_video_closed",method:"POST"})}}))}},"withWelcomeTutorialModal");Object(b.a)(function(){if(Element.prototype.closest){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(u.render)(wp.element.createElement(Nr,null),e)}}),r.displayWelcomeVideo&&Object(R.addFilter)("editor.BlockEdit","stackable/with-welcome-tutorial-modal",zr),Object(R.addFilter)("stackable.color-palette-control.change","stackable/compatibility/kadence",function(e,t){return"kadence"!==r.currentTheme?e:t&&t.slug.match(/^theme-palette\d+/)?t.slug.replace(/^[\w-]*(\d+)/,"var(--global-palette$1, ".concat(e,")")):e});var Hr=n(16),Lr=n(14),Ur=n.n(Lr);function Wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wr(n,!0).forEach(function(t){Vr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Vr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qr=function(e,t){return function(n,i){var l=i.setAttributes,c=i.attributes.blockTag,b=void 0===c?"div":c;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(o.PanelBody,{title:Object(s.__)("General",r.i18n),initialOpen:!1},Object(R.applyFilters)("stackable.".concat(e,".edit.advanced.general.before"),null,i),t.blockTag&&wp.element.createElement(o.SelectControl,{label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Block",r.i18n)),value:b,options:[{value:"",label:Object(s.__)("Default",r.i18n)},{value:"div",label:Object(s._x)("Div","HTML Tag",r.i18n)},{value:"blockquote",label:Object(s._x)("Blockquote","HTML Tag",r.i18n)},{value:"section",label:Object(s._x)("Section","HTML Tag",r.i18n)},{value:"article",label:Object(s._x)("Article","HTML Tag",r.i18n)},{value:"aside",label:Object(s._x)("Aside","HTML Tag",r.i18n)},{value:"main",label:Object(s._x)("Main","HTML Tag",r.i18n)},{value:"header",label:Object(s._x)("Header","HTML Tag",r.i18n)},{value:"footer",label:Object(s._x)("Footer","HTML Tag",r.i18n)},{value:"nav",label:Object(s._x)("Nav","HTML Tag",r.i18n)},{value:"address",label:Object(s._x)("Address","HTML Tag",r.i18n)},{value:"hgroup",label:Object(s._x)("Hgroup","HTML Tag",r.i18n)}],onChange:function(e){return l({blockTag:e})}}),t.opacity&&wp.element.createElement(a.hb,{attrNameTemplate:"%sBlockOpacity",setAttributes:l,blockAttributes:i.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Opacity",r.i18n),min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-advanced-opacity"})),t.zIndex&&wp.element.createElement(a.hb,{attrNameTemplate:"%sBlockZIndex",setAttributes:l,blockAttributes:i.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Z-Index",r.i18n),min:-100,max:1e3,allowReset:!0,placeholder:"1",className:"ugb--help-tip-advanced-zindex"})),Object(R.applyFilters)("stackable.".concat(e,".edit.advanced.general.after"),null,i)))}},Kr=function(){return function(e,t){var n,a=Object(i.b)(t.attributes),r=".".concat(t.mainClassName),o=(Vr(n={},r,{zIndex:Object(i.c)(a("blockZIndex")),opacity:Object(i.c)(a("blockOpacity"))}),Vr(n,"tablet",Vr({},r,{zIndex:Object(i.c)(a("tabletBlockZIndex")),opacity:Object(i.c)(a("tabletBlockOpacity"))})),Vr(n,"mobile",Vr({},r,{zIndex:Object(i.c)(a("mobileBlockZIndex")),opacity:Object(i.c)(a("mobileBlockOpacity"))})),n);return Ur.a.all([e,o])}},Yr=function(e){return Gr({},e,{blockTag:{type:"string",default:""}},Object(i.i)("%sBlockOpacity",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.i)("%sBlockZIndex",{type:"number",default:""},["","Tablet","Mobile"]))},Xr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Gr({blockTag:!0,opacity:!0,zIndex:!0,modifyStyles:!0},t);Object(R.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-general"),qr(e,n),2),n.modifyStyles&&Object(R.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-general"),Kr()),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-general"),Yr),Object(R.doAction)("stackable.module.advanced-general",e)};function $r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$r(n,!0).forEach(function(t){Zr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$r(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(R.removeFilter)("stackable.setAttributes","stackable/module/block-spacing"),Object(R.addFilter)("stackable.setAttributes","stackable/module/block-spacing",function(e,t){return void 0===e.align?e:("full"===e.align&&"full"!==t.align&&(e.marginRight="",e.marginLeft="",e.tabletMarginRight="",e.tabletMarginLeft="",e.tabletPaddingRight="",e.tabletPaddingLeft=""),e)});var Qr=function(e,t){return function(n,i){var o=i.setAttributes,l=i.attributes,c=l.align,b=void 0!==c&&c,p=l.blockInnerWidth,m=void 0===p?"":p,g=l.marginTop,d=void 0===g?"":g,f=l.marginRight,h=void 0===f?"":f,v=l.marginBottom,y=void 0===v?"":v,O=l.marginLeft,w=void 0===O?"":O,_=l.marginUnit,j=void 0===_?"px":_,k=l.tabletMarginTop,C=void 0===k?"":k,x=l.tabletMarginRight,E=void 0===x?"":x,S=l.tabletMarginBottom,A=void 0===S?"":S,T=l.tabletMarginLeft,B=void 0===T?"":T,P=l.tabletMarginUnit,N=void 0===P?"px":P,M=l.mobileMarginTop,D=void 0===M?"":M,F=l.mobileMarginRight,I=void 0===F?"":F,z=l.mobileMarginBottom,H=void 0===z?"":z,L=l.mobileMarginLeft,U=void 0===L?"":L,W=l.mobileMarginUnit,G=void 0===W?"px":W,V=l.paddingTop,q=void 0===V?"":V,K=l.paddingBottom,Y=void 0===K?"":K,X=l.paddingRight,$=void 0===X?"":X,J=l.paddingLeft,Z=void 0===J?"":J,Q=l.paddingUnit,ee=void 0===Q?"px":Q,te=l.tabletPaddingTop,ne=void 0===te?"":te,ae=l.tabletPaddingBottom,ie=void 0===ae?"":ae,re=l.tabletPaddingRight,oe=void 0===re?"":re,le=l.tabletPaddingLeft,ce=void 0===le?"":le,se=l.tabletPaddingUnit,ue=void 0===se?"px":se,be=l.mobilePaddingTop,pe=void 0===be?"":be,me=l.mobilePaddingBottom,ge=void 0===me?"":me,de=l.mobilePaddingRight,fe=void 0===de?"":de,he=l.mobilePaddingLeft,ve=void 0===he?"":he,ye=l.mobilePaddingUnit,Oe=void 0===ye?"px":ye,we=l.blockHeight,_e=void 0===we?"":we,je=l.blockHeightUnit,ke=void 0===je?"px":je,Ce=l.tabletBlockHeight,xe=void 0===Ce?"":Ce,Ee=l.tabletBlockHeightUnit,Se=void 0===Ee?"px":Ee,Ae=l.mobileBlockHeight,Te=void 0===Ae?"":Ae,Be=l.mobileBlockHeightUnit,Pe=void 0===Be?"px":Be,Ne=l.blockWidth,Me=void 0===Ne?"":Ne,Re=l.blockWidthUnit,De=void 0===Re?"px":Re,Fe=l.tabletBlockWidth,Ie=void 0===Fe?"":Fe,ze=l.tabletBlockWidthUnit,He=void 0===ze?"px":ze,Le=l.mobileBlockWidth,Ue=void 0===Le?"":Le,We=l.mobileBlockWidthUnit,Ge=void 0===We?"px":We,Ve=l.blockHorizontalAlign,qe=void 0===Ve?"":Ve,Ke=l.tabletBlockHorizontalAlign,Ye=void 0===Ke?"":Ke,Xe=l.mobileBlockHorizontalAlign,$e=void 0===Xe?"":Xe,Je=l.blockVerticalAlign,Ze=void 0===Je?"":Je,Qe=l.tabletBlockVerticalAlign,et=void 0===Qe?"":Qe,tt=l.mobileBlockVerticalAlign,nt=void 0===tt?"":tt;return wp.element.createElement(u.Fragment,null,n,wp.element.createElement(a.cb,{title:Object(s.__)("Block Spacing",r.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-block-spacing"},Object(R.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.before"),null,i),t.height&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[0,0],max:[1e3,100],step:[1,1],allowReset:!0,value:_e,unit:ke,onChange:function(e){return o({blockHeight:e})},onChangeUnit:function(e){return o({blockHeightUnit:e})},placeholder:"0",className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[0,0],max:[1e3,100],step:[1,1],allowReset:!0,value:xe,unit:Se,onChange:function(e){return o({tabletBlockHeight:e})},onChangeUnit:function(e){return o({tabletBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Min. Block Height",r.i18n),units:["px","vh"],min:[0,0],max:[1e3,100],step:[1,1],allowReset:!0,value:Te,unit:Pe,onChange:function(e){return o({mobileBlockHeight:e})},onChangeUnit:function(e){return o({mobileBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"}))),t.verticalAlign&&wp.element.createElement(u.Fragment,null,""!==_e&&wp.element.createElement(a.ub,null,wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:Ze,onChange:function(e){return o({blockVerticalAlign:Ze!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==xe&&wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:et,onChange:function(e){return o({tabletBlockVerticalAlign:et!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==Te&&wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.e,{label:Object(s.__)("Content Vertical Align",r.i18n),controls:"flex-vertical",value:nt,onChange:function(e){return o({mobileBlockVerticalAlign:nt!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"}))),t.width&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[0,0],max:[2500,100],step:[1,1],allowReset:!0,value:Me,unit:De,onChange:function(e){return o({blockWidth:e})},onChangeUnit:function(e){return o({blockWidthUnit:e})},placeholder:"2500",className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[0,0],max:[1500,100],step:[1,1],allowReset:!0,value:Ie,unit:He,onChange:function(e){return o({tabletBlockWidth:e})},onChangeUnit:function(e){return o({tabletBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max. Content Width",r.i18n),units:["px","%"],min:[0,0],max:[1e3,100],step:[1,1],allowReset:!0,value:Ue,unit:Ge,onChange:function(e){return o({mobileBlockWidth:e})},onChangeUnit:function(e){return o({mobileBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"}))),(t.horizontalAlign||""!==m&&"full"!==m)&&wp.element.createElement(u.Fragment,null,(""!==Me||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,null,wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:qe,onChange:function(e){return o({blockHorizontalAlign:qe!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==Ie||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:Ye,onChange:function(e){return o({tabletBlockHorizontalAlign:Ye!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==Ue||""!==m&&"full"!==m)&&wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.e,{label:Object(s.__)("Content Horizontal Align",r.i18n),controls:"flex-horizontal",value:$e,onChange:function(e){return o({mobileBlockHorizontalAlign:$e!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"}))),t.margins&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,{screen:"desktop"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:d,bottom:y,right:h,left:w,unit:j,min:[-500,-100],max:[500,100],onChange:function(e){o({marginTop:e.top||0===e.top?parseInt(e.top,10):"",marginRight:e.right||0===e.right?parseInt(e.right,10):"",marginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",marginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({marginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,placeholder:"0",placeholderBottom:"35",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:C,bottom:A,right:E,left:B,unit:N,min:[-500,-100],max:[500,100],onChange:function(e){o({tabletMarginTop:e.top||0===e.top?parseInt(e.top,10):"",tabletMarginRight:e.right||0===e.right?parseInt(e.right,10):"",tabletMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.H,{label:Object(s.__)("Block Margins",r.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:D,bottom:H,right:I,left:U,unit:G,min:[-500,-100],max:[500,100],onChange:function(e){o({mobileMarginTop:e.top||0===e.top?parseInt(e.top,10):"",mobileMarginRight:e.right||0===e.right?parseInt(e.right,10):"",mobileMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobileMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobileMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==b&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==b&&t.enableMarginLeft,className:"ugb--help-tip-advanced-block-margins"}))),t.paddings&&wp.element.createElement(u.Fragment,null,wp.element.createElement(a.ub,{screen:"desktop"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:q,bottom:Y,right:$,left:Z,unit:ee,min:[0,0,0],max:[500,30,100],onChange:function(e){o({paddingTop:e.top||0===e.top?parseInt(e.top,10):"",paddingRight:e.right||0===e.right?parseInt(e.right,10):"",paddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",paddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({paddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,placeholder:"0",className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:ne,bottom:ie,right:oe,left:ce,unit:ue,min:[0,0,0],max:[500,30,100],onChange:function(e){o({tabletPaddingTop:e.top||0===e.top?parseInt(e.top,10):"",tabletPaddingRight:e.right||0===e.right?parseInt(e.right,10):"",tabletPaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletPaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletPaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.H,{label:Object(s.__)("Block Paddings",r.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:pe,bottom:ge,right:fe,left:ve,unit:Oe,min:[0,0,0],max:[500,30,100],onChange:function(e){o({mobilePaddingTop:e.top||0===e.top?parseInt(e.top,10):"",mobilePaddingRight:e.right||0===e.right?parseInt(e.right,10):"",mobilePaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobilePaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobilePaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"}))),Object(R.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.after"),null,i)))}},eo=function(e){return function(t,n){var a,r,o,l=Object(i.b)(n.attributes),c=n.attributes,s=c.blockInnerWidth,u=void 0===s?"":s,b=c.marginUnit,p=void 0===b?"px":b,m=c.tabletMarginUnit,g=void 0===m?"px":m,d=c.mobileMarginUnit,f=void 0===d?"px":d,h=c.paddingUnit,v=void 0===h?"px":h,y=c.tabletPaddingUnit,O=void 0===y?"px":y,w=c.mobilePaddingUnit,_=void 0===w?"px":w,j=c.blockHeightUnit,k=void 0===j?"px":j,C=c.tabletBlockHeightUnit,x=void 0===C?"px":C,E=c.mobileBlockHeightUnit,S=void 0===E?"px":E,A=c.blockWidthUnit,T=void 0===A?"px":A,B=c.tabletBlockWidthUnit,P=void 0===B?"px":B,N=c.mobileBlockWidthUnit,M=void 0===N?"px":N,D=".".concat(n.mainClassName),F=Object(R.applyFilters)("stackable.".concat(e,".advanced-block-spacing.margins"),{desktopTablet:Zr({},D,Object(i.d)({marginTop:l("marginTop","%s".concat(p)),marginBottom:l("marginBottom","%s".concat(p)),marginRight:l("marginRight","%s".concat(p)),marginLeft:l("marginLeft","%s".concat(p))})),tabletOnly:Zr({},D,Object(i.d)({marginRight:l("tabletMarginRight","%s".concat(g)),marginLeft:l("tabletMarginLeft","%s".concat(g)),marginTop:l("tabletMarginTop","%s".concat(g)),marginBottom:l("tabletMarginBottom","%s".concat(g))})),mobile:Zr({},D,Object(i.d)({marginRight:l("mobileMarginRight","%s".concat(f)),marginLeft:l("mobileMarginLeft","%s".concat(f)),marginTop:l("mobileMarginTop","%s".concat(f)),marginBottom:l("mobileMarginBottom","%s".concat(f))}))}),I=Object(R.applyFilters)("stackable.".concat(e,".advanced-block-spacing.paddings"),{desktopTablet:Zr({},D,Object(i.d)({paddingTop:l("paddingTop","%s".concat(v)),paddingRight:l("paddingRight","%s".concat(v)),paddingBottom:l("paddingBottom","%s".concat(v)),paddingLeft:l("paddingLeft","%s".concat(v))})),tabletOnly:Zr({},D,Object(i.d)({paddingTop:l("tabletPaddingTop","%s".concat(O)),paddingRight:l("tabletPaddingRight","%s".concat(O)),paddingBottom:l("tabletPaddingBottom","%s".concat(O)),paddingLeft:l("tabletPaddingLeft","%s".concat(O))})),mobile:Zr({},D,Object(i.d)({paddingTop:l("mobilePaddingTop","%s".concat(_)),paddingRight:l("mobilePaddingRight","%s".concat(_)),paddingBottom:l("mobilePaddingBottom","%s".concat(_)),paddingLeft:l("mobilePaddingLeft","%s".concat(_))}))}),z=(Zr(o={},D,{minHeight:l("blockHeight","%s".concat(k||"px")),justifyContent:l("blockHorizontalAlign"),alignItems:l("blockVerticalAlign")}),Zr(o,"".concat(D," > .ugb-inner-block"),{minWidth:"wide"===u&&l("blockWidth")?"auto !important":void 0,maxWidth:Object(i.c)(l("blockWidth","%s".concat(T||"px")))}),Zr(o,"tablet",(Zr(a={},D,{minHeight:l("tabletBlockHeight","%s".concat(x||"px")),justifyContent:l("tabletBlockHorizontalAlign"),alignItems:l("tabletBlockVerticalAlign")}),Zr(a,"".concat(D," > .ugb-inner-block"),{minWidth:"wide"===u&&l("tabletBlockWidth")?"auto !important":void 0,maxWidth:Object(i.c)(l("tabletBlockWidth","%s".concat(P||"px")))}),a)),Zr(o,"mobile",(Zr(r={},D,{minHeight:l("mobileBlockHeight","%s".concat(S||"px")),justifyContent:l("mobileBlockHorizontalAlign"),alignItems:l("mobileBlockVerticalAlign")}),Zr(r,"".concat(D," > .ugb-inner-block"),{minWidth:"wide"===u&&l("mobileBlockWidth")?"auto !important":void 0,maxWidth:Object(i.c)(l("mobileBlockWidth","%s".concat(M||"px")))}),r)),Zr(o,"ie11",Zr({},D,{height:l("blockHeight","%s".concat(k))||void 0})),o);return Ur.a.all([t,F,I,z])}},to=function(e){return Jr({},e,{},Object(i.i)("%sMargin%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.i)("%sMarginUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.i)("%sPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.i)("%sPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.i)("%sBlockHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.i)("%sBlockHeightUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.i)("%sBlockWidth",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.i)("%sBlockWidthUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.i)("%sBlock%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},no=function(e,t){var n=t.attributes,a=n.blockWidth,i=void 0===a?"":a,r=n.tabletBlockWidth,o=void 0===r?"":r,l=n.mobileBlockWidth;return Jr({},e,{"ugb--has-custom-content-width":""!==i,"ugb--has-custom-content-width-tablet":""!==o,"ugb--has-custom-content-width-mobile":""!==(void 0===l?"":l)})},ao=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Jr({margins:!0,paddings:!0,height:!0,width:!0,horizontalAlign:!0,verticalAlign:!0,modifyStyles:!0,enableMarginTop:!0,enableMarginRight:!0,enableMarginBottom:!0,enableMarginLeft:!0,enablePaddingTop:!0,enablePaddingRight:!0,enablePaddingBottom:!0,enablePaddingLeft:!0},t);Object(R.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-block-spacing"),Qr(e,n),5),n.modifyStyles&&Object(R.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-block-spacing"),eo(e)),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-block-spacing"),to),Object(R.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-block-spacing"),no),Object(R.doAction)("stackable.module.advanced-block-spacing",e)};function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oo=function(e){return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Column Spacing & More",r.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-column-spacing"},wp.element.createElement(a.fb,{type:"advanced"})))},lo=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?io(n,!0).forEach(function(t){ro(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(i.i)("%sColumnPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(i.i)("%sColumnPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(i.i)("%sColumnGap",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.i)("%sColumnHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(i.i)("%sColumnContent%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]),{},Object(i.i)("%sColumn%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},co=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.showProNotice&&Object(R.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/fine-grained"),oo,6),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-column-spacing"),lo),Object(R.doAction)("stackable.module.advanced-column-spacing",e,t)};function so(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function uo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?so(n,!0).forEach(function(t){bo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):so(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var po=function(e,t){var n=t.attributes,a=n.hideDesktop,i=void 0!==a&&a,r=n.hideTablet,o=void 0!==r&&r,l=n.hideMobile;return uo({},e,{"ugb--hide-desktop":i,"ugb--hide-tablet":o,"ugb--hide-mobile":void 0!==l&&l})},mo=function(e){return uo({},e,{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}})},go=function(e){Object(R.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-responsive"),function(e){return function(t,n){var a=n.setAttributes,i=n.attributes,l=i.hideDesktop,c=void 0!==l&&l,b=i.hideTablet,p=void 0!==b&&b,m=i.hideMobile,g=void 0!==m&&m;return wp.element.createElement(u.Fragment,null,t,wp.element.createElement(o.PanelBody,{title:Object(s.__)("Responsive",r.i18n),initialOpen:!1},Object(R.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.before"),null,n),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Desktop",r.i18n),checked:c,onChange:function(e){return a({hideDesktop:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Tablet",r.i18n),checked:p,onChange:function(e){return a({hideTablet:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Hide on Mobile",r.i18n),checked:g,onChange:function(e){return a({hideMobile:e})}}),Object(R.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.after"),null,n)))}}(e),19),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-responsive"),mo),Object(R.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-responsive"),po),Object(R.doAction)("stackable.module.advanced-responsive",e)};function fo(){return(fo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ho(n,!0).forEach(function(t){yo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ho(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Oo=[],wo=function(e){return vo({},e,{supports:vo({},e.supports,{align:null})})},_o=function(e){return Object(v.includes)(["center","wide","full"],e)},jo=Object(Dr.createHigherOrderComponent)(Object(Dr.compose)([Object(p.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.attributes,a=t.name,i=n.align,r=t.wrapperProps;return Oo.includes(a)&&_o(i)&&(r=vo({},r,{"data-align":i})),wp.element.createElement(e,fo({},t,{wrapperProps:r}))}}]));function ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Co(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ko(n,!0).forEach(function(t){xo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ko(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Eo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(R.addFilter)("editor.BlockListBlock","stackable/with-data-align",jo),Object(R.addFilter)("blocks.getSaveContent.extraProps","stackable/addAssignedAlign",function(e,t,n){var a=t.name,i=n.align;return Oo.includes(a)?(_o(i)&&(e.className=ae()("align".concat(i),e.className)),e):e}),Object(R.removeFilter)("stackable.setAttributes","stackable/module/block-background/show"),Object(R.addFilter)("stackable.setAttributes","stackable/module/block-background/show",function(e,t){if(void 0===e.showBlockBackground)return e;var n=t.attributes,a=n.align,i=void 0===a?"":a,r=n.blockInnerWidth,o=void 0===r?"":r;return e.align=e.showBlockBackground?"full":o||"center",e.blockInnerWidth=e.showBlockBackground?i||"center":"",e});var So=function(e,t){var n=t.setAttributes,l=t.attributes,c=l.showBlockBackground,b=void 0!==c&&c,p=l.noPaddings,m=void 0===p?"":p;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Block Background",r.i18n),id:"block-background",checked:b,onChange:function(e){return n({showBlockBackground:e})},toggleOnSetAttributes:[].concat(Eo(Object(i.j)("blockBackground%s")),["noPaddings"]),toggleAttributeName:"showBlockBackground",className:"ugb--help-tip-background-on-off"},wp.element.createElement(a.v,null),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("No Paddings",r.i18n),checked:m,onChange:function(e){return n({noPaddings:e})},className:"ugb--help-tip-no-padding"}),wp.element.createElement(a.h,{attrNameTemplate:"blockBackground%s",setAttributes:n,blockAttributes:t.attributes})))},Ao=function(e,t){var n=t.setAttributes,a=t.attributes,i=a.showBlockBackground,l=void 0!==i&&i,b=a.align,p=void 0===b?"":b,m=a.blockInnerWidth,g=void 0===m?"":m;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(c.BlockControls,null,!l&&wp.element.createElement(c.BlockAlignmentToolbar,{value:p,onChange:function(e){var t=l&&!e?"full":e;n(l?{align:"full",blockInnerWidth:"center"===t?"":t}:{align:t})},controls:["center","wide","full"]}),l&&wp.element.createElement(o.Toolbar,{label:Object(s.__)("Change Alignment",r.i18n),controls:[{icon:"align-center",title:Object(s.__)("Align center",r.i18n),isActive:""===g||"center"===g,onClick:function(){n({blockInnerWidth:"center"})}},{icon:"align-wide",title:Object(s.__)("Wide width",r.i18n),isActive:"wide"===g,onClick:function(){n({blockInnerWidth:"wide"})}},{icon:"align-full-width",title:Object(s.__)("Full width",r.i18n),isActive:"full"===g,onClick:function(){n({blockInnerWidth:"full"})}}]})))},To=function(e){return Co({},e,{supports:Co({},e.supports,{align:["center","wide","full"]})})},Bo=function(e){return Co({},e,{showBlockBackground:{type:"boolean",default:!1},blockInnerWidth:{type:"string",default:""},align:{type:"string"},noPaddings:{type:"boolean",default:""}},Object(i.k)("blockBackground%s"))},Po=function(e,t){var n,a=t.attributes,r=a.showBlockBackground,o=void 0!==r&&r,l=a.blockInnerWidth,c=void 0===l?"":l;return o?Co({},e,(xo(n={},"ugb-main-block--inner-".concat(c),c),xo(n,"ugb--has-block-background",o),xo(n,"ugb--has-background-overlay",Object(i.X)("blockBackground%s",t.attributes)),n)):e},No=function(e,t){var n=t.attributes,a=n.showBlockBackground,i=void 0!==a&&a,r=n.blockInnerWidth;return i?Co({},e,xo({},"ugb-inner-block--".concat((void 0===r?"":r)||"center"),!0)):e},Mo=function(e,t,n){return n.attributes.showBlockBackground?wp.element.createElement(u.Fragment,null,e,Object(i.J)("blockBackground%s",n)):e},Ro=function(e,t){var n,a,r,o=Object(i.b)(t.attributes);if(!t.attributes.showBlockBackground)return e;var l=(xo(r={},".".concat(t.mainClassName),Co({},Object(i.n)("blockBackground%s","desktop",t.attributes))),xo(r,"",{padding:o("noPaddings")?"0 !important":void 0}),xo(r,".".concat(t.mainClassName,":before"),Co({},Object(i.l)("blockBackground%s","desktop",t.attributes))),xo(r,"tablet",(xo(n={},".".concat(t.mainClassName),Co({},Object(i.n)("blockBackground%s","tablet",t.attributes))),xo(n,".".concat(t.mainClassName,":before"),Co({},Object(i.l)("blockBackground%s","tablet",t.attributes))),n)),xo(r,"mobile",(xo(a={},".".concat(t.mainClassName),Co({},Object(i.n)("blockBackground%s","mobile",t.attributes))),xo(a,".".concat(t.mainClassName,":before"),Co({},Object(i.l)("blockBackground%s","mobile",t.attributes))),a)),r);return Ur()(e,l)},Do=function(e){return Object(v.omit)(e,["blockBackgroundBackgroundMediaId"])};function Fo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Io(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fo(n,!0).forEach(function(t){zo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ho=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var i=n.setAttributes,l=n.attributes,c=l.showTopSeparator,b=void 0!==c&&c,p=l.topSeparatorDesign,m=void 0===p?"wave-1":p,g=l.topSeparatorColor,d=void 0===g?"":g,f=l.topSeparatorWidth,h=void 0===f?"":f,v=l.topSeparatorFlipHorizontally,y=void 0!==v&&v,O=l.topSeparatorFlipVertically,w=void 0!==O&&O,_=l.topSeparatorShadow,j=void 0===_||_,k=l.topSeparatorBringToFront,C=void 0!==k&&k,x=l.showBottomSeparator,E=void 0!==x&&x,S=l.bottomSeparatorDesign,A=void 0===S?"wave-1":S,T=l.bottomSeparatorColor,B=void 0===T?"":T,P=l.bottomSeparatorWidth,N=void 0===P?"":P,M=l.bottomSeparatorFlipHorizontally,D=void 0!==M&&M,F=l.bottomSeparatorFlipVertically,I=void 0!==F&&F,z=l.bottomSeparatorShadow,H=void 0===z||z,L=l.bottomSeparatorBringToFront,U=void 0!==L&&L;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Top Separator",r.i18n),id:"top-separator",checked:b,onChange:function(e){return i({showTopSeparator:e})},toggleOnSetAttributes:["topSeparatorDesign","topSeparatorColor","topSeparatorHeight","topSeparatorTabletHeight","topSeparatorMobileHeight","topSeparatorWidth","topSeparatorFlipHorizontally","topSeparatorFlipVertically","topSeparatorShadow","topSeparatorBringToFront","showTopSeparatorLayer2","showTopSeparatorLayer3","topSeparatorLayer2Color","topSeparatorLayer3Color","topSeparatorLayer2BlendMode","topSeparatorLayer3BlendMode","topSeparatorLayer2Height","topSeparatorLayer3Height","topSeparatorLayer2Width","topSeparatorLayer3Width","topSeparatorLayer2Opacity","topSeparatorLayer3Opacity","topSeparatorLayer2FlipHorizontally","topSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showTopSeparator",className:"ugb-top-block-separator-panel ugb--help-tip-separator-top-on"},wp.element.createElement(a.C,{label:Object(s.__)("Design",r.i18n),selected:m,onChange:function(e){return i({topSeparatorDesign:e})}}),wp.element.createElement(a.s,{label:Object(s.__)("Color",r.i18n),value:d,onChange:function(e){return i({topSeparatorColor:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"topSeparator%sHeight",setAttributes:i,blockAttributes:n.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Height",r.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(a.c,{label:Object(s.__)("Width",r.i18n),min:"1",max:"4",step:"0.1",value:h,onChange:function(e){return i({topSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Horizontally",r.i18n),checked:y,onChange:function(e){return i({topSeparatorFlipHorizontally:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Vertically",r.i18n),checked:w,onChange:function(e){return i({topSeparatorFlipVertically:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Shadow",r.i18n),checked:j,onChange:function(e){return i({topSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Bring to Front",r.i18n),checked:C,onChange:function(e){return i({topSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(R.applyFilters)("stackable.block-separators.edit.top",null,n),r.showProNotice&&wp.element.createElement(a.gb,{title:Object(s.__)("Say Hello to Gorgeous Separators 👋",r.i18n),description:Object(s.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",r.i18n)})),wp.element.createElement(a.cb,{title:Object(s.__)("Bottom Separator",r.i18n),id:"bottom-separator",checked:E,onChange:function(e){return i({showBottomSeparator:e})},toggleOnSetAttributes:["bottomSeparatorDesign","bottomSeparatorColor","bottomSeparatorHeight","bottomSeparatorTabletHeight","bottomSeparatorMobileHeight","bottomSeparatorWidth","bottomSeparatorFlipHorizontally","bottomSeparatorFlipVertically","bottomSeparatorShadow","bottomSeparatorBringToFront","showBottomSeparatorLayer2","showBottomSeparatorLayer3","bottomSeparatorLayer2Color","bottomSeparatorLayer3Color","bottomSeparatorLayer2BlendMode","bottomSeparatorLayer3BlendMode","bottomSeparatorLayer2Height","bottomSeparatorLayer3Height","bottomSeparatorLayer2Width","bottomSeparatorLayer3Width","bottomSeparatorLayer2Opacity","bottomSeparatorLayer3Opacity","bottomSeparatorLayer2FlipHorizontally","bottomSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showBottomSeparator",className:"ugb-bottom-block-separator-panel ugb--help-tip-separator-bottom-on"},wp.element.createElement(a.C,{label:Object(s.__)("Design",r.i18n),selected:A,onChange:function(e){return i({bottomSeparatorDesign:e})}}),wp.element.createElement(a.s,{label:Object(s.__)("Color",r.i18n),value:B,onChange:function(e){return i({bottomSeparatorColor:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"bottomSeparator%sHeight",setAttributes:i,blockAttributes:n.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Height",r.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(a.c,{label:Object(s.__)("Width",r.i18n),min:"1",max:"4",step:"0.1",value:N,onChange:function(e){return i({bottomSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Horizontally",r.i18n),checked:D,onChange:function(e){return i({bottomSeparatorFlipHorizontally:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Flip Vertically",r.i18n),checked:I,onChange:function(e){return i({bottomSeparatorFlipVertically:e})}}),wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Shadow",r.i18n),checked:H,onChange:function(e){return i({bottomSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(o.ToggleControl,{label:Object(s.__)("Bring to Front",r.i18n),checked:U,onChange:function(e){return i({bottomSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(R.applyFilters)("stackable.block-separators.edit.bottom",null,n),r.showProNotice&&wp.element.createElement(a.gb,{title:Object(s.__)("Say Hello to Gorgeous Separators 👋",r.i18n),description:Object(s.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",r.i18n)})))}},Lo=function(e){return Io({},e,{},Object(i.i)("Show%sSeparator",{type:"boolean",default:""},["Top","Bottom"]),{},Object(i.i)("%sSeparator%s",{type:"string",default:"wave-1"},["Top","Bottom"],["Design"]),{},Object(i.i)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Color"]),{},Object(i.i)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Height","TabletHeight","MobileHeight","Width"]),{},Object(i.i)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["FlipHorizontally","FlipVertically","BringToFront"]),{},Object(i.i)("%sSeparatorShadow",{type:"boolean",default:!0},["Top","Bottom"]),{},Object(i.i)("Show%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2","Layer3"]),{},Object(i.i)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Layer2Color","Layer3Color","Layer2BlendMode","Layer3BlendMode"]),{},Object(i.i)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Layer2Height","Layer3Height","Layer2Width","Layer3Width","Layer2Opacity","Layer3Opacity"]),{},Object(i.i)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2FlipHorizontally","Layer3FlipHorizontally"]))},Uo=function(e,t,n){var i=n.attributes,r=i.showTopSeparator,o=void 0!==r&&r,l=i.topSeparatorDesign,c=void 0===l?"wave-1":l,s=i.topSeparatorFlipVertically,b=void 0!==s&&s,p=i.topSeparatorShadow,m=void 0===p||p,g=i.showBottomSeparator,d=void 0!==g&&g,f=i.bottomSeparatorDesign,h=void 0===f?"wave-1":f,v=i.bottomSeparatorFlipVertically,y=void 0!==v&&v,O=i.bottomSeparatorShadow,w=void 0===O||O;return wp.element.createElement(u.Fragment,null,e,o&&wp.element.createElement(u.Fragment,null,wp.element.createElement("div",{className:"ugb-top-separator"},wp.element.createElement(a.ib,{design:c,shadow:m,inverted:b},Object(R.applyFilters)("stackable.module.block-separator.output.top.after",null,n)))),d&&wp.element.createElement(u.Fragment,null,wp.element.createElement("div",{className:"ugb-bottom-separator"},wp.element.createElement(a.ib,{design:h,shadow:w,inverted:y},Object(R.applyFilters)("stackable.module.block-separator.output.bottom.after",null,n)))))},Wo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,i=n.attributes,r=i.showTopSeparator,o=void 0!==r&&r,l=i.topSeparatorColor,c=void 0===l?"":l,s=i.topSeparatorHeight,u=void 0===s?"":s,b=i.topSeparatorTabletHeight,p=void 0===b?"":b,m=i.topSeparatorMobileHeight,g=void 0===m?"":m,d=i.topSeparatorWidth,f=void 0===d?"":d,h=i.topSeparatorFlipHorizontally,v=void 0!==h&&h,y=i.topSeparatorBringToFront,O=void 0!==y&&y;if(!o)return e;var w=(zo(a={},".ugb-top-separator",{zIndex:t.enableBringToFront&&O?6:void 0,transform:v?"scale(-1)":void 0}),zo(a,".ugb-top-separator svg",{fill:""!==c?c:void 0}),zo(a,".ugb-top-separator .ugb-separator-wrapper",{transform:""!==f?"scaleX(".concat(f,")"):void 0}),zo(a,"desktopTablet",zo({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0})),zo(a,"tabletOnly",zo({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),zo(a,"mobile",zo({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),a);return Ur()(e,w)}},Go=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,i=n.attributes,r=i.showBottomSeparator,o=void 0!==r&&r,l=i.bottomSeparatorColor,c=void 0===l?"":l,s=i.bottomSeparatorHeight,u=void 0===s?"":s,b=i.bottomSeparatorTabletHeight,p=void 0===b?"":b,m=i.bottomSeparatorMobileHeight,g=void 0===m?"":m,d=i.bottomSeparatorWidth,f=void 0===d?"":d,h=i.bottomSeparatorFlipHorizontally,v=void 0!==h&&h,y=i.bottomSeparatorBringToFront,O=void 0!==y&&y;if(!o)return e;var w=(zo(a={},".ugb-bottom-separator",{zIndex:t.enableBringToFront&&O?6:void 0,transform:v?"scaleX(-1)":void 0}),zo(a,".ugb-bottom-separator svg",{fill:""!==c?c:void 0}),zo(a,".ugb-bottom-separator .ugb-separator-wrapper",{transform:""!==f?"scaleX(".concat(f,")"):void 0}),zo(a,"desktopTablet",zo({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0})),zo(a,"tabletOnly",zo({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),zo(a,"mobile",zo({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),a);return Ur()(e,w)}},Vo=function(e,t){var n=t.attributes,a=n.showTopSeparator,i=void 0!==a&&a,r=n.showBottomSeparator;return Io({},e,{"ugb--has-top-separator":i,"ugb--has-bottom-separator":void 0!==r&&r})};function qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ko(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qo(n,!0).forEach(function(t){Yo(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var $o=function(e,t){var n=t.setAttributes,o=t.attributes,l=o.showBlockTitle,c=void 0!==l&&l,b=o.blockTitleTag,p=void 0===b?"":b,m=o.blockTitleColor,g=void 0===m?"":m,d=o.showBlockDescription,f=void 0!==d&&d,h=o.blockDescriptionColor,v=void 0===h?"":h,y=o.blockTitle,O=void 0===y?"":y,w=o.blockDescription,_=void 0===w?"":w,j=o.blockTitleWidth,k=void 0===j?"":j,C=o.blockTitleTabletWidth,x=void 0===C?"":C,E=o.blockTitleMobileWidth,S=void 0===E?"":E,A=o.blockTitleWidthUnit,T=void 0===A?"px":A,B=o.blockTitleTabletWidthUnit,P=void 0===B?"px":B,N=o.blockTitleMobileWidthUnit,M=void 0===N?"px":N,R=o.blockDescriptionWidth,D=void 0===R?"":R,F=o.blockDescriptionTabletWidth,I=void 0===F?"":F,z=o.blockDescriptionMobileWidth,H=void 0===z?"":z,L=o.blockDescriptionWidthUnit,U=void 0===L?"px":L,W=o.blockDescriptionTabletWidthUnit,G=void 0===W?"px":W,V=o.blockDescriptionMobileWidthUnit,q=void 0===V?"px":V,K=o.blockTitleHorizontalAlign,Y=void 0===K?"":K,X=o.blockDescriptionHorizontalAlign,$=void 0===X?"":X;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(a.cb,{title:Object(s.__)("Block Title",r.i18n),id:"block-title",className:"ugb-panel-block-title-module",checked:c,onChange:function(e){var t={showBlockTitle:e};e&&""===O&&(t.blockTitle=Object(s.__)("Title for This Block",r.i18n)),n(t)},toggleOnSetAttributes:[].concat(Xo(Object(i.G)("blockTitle%s")),["blockTitleTag","blockTitleColor"],Xo(Object(i.A)("blockTitle%sAlign"))),toggleAttributeName:"showBlockTitle"},wp.element.createElement(a.rb,{attrNameTemplate:"blockTitle%s",setAttributes:n,blockAttributes:t.attributes,htmlTag:p||"h2"}),wp.element.createElement(a.J,{value:p||"h2",onChange:function(e){return n({blockTitleTag:e})}}),wp.element.createElement(a.s,{value:g,onChange:function(e){return n({blockTitleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[0,0],max:[1e3,100],step:[1,1],placeholder:[1e3,100],allowReset:!0,value:k,unit:T||"px",onChange:function(e){return n({blockTitleWidth:e})},onChangeUnit:function(e){return n({blockTitleWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[0,0],max:[1e3,100],step:[1,1],placeholder:[1e3,100],allowReset:!0,value:x,unit:P||"px",onChange:function(e){return n({blockTitleTabletWidth:e})},onChangeUnit:function(e){return n({blockTitleTabletWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[0,0],max:[1e3,100],step:[1,1],placeholder:[1e3,100],allowReset:!0,value:S,unit:M||"px",onChange:function(e){return n({blockTitleMobileWidth:e})},onChangeUnit:function(e){return n({blockTitleMobileWidthUnit:e})}})),(k||x||S)&&wp.element.createElement(a.e,{label:Object(s.__)("Horizontal Align",r.i18n),controls:"flex-horizontal",value:Y,onChange:function(e){return n({blockTitleHorizontalAlign:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"BlockTitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.f,{label:Object(s.__)("Text Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(a.cb,{title:Object(s.__)("Block Description",r.i18n),id:"block-description",checked:f,onChange:function(e){var t={showBlockDescription:e};e&&""===_&&(t.blockDescription=Object(i.K)()),n(t)},toggleOnSetAttributes:[].concat(Xo(Object(i.G)("blockDescription%s")),["blockDescriptionTag","blockDescriptionColor"],Xo(Object(i.A)("blockDescription%sAlign"))),toggleAttributeName:"showBlockDescription"},wp.element.createElement(a.rb,{attrNameTemplate:"blockDescription%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(a.s,{value:v,onChange:function(e){return n({blockDescriptionColor:e})},label:Object(s.__)("Description Color",r.i18n)}),wp.element.createElement(a.ub,null,wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[0,0],max:[1e3,100],step:[1,1],placeholder:[1e3,100],allowReset:!0,value:D,unit:U||"px",onChange:function(e){return n({blockDescriptionWidth:e})},onChangeUnit:function(e){return n({blockDescriptionWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"tablet"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[0,0],max:[1e3,100],step:[1,1],placeholder:[1e3,100],allowReset:!0,value:I,unit:G||"px",onChange:function(e){return n({blockDescriptionTabletWidth:e})},onChangeUnit:function(e){return n({blockDescriptionTabletWidthUnit:e})}})),wp.element.createElement(a.ub,{screen:"mobile"},wp.element.createElement(a.c,{label:Object(s.__)("Max Width",r.i18n),units:["px","%"],min:[0,0],max:[1e3,100],step:[1,1],placeholder:[1e3,100],allowReset:!0,value:H,unit:q||"px",onChange:function(e){return n({blockDescriptionMobileWidth:e})},onChangeUnit:function(e){return n({blockDescriptionMobileWidthUnit:e})}})),(D||I||H)&&wp.element.createElement(a.e,{label:Object(s.__)("Horizontal Align",r.i18n),controls:"flex-horizontal",value:$,onChange:function(e){return n({blockDescriptionHorizontalAlign:e})}}),wp.element.createElement(a.hb,{attrNameTemplate:"BlockDescription%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.f,{label:Object(s.__)("Text Align",r.i18n),className:"ugb--help-tip-alignment-description"}))))},Jo=function(e){return Ko({},e,{showBlockTitle:{type:"boolean",default:!1},blockTitle:{source:"html",selector:".ugb-block-title",default:Object(s.__)("Title for This Block",r.i18n)}},Object(i.B)("blockTitle%sWidth",{type:"number",default:""}),{},Object(i.B)("blockTitle%sWidthUnit",{type:"string",default:""}),{blockTitleHorizontalAlign:{type:"string",default:""}},Object(i.B)("blockTitle%sBottomMargin",{type:"number",default:""}),{},Object(i.H)("blockTitle%s"),{},Object(i.B)("blockTitle%sAlign",{type:"string",default:""}),{blockTitleColor:{type:"string",default:""},blockTitleTag:{type:"string",default:""},showBlockDescription:{type:"boolean",default:!1},blockDescription:{source:"html",selector:".ugb-block-description",default:Object(i.K)()}},Object(i.B)("blockDescription%sWidth",{type:"number",default:""}),{},Object(i.B)("blockDescription%sWidthUnit",{type:"string",default:""}),{blockDescriptionHorizontalAlign:{type:"string",default:""}},Object(i.B)("blockDescription%sBottomMargin",{type:"number",default:""}),{},Object(i.H)("blockDescription%s"),{},Object(i.B)("blockDescription%sAlign",{type:"string",default:""}),{blockDescriptionColor:{type:"string",default:""}})},Zo=function(e,t,n){var a=n.setAttributes,o=n.attributes,l=o.showBlockTitle,b=void 0!==l&&l,p=o.blockTitle,m=void 0===p?"":p,g=o.blockTitleTag,d=void 0===g?"":g,f=o.showBlockDescription,h=void 0!==f&&f,v=o.blockDescription,y=void 0===v?"":v,O=ae()(["ugb-block-title"],{"ugb-block-title--with-subtitle":h&&y});return wp.element.createElement(u.Fragment,null,e,b&&wp.element.createElement(c.RichText,{tagName:d||"h2",value:m,className:O,onChange:function(e){return a({blockTitle:e})},placeholder:Object(s.__)("Title for This Block",r.i18n),keepPlaceholderOnFocus:!0}),h&&wp.element.createElement(c.RichText,{tagName:"p",value:y,className:"ugb-block-description",onChange:function(e){return a({blockDescription:e})},placeholder:Object(i.K)(),keepPlaceholderOnFocus:!0}))},Qo=function(e,t){var n=t.setAttributes,i=t.attributes,o=i.showBlockTitle,l=void 0!==o&&o,c=i.showBlockDescription,b=void 0!==c&&c;return wp.element.createElement(u.Fragment,null,e,l&&wp.element.createElement(a.hb,{attrNameTemplate:"blockTitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Block Title",r.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-block-title"})),b&&wp.element.createElement(a.hb,{attrNameTemplate:"blockDescription%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(a.c,{label:Object(s.__)("Block Description",r.i18n),min:-50,max:100,placeholder:"50",allowReset:!0,className:"ugb--help-tip-spacing-block-description"})))},el=function(e,t,n){var a=n.attributes,i=a.showBlockTitle,r=void 0!==i&&i,o=a.blockTitle,l=void 0===o?"":o,s=a.blockTitleTag,b=void 0===s?"":s,p=a.showBlockDescription,m=void 0!==p&&p,g=a.blockDescription,d=void 0===g?"":g,f=ae()(["ugb-block-title"],{"ugb-block-title--with-subtitle":m&&d});return wp.element.createElement(u.Fragment,null,e,r&&!c.RichText.isEmpty(l)&&wp.element.createElement(c.RichText.Content,{tagName:b||"h2",className:f,value:l}),m&&!c.RichText.isEmpty(d)&&wp.element.createElement(c.RichText.Content,{tagName:"p",className:"ugb-block-description",value:d}))},tl=function(e,t){var n=Object(i.b)(t.attributes),a=t.attributes,r=a.showBlockTitle,o=void 0!==r&&r,l=a.blockTitleColor,c=void 0===l?"":l,s=a.showBlockDescription,u=void 0!==s&&s,b=a.blockDescriptionColor,p=void 0===b?"":b,m=a.showBlockBackground,g=void 0!==m&&m,d=a.blockBackgroundBackgroundColor,f=void 0===d?"":d,h=[e],v=n("blockTitleWidth")||n("blockTitleTabletWidth")||n("blockTitleMobileWidth");o&&h.push({".ugb-block-title":Ko({},Object(i.I)("BlockTitle%s","desktop",t.attributes),{color:Object(i.tb)(c,g&&f),textAlign:n("blockTitleAlign"),marginBottom:n("blockTitleBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleWidth","%s"+n("blockTitleWidthUnit","%s","px"))),marginLeft:v?Object(i.c)(Object(i.fb)(n("blockTitleHorizontalAlign"))):void 0,marginRight:v?Object(i.c)(Object(i.gb)(n("blockTitleHorizontalAlign"))):void 0}),tablet:{".ugb-block-title":Ko({},Object(i.I)("BlockTitle%s","tablet",t.attributes),{textAlign:n("blockTitleTabletAlign"),marginBottom:n("blockTitleTabletBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleTabletWidth","%s"+n("blockTitleTabletWidthUnit","%s","px")))})},mobile:{".ugb-block-title":Ko({},Object(i.I)("BlockTitle%s","mobile",t.attributes),{textAlign:n("blockTitleMobileAlign"),marginBottom:n("blockTitleMobileBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockTitleMobileWidth","%s"+n("blockTitleMobileWidthUnit","%s","px")))})}});var y=n("blockDescriptionWidth")||n("blockDescriptionTabletWidth")||n("blockDescriptionMobileWidth");return u&&h.push({".ugb-block-description":Ko({},Object(i.I)("BlockDescription%s","desktop",t.attributes),{color:Object(i.tb)(p,g&&f),textAlign:n("blockDescriptionAlign"),marginBottom:n("blockDescriptionBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionWidth","%s"+n("blockDescriptionWidthUnit","%s","px"))),marginLeft:y?Object(i.c)(Object(i.fb)(n("blockDescriptionHorizontalAlign"))):void 0,marginRight:y?Object(i.c)(Object(i.gb)(n("blockDescriptionHorizontalAlign"))):void 0}),tablet:{".ugb-block-description":Ko({},Object(i.I)("BlockDescription%s","tablet",t.attributes),{textAlign:n("blockDescriptionTabletAlign"),marginBottom:n("blockDescriptionTabletBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionTabletWidth","%s"+n("blockDescriptionTabletWidthUnit","%s","px")))})},mobile:{".ugb-block-description":Ko({},Object(i.I)("BlockDescription%s","mobile",t.attributes),{textAlign:n("blockDescriptionMobileAlign"),marginBottom:n("blockDescriptionMobileBottomMargin","%spx"),maxWidth:Object(i.c)(n("blockDescriptionMobileWidth","%s"+n("blockDescriptionMobileWidthUnit","%s","px")))})}}),Ur.a.all(h)},nl=function(e){return Object(v.omit)(Ko({},e,{blockTitle:Object(s.__)("Title for This Block",r.i18n),blockDescription:Object(i.K)()}),[e.showBlockTitle?"blockTitle":"",e.showBlockDescription?"blockDescription":""])},al=function(e){return[].concat(Xo(e),["BlockTitle%sAlign","BlockDescription%sAlign"])};function il(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function rl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?il(n,!0).forEach(function(t){ol(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):il(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ol(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ll=function(e){return function(t){return wp.element.createElement(u.Fragment,null,t,wp.element.createElement(o.PanelBody,{title:Object(s.__)("Designs",r.i18n),initialOpen:!0},wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("You will not lose your block content when changing designs.",r.i18n)),wp.element.createElement(a.y,{block:"ugb/".concat(e),onSelect:function(e){Object(i.e)(e.attributes)}})))}};function cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ul=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cl(n,!0).forEach(function(t){sl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(i.i)("%sContentAlign",{type:"string",default:""},["","Tablet","Mobile"]))},bl=function(e,t){var n=Object(i.b)(t.attributes),a=[e];return a.push({".ugb-inner-block":{textAlign:n("contentAlign")},tablet:{".ugb-inner-block":{textAlign:n("tabletContentAlign")}},mobile:{".ugb-inner-block":{textAlign:n("mobileContentAlign")}}}),Ur.a.all(a)},pl=function(e,t){var n=t.setAttributes,a=t.attributes.contentAlign,i=void 0===a?"":a;return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(c.BlockControls,null,wp.element.createElement(c.AlignmentToolbar,{value:i,onChange:function(e){return n({contentAlign:e})}})))};function ml(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dl=function(e){return wp.element.createElement(u.Fragment,null,e,wp.element.createElement(o.PanelBody,{initialOpen:!1,title:Object(s.__)("Custom CSS",r.i18n)},wp.element.createElement(a.fb,{title:Object(s.__)("Say Hello to Custom CSS 👋",r.i18n),description:Object(s.__)("Further tweak this block by adding guided custom CSS rules. This feature is only available on Stackable Premium",r.i18n)})))},fl=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ml(n,!0).forEach(function(t){gl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ml(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""}})},hl=function(e,t,n){var a=n.mainClassName,r=n.attributes,o=r.customCSS,l=void 0===o?"":o,c=r.uniqueClass,s=void 0===c?n.attributes.customCSSUniqueID||"":c,b=Object(i.hb)(Object(i.h)(l,a,s),!0);return wp.element.createElement(u.Fragment,null,e,b&&wp.element.createElement("style",null,b))},vl={},yl=function(e,t){vl[e]=t},Ol=function(e){return vl[e]},wl=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Ol(t)){var a=_l.reduce(function(e,n){var a=n.name,i=n.module;return t===a?i:e},null);a&&yl(t,a)}var i=Ol(t);i&&i(e,n)},_l=[{name:"advanced-general",module:Xr},{name:"advanced-responsive",module:go},{name:"advanced-block-spacing",module:ao},{name:"advanced-column-spacing",module:co},{name:"block-background",module:function(e){Object(R.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-background"),So,18),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-background"),Bo),Object(R.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/block-background"),Ao),Object(R.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),To),Object(R.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-background"),Po),Object(R.addFilter)("stackable.".concat(e,".main-block.inner-classes"),"stackable/".concat(e,"/block-background"),No),Object(R.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-background"),Ro),Object(R.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),Mo),Object(R.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),Mo),Object(R.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-separators"),Do),Object(R.doAction)("stackable.module.block-background",e),function(e){Object(R.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),wo,99),Oo.push("ugb/".concat(e))}(e)}},{name:"block-separators",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Io({enableBringToFront:!0},t);Object(R.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-separators"),Ho(e,n),18),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-separators"),Lo),Object(R.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),Uo),Object(R.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),Uo),Object(R.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/top"),Wo(e,n)),Object(R.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/bottom"),Go(e,n)),Object(R.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-separators"),Vo),Object(R.doAction)("stackable.module.block-separators",e)}},{name:"block-title",module:function(e){Object(R.removeFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title"),Object(R.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-title"),$o,17),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-title"),Jo),Object(R.addFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title",Qo),Object(R.addFilter)("stackable.".concat(e,".edit.output.before"),"stackable/".concat(e,"/block-title"),Zo),Object(R.addFilter)("stackable.".concat(e,".save.output.before"),"stackable/".concat(e,"/block-title"),el),Object(R.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-title"),tl),Object(R.addFilter)("stackable.with-content-align-reseter.attributeNamesToReset","stackable/".concat(e,"/block-title"),al),Object(R.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-title"),nl),Object(R.doAction)("stackable.module.block-title",e)}},{name:"block-designs",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};rl({},t);Object(R.addFilter)("stackable.".concat(e,".edit.inspector.layout.before"),"stackable/".concat(e,"/block-designs"),ll(e),20),Object(R.doAction)("stackable.module.block-designs",e)}},{name:"content-align",module:function(e){Object(R.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/content-align"),pl,11),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/content-align"),ul),Object(R.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/content-align"),bl,9),Object(R.doAction)("stackable.module.content-align",e)}},{name:"custom-css",module:function(e){r.showProNotice&&Object(R.addFilter)("stackable.".concat(e,".edit.inspector.advanced.after"),"stackable/".concat(e,"/custom-css"),dl,20),Object(R.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/custom-css"),fl),r.isPro||Object(R.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/pro/".concat(e,"/custom-css/downgrade"),hl),Object(R.doAction)("stackable.module.custom-css",e)}}],jl=n(10);function kl(e){return(kl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function xl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cl(n,!0).forEach(function(t){El(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function El(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sl,Al=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(d.getBlockType)(e)){var n=e.replace(/^\w+\//g,""),a=xl({},t,{category:Object(i.ob)()?t.category:"stackable",modules:Object(R.applyFilters)("stackable.".concat(n,".modules"),t.modules||{}),deprecated:(t.deprecated||[]).map(function(t){return xl({},t,{save:Object(jl.f)(e)(t.save)})})});return Object.keys(a.modules).forEach(function(e){var t=a.modules[e];t&&wl(n,e,"object"===kl(t)?t:{})}),a.attributes=Object(R.applyFilters)("stackable.block.attributes",a.attributes),a.attributes=Object(R.applyFilters)("stackable.".concat(n,".attributes"),a.attributes),a.edit=Object(jl.f)(e)(a.edit),a.save=Object(jl.f)(e)(a.save),Object(d.registerBlockType)(e,Object(R.applyFilters)("stackable.".concat(n,".settings"),a)),a}};Object(i.ob)()?Object(d.registerBlockCollection)("ugb",{title:Object(s.__)("Stackable",r.i18n),icon:Hr.v}):Object(d.setCategories)([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(Sl=Object(d.getCategories)())||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(Sl)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}(),[{slug:"stackable",title:Object(s.__)("Stackable",r.i18n),icon:Hr.v}]));var Tl;(Tl=n(381)).keys().forEach(function(e){var t=Tl(e),n=t.name,a=t.settings;try{return n&&a&&Al(n,a)}catch(e){console.error("Could not register ".concat(n," block"))}})},function(e,t,n){"use strict";n.r(t);var a=n(4),i=n.n(a);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var o=i.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),l=function(e){return i.a.createElement("svg",r({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),o)};function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=i.a.createElement("filter",{id:"curve-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),u=i.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),b=function(e){return i.a.createElement("svg",c({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),s,u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var m=i.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),g=function(e){return i.a.createElement("svg",p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),m)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=i.a.createElement("filter",{id:"curve-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),h=i.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),v=function(e){return i.a.createElement("svg",d({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),f,h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=i.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),w=function(e){return i.a.createElement("svg",y({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=i.a.createElement("filter",{id:"curve-3-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),k=i.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),C=function(e){return i.a.createElement("svg",_({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),j,k)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=i.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),S=function(e){return i.a.createElement("svg",x({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),E)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=i.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),B=i.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),P=function(e){return i.a.createElement("svg",A({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),T,B)};function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var M=i.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),R=function(e){return i.a.createElement("svg",N({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),M)};function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=i.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),I=i.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),z=function(e){return i.a.createElement("svg",D({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),F,I)};function H(){return(H=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var L=i.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),U=function(e){return i.a.createElement("svg",H({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),L)};function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var G=i.a.createElement("filter",{id:"slant-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),V=i.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),q=function(e){return i.a.createElement("svg",W({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),G,V)};function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=i.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),X=function(e){return i.a.createElement("svg",K({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Y)};function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var J=i.a.createElement("filter",{id:"slant-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Z=i.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Q=function(e){return i.a.createElement("svg",$({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),J,Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=i.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),ne=function(e){return i.a.createElement("svg",ee({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=i.a.createElement("filter",{id:"wave-1-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),re=i.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),oe=function(e){return i.a.createElement("svg",ae({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ie,re)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=i.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),se=function(e){return i.a.createElement("svg",le({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var be=i.a.createElement("filter",{id:"wave-2-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pe=i.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),me=function(e){return i.a.createElement("svg",ue({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),be,pe)};function ge(){return(ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=i.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),fe=function(e){return i.a.createElement("svg",ge({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=i.a.createElement("filter",{id:"wave-3-shadow_svg__a"},i.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),i.a.createElement("feComponentTransfer",null,i.a.createElement("feFuncA",{type:"linear",slope:.4})),i.a.createElement("feMerge",null,i.a.createElement("feMergeNode",null),i.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ye=i.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Oe={"wave-1":ne,"wave-2":se,"wave-3":fe,"curve-1":l,"curve-2":g,"curve-3":w,"slant-1":U,"slant-2":X,"rounded-1":S,"rounded-2":R},we={"wave-1":oe,"wave-2":me,"wave-3":function(e){return i.a.createElement("svg",he({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ve,ye)},"curve-1":b,"curve-2":v,"curve-3":C,"slant-1":q,"slant-2":Q,"rounded-1":P,"rounded-2":z},_e=n(5),je=n(8),ke=n.n(je),Ce=[{attributes:{align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.height,i=n.design,r=void 0===i?"wave-1":i,o=n.marginTop,l=void 0===o?0:o,c=n.marginBottom,s=void 0===c?0:c,u=n.paddingTop,b=void 0===u?0:u,p=n.paddingBottom,m=void 0===p?0:p,g=n.backgroundColor,d=void 0===g?"":g,f=n.flipVertically,h=void 0!==f&&f,v=n.flipHorizontally,y=void 0!==v&&v,O=n.layer1Color,w=void 0===O?"":O,_=n.layer1Width,j=void 0===_?1:_,k=n.layer1Flip,C=void 0!==k&&k,x=n.layer1Shadow,E=void 0!==x&&x,S=ke()([t,"ugb-separator","ugb-separator--design-".concat(r)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":h,"ugb-separator--flip-horizontal":y},r,e)),A={backgroundColor:d||void 0,marginTop:"".concat(l-1,"px"),marginBottom:"".concat(s-1,"px")},T={height:"".concat(m,"px"),background:w||void 0},B={height:"".concat(b,"px"),background:d||void 0},P={height:a+"px"},N={fill:w||void 0,transform:j?"scaleX(".concat(j,")"):void 0};C&&(N.transform=N.transform?"".concat(N.transform," scaleX(-1)"):"scaleX(-1)");var M=Oe[r],R=we[r];return wp.element.createElement("div",{className:S,style:A,"aria-hidden":"true"},Object(_e.applyFilters)("stackable.separator.save.output.before_1_15",null,r,e),wp.element.createElement("div",{className:"ugb-separator__top-pad",style:B}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper",style:P},wp.element.createElement("div",{className:"ugb-separator__svg-inner"},E&&wp.element.createElement(R,{preserveAspectRatio:"none",style:N}),wp.element.createElement(M,{preserveAspectRatio:"none",style:N}),Object(_e.applyFilters)("stackable.separator.save.output.layers_1_15",null,r,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad",style:T}))}}],xe=n(3),Ee=n(1),Se=n(0),Ae=n(6);Ee.showProNotice&&Object(_e.addFilter)("stackable.separator.edit.inspector.style.after","stackable/separator",function(e){return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.cb,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),2),className:"ugb--help-tip-separator-layer2"},wp.element.createElement(xe.fb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a second layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})),wp.element.createElement(xe.cb,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),3),className:"ugb--help-tip-separator-layer3"},wp.element.createElement(xe.fb,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})))});var Te=n(10),Be=n(2),Pe=function(e){var t,n=Object(Be.b)(e.attributes),a=e.attributes,i=a.backgroundColor,r=void 0===i?"":i,o=a.layer1Color,l=void 0===o?"":o,c=a.layer1Width,s=void 0===c?1:c,u=a.layer1Flip,b=void 0!==u&&u,p=a.marginTop,m=void 0===p?0:p,g=a.marginBottom,d=void 0===g?0:g,f=a.marginUnit,h=void 0===f?"px":f,v=a.tabletMarginTop,y=void 0===v?"":v,O=a.tabletMarginBottom,w=void 0===O?"":O,_=a.tabletMarginUnit,j=void 0===_?"px":_,k=a.mobileMarginTop,C=void 0===k?"":k,x=a.mobileMarginBottom,E=void 0===x?"":x,S=a.mobileMarginUnit,A=void 0===S?"px":S,T=a.paddingTop,B=void 0===T?0:T,P=a.paddingBottom,N=void 0===P?0:P,M=a.paddingUnit,R=void 0===M?"px":M,D=a.tabletPaddingTop,F=void 0===D?"":D,I=a.tabletPaddingBottom,z=void 0===I?"":I,H=a.tabletPaddingUnit,L=void 0===H?"px":H,U=a.mobilePaddingTop,W=void 0===U?"":U,G=a.mobilePaddingBottom,V=void 0===G?"":G,q=a.mobilePaddingUnit,K=void 0===q?"px":q,Y=void 0!==e.mergeBlocks;return{".ugb-separator":{backgroundColor:r||void 0,marginTop:"".concat(m-1+(Y?-14:0)).concat(h," !important"),marginBottom:"".concat(d-1+(Y?-14:0)).concat(h," !important")},".ugb-separator__bottom-pad":{height:""!==N?"".concat(N).concat(R):void 0,background:l||void 0},".ugb-separator__top-pad":{height:""!==B?"".concat(B).concat(R):void 0,background:r||void 0},".ugb-separator__shadow, .ugb-separator__layer-1":{fill:l||void 0,transform:(t=s?"scaleX(".concat(s,")"):void 0,b&&(t=t?"".concat(t," scaleX(-1)"):"scaleX(-1)"),t)},desktopTablet:{".ugb-separator__svg-wrapper":{height:Object(Be.c)(n("height","%spx"))}},tabletOnly:{".ugb-separator__svg-wrapper":{height:Object(Be.c)(n("tabletHeight","%spx"))}},tablet:{".ugb-separator":{marginTop:"".concat(y-1).concat(j," !important"),marginBottom:"".concat(w-1).concat(j," !important")},".ugb-separator__bottom-pad":{height:""!==z?"".concat(z).concat(L):void 0},".ugb-separator__top-pad":{height:""!==F?"".concat(F).concat(L):void 0}},mobile:{".ugb-separator__svg-wrapper":{height:Object(Be.c)(n("mobileHeight","%spx"))},".ugb-separator":{marginTop:"".concat(C-1).concat(A," !important"),marginBottom:"".concat(E-1).concat(A," !important")},".ugb-separator__bottom-pad":{height:""!==V?"".concat(V).concat(K):void 0},".ugb-separator__top-pad":{height:""!==W?"".concat(W).concat(K):void 0}}}},Ne=n(11),Me=n(12);Object(_e.addFilter)("stackable.separator.edit.inspector.layout.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"wave-1":a;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.A,null,wp.element.createElement(xe.C,{onChange:function(e){return n({design:e})},selected:i,excludeDesigns:["straight-1"]})))}),Object(_e.addFilter)("stackable.separator.edit.inspector.style.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.height,r=a.tabletHeight,o=void 0===r?"":r,l=a.mobileHeight,c=void 0===l?"":l,s=a.marginTop,u=void 0===s?0:s,b=a.marginBottom,p=void 0===b?0:b,m=a.marginUnit,g=void 0===m?"px":m,d=a.tabletMarginTop,f=void 0===d?"":d,h=a.tabletMarginBottom,v=void 0===h?"":h,y=a.tabletMarginUnit,O=void 0===y?"px":y,w=a.mobileMarginTop,_=void 0===w?"":w,j=a.mobileMarginBottom,k=void 0===j?"":j,C=a.mobileMarginUnit,x=void 0===C?"px":C,E=a.backgroundColor,S=void 0===E?"":E,A=a.flipVertically,T=void 0!==A&&A,B=a.flipHorizontally,P=void 0!==B&&B,N=a.layer1Color,M=void 0===N?"":N,R=a.layer1Width,D=void 0===R?1:R,F=a.layer1Flip,I=void 0!==F&&F,z=a.layer1Shadow,H=void 0!==z&&z,L=a.paddingTop,U=void 0===L?0:L,W=a.paddingBottom,G=void 0===W?0:W,V=a.paddingUnit,q=void 0===V?"px":V,K=a.tabletPaddingTop,Y=void 0===K?"":K,X=a.tabletPaddingBottom,$=void 0===X?"":X,J=a.tabletPaddingUnit,Z=void 0===J?"px":J,Q=a.mobilePaddingTop,ee=void 0===Q?"":Q,te=a.mobilePaddingBottom,ne=void 0===te?"":te,ae=a.mobilePaddingUnit,ie=void 0===ae?"px":ae;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(xe.cb,{title:Object(Se.__)("Separator",Ee.i18n),id:"separator"},wp.element.createElement(xe.s,{label:Object(Se.__)("Separator Color",Ee.i18n),value:M,onChange:function(e){return n({layer1Color:e})}}),wp.element.createElement(xe.c,{label:Object(Se.__)("Separator Width",Ee.i18n),value:D,min:"1",max:"4",step:"0.1",onChange:function(e){return n({layer1Width:e})},allowReset:!0,placeholder:"1",className:"ugb--help-tip-separator-width"}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:I,onChange:function(e){return n({layer1Flip:e})}}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Shadow",Ee.i18n),checked:H,onChange:function(e){return n({layer1Shadow:e})},className:"ugb--help-tip-separator-shadow"})),wp.element.createElement(Ne.PanelBody,{title:Object(Se.__)("General",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ub,{screen:"desktop"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:i,min:"30",max:"400",onChange:function(e){t.setAttributes({height:e})},allowReset:!0,placeholder:"200"})),wp.element.createElement(xe.ub,{screen:"tablet"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:o,min:"30",max:"400",onChange:function(e){t.setAttributes({tabletHeight:e})},allowReset:!0})),wp.element.createElement(xe.ub,{screen:"mobile"},wp.element.createElement(xe.c,{label:Object(Se.__)("Height",Ee.i18n),value:c,min:"30",max:"400",onChange:function(e){t.setAttributes({mobileHeight:e})},allowReset:!0})),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Vertically",Ee.i18n),checked:T,onChange:function(e){return n({flipVertically:e})}}),wp.element.createElement(Ne.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:P,onChange:function(e){return n({flipHorizontally:e})}}),wp.element.createElement(xe.s,{label:Object(Se.__)("Background Color",Ee.i18n),value:S,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(Ne.PanelBody,{title:Object(Se.__)("Spacing",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ub,{screen:"desktop"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:U,min:"0",max:"400",onChange:function(e){return n({paddingTop:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:G,min:"0",max:"400",onChange:function(e){return n({paddingBottom:e})},units:["px","em","%"],unit:q,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:u,min:-i-U-100,max:"400",onChange:function(e){return n({marginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:g,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:p,min:-i-G-100,max:"400",onChange:function(e){return n({marginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:g,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"})),wp.element.createElement(xe.ub,{screen:"tablet"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:Y,min:"0",max:"400",onChange:function(e){return n({tabletPaddingTop:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:$,min:"0",max:"400",onChange:function(e){return n({tabletPaddingBottom:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:f,min:-o-Y-100,max:"400",onChange:function(e){return n({tabletMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:O,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:v,min:-o-$-100,max:"400",onChange:function(e){return n({tabletMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:O,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0})),wp.element.createElement(xe.ub,{screen:"mobile"},wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Top",Ee.i18n),value:ee,min:"0",max:"400",onChange:function(e){return n({mobilePaddingTop:e})},units:["px","em","%"],unit:ie,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:ne,min:"0",max:"400",onChange:function(e){return n({mobilePaddingBottom:e})},units:["px","em","%"],unit:ie,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Top",Ee.i18n),value:_,min:-c-ee-100,max:"400",onChange:function(e){return n({mobileMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.c,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:k,min:-c-ne-100,max:"400",onChange:function(e){return n({mobileMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}))))});var Re=Object(Me.compose)(Te.i,Te.g,Te.d,Object(Te.h)(),Object(Te.a)(Pe,{editorMode:!0}),Object(Te.b)([[".ugb-separator__layer-1","separator"]]))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"wave-1":a,r=n.flipVertically,o=void 0!==r&&r,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=ke()([t,"ugb-separator--v2","ugb-separator--design-".concat(i)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":o,"ugb-separator--flip-horizontal":c},i,e));return wp.element.createElement(xe.k.Edit,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ib,{design:i,shadow:u,className:"ugb-separator__svg-inner"},Object(_e.applyFilters)("stackable.separator.edit.output.layers",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),De=Object(Me.compose)(Te.i,Object(Te.a)(Pe))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"wave-1":a,r=n.flipVertically,o=void 0!==r&&r,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=ke()([t,"ugb-separator--v2","ugb-separator--design-".concat(i)],Object(_e.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":o,"ugb-separator--flip-horizontal":c},i,e));return wp.element.createElement(xe.k.Save,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ib,{design:i,shadow:u,className:"ugb-separator__svg-inner"},Object(_e.applyFilters)("stackable.separator.edit.output.layers",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),Fe=n(16);n.d(t,"schema",function(){return Ie}),n.d(t,"name",function(){return ze}),n.d(t,"settings",function(){return He});var Ie={align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},tabletHeight:{type:"number",default:""},mobileHeight:{type:"number",default:""},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},tabletMarginTop:{type:"number",default:""},tabletMarginBottom:{type:"number",default:""},mobileMarginTop:{type:"number",default:""},mobileMarginBottom:{type:"number",default:""},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},tabletPaddingTop:{type:"number",default:""},tabletPaddingBottom:{type:"number",default:""},mobilePaddingTop:{type:"number",default:""},mobilePaddingBottom:{type:"number",default:""},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer2BlendMode:{type:"string",default:""},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5}},ze="ugb/separator",He={title:Object(Se.__)("Separator",Ee.i18n),description:Object(Se.__)("A fancy separator to be placed between containers and content.",Ee.i18n),icon:Fe.x,category:"layout",keywords:[Object(Se.__)("Separator",Ee.i18n),Object(Se.__)("SVG Divider",Ee.i18n),Object(Se.__)("Stackable",Ee.i18n)],attributes:Ie,supports:{align:["full"],inserter:!Ee.disabledBlocks.includes(ze)},deprecated:Ce,save:De,edit:Re,modules:{"advanced-general":!0,"advanced-responsive":!0,"advanced-block-spacing":{enableMarginRight:!1,enableMarginLeft:!1,enablePaddingRight:!1,enablePaddingLeft:!1,height:!1,width:!1,horizontalContentAlign:!1,verticalContentAlign:!1,modifyStyles:!1},"custom-css":{default:Object(_e.applyFilters)("stackable.separator.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.blockquote.design.no-text-attributes","stackable/blockquote",function(e){return Object(a.omit)(e,["text"])});var r=n(4),o=n.n(r);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var c=o.a.createElement("path",{d:"M22.3 30.5c0 6-4.8 10.8-10.8 10.8-2.3 0-4.5-.8-6.3-2-.9-.6-1.8-1.4-2.5-2.4-1.8-2.4-2.7-5.4-2.7-9 0-4.5 1.3-8.5 4-11.9 2.7-3.4 6.4-5.8 11.1-7.3v2.8c-2.7 2.2-4.4 5-4.9 8.3.4-.1.9-.1 1.3-.1 6-.1 10.8 4.8 10.8 10.8zm16.9-10.9c-.5 0-.9 0-1.3.1.5-3.3 2.2-6.1 4.9-8.3V8.7c-4.7 1.4-8.4 3.9-11.1 7.3-2.7 3.4-4 7.4-4 11.9 0 3.6.9 6.6 2.7 9 .8 1 1.6 1.8 2.5 2.4 1.8 1.3 3.9 2 6.3 2 6 0 10.8-4.8 10.8-10.8 0-6-4.8-10.9-10.8-10.9z"}),s=function(e){return o.a.createElement("svg",l({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),c)};function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var b=o.a.createElement("path",{d:"M9.4 14.6c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.3.9 7.3 2.7 2 1.8 3 4.2 3 7.3 0 1.9-.5 3.6-1.4 5.1-.9 1.5-2.2 2.7-3.8 3.6s-3.3 1.3-5.1 1.3c-4.1 0-7.3-1.6-9.5-4.9C.9 36.9 0 33.5 0 29.4c0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.3 1.3-6.2 3.5-8.7 6.4zm27.5 0c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.4.9 7.4 2.7 2 1.8 3 4.2 3 7.3 0 2.8-1 5.2-3 7.1-2 1.9-4.4 2.9-7.3 2.9-4.1 0-7.3-1.6-9.5-4.9-1.8-2.7-2.8-6.2-2.8-10.3 0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.5 1.2-6.4 3.4-8.8 6.3z"}),p=function(e){return o.a.createElement("svg",u({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),b)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=o.a.createElement("path",{d:"M22.6 12.8c-1.9.5-3.7 1.2-5.3 2.1-1.6.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.3 1.8.8 0 1.5-.3 2.4-.9.8-.6 1.9-.9 3.3-.9 2.1 0 3.9.8 5.4 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-1.9 1.8-4.3 2.6-7.3 2.6-1.8 0-3.4-.4-4.9-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.6-4.6C.3 32.5 0 30.6 0 28.6c0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.6-1.8 8.6-2v5.8zm27.4 0c-1.9.5-3.7 1.2-5.4 2.1-1.7.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.4 1.8.8 0 1.5-.3 2.3-.9.8-.6 1.9-.9 3.3-.9 2 0 3.8.8 5.3 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-2 1.8-4.4 2.6-7.3 2.6-1.7 0-3.3-.4-4.8-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.7-4.6c-.7-1.8-1-3.7-1-5.7 0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.7-1.8 8.8-2v5.7z"}),d=function(e){return o.a.createElement("svg",m({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),g)};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var h=o.a.createElement("path",{d:"M19.8 9.3C10.5 11.8 4.6 17 2.1 24.8c2.3-3.6 5.6-5.4 9.9-5.4 3.3 0 6 1.1 8.3 3.3 2.2 2.2 3.4 5 3.4 8.3 0 3.2-1.1 5.8-3.3 8-2.2 2.2-5.1 3.2-8.7 3.2-3.7 0-6.5-1.2-8.6-3.5C1 36.3 0 33.1 0 29 0 18.3 6.5 11.2 19.6 7.9l.2 1.4zm26.4 0C36.9 11.9 31 17 28.5 24.8c2.2-3.6 5.5-5.4 9.8-5.4 3.2 0 6 1.1 8.3 3.2 2.3 2.2 3.4 4.9 3.4 8.3 0 3.1-1.1 5.8-3.3 7.9-2.2 2.2-5.1 3.3-8.6 3.3-3.7 0-6.6-1.1-8.6-3.4-2.1-2.3-3.1-5.5-3.1-9.7 0-10.7 6.6-17.8 19.7-21.1l.1 1.4z"}),v=function(e){return o.a.createElement("svg",f({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=o.a.createElement("path",{d:"M12.5 9.2H19c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H20c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H3c-1.1 0-1.8-.2-2.3-.7-.5-.4-.7-1.2-.7-2.2V21.9c0-4.3 1.1-7.4 3.4-9.6 2.3-2 5.3-3.1 9.1-3.1zm26.9 0h6.5c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H47c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H30c-1.1 0-1.8-.2-2.3-.7-.5-.5-.7-1.2-.7-2.3V21.9c0-4.3 1.1-7.4 3.4-9.6 2.2-2 5.2-3.1 9-3.1z"}),w=function(e){return o.a.createElement("svg",y({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=o.a.createElement("path",{d:"M20.8 44.5H0V23.7L9.3 5.5h7.3L12 23.7h8.8v20.8zm29.2 0H29.2V23.7l9.3-18.1h7.3l-4.6 18.1H50v20.8z"}),k=function(e){return o.a.createElement("svg",_({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),j)};function C(){return(C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var x=o.a.createElement("path",{d:"M10.3 24.8V26H20v16.9H0V26.2C0 13.4 6.6 7.1 19.9 7.1v7.1c-3.4.5-5.9 1.6-7.4 3.3-1.5 1.7-2.2 4.1-2.2 7.3zm30 0V26H50v16.9H30.1V26.2c0-12.7 6.6-19.1 19.9-19.1v7.1c-6.4.7-9.7 4.3-9.7 10.6z"}),E=function(e){return o.a.createElement("svg",C({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),x)};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var A=o.a.createElement("path",{d:"M21.1 6.8v36.4H0V22.1L21.1 6.8zm28.9 0v36.4H28.9V22.1L50 6.8z"}),T=function(e){return o.a.createElement("svg",S({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),A)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=o.a.createElement("path",{d:"M14.7 45.9H0V31.3C0 17.6 8.6 6.6 21.6 4.1v4.7c-10 2.6-16.7 10.9-16.7 22.6h9.8v14.5zm28.1 0H28.4V31.3C28.4 17.6 37 6.6 50 4.1v4.7c-9.8 2.6-16.7 10.9-16.7 22.6h9.5v14.5z"}),N=function(e){return o.a.createElement("svg",B({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),P)},M=n(1),R=n(0);function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(p,D({style:e},t))},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(v,D({style:e},t))},z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(d,D({style:e},t))},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(s,D({style:e},t))},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(E,D({style:e},t))},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(w,D({style:e},t))},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(k,D({style:e},t))},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(T,D({style:e},t))},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(N,D({style:e},t))},q={"round-thin":{icon:I(),iconFunc:I,title:Object(R.__)("Round Thin",M.i18n),value:"round-thin"},round:{icon:F(),iconFunc:F,title:Object(R.__)("Round",M.i18n),value:"round"},"round-thick":{icon:z(),iconFunc:z,title:Object(R.__)("Round Thick",M.i18n),value:"round-thick"},"round-fat":{icon:H(),iconFunc:H,title:Object(R.__)("Round Fat",M.i18n),value:"round-fat"},"square-thin":{icon:V(),iconFunc:V,title:Object(R.__)("Square Thin",M.i18n),value:"square-thin"},square:{icon:L(),iconFunc:L,title:Object(R.__)("Square",M.i18n),value:"square"},"square-simple":{icon:G(),iconFunc:G,title:Object(R.__)("Square Simple",M.i18n),value:"square-simple"},"square-modern":{icon:W(),iconFunc:W,title:Object(R.__)("Square Modern",M.i18n),value:"square-modern"},"square-fat":{icon:U(),iconFunc:U,title:Object(R.__)("Square Fat",M.i18n),value:"square-fat"}},K=n(2),Y=n(7),X=n(8),$=n.n(X);function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(n,!0).forEach(function(t){Q(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ee=[{attributes:{align:{type:"string"},text:{source:"html",selector:"p",default:Object(K.K)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,r=a.color,o=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,m=void 0===p?0:p,g=a.backgroundType,d=void 0===g?"":g,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,O=a.quotationMark,w=void 0===O?"round-thin":O,_=a.quotationSize,j=void 0===_?70:_,k=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,A=void 0===S?12:S,T=a.shadow,B=void 0===T?3:T,P=["basic","top-icon"].includes(E),N=$()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses_1_17_3",(Q(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(B),P&&3!==B),Q(t,"ugb-content-width","full"===k&&C),Q(t,"ugb-blockquote--small-quote",j<60),Q(t,"ugb--has-background-gradient","gradient"===s),Q(t,"ugb--has-background-video","video"===d),t),E,e)),M=P?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(m,"deg"):void 0,borderRadius:12!==A?A:void 0}:{},R=Object(i.applyFilters)("stackable.blockquote.styles_1_17_3",{main:Z({"--quote-color":l||void 0},M),text:{color:r}},E,e);return wp.element.createElement("blockquote",{className:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before_1_17_3",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},q[w].iconFunc({fill:l,width:j,height:j}),Object(i.applyFilters)("stackable.blockquote.save.output_1_17_3",wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:o}),E,e)),Object(i.applyFilters)("stackable.blockquote.save.output.after_1_17_3",null,E,e))},migrate:function(e){var t=function(t){var n=(t||"").replace(/\.ugb-content-wrapper/g,".ugb-blockquote__item").replace(/svg(\s*\{)/g,".ugb-blockquote__quote$1");return"basic"===e.design&&(n=n.replace(/\.ugb-blockquote(\s*\{)/g,".ugb-blockquote__item$1")),n};return Z({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),showQuote:!0,quoteIcon:e.quotationMark,quoteSize:e.quotationSize,textColor:e.color?e.color:e.backgroundColor?"#000000":void 0,containerBackgroundColorType:e.backgroundColorType,containerBackgroundColor:e.backgroundColor,containerBackgroundColor2:e.backgroundColor2,containerBackgroundGradientDirection:e.backgroundColorDirection,containerBackgroundMediaId:e.backgroundImageID,containerBackgroundMediaUrl:e.backgroundImageURL,containerBackgroundTintStrength:e.backgroundOpacity,containerFixedBackground:e.fixedBackground,design:"basic"===e.design&&"full"===e.align?"plain":e.design,showBlockBackground:"basic"===e.design&&"full"===e.align||void 0,blockInnerWidth:"full"!==e.align?void 0:"basic"===e.design&&!0===e.contentWidth?"center":"full",blockBackgroundBackgroundColor:"basic"===e.design&&"full"===e.align?e.backgroundColor:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{align:{type:"string"},text:{source:"html",selector:"p",default:Object(K.K)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,r=a.color,o=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,m=void 0===p?0:p,g=a.backgroundType,d=void 0===g?"":g,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,O=a.quotationMark,w=void 0===O?"round-thin":O,_=a.quotationSize,j=void 0===_?70:_,k=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,A=void 0===S?12:S,T=a.shadow,B=void 0===T?3:T,P=["basic","top-icon"].includes(E),N=$()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses",(Q(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(B),P&&3!==B),Q(t,"ugb-content-width","full"===k&&C),Q(t,"ugb-blockquote--small-quote",j<60),Q(t,"ugb--has-background-gradient","gradient"===s),Q(t,"ugb--has-background-video","video"===d),t),E,e)),M=P?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(m,"deg"):void 0,borderRadius:12!==A?A:void 0}:{},R=Object(i.applyFilters)("stackable.blockquote.styles_1_17_3",{main:Z({"--quote-color":l||void 0},M),text:{color:r}},E,e);return wp.element.createElement("blockquote",{className:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},q[w].iconFunc({fill:l,width:j,height:j}),Object(i.applyFilters)("stackable.blockquote.save.text",wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:o}),E,e)),Object(i.applyFilters)("stackable.blockquote.save.output.after",null,E,e))}}],te=n(263),ne=n.n(te),ae=n(264),ie=n.n(ae),re=function(e){var t=e.attributes.design,n=void 0===t?"basic":t;return Object(i.applyFilters)("stackable.blockquote.show",{containerBackground:"basic"===n,borderRadius:"basic"===n,shadow:"basic"===n},e)},oe=n(14),le=n.n(oe);function ce(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(n,!0).forEach(function(t){be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=function(e){var t=Object(K.b)(e.attributes),n=re(e),a=[];a.push(ue({},n.containerBackground?Object(K.m)("container%s","ugb-blockquote__item",e.attributes,{importantBackgroundColor:!0}):{})),n.containerBackground&&a.push({".ugb-blockquote__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}});var i=e.attributes.showQuote;(void 0===i||i)&&(a.push({".ugb-blockquote__quote":{fill:Object(K.c)(t("quoteColor")),opacity:t("quoteOpacity")}}),a.push.apply(a,ce(Object(K.D)(".ugb-blockquote__quote","quote%sSize","width","%spx",e.attributes,{important:!0}))),a.push.apply(a,ce(Object(K.D)(".ugb-blockquote__quote","quote%sSize","height","%spx",e.attributes,{important:!0}))),a.push.apply(a,ce(Object(K.D)(".ugb-blockquote__quote","quote%sX","left","%spx",e.attributes,{important:!0}))),a.push.apply(a,ce(Object(K.D)(".ugb-blockquote__quote","quote%sY","top","%spx",e.attributes,{important:!0}))));var r=e.attributes,o=r.containerBackgroundColor,l=void 0===o?"":o,c=r.textColor,s=void 0===c?"":c;return a.push({".ugb-blockquote__text":ue({},Object(K.I)("text%s","desktop",e.attributes,{important:!0}),{color:Object(K.tb)(s,n.containerBackground&&l)}),tablet:{".ugb-blockquote__text":ue({},Object(K.I)("text%s","tablet",e.attributes,{important:!0}))},mobile:{".ugb-blockquote__text":ue({},Object(K.I)("text%s","mobile",e.attributes,{important:!0}))}}),a.push.apply(a,ce(Object(K.D)(".ugb-blockquote__item","text%sAlign","textAlign","%s",e.attributes,{important:!0}))),le.a.all(a)},me=n(3),ge=n(10),de=n(11),fe=n(6),he=n(12);function ve(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.blockquote.edit.inspector.layout.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(fe.Fragment,null,e,wp.element.createElement(me.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.blockquote.edit.layouts",[{label:Object(R.__)("Basic",M.i18n),value:"basic",image:ne.a},{label:Object(R.__)("Plain",M.i18n),value:"plain",image:ie.a}]),onChange:function(e){return n({design:e})}},M.showProNotice&&wp.element.createElement(me.gb,null)))}),Object(i.addFilter)("stackable.blockquote.edit.inspector.style.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,r=void 0===i?"":i,o=a.shadow,l=void 0===o?"":o,c=a.showQuote,s=void 0===c||c,u=a.quoteIcon,b=void 0===u?"round-thin":u,p=a.quoteColor,m=void 0===p?"":p,g=a.quoteOpacity,d=void 0===g?"":g,f=a.textColor,h=void 0===f?"":f,v=re(t);return wp.element.createElement(fe.Fragment,null,e,wp.element.createElement(de.PanelBody,{title:Object(R.__)("General",M.i18n)},v.borderRadius&&wp.element.createElement(me.c,{label:Object(R.__)("Border Radius",M.i18n),value:r,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),v.shadow&&wp.element.createElement(me.c,{label:Object(R.__)("Shadow / Outline",M.i18n),value:l,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(me.u,{setAttributes:n,blockAttributes:t.attributes})),v.containerBackground&&wp.element.createElement(me.cb,{title:Object(R.__)("Container Background",M.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(me.h,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(me.cb,{title:Object(R.__)("Quotation Mark",M.i18n),id:"quotation",checked:s,onChange:function(e){return n({showQuote:e})},toggleOnSetAttributes:["quoteIcon","quoteColor"].concat(ve(Object(K.A)("quote%sSize")),ve(Object(K.A)("quote%sX")),ve(Object(K.A)("quote%sY"))),toggleAttributeName:"showQuote"},wp.element.createElement(me.e,{label:Object(R.__)("Icon",M.i18n),multiline:!0,className:"ugb-blockquote__inspector__icon",controls:Object.values(q),value:b,onChange:function(e){return n({quoteIcon:e})}}),wp.element.createElement(me.s,{value:m,onChange:function(e){return n({quoteColor:e})},label:Object(R.__)("Color",M.i18n)}),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Size",M.i18n),min:0,max:400,allowReset:!0,placeholder:"70"})),wp.element.createElement(me.c,{label:Object(R.__)("Opacity",M.i18n),value:d,onChange:function(e){return n({quoteOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1"}),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sX",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Horizontal Position",M.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"})),wp.element.createElement(me.hb,{attrNameTemplate:"quote%sY",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.c,{label:Object(R.__)("Vertical Position",M.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"}))),wp.element.createElement(me.cb,{title:Object(R.__)("Text",M.i18n),id:"text",hasToggle:!1},wp.element.createElement(me.rb,{attrNameTemplate:"text%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(me.s,{value:h,onChange:function(e){return n({textColor:e})},label:Object(R.__)("Text Color",M.i18n)}),wp.element.createElement(me.hb,{attrNameTemplate:"Text%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(me.f,{label:Object(R.__)("Align",M.i18n),className:"ugb--help-tip-alignment-description"}))))});var ye=Object(he.compose)(ge.i,ge.g,ge.d,Object(ge.h)(),Object(ge.c)(["Text%sAlign"]),Object(ge.a)(pe,{editorMode:!0}),Object(ge.b)([[".ugb-blockquote__item","column-background"],[".ugb-blockquote__quote","quotation"],[".ugb-blockquote__text","text"]]))(function(e){var t,n,a,r=e.className,o=e.setAttributes,l=e.attributes,c=l.blockTag,s=void 0===c?"":c,u=l.design,b=void 0===u?"plain":u,p=l.shadow,m=void 0===p?"":p,g=l.text,d=void 0===g?"":g,f=l.showQuote,h=void 0===f||f,v=l.quoteIcon,y=void 0===v?"round-thin":v,O=l.quoteSize,w=void 0===O?70:O,_=re(e),j=$()([r,"ugb-blockquote--v3","ugb-blockquote--design-".concat(b)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":w<60},b,e)),k=$()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(m),a=_.containerBackground&&""!==m,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(me.k.Edit,{blockTag:s||"blockquote",className:j,blockProps:e,render:function(){return wp.element.createElement(fe.Fragment,null,wp.element.createElement(me.D,{className:k,backgroundAttrName:"container%s",blockProps:e,showBackground:_.containerBackground},h&&q[y].iconFunc({},{className:"ugb-blockquote__quote",width:w,height:w}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(Y.RichText,{className:"ugb-blockquote__text",value:d,onChange:function(e){return o({text:e})},placeholder:Object(K.K)("long"),keepPlaceholderOnFocus:!0}))))}})});var Oe=Object(he.compose)(ge.i,Object(ge.a)(pe))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.blockTag,c=void 0===l?"":l,s=o.design,u=void 0===s?"plain":s,b=o.shadow,p=void 0===b?"":b,m=o.text,g=void 0===m?"":m,d=o.showQuote,f=void 0===d||d,h=o.quoteIcon,v=void 0===h?"round-thin":h,y=o.quoteSize,O=void 0===y?70:y,w=re(e),_=$()([r,"ugb-blockquote--v3","ugb-blockquote--design-".concat(u)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":O<60},u,e)),j=$()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(p),a=w.containerBackground&&""!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(me.k.Save,{blockTag:c||"blockquote",className:_,blockProps:e,render:function(){return wp.element.createElement(fe.Fragment,null,wp.element.createElement(me.D,{className:j,backgroundAttrName:"container%s",blockProps:e,showBackground:w.containerBackground},f&&q[v].iconFunc({},{className:"ugb-blockquote__quote",width:O,height:O}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(Y.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",value:g}))))}})}),we=n(16);function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return Ce}),n.d(t,"settings",function(){return xe});var ke=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach(function(t){je(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(K.k)("container%s"),{showQuote:{type:"boolean",default:!0},quoteIcon:{type:"string",default:"round-thin"},quoteOpacity:{type:"number",default:""},quoteColor:{type:"string",default:""},quoteSize:{type:"number",default:70}},Object(K.i)("quote%s%s",{type:"number",default:""},["","Tablet","Mobile"],["X","Y"]),{text:{source:"html",selector:".ugb-blockquote__text",default:Object(K.K)("long")}},Object(K.H)("text%s"),{textColor:{type:"string",default:""}},Object(K.B)("text%sAlign",{type:"string",default:""})),Ce="ugb/blockquote",xe={title:Object(R.__)("Blockquote",M.i18n),description:Object(R.__)("Display a quote in style.",M.i18n),icon:we.b,category:"common",keywords:[Object(R.__)("Blockquote",M.i18n),Object(R.__)("Stackable",M.i18n)],supports:{align:["center","wide","full"],inserter:!M.disabledBlocks.includes(Ce)},attributes:ke,deprecated:ee,edit:ye,save:Oe,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.blockquote.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),i=n(2),r=n(9),o=n(5);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.video-popup.design.filtered-block-attributes","stackable/video-popup",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.omit)(e,["videoLink","videoID","video-popup3","previewBackgroundMediaId"].concat(l(t&&t.previewBackgroundMediaId?["previewBackgroundMediaUrl"]:[])))});var c=n(4),s=n.n(c);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var b=s.a.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}),p=function(e){return s.a.createElement("svg",u({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),b)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=s.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),d=function(e){return s.a.createElement("svg",m({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),g)};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var h=s.a.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),v=s.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),y=function(e){return s.a.createElement("svg",f({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),h,v)},O=n(0),w=n(1),_={normal:function(e){return wp.element.createElement(d,{style:e,width:"30",height:"30"})},circle:function(e){return wp.element.createElement(p,{style:e,width:"50",height:"50"})},outline:function(e){return wp.element.createElement(y,{style:e,width:"50",height:"50"})}},j=(Object(O.__)("Normal Play Button",w.i18n),Object(O.__)("Play Button with Circle",w.i18n),Object(O.__)("Outline Play Button",w.i18n),n(8)),k=n.n(j);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=[{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string",default:"#ffffff"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string",default:"#000000"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},align:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t,n=e.className,a=e.attributes,i=a.videoID,r=a.playButtonType,l=a.playButtonColor,c=void 0===l?"#ffffff":l,s=a.backgroundImageURL,u=a.backgroundColorType,b=void 0===u?"":u,p=a.backgroundColor,m=a.backgroundColor2,g=a.backgroundColorDirection,d=void 0===g?0:g,f=a.backgroundType,h=void 0===f?"":f,v=a.backgroundOpacity,y=a.design,O=void 0===y?"basic":y,w=a.borderRadius,j=void 0===w?12:w,C=a.shadow,E=void 0===C?3:C,S=k()([n,"ugb-video-popup","ugb-video-popup--v2","ugb-video-popup--design-".concat(O),"ugb-video-popup--button-".concat(r),"ugb--background-opacity-"+1*Math.round(v/1)],Object(o.applyFilters)("stackable.video-popup.mainclasses_1_15_6",(x(t={"ugb--has-background":p||s,"ugb--has-background-image":s},"ugb--shadow-".concat(E),"plain"!==O&&3!==E),x(t,"ugb--has-background-gradient","gradient"===b),x(t,"ugb--has-background-video","video"===h),t),O,e)),A={backgroundColor:p||void 0,backgroundImage:s?"url(".concat(s,")"):void 0,"--ugb-background-color":s||"gradient"===b?p:void 0,"--ugb-background-color2":"gradient"===b&&m?m:void 0,"--ugb-background-direction":"gradient"===b?"".concat(d,"deg"):void 0,borderRadius:"plain"!==O&&12!==j?j:void 0};return wp.element.createElement("div",{className:S,style:A,"data-video":i},"video"===h&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(o.applyFilters)("stackable.video-popup.save.output.before_1_15_6",null,O,e),wp.element.createElement("div",{className:"ugb-video-popup__wrapper"},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return _[e]({fill:t})}(r,c))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-video-popup([\s\{\[\.\#\:])/g,".ugb-video-popup__wrapper$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(n,!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{previewBackgroundColorType:e.backgroundColorType,previewBackgroundColor:e.backgroundColor,previewBackgroundColor2:e.backgroundColor2,previewBackgroundGradientDirection:e.backgroundColorDirection,previewBackgroundMediaId:e.backgroundImageID,previewBackgroundMediaUrl:e.backgroundImageURL,previewBackgroundTintStrength:e.backgroundOpacity,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],S=n(3);function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=s.a.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}),B=function(e){return s.a.createElement("svg",A({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),T)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=s.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),M=function(e){return s.a.createElement("svg",P({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),N)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=s.a.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),F=s.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),I=function(e){return s.a.createElement("svg",R({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),D,F)},z={normal:wp.element.createElement(M,{className:"ugb-play-button-normal",width:"30",height:"30"}),circle:wp.element.createElement(B,{className:"ugb-play-button-cirle",width:"50",height:"50"}),outline:wp.element.createElement(I,{className:"ugb-play-button-outline",width:"50",height:"50"})},H=[{value:"normal",label:Object(O.__)("Normal Play Button",w.i18n)},{value:"circle",label:Object(O.__)("Play Button with Circle",w.i18n)},{value:"outline",label:Object(O.__)("Outline Play Button",w.i18n)}],L=function(e){return z[e]},U=function(e){var t=e.attributes,n=t.showBlockBackground,a=void 0!==n&&n,i=t.blockInnerWidth,r=void 0===i?"":i,l=t.align,c=!a&&"full"===(void 0===l?"":l)||a&&"full"===r;return Object(o.applyFilters)("stackable.video-popup.show",{containerWidth:!c,borderRadius:!c},e)},W=n(10),G=n(14),V=n.n(G);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=function(e){var t=Object(i.b)(e.attributes),n=U(e);!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e.attributes);var a=[];n.containerWidth&&a.push({".ugb-video-popup__wrapper":{maxWidth:""!==t("width")?t("width","%spx"):void 0},tablet:{".ugb-video-popup__wrapper":{maxWidth:""!==t("tabletWidth")?t("tabletWidth","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{maxWidth:""!==t("mobileWidth")?t("mobileWidth","%spx"):void 0}}}),a.push({".ugb-video-popup__wrapper":{height:""!==t("height")?t("height","%spx !important"):void 0,borderRadius:n.borderRadius&&""!==t("borderRadius")?t("borderRadius","%spx"):void 0},".ugb-video-popup__play-button svg":{fill:""!==t("playButtonColor")?t("playButtonColor","%s !important"):void 0,height:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,width:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,opacity:""!==t("playButtonOpacity")?t("playButtonOpacity"):void 0},tablet:{".ugb-video-popup__wrapper":{height:""!==t("tabletHeight")?t("tabletHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0,width:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{height:""!==t("mobileHeight")?t("mobileHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0,width:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0}}}),a.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(n,!0).forEach(function(t){K(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(i.m)("preview%s","ugb-video-popup__wrapper",e.attributes)));var r=e.attributes,o=r.previewBackgroundTintStrength,l=void 0===o?"":o,c=r.previewBackgroundColor,s=void 0===c?"":c;return(l||s)&&a.push({".ugb-video-popup__wrapper:hover:before":{opacity:s&&""===l?.2:l>=5?l/10-.3:l/10+.3}}),V.a.all(a)},X=n(11),$=n(12),J=n(6);Object(o.addFilter)("stackable.video-popup.edit.inspector.style.before","stackable/video-popup",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.borderRadius,o=void 0===r?"":r,l=a.shadow,c=void 0===l?"":l,s=a.videoLink,u=void 0===s?"":s,b=a.videoID,p=void 0===b?"":b,m=a.playButtonType,g=a.playButtonColor,d=void 0===g?"#ffffff":g,f=a.playButtonOpacity,h=void 0===f?"":f,v=a.width,y=void 0===v?"":v,_=a.tabletWidth,j=void 0===_?"":_,k=a.mobileWidth,C=void 0===k?"":k,x=a.showBlockTitle,E=void 0!==x&&x,A=a.showBlockDescription,T=void 0!==A&&A,B=U(t);return wp.element.createElement(J.Fragment,null,e,wp.element.createElement(X.PanelBody,{title:Object(O.__)("General",w.i18n)},wp.element.createElement(S.S,{label:Object(O.__)("Popup Option #1: Upload Video",w.i18n),help:Object(O.__)("Use .mp4 format for videos",w.i18n),onRemove:function(){return n({videoLink:"",videoID:""})},onChange:function(e){n({videoLink:e.url,videoID:e.url})},imageID:Object(i.rb)(u)?p:"",imageURL:Object(i.rb)(u)?u:"",allowedTypes:["video"]}),wp.element.createElement(X.TextControl,{label:Object(O.__)("Popup Option #2: Video URL",w.i18n),help:Object(O.__)("Paste a Youtube / Vimeo URL",w.i18n),placeholder:"https://",value:Object(i.rb)(u)?"":u,onChange:function(e){return n({videoLink:e,videoID:Object(i.W)(e).id})},min:1,max:4})),wp.element.createElement(S.cb,{title:Object(O.__)("Container",w.i18n),initialOpen:!1},B.containerWidth&&wp.element.createElement(J.Fragment,null,wp.element.createElement(S.ub,{screen:"desktop"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:y,min:"200",max:"2000",placeholder:"2000",allowReset:!0,onChange:function(e){return t.setAttributes({width:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(S.ub,{screen:"tablet"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:j,min:"200",max:"1000",placeholder:"1000",allowReset:!0,onChange:function(e){return t.setAttributes({tabletWidth:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(S.ub,{screen:"mobile"},wp.element.createElement(S.c,{label:Object(O.__)("Width",w.i18n),value:C,min:"200",max:"700",placeholder:"700",allowReset:!0,onChange:function(e){return t.setAttributes({mobileWidth:e})},className:"ugb--help-tip-video-popup-width"}))),wp.element.createElement(S.hb,{attrNameTemplate:"%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(S.c,{label:Object(O.__)("Height",w.i18n),min:0,max:1e3,allowReset:!0,placeholder:"400",className:"ugb--help-tip-video-popup-height"})),B.borderRadius&&wp.element.createElement(S.c,{label:Object(O.__)("Border Radius",w.i18n),value:o,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),wp.element.createElement(S.c,{label:Object(O.__)("Shadow / Outline",w.i18n),value:c,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"})),wp.element.createElement(S.cb,{title:Object(O.__)("Background",w.i18n),id:"background",initialOpen:!1},wp.element.createElement(S.h,{attrNameTemplate:"preview%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(S.cb,{title:Object(O.__)("Play Button",w.i18n),id:"play-button",initialOpen:!1},wp.element.createElement(X.SelectControl,{label:Object(O.__)("Button Style",w.i18n),value:m,options:H.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}}),wp.element.createElement(S.hb,{attrNameTemplate:"%sPlayButtonSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(S.c,{label:Object(O.__)("Size",w.i18n),min:10,max:200,allowReset:!0,placeholder:"40"})),wp.element.createElement(S.s,{label:Object(O.__)("Color",w.i18n),value:d,onChange:function(e){return n({playButtonColor:e})}}),wp.element.createElement(S.c,{label:Object(O.__)("Opacity",w.i18n),min:0,max:1,step:.1,value:h,onChange:function(e){return n({playButtonOpacity:e})},allowReset:!0,placeholder:"1.0"})),(E||T)&&wp.element.createElement(S.db,{initialOpen:!1,blockProps:t}))});var Z=Object($.compose)(W.i,W.g,W.d,Object(W.h)(),Object(W.a)(Y,{editorMode:!0}),Object(W.b)([[".ugb-video-popup__wrapper","background"],[".ugb-video-popup__play-button svg","play-button"]]))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.playButtonType,c=r.shadow,s=void 0===c?"":c,u=k()([i,"ugb-video-popup--v3"],Object(o.applyFilters)("stackable.video-popup.mainclasses",{},e)),b=k()(["ugb-video-popup__wrapper"],Object(o.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(s),a=""!==s,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(S.k.Edit,{className:u,blockProps:e,render:function(){return wp.element.createElement(J.Fragment,null,wp.element.createElement(S.D,{className:b,backgroundAttrName:"preview%s",blockProps:e},wp.element.createElement("span",{className:"ugb-video-popup__play-button"},L(l))))}})}),Q=n(18),ee=n.n(Q);var te=Object($.compose)(W.i,Object(W.a)(Y))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.videoID,c=r.playButtonType,s=r.shadow,u=void 0===s?"":s,b=k()([i,"ugb-video-popup--v3"],Object(o.applyFilters)("stackable.video-popup.mainclasses",{},e)),p=k()(["ugb-video-popup__wrapper"],Object(o.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(u),a=""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(S.k.Save,{className:b,blockProps:e,render:function(){return wp.element.createElement(J.Fragment,null,wp.element.createElement(S.D,{className:p,backgroundAttrName:"preview%s",blockProps:e,"data-video":ee()(l)},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay","aria-label":"Play"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},L(c))))}})});function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ie}),n.d(t,"name",function(){return re}),n.d(t,"settings",function(){return oe});var ie=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(n,!0).forEach(function(t){ae(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"[data-video]",attribute:"data-video"}},Object(i.B)("%sWidth",{type:"number",default:""}),{},Object(i.B)("%sHeight",{type:"number",default:""}),{borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string"},playButtonSize:{type:"number",default:""},playButtonOpacity:{type:"number",default:""}},Object(i.k)("preview%s"),{previewBackgroundColor:{type:"string",default:"#000000"},hoverEffect:{type:"string",default:""}}),re="ugb/video-popup",oe={title:Object(O.__)("Video Popup",w.i18n),description:Object(O.__)("Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.",w.i18n),icon:a.E,category:"common",keywords:[Object(O.__)("Video Popup",w.i18n),Object(O.__)("Stackable",w.i18n),Object(O.__)("YouTube Vimeo mp4",w.i18n)],attributes:ie,supports:{align:["center","wide","full"],inserter:!w.disabledBlocks.includes(re)},deprecated:E,edit:Z,save:te,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.video-popup.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(i.addFilter)("stackable.accordion.design.no-text-attributes","stackable/accordion",function(e){return Object(a.omit)(e,["title"])}),Object(i.addFilter)("stackable.accordion.edit.designs","stackable/accordion",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e)});var l=n(4),c=n.n(l);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),b=function(e){return c.a.createElement("svg",s({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),u)},p=n(2),m=n(8),g=n.n(m),d=n(1),f=n(0),h=n(17),v=n(7);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=[{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:Object(f.__)("Title for This Block",d.i18n)},text:{source:"html",selector:".ugb-accordion__text",default:Object(p.K)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n,a=e.className,r=e.attributes,o=r.headingColor,l=r.headingBackgroundColor,c=r.heading,s=r.text,u=r.openStart,p=r.design,m=void 0===p?"basic":p,d=r.borderRadius,f=void 0===d?12:d,h=r.shadow,y=void 0===h?3:h,w=g()([a,"ugb-accordion"],Object(i.applyFilters)("stackable.accordion.mainclasses_1_17_3",(O(t={},"ugb-accordion--design-".concat(m),"basic"!==m),O(t,"ugb-accordion--open",u),t),m,e)),_=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses_1_17_3",O({},"ugb--shadow-".concat(y),"plain"!==m&&3!==y),m,e)),j=Object(i.applyFilters)("stackable.accordion.styles_1_17_3",{main:{},heading:{borderRadius:"plain"!==m&&12!==f?f:void 0,backgroundColor:"plain"!==m&&l?l:void 0},title:{color:o||void 0}},m,e);return wp.element.createElement("div",{className:w,style:j.main,role:"presentation"},Object(i.applyFilters)("stackable.accordion.save.output.before_1_17_3",null,m,e),wp.element.createElement("div",{className:_,role:"button",tabIndex:"0","aria-expanded":u?"true":"false",style:j.heading},wp.element.createElement(v.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",style:j.title,value:c}),(n={fill:o||void 0}.fill,wp.element.createElement(b,{width:"20",height:"20",fill:n}))),wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",value:s}),Object(i.applyFilters)("stackable.accordion.save.output.after",null,m,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-accordion__heading h4(\s*{)/g,"\n.ugb-accordion__title$1").replace(/\.ugb-accordion__text/g,".ugb-accordion__content").replace(/\.ugb-accordion__heading svg/g,".ugb-accordion__arrow")};return[function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(n,!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.heading,titleColor:e.headingColor||"#222222",containerBackgroundColor:e.headingBackgroundColor,showBorder:"plain"!==e.design,containerClosedBackgroundColor:"colored"===e.design?"#ffffff":void 0,arrowColor:"colored"===e.design||"basic"===e.design||"plain"===e.design?e.headingColor||"#222222":"line-colored"===e.design?e.headingBackgroundColor:void 0}),[Object(h.createBlock)("core/paragraph",{content:e.text})]]}}],_=n(261),j=n.n(_),k=n(262),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showTitle,o=void 0===r||r;return Object(i.applyFilters)("stackable.accordion.show",{headerBackground:"basic"===a,containerBackground:"colored"===a||"line-colored"===a,borderRadius:"plain"!==a,shadow:"plain"!==a,border:"line-colored"===a||"plain"===a,titleSpacing:o},e)},E=n(14),S=n.n(E);function A(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){P(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=function(e){var t=Object(p.b)(e.attributes),n=e.attributes,a=n.design,i=void 0===a?"basic":a,r=n.reverseArrow,o=void 0!==r&&r,l=x(e),c=[];c.push({".ugb-accordion__heading":{flexDirection:o?"row-reverse":void 0}}),l.borderRadius&&"basic"===i&&c.push({".ugb-accordion__heading":{borderRadius:t("borderRadius","%spx !important")}});c.push(B({},l.headerBackground?Object(p.m)("container%s","ugb-accordion__heading",e.attributes,{importantBackgroundColor:!0}):{}));var s=e.attributes,u=s.titleColor,b=void 0===u?"":u,m=s.showTitle;(void 0===m||m)&&c.push({".ugb-accordion__title":B({},Object(p.I)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-accordion__title":B({},Object(p.I)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-accordion__title":B({},Object(p.I)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes.containerBackgroundColor,d=void 0===g?"":g;"basic"!==i&&"plain"!==i||c.push({".ugb-accordion__title":{color:Object(p.tb)(b,l.headerBackground&&d)}});var f=e.attributes,h=f.showArrow,v=void 0===h||h,y=f.arrowColor,O=void 0===y?"":y;v&&c.push({".ugb-accordion__arrow":{width:Object(p.c)(t("arrowSize","%spx")),height:Object(p.c)(t("arrowSize","%spx"))}}),!v||"basic"!==i&&"plain"!==i||c.push({".ugb-accordion__arrow":{fill:Object(p.tb)(O,l.headerBackground&&d)}});var w=e.attributes.showBorder,_=void 0===w||w;return l.border&&!_&&c.push({".ugb-accordion__item":{border:"none !important"}}),l.border&&_&&c.push({".ugb-accordion__item":{borderWidth:Object(p.c)(t("borderSize","%spx")),borderColor:Object(p.c)(t("borderColor"))}}),l.headerBackground&&c.push({".ugb-accordion__heading":{paddingTop:Object(p.c)(t("containerPaddingTop","%spx")),paddingRight:Object(p.c)(t("containerPaddingRight","%spx")),paddingBottom:Object(p.c)(t("containerPaddingBottom","%spx")),paddingLeft:Object(p.c)(t("containerPaddingLeft","%spx"))}}),l.titleSpacing&&c.push.apply(c,A(Object(p.D)(".ugb-accordion.ugb-accordion--open .ugb-accordion__heading","title%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),S.a.all(c)};function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var R=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),D=function(e){return c.a.createElement("svg",M({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),R)},F=n(3),I=n(10),z=n(11),H=n(12),L=n(6),U=n(13);Object(i.addFilter)("stackable.accordion.edit.inspector.layout.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(L.Fragment,null,e,wp.element.createElement(F.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.accordion.edit.layouts",[{label:Object(f.__)("Basic",d.i18n),value:"basic",image:j.a},{label:Object(f.__)("Plain",d.i18n),value:"plain",image:C.a}]),onChange:function(e){return n({design:e})}},d.showProNotice&&wp.element.createElement(F.gb,null)))}),Object(i.addFilter)("stackable.accordion.edit.inspector.style.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.design,r=void 0===i?"basic":i,o=a.titleColor,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,b=a.onlyOnePanelOpen,p=void 0!==b&&b,m=a.openStart,g=void 0!==m&&m,h=a.reverseArrow,v=void 0!==h&&h,y=a.titleTag,O=void 0===y?"":y,w=a.showArrow,_=void 0===w||w,j=a.arrowSize,k=void 0===j?"":j,C=a.arrowColor,E=void 0===C?"":C,S=a.showBorder,A=void 0===S||S,T=a.borderSize,B=void 0===T?"":T,P=a.borderColor,N=void 0===P?"":P,M=a.containerPaddingTop,R=void 0===M?"":M,D=a.containerPaddingRight,I=void 0===D?"":D,H=a.containerPaddingBottom,U=void 0===H?"":H,W=a.containerPaddingLeft,G=void 0===W?"":W,V=a.containerClosedBackgroundColor,q=void 0===V?"":V,K=x(t);return wp.element.createElement(L.Fragment,null,e,wp.element.createElement(z.PanelBody,{title:Object(f.__)("General",d.i18n)},wp.element.createElement(z.ToggleControl,{label:Object(f.__)("Close adjacent on open",d.i18n),checked:p,onChange:function(e){return n({onlyOnePanelOpen:e})},className:"ugb--help-tip-accordion-adjacent-open"}),wp.element.createElement(z.ToggleControl,{label:Object(f.__)("Open at the start",d.i18n),checked:g,onChange:function(e){return n({openStart:e})}}),wp.element.createElement(z.ToggleControl,{label:Object(f.__)("Reverse arrow",d.i18n),checked:v,onChange:function(e){return n({reverseArrow:e})}}),K.borderRadius&&wp.element.createElement(F.c,{label:Object(f.__)("Border Radius",d.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),(K.headerBackground||K.containerBackground)&&wp.element.createElement(F.c,{label:Object(f.__)("Shadow / Outline",d.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(F.u,{setAttributes:n,blockAttributes:t.attributes})),(K.headerBackground||K.containerBackground)&&wp.element.createElement(F.cb,{title:Object(f.__)("Container Background",d.i18n),id:"column-background",initialOpen:!1},wp.element.createElement(F.h,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes}),"colored"===r&&wp.element.createElement(F.s,{value:q,onChange:function(e){return n({containerClosedBackgroundColor:e})},label:Object(f.__)("Closed State Background Color",d.i18n),className:"ugb--help-tip-accordion-closed-state-background-color"})),wp.element.createElement(F.cb,{title:Object(f.__)("Title",d.i18n),id:"title",hasToggle:!1},wp.element.createElement(F.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,htmlTag:O||"h4"}),wp.element.createElement(F.J,{value:O||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(F.s,{value:o,onChange:function(e){return n({titleColor:e})},label:Object(f.__)("Title Color",d.i18n)}),wp.element.createElement(F.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(F.f,{label:Object(f.__)("Align",d.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(F.cb,{title:Object(f.__)("Arrow",d.i18n),id:"arrow",checked:_,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowSize","arrowColor"],toggleAttributeName:"showArrow"},wp.element.createElement(F.c,{label:Object(f.__)("Size",d.i18n),min:0,max:100,allowReset:!0,value:k,onChange:function(e){return n({arrowSize:e})},placeholder:"20"}),wp.element.createElement(F.s,{value:E,onChange:function(e){return n({arrowColor:e})},label:Object(f.__)("Color",d.i18n)})),K.border&&wp.element.createElement(F.cb,{title:Object(f.__)("Border",d.i18n),checked:A,onChange:function(e){return n({showBorder:e})},toggleOnSetAttributes:["borderSize","borderColor"],toggleAttributeName:"showBorder",className:"ugb--help-tip-accordion-border"},wp.element.createElement(F.c,{label:Object(f.__)("Size",d.i18n),min:0,max:10,allowReset:!0,value:B,onChange:function(e){return n({borderSize:e})},placeholder:"3",className:"ugb--help-tip-accordion-border-size"}),wp.element.createElement(F.s,{value:N,onChange:function(e){return n({borderColor:e})},label:Object(f.__)("Color",d.i18n)})),wp.element.createElement(F.db,{initialOpen:!1,blockProps:t},(K.headerBackground||K.containerBackground)&&wp.element.createElement(F.H,{label:Object(f.__)("Padding",d.i18n),top:R,right:I,bottom:U,left:G,onChange:function(e){return n({containerPaddingTop:e.top,containerPaddingRight:e.right,containerPaddingBottom:e.bottom,containerPaddingLeft:e.left})},max:200,placeholder:"18",className:"ugb--help-tip-accordion-padding"}),K.titleSpacing&&wp.element.createElement(F.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(F.c,{label:Object(f.__)("Title",d.i18n),min:-50,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-accordion-title-spacing"}))))});var W=[["core/paragraph",{content:Object(p.K)("long")}]],G=Object(H.compose)(I.i,I.g,I.d,Object(I.h)(),Object(I.c)(),Object(I.a)(N,{editorMode:!0}),Object(I.b)([[".ugb-accordion__title","title"],[".ugb-accordion__arrow","arrow"]]),Object(U.withSelect)(function(e,t){var n=t.clientId,a=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length)}}),Object(H.withState)({openTimeout:null,isOpen:null}))(function(e){var t,n,a,r=e.className,o=e.setAttributes,l=e.attributes,c=l.design,s=void 0===c?"basic":c,u=l.shadow,b=void 0===u?"":u,p=l.titleTag,m=void 0===p?"":p,h=l.title,y=void 0===h?"":h,O=l.openStart,w=void 0!==O&&O,_=l.showArrow,j=void 0===_||_,k=x(e),C=g()([r,"ugb-accordion--v2","ugb-accordion--design-".concat(s)],Object(i.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":null===e.isOpen?w:e.isOpen},e)),E=g()(["ugb-accordion__item"],Object(i.applyFilters)("stackable.accordion.itemclasses",{},e)),S=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(b),a="basic"===s&&""!==b,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),s,e));return wp.element.createElement(F.k.Edit,{className:C,blockProps:e,render:function(){return wp.element.createElement(L.Fragment,null,wp.element.createElement(F.D,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},wp.element.createElement(F.D,{className:S,backgroundAttrName:"container%s",blockProps:e,showBackground:k.headerBackground,onClick:function(){e.openTimeout&&clearTimeout(e.openTimeout);var t=setTimeout(function(){e.setState({isOpen:!e.isOpen})},150);e.setState({openTimeout:t})},onDoubleClick:function(){e.openTimeout&&clearTimeout(e.openTimeout)},onKeyPress:function(){e.openTimeout&&clearTimeout(e.openTimeout),e.setState({isOpen:!w})},role:"button",tabIndex:"0"},wp.element.createElement(v.RichText,{tagName:m||"h4",className:"ugb-accordion__title",value:y,onChange:function(e){return o({title:e})},placeholder:Object(f.__)("Title for This Block",d.i18n),keepPlaceholderOnFocus:!0}),j&&wp.element.createElement(D,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(v.InnerBlocks,{template:W,renderAppender:function(){return e.hasInnerBlocks?wp.element.createElement(v.InnerBlocks.DefaultBlockAppender,null):wp.element.createElement(v.InnerBlocks.ButtonBlockAppender,null)}})))))}})});var V=Object(H.compose)(I.i,Object(I.a)(N))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.design,c=void 0===l?"basic":l,s=o.shadow,u=void 0===s?"":s,b=o.titleTag,p=void 0===b?"":b,m=o.title,d=void 0===m?"":m,f=o.openStart,h=void 0!==f&&f,y=o.showArrow,O=void 0===y||y,w=o.onlyOnePanelOpen,_=void 0!==w&&w,j=x(e),k=g()([r,"ugb-accordion--v2","ugb-accordion--design-".concat(c)],Object(i.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":h,"ugb-accordion--single-open":_},e)),C=g()(["ugb-accordion__item"],Object(i.applyFilters)("stackable.accordion.itemclasses",{},e)),E=g()(["ugb-accordion__heading"],Object(i.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(u),a=j.headerBackground&&""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),c,e));return wp.element.createElement(F.k.Save,{className:k,blockProps:e,"aria-expanded":h?"true":"false",render:function(){return wp.element.createElement(L.Fragment,null,wp.element.createElement(F.D,{className:C,backgroundAttrName:"container%s",blockProps:e,showBackground:j.containerBackground},wp.element.createElement(F.D,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:j.headerBackground,role:"button",tabIndex:"0"},wp.element.createElement(v.RichText.Content,{tagName:p||"h4",className:"ugb-accordion__title",role:"heading","aria-level":"3",value:d}),O&&wp.element.createElement(D,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content",role:"region"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(v.InnerBlocks.Content,null)))))}})}),q=n(16);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return $}),n.d(t,"settings",function(){return J});var X=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(n,!0).forEach(function(t){Y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},onlyOnePanelOpen:{type:"boolean",default:!1},openStart:{type:"boolean",default:!1},reverseArrow:{type:"boolean",default:!1}},Object(p.k)("container%s"),{containerClosedBackgroundColor:{type:"string",default:""},title:{source:"html",selector:".ugb-accordion__title",default:Object(f.__)("Title for This Block",d.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(p.H)("title%s"),{titleColor:{type:"string",default:""},showArrow:{type:"boolean",default:!0},arrowSize:{type:"number",default:""},arrowColor:{type:"string",default:""},showBorder:{type:"boolean",default:!0},borderSize:{type:"number",default:""},borderColor:{type:"string",default:""}},Object(p.i)("Title%sAlign",{type:"string",default:""},["","Tablet","Mobile"]),{},Object(p.i)("containerPadding%s",{type:"number",default:""},["Top","Right","Bottom","Left"]),{},Object(p.B)("title%sBottomMargin",{type:"number",default:""})),$="ugb/accordion",J={title:Object(f.__)("Accordion",d.i18n),description:Object(f.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",d.i18n),icon:q.a,category:"common",keywords:[Object(f.__)("Accordion",d.i18n),Object(f.__)("Toggle",d.i18n),Object(f.__)("Stackable",d.i18n)],attributes:X,deprecated:w,edit:G,save:V,supports:{inserter:!d.disabledBlocks.includes($)},modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.notification.design.no-text-attributes","stackable/notification",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(i.addFilter)("stackable.notification.design.filtered-block-attributes","stackable/notification",function(e){return Object(a.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])});var r=n(2),o=n(4),l=n.n(o);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=l.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),u=function(e){return l.a.createElement("svg",c({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),s)},b=n(8),p=n.n(b),m=n(7);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{text:{source:"html",selector:"p",default:Object(r.K)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.text,r=n.color,o=n.textColor,l=n.notifType,c=n.dismissible,s=n.borderRadius,b=void 0===s?12:s,g=n.shadow,f=void 0===g?3:g,h=n.design,v=void 0===h?"":h,y=p()([t,"ugb-notification","ugb-notification--type-".concat(l)],Object(i.applyFilters)("stackable.notification.mainclasses_1_17",d({"ugb-notification--dismissible":c},"ugb--shadow-".concat(f),3!==f),v,e)),O={backgroundColor:r,color:o,borderRadius:12!==b?b:void 0};return wp.element.createElement("div",{className:y,style:O},Object(i.applyFilters)("stackable.notification.save.output.before_1_17",null,v,e),c&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(u,{style:{fill:o}})),wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:o},value:a}))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-notification(\s*{)/g,"\n.ugb-notification__item$1").replace(/\n\.ugb-notification p(\s*{)/g,"\n.ugb-notification__description$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),description:e.text,columnBackgroundColor:e.color,iconColor:e.textColor,titleColor:e.textColor,descriptionColor:e.textColor,showTitle:!1,showButton:!1})}}];Object(i.addFilter)("stackable.svg-icon.extract-svg","stackable/notification-2.6",function(e){return e.replace(/<span[^>]*ugb-notification__close-button.*?<svg.*?\/svg>.*?<\/span>/,"")});var h=n(297),v=n.n(h),y=n(298),O=n.n(y);function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _=l.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),j=function(e){return l.a.createElement("svg",w({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),_)},k=n(14),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showIcon,o=void 0!==r&&r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(i.applyFilters)("stackable.notification.show",{columnBorder:!1,columnBackground:"plain"!==a,backgroundColor:"plain"!==a,borderRadius:"plain"!==a,shadow:"plain"!==a,iconSpacing:o,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p,iconAlign:!0,iconLocation:!1},e)};function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B={success:"#ffffff",error:"#ffffff",info:"#ffffff",warning:"#424242"},P=function(e){var t=Object(r.b)(e.attributes),n=[],a=e.attributes,i=a.contentAlign,o=void 0===i?"":i,l=a.tabletContentAlign,c=void 0===l?"":l,s=a.mobileContentAlign,u=void 0===s?"":s,b=a.notifType,p=a.design,m=void 0===p?"basic":p,g=a.columnBackgroundColor,d=void 0===g?"":g,f=x(e);n.push({".ugb-notification__item":{borderRadius:"plain"!==m?t("borderRadius","%spx !important"):void 0}}),n.push(A({},f.columnBackground?Object(r.m)("column%s","ugb-notification__item",e.attributes,{importantBackgroundColor:!0}):{}));var h=e.attributes,v=h.dismissible,y=void 0!==v&&v,O=h.dismissibleIconSize,w=void 0===O?"":O,_=h.dismissibleIconTabletSize,j=void 0===_?"":_,k=h.dismissibleIconMobileSize,S=void 0===k?"":k,P=h.dismissibleIconColor,N=void 0===P?"":P;y&&n.push({".ugb-notification__item":{paddingRight:w&&w>40?"100px !important":void 0},".ugb-notification__close-button svg":{fill:N?"".concat(N," !important"):void 0},desktopTablet:{".ugb-notification__close-button":{width:w?"".concat(w,"px"):void 0,height:w?"".concat(w,"px"):void 0}},tabletOnly:{".ugb-notification__close-button":{width:j?"".concat(j,"px"):void 0,height:j?"".concat(j,"px"):void 0}},mobile:{".ugb-notification__close-button":{width:S?"".concat(S,"px"):void 0,height:S?"".concat(S,"px"):void 0}}});var M=e.attributes,R=M.showIcon,D=void 0!==R&&R,F=M.iconColor,I=void 0===F?"":F,z=M.iconAlign,H=void 0===z?"":z,L=M.iconTabletAlign,U=void 0===L?"":L,W=M.iconMobileAlign,G=void 0===W?"":W;if(D){var V=Object(r.ub)(I,f.columnBackground&&d);n.push({".ugb-notification__icon svg:not(.ugb-custom-icon)":{color:V?"".concat(V," !important"):void 0},".ugb-notification__icon":{marginLeft:""!==H||""!==o?Object(r.c)(Object(r.fb)(H||o)):void 0,marginRight:""!==H||""!==o?Object(r.c)(Object(r.gb)(H||o)):void 0,height:t("iconSize","%spx !important"),width:t("iconSize","%spx !important")},tablet:{".ugb-notification__icon":{marginLeft:""!==U||""!==c?Object(r.fb)(U||c):void 0,marginRight:""!==U||""!==c?Object(r.gb)(U||c):void 0,height:t("iconTabletSize","%spx !important"),width:t("iconTabletSize","%spx !important")}},mobile:{".ugb-notification__icon":{marginLeft:""!==G||""!==u?Object(r.fb)(G||u):void 0,marginRight:""!==G||""!==u?Object(r.gb)(G||u):void 0,height:t("iconMobileSize","%spx !important"),width:t("iconMobileSize","%spx !important")}}}),n.push(A({},Object(r.t)("icon%s","ugb-notification__icon",e.attributes)))}var q=e.attributes,K=q.titleColor,Y=void 0===K?"":K,X=q.showTitle;if(void 0===X||X){var $=Object(r.ub)(Y,f.columnBackground&&d);n.push({".ugb-notification__title":A({},Object(r.I)("title%s","desktop",e.attributes,{importantSize:!0}),{color:$?"".concat($," !important"):void 0,textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-notification__title":A({},Object(r.I)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-notification__title":A({},Object(r.I)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}})}var J=e.attributes,Z=J.descriptionColor,Q=void 0===Z?"":Z,ee=J.showDescription;if(void 0===ee||ee){var te=Object(r.ub)(Q,f.columnBackground&&d);n.push({".ugb-notification__description":A({},Object(r.I)("description%s","desktop",e.attributes),{color:te?"".concat(te," !important"):void 0,textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-notification__description":A({},Object(r.I)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-notification__description":A({},Object(r.I)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}})}var ne=e.attributes,ae=ne.showButton,ie=void 0!==ae&&ae,re=ne.buttonDesign,oe=void 0===re?"ghost":re,le=ne.buttonBackgroundColor,ce=void 0===le?"":le;if(ie){if(n.push(A({},Object(r.q)("button%s","ugb-button",e.attributes))),!ce&&f.columnBackground){var se,ue,be=d?Object(r.ub)(ce,d,"#ffffff","#424242"):"bordered"===m?"#424242":B[b],pe=be?"#ffffff"===be?"#424242":"#ffffff":void 0;if("basic"===oe||""===oe)n.push((T(se={},".ugb-button",{backgroundColor:be||void 0}),T(se,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:pe||void 0}),T(se,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:pe||void 0}),se));else n.push((T(ue={},".ugb-button",{borderColor:be||void 0}),T(ue,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:be||void 0}),T(ue,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:be||void 0}),ue))}n.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})}return f.iconSpacing&&n.push.apply(n,E(Object(r.D)(".ugb-notification__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),f.titleSpacing&&n.push.apply(n,E(Object(r.D)(".ugb-notification__title","title%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),f.descriptionSpacing&&n.push.apply(n,E(Object(r.D)(".ugb-notification__description","description%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),f.buttonSpacing&&n.push.apply(n,E(Object(r.D)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),C.a.all(n)},N=n(3),M=n(1),R=n(10),D=n(11),F=n(0),I=n(12),z=n(6);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var G=[{value:"success",label:Object(F.__)("Success",M.i18n)},{value:"error",label:Object(F.__)("Error",M.i18n)},{value:"warning",label:Object(F.__)("Warning",M.i18n)},{value:"info",label:Object(F.__)("Information",M.i18n)}];Object(i.addFilter)("stackable.notification.edit.inspector.layout.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(z.Fragment,null,e,wp.element.createElement(N.A,{initialOpen:!0,selected:r,options:[{image:v.a,label:Object(F.__)("Basic",M.i18n),value:"basic"},{image:O.a,label:Object(F.__)("Plain",M.i18n),value:"plain"}].concat(W(Object(i.applyFilters)("stackable.notification.edit.layouts",[]))),onChange:function(e){n({design:e})}},M.showProNotice&&wp.element.createElement(N.gb,null)))}),Object(i.addFilter)("stackable.notification.edit.inspector.style.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.titleColor,o=a.descriptionColor,l=a.design,c=void 0===l?"basic":l,s=a.borderRadius,u=void 0===s?"":s,b=a.shadow,p=void 0===b?"":b,m=a.showTitle,g=void 0===m||m,d=a.showDescription,f=void 0===d||d,h=a.titleTag,v=void 0===h?"":h,y=a.notifType,O=a.dismissible,w=void 0!==O&&O,_=a.dismissibleIconColor,j=void 0===_?"":_,k=a.columnBorderColor,C=void 0===k?"":k,E=a.columnBorderThickness,S=void 0===E?"":E,A=a.showButton,T=void 0===A||A,B=a.showIcon,P=void 0===B||B,R=a.iconTop,I=void 0===R?"":R,H=a.iconLeft,L=void 0===H?"":H,U=x(t);return wp.element.createElement(z.Fragment,null,e,wp.element.createElement(D.PanelBody,{title:Object(F.__)("General",M.i18n)},wp.element.createElement(D.SelectControl,{label:Object(F.__)("Notification Type",M.i18n),value:y,options:G.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}}),U.borderRadius&&wp.element.createElement(N.c,{label:Object(F.__)("Border Radius",M.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),U.shadow&&wp.element.createElement(N.c,{label:Object(F.__)("Shadow / Outline",M.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(N.u,{setAttributes:n,blockAttributes:t.attributes})),U.columnBorder&&wp.element.createElement(N.cb,{title:Object(F.__)("Border",M.i18n),hasToggle:!1},wp.element.createElement(N.s,{value:C,onChange:function(e){return n({columnBorderColor:e})},label:Object(F.__)("Border Color",M.i18n)}),wp.element.createElement(N.c,{label:Object(F.__)("Border Thickness",M.i18n),value:S,onChange:function(e){return n({columnBorderThickness:e})},min:0,max:20,allowReset:!0,placeholder:"bordered"===c?5:3})),U.columnBackground&&wp.element.createElement(N.cb,{title:Object(F.__)("Background",M.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(N.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(N.cb,{title:Object(F.__)("Dismissible",M.i18n),id:"dismissible",checked:w,onChange:function(e){return n({dismissible:e})},toggleOnSetAttributes:[].concat(W(Object(r.A)("dismissibleIcon%sSize")),["dismissibleIconColor"]),toggleAttributeName:"dismissible",className:"ugb--help-tip-notification-dismissible"},wp.element.createElement(N.hb,{attrNameTemplate:"dismissibleIcon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(F.__)("Icon Size",M.i18n),min:0,max:50,allowReset:!0,placeholder:"16"})),wp.element.createElement(N.s,{value:j,onChange:function(e){return n({dismissibleIconColor:e})},label:Object(F.__)("Icon Color",M.i18n)})),wp.element.createElement(N.cb,{title:Object(F.__)("Icon",M.i18n),id:"icon",checked:P,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon"].concat(W(Object(r.r)("icon%s")),W(Object(r.A)("icon%sAlign"))),toggleAttributeName:"showIcon"},wp.element.createElement(N.M,{attrNameTemplate:"icon%s",setAttributes:n,blockAttributes:t.attributes,icon:t.attributes.icon,onChangeIcon:function(e){return n({icon:e})},sizeMax:"large-icon"!==c?300:500,onChangeDesign:!1,onChangeShowBackgroundShape:!1}),U.iconLocation&&wp.element.createElement(N.H,{label:Object(F.__)("Icon Location",M.i18n),min:-250,max:250,top:I,left:L,onChange:function(e){n({iconTop:e.top||0===e.top?parseInt(e.top,10):"",iconLeft:e.left||0===e.left?parseInt(e.left,10):""})},enableRight:!1,enableBottom:!1}),U.iconAlign&&wp.element.createElement(N.hb,{attrNameTemplate:"icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(F.__)("Align",M.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(N.cb,{title:Object(F.__)("Title",M.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(W(Object(r.G)("title%s")),["titleTag","titleColor"],W(Object(r.A)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(N.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,htmlTag:v||"h5"}),wp.element.createElement(N.J,{value:v||"h5",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(N.s,{value:i,onChange:function(e){return n({titleColor:e})},label:Object(F.__)("Title Color",M.i18n)}),wp.element.createElement(N.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(F.__)("Align",M.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(N.cb,{title:Object(F.__)("Description",M.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(W(Object(r.G)("description%s")),["descriptionColor"],W(Object(r.A)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(N.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(N.s,{value:o,onChange:function(e){return n({descriptionColor:e})},label:Object(F.__)("Description Color",M.i18n)}),wp.element.createElement(N.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(F.__)("Align",M.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(N.cb,{title:Object(F.__)("Button",M.i18n),id:"button",checked:T,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(W(Object(r.o)("button%s")),W(Object(r.A)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(N.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,placeholder:"21"}),wp.element.createElement(N.v,null),wp.element.createElement(N.hb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.f,{label:Object(F.__)("Align",M.i18n),className:"ugb--help-tip-alignment-button"}))),(U.iconSpacing||U.titleSpacing||U.descriptionSpacing||U.buttonSpacing)&&wp.element.createElement(N.db,{initialOpen:!1,blockProps:t},U.iconSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(F.__)("Icon",M.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-icon"})),U.titleSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(F.__)("Title",M.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-title"})),U.descriptionSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(F.__)("Description",M.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-description"})),U.buttonSpacing&&wp.element.createElement(N.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.c,{label:Object(F.__)("Button",M.i18n),min:-50,max:100,placeholder:"0",allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var V=Object(I.compose)(R.i,R.g,R.d,Object(R.h)(),Object(R.c)(["Icon%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(R.a)(P,{editorMode:!0}),Object(R.b)([[".ugb-notification__item","column-background"],[".ugb-notification__close-button","dismissible"],[".ugb-notification__icon svg","icon"],[".ugb-notification__title","title"],[".ugb-notification__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,o=a.design,l=void 0===o?"basic":o,c=a.notifType,s=a.dismissible,u=a.shadow,b=void 0===u?"":u,g=a.showIcon,d=void 0!==g&&g,f=a.icon,h=void 0===f?"fas-exclamation-triangle":f,v=a.showTitle,y=void 0===v||v,O=a.titleTag,w=void 0===O?"h5":O,_=a.title,k=void 0===_?"":_,C=a.showDescription,E=void 0===C||C,S=a.description,A=void 0===S?"":S,T=a.showButton,B=void 0===T||T,P=a.buttonDesign,R=void 0===P?"plain":P,D=p()([t,"ugb-notification--v2","ugb-notification--design-".concat(l),"ugb-notification--type-".concat(c)],Object(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":s},e)),I=p()(["ugb-notification__item","ugb-notification--new-icon"],U({},"ugb--shadow-".concat(b),""!==b)),H=x(e);return wp.element.createElement(N.k.Edit,{className:D,blockProps:e,render:function(){return wp.element.createElement(z.Fragment,null,wp.element.createElement(N.D,{className:I,backgroundAttrName:"column%s",blockProps:e,showBackground:H.columnBackground},s&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button"},wp.element.createElement(j,null)),d&&wp.element.createElement("div",{className:"ugb-notification__icon"},wp.element.createElement(N.pb,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:h,onChange:function(e){return n({icon:e})}})),y&&wp.element.createElement(m.RichText,{tagName:w||"h5",value:k,className:"ugb-notification__title",placeholder:Object(F.__)("Title for This Block",M.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),E&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-notification__description",value:A,onChange:function(e){return n({description:e})},placeholder:Object(r.K)("long"),keepPlaceholderOnFocus:!0}),B&&wp.element.createElement(N.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:L({},e.attributes,{buttonDesign:""!==R?R:"ghost"})})))}})});var q=Object(I.compose)(R.i,Object(R.a)(P))(function(e){var t,n,a,r=e.className,o=e.attributes,l=o.design,c=void 0===l?"basic":l,s=o.notifType,u=o.dismissible,b=o.shadow,g=void 0===b?"":b,d=o.showIcon,f=void 0!==d&&d,h=o.icon,v=void 0===h?"fas-exclamation-triangle":h,y=o.showTitle,O=void 0===y||y,w=o.titleTag,_=void 0===w?"h5":w,k=o.title,C=void 0===k?"":k,E=o.showDescription,S=void 0===E||E,A=o.description,T=void 0===A?"":A,B=o.showButton,P=void 0===B||B,M=o.buttonSize,R=void 0===M?"normal":M,D=o.buttonText,F=void 0===D?"":D,I=o.buttonShadow,H=void 0===I?0:I,L=o.buttonHoverEffect,U=void 0===L?"":L,W=o.buttonIcon,G=void 0===W?"":W,V=o.buttonIconPosition,q=void 0===V?"":V,K=o.buttonDesign,Y=void 0===K?"plain":K,X=o.buttonHoverGhostToNormal,$=void 0!==X&&X,J=o.buttonNewTab,Z=void 0!==J&&J,Q=o.buttonUrl,ee=void 0===Q?"":Q,te=o.buttonNoFollow,ne=void 0!==te&&te,ae=p()([r,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(s)],Object(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":u},e)),ie=p()(["ugb-notification__item","ugb-notification--new-icon"],(t={},n="ugb--shadow-".concat(g),a=""!==g,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t)),re=x(e);return wp.element.createElement(N.k.Save,{className:ae,blockProps:e,render:function(){return wp.element.createElement(z.Fragment,null,wp.element.createElement(N.D,{className:ie,backgroundAttrName:"column%s",blockProps:e,showBackground:re.columnBackground},u&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(j,null)),f&&wp.element.createElement("div",{className:"ugb-notification__icon"},wp.element.createElement(N.ob.Content,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:v})),O&&!m.RichText.isEmpty(C)&&wp.element.createElement(m.RichText.Content,{tagName:_||"h5",className:"ugb-notification__title",value:C}),S&&!m.RichText.isEmpty(T)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-notification__description",value:T}),P&&!m.RichText.isEmpty(F)&&wp.element.createElement(N.o.Content,{size:""!==R?R:"normal",text:F,icon:G,newTab:""!==Z&&Z,url:ee,noFollow:ne,hoverEffect:U,ghostToNormalEffect:$,shadow:H,iconPosition:q,design:""!==Y?Y:"ghost"})))}})}),K=n(16);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function X(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(n,!0).forEach(function(t){$(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return J}),n.d(t,"name",function(){return Z}),n.d(t,"settings",function(){return Q});var J=X({design:{type:"string",default:"basic"},notifType:{type:"string",default:"success"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:3},columnBorderColor:{type:"string",default:""},columnBorderThickness:{type:"number",default:""}},Object(r.k)("column%s"),{dismissible:{type:"boolean",default:!1}},Object(r.B)("dismissibleIcon%sSize",{type:"number",default:""}),{dismissibleIconColor:{type:"string",default:""},showIcon:{type:"boolean",default:!1},icon:{type:"string",source:"html",selector:".ugb-notification__icon .ugb-icon-inner-svg,.ugb-notification__item:not(.ugb-notification--new-icon)",default:"fas-exclamation-triangle"}},Object(r.s)("icon%s"),{},Object(r.B)("icon%sAlign",{type:"string",default:""}),{},Object(r.i)("icon%s",{type:"number",default:""},["Top","Left"]),{title:{source:"html",selector:".ugb-notification__title",default:Object(F.__)("Title for This Block",M.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(r.H)("title%s"),{titleColor:{type:"string",default:""}},Object(r.B)("title%sAlign",{type:"string",default:""}),{description:{source:"html",selector:".ugb-notification__description",default:Object(r.K)("long")},showDescription:{type:"boolean",default:!0}},Object(r.H)("description%s"),{descriptionColor:{type:"string",default:""}},Object(r.B)("description%sAlign",{type:"string",default:""}),{showButton:{type:"boolean",default:!0}},Object(r.p)("button%s",{selector:".ugb-button"}),{buttonDesign:{type:"string",default:"ghost"}},Object(r.B)("button%sAlign",{type:"string",default:""}),{},Object(r.B)("icon%sBottomMargin",{type:"number",default:""}),{},Object(r.B)("title%sBottomMargin",{type:"number",default:""}),{},Object(r.B)("description%sBottomMargin",{type:"number",default:""}),{},Object(r.B)("button%sBottomMargin",{type:"number",default:""})),Z="ugb/notification",Q={title:Object(F.__)("Notification",M.i18n),description:Object(F.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",M.i18n),icon:K.s,category:"formatting",keywords:[Object(F.__)("Notification",M.i18n),Object(F.__)("Stackable",M.i18n)],attributes:J,supports:{inserter:!M.disabledBlocks.includes(Z)},deprecated:f,edit:V,save:q,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.notification.custom-css.default","")}}};Object(i.addFilter)("stackable.notification.setAttributes","stackable/notification/notifType",function(e){return void 0===e.notifType?e:X({},e,{columnBackgroundColor:"",columnBackgroundColorOpacity:"",iconColor:"",titleColor:"",descriptionColor:"",buttonBackgroundColor:"",columnBorderColor:""})}),Object(i.addFilter)("stackable.notification.setAttributes","stackable/notification/opacity",function(e,t){var n=e.hasOwnProperty("columnBackgroundColor");if(void 0===e.columnBackgroundColorOpacity&&!n)return e;if(n&&void 0!==e.columnBackgroundColor)return e;var a=t.attributes,i=a.notifType,r=void 0===i?"success":i,o=a.columnBackgroundColor,l=void 0===o?"":o;return X({},e,{columnBackgroundColor:l&&!n?l:{success:"#40ba7b",error:"#d9534f",info:"#2091e1",warning:"#ffdd57"}[r]})})},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);Object(i.addFilter)("stackable.blog-posts.design.no-text-attributes","stackable/blog-posts",function(e){return Object(a.omit)(e,["text"])});var r=n(265),o=n.n(r),l=n(266),c=n.n(l),s=n(2),u=n(14),b=n.n(u),p=n(1),m=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.postType,o=void 0===r?"post":r,l=t.showImage,c=void 0===l||l,s=t.showTitle,u=void 0===s||s,b=t.showCategory,m=void 0===b||b,g=t.showExcerpt,d=void 0===g||g,f=t.showMeta,h=void 0===f||f,v=t.showReadmore,y=void 0===v||v,O=t.showLoadMoreButton,w=void 0!==O&&O;return Object(i.applyFilters)("stackable.blog-posts.show",{columnBackground:!["basic","list"].includes(a),showBackgroundInItem:"vertical-card2"===a,showBackgroundInContent:["vertical-card","horizontal-card","image-card"].includes(a),borderRadius:!0,shadow:!0,imageShadow:["basic","list"].includes(a),postType:p.isPro,imageHeight:"portfolio"!==a&&"portfolio2"!==a,imageWidth:"horizontal-card"===a||"list"===a,showCategory:"post"===o,imageAsBackground:["portfolio","portfolio2","image-card"].includes(a),imageOutsideContainer:["list","vertical-card","horizontal-card","image-card"].includes(a),imageSpacing:c&&["basic","list","vertical-card2"].includes(a),categorySpacing:m,titleSpacing:u,excerptSpacing:d,metaSpacing:h,readmoreSpacing:y,loadMoreSpacing:w,contentOrderStyles:"image-card"!==a},e)};function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e){var t=Object(s.b)(e.attributes),n=e.attributes,a=n.columnBackgroundColor,i=void 0===a?"":a,r=n.design,o=void 0===r?"basc":r,l=n.showReadmore,c=void 0===l||l,u=m(e),p=[];u.columnBackground||p.push({".ugb-blog-posts__featured-image":{borderRadius:Object(s.c)(t("borderRadius","%spx"))}});var g=e.attributes.contentOrder,v=void 0===g?"":g;v&&u.contentOrderStyles&&v.split(",").forEach(function(e,t){var n=0===t?1:3===t?10:t+3;p.push(h({},".ugb-blog-posts__".concat(e),{order:Object(s.c)(n)})),c&&"excerpt"===e&&p.push({".ugb-blog-posts__readmore":{order:Object(s.c)(n)}})});var y=e.attributes.showImage,O=void 0===y||y;O&&u.imageHeight&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__featured-image img","image%sHeight","height","%spx",e.attributes,{important:!0}))),O&&u.imageWidth&&"list"===o&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__item","image%sWidth","gridTemplateColumns","%spx minmax(0, 1fr)",e.attributes,{important:!0})));var w=e.attributes,_=w.categoryHighlighted,j=void 0!==_&&_,k=w.categoryColor,C=void 0===k?"":k,x=w.showCategory;(void 0===x||x)&&(j?p.push({".ugb-blog-posts__category a":{backgroundColor:Object(s.c)(t("categoryColor")),color:Object(s.c)(Object(s.ub)("",t("categoryColor")))},".ugb-blog-posts__category a:hover":{opacity:t("categoryHoverColor")?void 0:.8,backgroundColor:Object(s.c)(t("categoryHoverColor")),color:Object(s.c)(Object(s.ub)("",t("categoryHoverColor")))}}):p.push({".ugb-blog-posts__category a":{color:Object(s.c)(Object(s.ub)(C,u.columnBackground&&i))},".ugb-blog-posts__category a:hover":{opacity:C&&!t("categoryHoverColor")?.8:void 0,color:Object(s.c)(t("categoryHoverColor"))}}),p.push({".ugb-blog-posts__category":d({},Object(s.I)("category%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("categoryAlign","%s !important")}),tablet:{".ugb-blog-posts__category":d({},Object(s.I)("category%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("categoryTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__category":d({},Object(s.I)("category%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("categoryMobileAlign","%s !important")})}}));var E=e.attributes,S=E.titleColor,A=void 0===S?"":S,T=E.showTitle;(void 0===T||T)&&p.push({".ugb-blog-posts__title a":{color:Object(s.c)(Object(s.ub)(A,u.columnBackground&&i))},".ugb-blog-posts__title a:hover":{opacity:A&&!t("titleHoverColor")?.8:void 0,color:Object(s.c)(t("titleHoverColor"))},".ugb-blog-posts__title":d({},Object(s.I)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-blog-posts__title":d({},Object(s.I)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__title":d({},Object(s.I)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var B=e.attributes,P=B.excerptColor,N=void 0===P?"":P,M=B.showExcerpt;(void 0===M||M)&&p.push({".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.I)("excerpt%s","desktop",e.attributes,{importantSize:!0}),{color:Object(s.c)(Object(s.ub)(N,u.columnBackground&&i))}),".ugb-blog-posts__excerpt":{textAlign:t("excerptAlign","%s !important")},tablet:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.I)("excerpt%s","tablet",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptTabletAlign","%s !important")}},mobile:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":d({},Object(s.I)("excerpt%s","mobile",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptMobileAlign","%s !important")}}});var R=e.attributes,D=R.metaColor,F=void 0===D?"":D,I=R.showMeta,z=void 0===I||I,H=R.showAuthor,L=void 0===H||H,U=R.showDate,W=void 0===U||U,G=R.showComments;z&&(L||W||(void 0===G||G))&&p.push({".ugb-blog-posts__meta":d({},Object(s.I)("meta%s","desktop",e.attributes,{importantSize:!0}),{color:Object(s.c)(Object(s.ub)(F,u.columnBackground&&i)),textAlign:t("metaAlign","%s !important")}),tablet:{".ugb-blog-posts__meta":d({},Object(s.I)("meta%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("metaTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__meta":d({},Object(s.I)("meta%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("metaMobileAlign","%s !important")})}});var V=e.attributes.readmoreColor,q=void 0===V?"":V;return c&&p.push({".ugb-blog-posts__readmore a":{color:Object(s.c)(Object(s.ub)(q,u.columnBackground&&i))},".ugb-blog-posts__readmore a:hover":{opacity:q&&!t("readmoreHoverColor")?.8:void 0,color:Object(s.c)(t("readmoreHoverColor"))},".ugb-blog-posts__readmore":d({},Object(s.I)("readmore%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("readmoreAlign","%s !important")}),tablet:{".ugb-blog-posts__readmore":d({},Object(s.I)("readmore%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("readmoreTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__readmore":d({},Object(s.I)("readmore%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("readmoreMobileAlign","%s !important")})}}),u.imageSpacing&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__featured-image","image%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),u.categorySpacing&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__category","category%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),u.titleSpacing&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__title","title%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),u.excerptSpacing&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__excerpt","excerpt%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),u.metaSpacing&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__meta","meta%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),u.readmoreSpacing&&p.push.apply(p,f(Object(s.D)(".ugb-blog-posts__readmore","readmore%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),b.a.all(p)},y=n(3),O=n(6),w=n(11),_=n(0),j=n(416),k=n(23),C=n.n(k);function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function S(e,t){return!t||"object"!==x(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var B=[],P=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=S(this,A(t).apply(this,arguments))).state={isLoading:0===B.length,termList:B},e}var n,a,i;return 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&&T(e,t)}(t,O["Component"]),n=t,(a=[{key:"componentWillMount",value:function(){var e=this;this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=C()({path:Object(j.a)("/wp/v2/stk_terms",{per_page:-1})}).then(function(t){e.isStillMounted&&(B=t,e.setState({termList:t,isLoading:!1}))}).catch(function(){e.isStillMounted&&e.setState({termList:[],isLoading:!1})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=[],n=[],a=[{label:Object(_.__)("All",p.i18n),value:""}],i="";if(Object.keys(this.state.termList).forEach(function(i){var r=e.state.termList[i],o=r.label,l=r.taxonomies;t.push({label:o,value:i}),i===e.props.postType&&Object.keys(l).forEach(function(t,i){var r=l[t],o=r.label,c=r.terms;n.push({label:o,value:t});var s=!e.props.taxonomyType&&0===i;(t===e.props.taxonomyType||s)&&Object.keys(c).forEach(function(e){a.push({label:c[e].name,value:c[e].term_id})})})}),n.length){var r=this.props.taxonomyType||n[0].value,o=n.filter(function(e){var t=e.value;return r===t});i=o.length?o[0].label:n[0].label}return this.state.isLoading?wp.element.createElement("div",{className:"ugb-blog-post__inspector-spinner"},wp.element.createElement(w.Spinner,null)):wp.element.createElement("div",null,p.isPro&&wp.element.createElement(y.d,{label:Object(_.__)("Post Type",p.i18n),options:t,value:this.props.postType,onChange:function(t){var n=Object.keys(e.state.termList[t].taxonomies);e.props.onChangePostType(t),e.props.onChangeTaxonomyType(n.length?n[0]:""),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(y.d,{label:Object(_.__)("Filter by Taxonomy",p.i18n),options:n,value:this.props.taxonomyType,onChange:function(t){e.props.onChangeTaxonomyType(t),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(y.d,{label:i,options:a,value:this.props.taxonomy,onChange:this.props.onChangeTaxonomy}))}}])&&E(n.prototype,a),i&&E(n,i),t}();P.defaultProps={postType:"post",onChangePostType:function(){},taxonomyType:"category",onChangeTaxonomyType:function(){},taxonomy:"",onChangeTaxonomy:function(){}};var N=P,M=n(10),R=n(8),D=n.n(R),F=n(65),I=n(267),z=n(13),H=n(12);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function q(e,t){return!t||"object"!==W(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var $={dot:"·",space:" ",comma:",",dash:"—",pipe:"|"};Object(i.addFilter)("stackable.blog-posts.edit.inspector.layout.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(O.Fragment,null,e,wp.element.createElement(y.A,{initialOpen:!0,selected:r,options:Object(i.applyFilters)("stackable.blog-posts.edit.layouts",[{label:Object(_.__)("Basic",p.i18n),value:"basic",image:o.a},{label:Object(_.__)("List",p.i18n),value:"list",image:c.a}]),onChange:function(e){return n({design:e})}},p.showProNotice&&wp.element.createElement(y.gb,null)))}),Object(i.addFilter)("stackable.blog-posts.edit.inspector.style.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,o=void 0===r?2:r,l=a.borderRadius,c=void 0===l?"":l,u=a.shadow,b=void 0===u?"":u,g=a.contentOrder,d=void 0===g?"":g,f=a.numberOfItems,h=void 0===f?6:f,v=a.showImage,j=void 0===v||v,k=a.showTitle,C=void 0===k||k,x=a.showCategory,E=void 0===x||x,S=a.showExcerpt,A=void 0===S||S,T=a.showMeta,B=void 0===T||T,P=a.showReadmore,M=void 0!==P&&P,R=a.titleTag,D=void 0===R?"":R,F=a.titleColor,I=void 0===F?"":F,z=a.titleHoverColor,H=void 0===z?"":z,L=a.orderBy,U=void 0===L?"date":L,W=a.order,G=void 0===W?"desc":W,V=a.postType,q=void 0===V?"post":V,K=a.taxonomyType,Y=void 0===K?"category":K,$=a.taxonomy,J=void 0===$?"":$,Z=a.imageSize,Q=void 0===Z?"large":Z,ee=a.categoryHighlighted,te=void 0!==ee&&ee,ne=a.categoryColor,ae=void 0===ne?"":ne,ie=a.categoryHoverColor,re=void 0===ie?"":ie,oe=a.excerptColor,le=void 0===oe?"":oe,ce=a.excerptLength,se=void 0===ce?55:ce,ue=a.showAuthor,be=void 0===ue||ue,pe=a.showDate,me=void 0===pe||pe,ge=a.showComments,de=void 0===ge||ge,fe=a.metaColor,he=void 0===fe?"":fe,ve=a.metaSeparator,ye=void 0===ve?"":ve,Oe=a.readmoreColor,we=void 0===Oe?"":Oe,_e=a.readmoreHoverColor,je=void 0===_e?"":_e,ke=a.readmoreText,Ce=void 0===ke?"":ke,xe=m(t),Ee=Object(_.__)("Category",p.i18n),Se=Object(_.__)("Title",p.i18n),Ae=Object(_.__)("Meta",p.i18n),Te=Object(_.__)("Excerpt",p.i18n);return wp.element.createElement(O.Fragment,null,e,wp.element.createElement(w.PanelBody,{title:Object(_.__)("General",p.i18n)},wp.element.createElement(y.c,{label:Object(_.__)("Columns",p.i18n),value:o,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),xe.borderRadius&&wp.element.createElement(y.c,{label:Object(_.__)("Border Radius",p.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),xe.shadow&&wp.element.createElement(y.c,{label:Object(_.__)("Shadow / Outline",p.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.d,{label:Object(_.__)("Content Order",p.i18n),options:[{label:Object(_.__)("Default",p.i18n),value:""},{label:"".concat(Ee," → ").concat(Se," → ").concat(Ae," → ").concat(Te),value:"category,title,meta,excerpt"},{label:"".concat(Ee," → ").concat(Se," → ").concat(Te," → ").concat(Ae),value:"category,title,excerpt,meta"},{label:"".concat(Se," → ").concat(Ae," → ").concat(Te," → ").concat(Ee),value:"title,meta,excerpt,category"},{label:"".concat(Se," → ").concat(Ee," → ").concat(Te," → ").concat(Ae),value:"title,category,excerpt,meta"},{label:"".concat(Ae," → ").concat(Se," → ").concat(Te," → ").concat(Ee),value:"meta,title,excerpt,category"},{label:"".concat(Ae," → ").concat(Se," → ").concat(Ee," → ").concat(Te),value:"meta,title,category,excerpt"}],value:d,onChange:function(e){return n({contentOrder:e})},className:"ugb--help-tip-posts-content-order"}),wp.element.createElement(y.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(w.PanelBody,{title:Object(_.__)("Posts Settings",p.i18n),initialOpen:!1},wp.element.createElement(y.c,{label:Object(_.__)("Number of items",p.i18n),min:1,max:100,allowReset:!0,value:h,onChange:function(e){return n({numberOfItems:e})},placeholder:"6"}),wp.element.createElement(y.d,{label:Object(_.__)("Order by",p.i18n),options:[{label:Object(_.__)("Newest to Oldest",p.i18n),value:"date,desc"},{label:Object(_.__)("Oldest to Newest",p.i18n),value:"date,asc"},{label:Object(_.__)("A → Z",p.i18n),value:"title,asc"},{label:Object(_.__)("Z → A",p.i18n),value:"title,desc"},{label:Object(_.__)("Last Modified to Oldest",p.i18n),value:"modified,desc"},{label:Object(_.__)("Oldest Modified to Last",p.i18n),value:"modified,asc"},{label:Object(_.__)("Menu Order",p.i18n),value:"menu_order,asc"},{label:Object(_.__)("Random",p.i18n),value:"rand,desc"}],value:"".concat(U,",").concat(G),onChange:function(e){return n({orderBy:e.split(",")[0],order:e.split(",")[1]})}}),wp.element.createElement(N,{postType:q,onChangePostType:function(e){return n({postType:e})},taxonomyType:Y,onChangeTaxonomyType:function(e){return n({taxonomyType:e})},taxonomy:J,onChangeTaxonomy:function(e){return n({taxonomy:e})}}),Object(i.applyFilters)("stackable.blog-posts.edit.inspector.style.posts.after",null,t),p.showProNotice&&wp.element.createElement(y.gb,{type:"postsBlock"})),xe.columnBackground&&wp.element.createElement(y.cb,{title:Object(_.__)("Column Background",p.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},(xe.showBackgroundInItem||xe.showBackgroundInContent)&&wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,backgroundMediaAllowVideo:!1}),!(xe.showBackgroundInItem||xe.showBackgroundInContent)&&xe.columnBackground&&wp.element.createElement(y.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,onChangeBackgroundMedia:!1,onChangeBackgroundColorOpacity:!1,onChangeBackgroundGradientBlendMode:!1})),wp.element.createElement(y.cb,{title:Object(_.__)("Featured Image",p.i18n),id:"image",checked:j,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize"].concat(X(Object(s.A)("Image%sWidth")),X(Object(s.A)("Image%sHeight"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.X,{label:Object(_.__)("Image Size",p.i18n),value:Q,onChange:function(e){return n({imageSize:e})},className:"ugb--help-tip-image-size"}),xe.imageWidth&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image Width",p.i18n),min:0,max:600,placeholder:"100",allowReset:!0,className:"ugb--help-tip-image-width-crop"})),xe.imageHeight&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image Height",p.i18n),min:0,max:1e3,placeholder:"500",allowReset:!0,className:"ugb--help-tip-image-height-crop"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Category",p.i18n),id:"category",checked:E,onChange:function(e){return n({showCategory:e})},toggleOnSetAttributes:[].concat(X(Object(s.G)("category%s")),["categoryHighlighted","categoryColor","categoryHoverColor"],X(Object(s.A)("Category%sAlign"))),toggleAttributeName:"showCategory"},wp.element.createElement(y.rb,{attrNameTemplate:"category%s",setAttributes:n,blockAttributes:t.attributes,placeholder:"11"}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Highlighted",p.i18n),checked:te,onChange:function(e){return n({categoryHighlighted:e})}}),wp.element.createElement(y.s,{value:ae,onChange:function(e){return n({categoryColor:e})},label:Object(_.__)("Color",p.i18n)}),wp.element.createElement(y.s,{value:re,onChange:function(e){return n({categoryHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Category%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Title",p.i18n),id:"title",checked:C,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(X(Object(s.G)("title%s")),["titleTag","titleColor","titleHoverColor"],X(Object(s.A)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,htmlTag:D||"h3"}),wp.element.createElement(y.J,{value:D||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.s,{value:I,onChange:function(e){return n({titleColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.s,{value:H,onChange:function(e){return n({titleHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Excerpt",p.i18n),id:"excerpt",checked:A,onChange:function(e){return n({showExcerpt:e})},toggleOnSetAttributes:[].concat(X(Object(s.G)("excerpt%s")),["excerptColor","excerptLength"],X(Object(s.A)("Excerpt%sAlign"))),toggleAttributeName:"showExcerpt"},wp.element.createElement(y.c,{label:Object(_.__)("Excerpt Length",p.i18n),value:se,onChange:function(e){return n({excerptLength:e})},min:1,max:100,allowReset:!0,placeholder:"55"}),wp.element.createElement(y.rb,{attrNameTemplate:"excerpt%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:le,onChange:function(e){return n({excerptColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Excerpt%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Meta",p.i18n),id:"meta",checked:B,onChange:function(e){return n({showMeta:e})},toggleOnSetAttributes:["showAuthor","showDate","showComments"].concat(X(Object(s.G)("meta%s")),["metaColor","metaSeparator"],X(Object(s.A)("Meta%sAlign"))),toggleAttributeName:"showMeta"},wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Author",p.i18n),checked:be,onChange:function(e){return n({showAuthor:e})}}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Date",p.i18n),checked:me,onChange:function(e){return n({showDate:e})}}),wp.element.createElement(w.ToggleControl,{label:Object(_.__)("Show Comments",p.i18n),checked:de,onChange:function(e){return n({showComments:e})}}),wp.element.createElement(y.rb,{attrNameTemplate:"meta%s",setAttributes:n,blockAttributes:t.attributes,placeholder:"11"}),wp.element.createElement(y.s,{value:he,onChange:function(e){return n({metaColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.d,{label:Object(_.__)("Separator",p.i18n),options:[{label:Object(_.__)("Default (Dot)",p.i18n),value:""},{label:Object(_.__)("Space",p.i18n),value:"space"},{label:Object(_.__)("Comma",p.i18n),value:"comma"},{label:Object(_.__)("Dash",p.i18n),value:"dash"},{label:Object(_.__)("Pipe",p.i18n),value:"pipe"}],value:ye,onChange:function(e){return n({metaSeparator:e})},className:"ugb--help-tip-posts-meta-separator"}),wp.element.createElement(y.hb,{attrNameTemplate:"Meta%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.cb,{title:Object(_.__)("Read More Link",p.i18n),id:"readmore",checked:M,onChange:function(e){return n({showReadmore:e})},toggleOnSetAttributes:["readmoreText"].concat(X(Object(s.G)("readmore%s")),["readmoreColor","readmoreHoverColor"],X(Object(s.A)("Readmore%sAlign"))),toggleAttributeName:"showReadmore"},wp.element.createElement(w.TextControl,{label:Object(_.__)("Customize Read More Link",p.i18n),type:"text",value:Ce,onChange:function(e){return n({readmoreText:e})}}),wp.element.createElement(y.rb,{attrNameTemplate:"readmore%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.s,{value:we,onChange:function(e){return n({readmoreColor:e})},label:Object(_.__)("Text Color",p.i18n)}),wp.element.createElement(y.s,{value:je,onChange:function(e){return n({readmoreHoverColor:e})},label:Object(_.__)("Hover Color",p.i18n)}),wp.element.createElement(y.hb,{attrNameTemplate:"Readmore%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.f,{label:Object(_.__)("Align",p.i18n),className:"ugb--help-tip-alignment-button"}))),p.showProNotice&&wp.element.createElement(y.cb,{title:Object(_.__)("Load More Button",p.i18n),id:"loadmore",initialOpen:!1},wp.element.createElement(y.fb,{title:Object(_.__)("Say Hello to More Options 👋",p.i18n),description:Object(_.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium",p.i18n)})),Object(i.applyFilters)("stackable.blog-posts.edit.inspector.style.read-more.after",null,t),wp.element.createElement(y.db,{initialOpen:!1,blockProps:t},xe.imageSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Image",p.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-alignment-image"})),xe.categorySpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"category%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Category",p.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.titleSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Title",p.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-alignment-title"})),xe.excerptSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"excerpt%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Excerpt",p.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.metaSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"meta%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Meta",p.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.readmoreSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"readmore%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Read More",p.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-alignment-button"})),xe.loadMoreSpacing&&wp.element.createElement(y.hb,{attrNameTemplate:"loadMoreButton%sTopMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.c,{label:Object(_.__)("Load More",p.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-alignment-button"}))))});var J=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),q(this,K(t).apply(this,arguments))}var n,a,r;return 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&&Y(e,t)}(t,O["Component"]),n=t,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,a=t.className,r=t.attributes,o=t.posts,l=r.columns,c=void 0===l?2:l,s=r.design,u=void 0===s?"basic":s,b=r.shadow,g=void 0===b?"":b,d=r.numberOfItems,f=void 0===d?6:d,h=r.titleTag,v=void 0===h?"":h,j=r.imageSize,k=void 0===j?"large":j,C=r.categoryHighlighted,x=void 0!==C&&C,E=r.excerptLength,S=void 0===E?"":E,A=r.metaSeparator,T=void 0===A?"":A,B=r.showImage,P=void 0===B||B,N=r.showTitle,M=void 0===N||N,R=r.showCategory,z=void 0===R||R,H=r.showExcerpt,L=void 0===H||H,U=r.showMeta,W=void 0===U||U,V=r.showReadmore,q=void 0!==V&&V,K=r.showAuthor,Y=void 0===K||K,X=r.showDate,J=void 0===X||X,Z=r.showComments,Q=void 0===Z||Z,ee=r.readmoreText,te=void 0===ee?"":ee,ne=r.columnBackgroundColor,ae=void 0===ne?"":ne,ie=r.columnBackgroundColor2,re=void 0===ie?"":ie,oe=r.showLoadMoreButton,le=void 0!==oe&&oe,ce=m(this.props),se=Array.isArray(o)&&o.length,ue=v||"h3",be=D()([a,"ugb-blog-posts--v2","ugb-blog-posts--columns-".concat(c),"ugb-blog-posts--design-".concat(u)],Object(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":x,"ugb-blog-posts--has-bg-color":ae||re},this.props)),pe=se&&o.length>f?o.slice(0,f):o,me=D()(["ugb-blog-posts__item"],G({},"ugb--shadow-".concat(g||3),!ce.imageShadow)),ge=D()(["ugb-blog-posts__featured-image"],G({},"ugb--shadow-".concat(g||3),ce.imageShadow));return se?wp.element.createElement(y.k.Edit,{className:be,blockProps:this.props,render:function(){return wp.element.createElement(O.Fragment,null,(pe||[]).map(function(t,n){var a=(t.featured_image_urls&&t.featured_image_urls[k||"large"]||[])[0],r=a&&wp.element.createElement("figure",{className:ge},wp.element.createElement("a",null,wp.element.createElement("img",{src:a,alt:Object(_.__)("featured",p.i18n)}))),o=a&&wp.element.createElement("div",{className:"ugb-blog-posts__featured-image-background",style:{backgroundImage:"url(".concat(a,")")}}),l=wp.element.createElement(ue,{className:"ugb-blog-posts__title"},wp.element.createElement("a",null,Object(I.decodeEntities)(t.title.rendered.trim())||Object(_.__)("(Untitled)",p.i18n))),c=t.category_list&&wp.element.createElement("div",{className:"ugb-blog-posts__category",dangerouslySetInnerHTML:{__html:t.category_list.replace(/href=['"].*?['"]/g,"")}}),s=wp.element.createElement("span",{className:"ugb-blog-posts__sep"},$[T||"dot"]),u=t.author_info&&t.author_info.name&&wp.element.createElement("span",null,t.author_info.name),b=t.date_gmt&&wp.element.createElement("time",{dateTime:Object(F.format)("c",t.date_gmt),className:"ugb-blog-posts__date"},Object(F.dateI18n)("F d, Y",t.date_gmt)),m=wp.element.createElement("span",null,t.comments_num),g=t.post_excerpt_stackable.split(" "),d=(g=g.length>(S||55)?g.slice(0,S||55).join(" ")+"...":t.post_excerpt_stackable)&&wp.element.createElement("div",{className:"ugb-blog-posts__excerpt",dangerouslySetInnerHTML:{__html:g}}),f=wp.element.createElement("p",{className:"ugb-blog-posts__readmore"},wp.element.createElement("a",null,te||Object(_.__)("Continue reading",p.i18n))),h=(Y||J||Q)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},Y&&u,Y&&u&&(J&&b||Q&&m)&&s,J&&b,(Y&&u||J&&b)&&Q&&m&&s,Q&&m),v=Object(i.applyFilters)("stackable.blog-posts.edit.output",null,e.props,{itemClasses:me,featuredImageBackground:o,featuredImage:r,category:c,title:l,author:u,separator:s,date:b,comments:m,excerpt:d,readmore:f,meta:h},n);return v||wp.element.createElement(y.D,{tagName:"article",className:me,backgroundAttrName:"column%s",blockProps:e.props,showBackground:ce.showBackgroundInItem,showBackgroundVideo:!1,key:n},P&&ce.imageAsBackground&&o,P&&!ce.imageAsBackground&&ce.imageOutsideContainer&&r,wp.element.createElement(y.D,{className:"ugb-blog-posts__content",backgroundAttrName:"column%s",blockProps:e.props,showBackground:ce.showBackgroundInContent,showBackgroundVideo:!1},P&&!ce.imageAsBackground&&!ce.imageOutsideContainer&&r,z&&c,M&&l,W&&h,L&&d,q&&f))}),le&&wp.element.createElement(y.p,{containerClassName:"ugb-blog-posts__load-more-button",attrNameTemplate:"loadMoreButton%s",setAttributes:n,blockAttributes:r,isSelected:!1}))}}):wp.element.createElement(w.Placeholder,{icon:"admin-post",label:Object(_.__)("Posts",p.i18n)},Array.isArray(o)?Object(_.__)("No posts found.",p.i18n):wp.element.createElement(w.Spinner,null))}}])&&V(n.prototype,a),r&&V(n,r),t}(),Z=Object(H.compose)(M.i,M.g,M.d,Object(M.h)(),Object(M.c)(["Category%sAlign","Title%sAlign","Excerpt%sAlign","Meta%sAlign","Readmore%sAlign"]),Object(M.a)(v,{editorMode:!0}),Object(M.b)([[".ugb-blog-posts__featured-image","image"],[".ugb-blog-posts__featured-image img","image"],[".ugb-blog-posts__category","category"],[".ugb-blog-posts__title","title"],[".ugb-blog-posts__excerpt","excerpt"],[".ugb-blog-posts__meta","meta"],[".ugb-blog-posts__readmore","readmore"],[".ugb-blog-posts--design-image-card .ugb-blog-posts__header","image"],[".ugb-blog-posts__item","column-background"],[".ugb-blog-posts__load-more-button","loadmore"]]),Object(z.withSelect)(function(e,t){var n=t.attributes,r=n.postType,o=void 0===r?"post":r,l=n.numberOfItems,c=void 0===l?6:l,s=n.orderBy,u=void 0===s?"date":s,b=n.order,p=void 0===b?"desc":b,m=n.taxonomyType,g=void 0===m?"":m,d=n.taxonomy,f=void 0===d?"":d;return{posts:(0,e("core").getEntityRecords)("postType",o,Object(a.pickBy)(U({order:p,orderby:u,per_page:c,categories:"category"===g&&f?[f]:void 0,tags:"post_tag"===g&&f?[f]:void 0},Object(i.applyFilters)("stackable.blog-posts.postQuery",{},t)),function(e){return!Object(a.isUndefined)(e)&&""!==e}))}}))(J);function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}Object(i.addFilter)("stackable.click-open-inspector.listener-override","stackable/blog-posts",function(e){return U({},e,{'[data-type="ugb/blog-posts"]':["img","p","h1","h2","h3","h4","h5","h6","span","time","aside","figure","div"]})});var ee=Object(H.compose)(M.i,Object(M.a)(v))(function(e){var t=e.className,n=e.attributes,a=n.uniqueClass,r=void 0===a?"":a,o=n.columns,l=void 0===o?2:o,c=n.design,s=void 0===c?"basic":c,u=n.categoryHighlighted,b=void 0!==u&&u,p=n.columnBackgroundColor,m=void 0===p?"":p,g=n.columnBackgroundColor2,d=void 0===g?"":g,f=n.showLoadMoreButton,h=void 0!==f&&f,v=n.loadMoreItems,w=void 0===v?"":v,_=D()([t,"ugb-blog-posts--v2","ugb-blog-posts--design-".concat(s),"ugb-blog-posts--columns-".concat(l)],Object(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":b,"ugb-blog-posts--has-bg-color":m||d},e)),j={};return h&&(j["data-load-items"]=w,j["data-id"]=r),wp.element.createElement(y.k.Save,Q({className:_,blockProps:e},j,{render:function(){return wp.element.createElement(O.Fragment,null,h&&wp.element.createElement(y.p.Content,{className:"ugb-blog-posts__load-more-button",attrNameTemplate:"loadMoreButton%s",blockAttributes:e.attributes,url:"#0",role:"button"}))}}))});function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=[{attributes:{className:{type:"string"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},categories:{type:"string"},postsToShow:{type:"number",default:6},columns:{type:"number",default:2},displayFeaturedImage:{type:"boolean",default:!0},featuredImageShape:{type:"string",default:"landscape"},displayTitle:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayComments:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0},displayReadMoreLink:{type:"boolean",default:!1},readMoreText:{type:"string"},contentAlign:{type:"string"},align:{type:"string"},accentColor:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(){return null},migrate:function(e){var t,n=["portfolio","portfolio2"].includes(e.design)?"#ffffff":void 0;e.accentColor&&["basic","list","vertical-card","horizontal-card","vertical-card2"].includes(e.design)&&(n=e.accentColor),e.accentColor&&["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design)&&(t=e.accentColor);var a=function(e){return(e||"").replace(/\.ugb-blog-posts__category-list/g,".ugb-blog-posts__category").replace(/\.ugb-blog-posts__read_more/g,".ugb-blog-posts__readmore").replace(/\.ugb-blog-posts__side/g,".ugb-blog-posts__content")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:a(e.customCSS),customCSSCompiled:a(e.customCSSCompiled),numberOfItems:e.postsToShow,categoryHighlighted:["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design),metaColor:n,categoryColor:t,showImage:e.displayFeaturedImage,showTitle:e.displayTitle,showDate:e.displayDate,showCategory:e.displayCategory,showComments:e.displayComments,showAuthor:e.displayAuthor,showExcerpt:e.displayExcerpt,showReadmore:e.displayReadMoreLink,readmoreText:e.readMoreText,postType:"post",taxonomyType:"category",taxonomy:e.categories})}}],ie=n(16);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return ce}),n.d(t,"settings",function(){return se});var le=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach(function(t){oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},contentOrder:{type:"string",default:""},numberOfItems:{type:"number",default:6},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},postType:{type:"string",default:"post"},taxonomyType:{type:"string",default:"category"},taxonomy:{type:"string",default:""},postOffset:{type:"number",default:""},postExclude:{type:"string",default:""},postInclude:{type:"string",default:""}},Object(s.k)("column%s"),{showImage:{type:"boolean",default:!0},imageSize:{type:"string",default:""}},Object(s.B)("image%sWidth",{type:"number",default:""}),{},Object(s.B)("image%sHeight",{type:"number",default:""}),{showCategory:{type:"boolean",default:!0}},Object(s.H)("category%s"),{categoryHighlighted:{type:"boolean",default:!1},categoryColor:{type:"string",default:""},categoryHoverColor:{type:"string",default:""}},Object(s.B)("Category%sAlign",{type:"string",default:""}),{showTitle:{type:"boolean",default:!0}},Object(s.H)("title%s"),{titleTag:{type:"string",default:""},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""}},Object(s.B)("Title%sAlign",{type:"string",default:""}),{showExcerpt:{type:"boolean",default:!0}},Object(s.H)("excerpt%s"),{excerptLength:{type:"number",default:""},excerptColor:{type:"string",default:""}},Object(s.B)("Excerpt%sAlign",{type:"string",default:""}),{showMeta:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showDate:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0}},Object(s.H)("meta%s"),{metaColor:{type:"string",default:""},metaSeparator:{type:"string",default:""}},Object(s.B)("Meta%sAlign",{type:"string",default:""}),{showReadmore:{type:"boolean",default:!0},readmoreText:{type:"string",default:""}},Object(s.H)("readmore%s"),{readmoreColor:{type:"string",default:""},readmoreHoverColor:{type:"string",default:""}},Object(s.B)("Readmore%sAlign",{type:"string",default:""}),{showLoadMoreButton:{type:"boolean",default:!1},loadMoreItems:{type:"number",default:""}},Object(s.p)("loadMoreButton%s",{exclude:["Url","NewTab","NoFollow"]}),{loadMoreButtonText:{type:"string",default:Object(_.__)("Load More",p.i18n)}},Object(s.B)("loadMoreButton%sAlign",{type:"string",default:""}),{},Object(s.i)("%s%sBottomMargin",{type:"number",default:""},["Image","Category","Title","Excerpt","Meta","Readmore"],["","Tablet","Mobile"]),{},Object(s.B)("LoadMoreButton%sTopMargin",{type:"number",default:""})),ce="ugb/blog-posts",se={title:Object(_.__)("Posts",p.i18n),description:Object(_.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",p.i18n),icon:ie.c,category:"layout",keywords:[Object(_.__)("Blog Posts",p.i18n),Object(_.__)("Stackable",p.i18n)],supports:{align:["center","wide","full"],inserter:!p.disabledBlocks.includes(ce)},attributes:le,save:ee,edit:Z,deprecated:ae,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0,verticalContentAlign:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.blog-posts.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(9),o=n(5);Object(o.addFilter)("stackable.count-up.design.no-text-attributes","stackable/count-up",function(e){return Object(r.omit)(e,["title1","title2","title3","title4","countText1","countText2","countText3","countText4","description1","description2","description3","description4"])});var l=n(0),c=n(8),s=n.n(c),u=n(7);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=[{attributes:{columns:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title")},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title")},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title")},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title")},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description")},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description")},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description")},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},countFont:{type:"string",default:"theme"},countFontWeight:{type:"string",default:"400"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},title:{type:"string"},counter:{type:"string"},des:{type:"string"},fontSize:{type:"number"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t,n,i=e.className,r=e.attributes,l=r.columns,c=r.backgroundColorType,b=void 0===c?"":c,g=r.backgroundColor,d=r.backgroundColor2,f=r.backgroundColorDirection,h=void 0===f?0:f,v=r.backgroundType,y=void 0===v?"":v,O=r.backgroundImageURL,w=r.fixedBackground,_=r.backgroundOpacity,j=void 0===_?5:_,k=r.textColor,C=r.countColor,x=r.countSize,E=r.contentWidth,S=r.design,A=void 0===S?"plain":S,T=r.align,B=r.borderRadius,P=void 0===B?12:B,N=r.shadow,M=void 0===N?3:N,R=r.countFont,D=r.countFontWeight,F=Object(o.applyFilters)("stackable.count-up.edit.show_1_15_4",{background:"plain"!==A},A,e),I="basic"===A,z=s()([i.split(" ").filter(function(e){return"ugb-count-up"!==e}),"ugb-countup","ugb-countup--v3","ugb-countup--columns-".concat(l),"ugb--background-opacity-"+1*Math.round(j/1)],Object(o.applyFilters)("stackable.count-up.mainclasses_1_15_4",(m(t={"ugb--has-background-image":O},"ugb--content-width","full"===T&&E),m(t,"ugb-countup--design-".concat(A),"plain"!==A),m(t,"ugb--shadow-".concat(M),"basic"===A&&3!==M),m(t,"ugb--has-background-gradient","basic"===A&&"gradient"===b),m(t,"ugb--has-background-video","basic"===A&&"video"===y),t),A,e)),H=I?{backgroundColor:g||void 0,backgroundImage:O?"url(".concat(O,")"):void 0,"--ugb-background-color":O||"gradient"===b?g:void 0,"--ugb-background-color2":"gradient"===b&&d?d:void 0,"--ugb-background-direction":"gradient"===b?"".concat(h,"deg"):void 0,borderRadius:12!==P?P:void 0}:{},L=Object(o.applyFilters)("stackable.count-up.mainstyle_1_15_4",p({backgroundAttachment:w?"fixed":void 0},H),A,e),U={color:C||void 0,fontSize:x?x+"px":void 0,fontWeight:D||void 0};return R&&"theme"!==R&&(U.fontFamily="serif"===(n=R)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':"monospace"===n?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'),wp.element.createElement("div",{className:z,style:L},F.background&&"video"===y&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:O}),Object(o.applyFilters)("stackable.count-up.save.output.before_1_15_4",null,A,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.lb)(1,l+1).map(function(t){var n=r["title".concat(t)],a=r["description".concat(t)],i=r["countText".concat(t)],l=!u.RichText.isEmpty(n)&&wp.element.createElement(u.RichText.Content,{tagName:"h4",className:"ugb-countup__title",style:{color:k||void 0},value:n}),c=!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{tagName:"div",className:"ugb-countup__counter",style:U,value:i,"data-duration":"1000","data-delay":"16"}),s=!u.RichText.isEmpty(a)&&wp.element.createElement(u.RichText.Content,{tagName:"p",className:"ugb-countup__description",style:{color:k||void 0},value:a}),b={i:t,titleComp:l,countComp:c,descriptionComp:s};return Object(o.applyFilters)("stackable.count-up.save.output_1_15_4",wp.element.createElement("div",{className:"ugb-countup__item",key:t},l,c,s),b,t,e)})))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-countup([\s\{\[\.\#\:])/g,".ugb-count-up$1")};return p({},e,{columns:e.columns?e.columns:4,columnBackgroundColorType:e.backgroundColorType?e.backgroundColorType:void 0,columnBackgroundColor:e.backgroundColor?e.backgroundColor:void 0,columnBackgroundColor2:e.backgroundColor2?e.backgroundColor2:void 0,columnBackgroundGradientDirection:e.backgroundColorDirection?e.backgroundColorDirection:void 0,columnBackgroundMediaID:e.backgroundImageID?e.backgroundImageID:void 0,columnBackgroundMediaURL:e.backgroundImageURL?e.backgroundImageURL:void 0,columnBackgroundTintStrength:e.backgroundOpacity?e.backgroundOpacity:void 0,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,numberColor:e.countColor?e.countColor:void 0,numberFontSize:e.countSize?e.countSize:void 0,numberFontFamily:"theme"===e.countFont?"":e.countFont?e.countFont:void 0,numberFontWeight:e.countFontWeight?e.countFontWeight:void 0,titleColor:e.textColor?e.textColor:void 0,descriptionColor:e.textColor?e.textColor:void 0,showBlockBackground:"full"===e.align&&"basic"===e.design||void 0,blockInnerWidth:"full"!==e.align?void 0:!0===e.contentWidth?"center":"full",customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],d=n(3),f=n(10),h=function(e){var t=e.attributes.design,n=void 0===t?"plain":t;return Object(o.applyFilters)("stackable.count-up.show",{columnBackground:"boxed"===n},e)},v=n(14),y=n.n(v);function O(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){j(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){var t=Object(a.b)(e.attributes),n=h(e),i=[];i.push({".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("contentAlign")},tablet:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("mobileContentAlign")}}}),n.columnBackground&&i.push({".ugb-countup__item":{borderRadius:t("borderRadius","%spx !important")}});i.push(_({},n.columnBackground?Object(a.m)("column%s","ugb-countup__item",e.attributes,{importantBackgroundColor:!0}):{}));var r=e.attributes,o=r.showIcon,l=void 0!==o&&o,c=r.showNumber,s=void 0===c||c,u=r.showTitle,b=void 0===u||u,p=r.showDescription,m=void 0===p||p;l&&i.push.apply(i,O(Object(a.D)(".ugb-countup__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),s&&i.push.apply(i,O(Object(a.D)(".ugb-countup__counter","number%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),b&&i.push.apply(i,O(Object(a.D)(".ugb-countup__title","title%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),m&&i.push.apply(i,O(Object(a.D)(".ugb-countup__description","description%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0})));var g=e.attributes,d=g.columnBackgroundColor,f=void 0===d?"":d,v=g.showBlockBackground,w=void 0!==v&&v,j=g.blockBackgroundBackgroundColor,k=void 0===j?"":j,C=g.iconAlign,x=void 0===C?"":C,E=g.contentAlign,S=void 0===E?"":E,A=g.iconTabletAlign,T=void 0===A?"":A,B=g.tabletContentAlign,P=void 0===B?"":B,N=g.iconMobileAlign,M=void 0===N?"":N,R=g.mobileContentAlign,D=void 0===R?"":R;l&&(i.push({".ugb-countup__icon svg:not(.ugb-custom-icon)":{color:Object(a.tb)(t("iconColor"),n.columnBackground?f:w?k:"")},".ugb-countup__icon":{marginLeft:""!==x||""!==S?Object(a.c)(Object(a.fb)(x||S)):void 0,marginRight:""!==x||""!==S?Object(a.c)(Object(a.gb)(x||S)):void 0},tablet:{".ugb-countup__icon svg":{marginLeft:""!==T||""!==P?Object(a.c)(Object(a.fb)(T||P)):void 0,marginRight:""!==T||""!==P?Object(a.c)(Object(a.gb)(T||P)):void 0}},mobile:{".ugb-countup__icon svg":{marginLeft:""!==M||""!==D?Object(a.c)(Object(a.fb)(M||D)):void 0,marginRight:""!==M||""!==D?Object(a.c)(Object(a.gb)(M||D)):void 0}}}),i.push(_({},Object(a.t)("icon%s","ugb-countup__icon",e.attributes))));var F=e.attributes.titleColor,I=void 0===F?"":F;b&&i.push({".ugb-countup__title":_({},Object(a.I)("title%s","desktop",e.attributes),{color:Object(a.tb)(I,n.columnBackground?f:w?k:""),textAlign:t("titleAlign")}),tablet:{".ugb-countup__title":_({},Object(a.I)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-countup__title":_({},Object(a.I)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var z=e.attributes.numberColor,H=void 0===z?"":z;s&&i.push({".ugb-countup__counter":_({},Object(a.I)("number%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.tb)(H,n.columnBackground?f:w?k:""),textAlign:t("numberAlign")}),tablet:{".ugb-countup__counter":_({},Object(a.I)("number%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("numberTabletAlign")})},mobile:{".ugb-countup__counter":_({},Object(a.I)("number%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("numberMobileAlign")})}});var L=e.attributes.descriptionColor,U=void 0===L?"":L;return m&&i.push({".ugb-countup__description":_({},Object(a.I)("description%s","desktop",e.attributes),{color:Object(a.tb)(U,n.columnBackground?f:w?k:""),textAlign:t("descriptionAlign")}),tablet:{".ugb-countup__description":_({},Object(a.I)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-countup__description":_({},Object(a.I)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}}),y.a.all(i)},C=n(283),x=n.n(C),E=n(284),S=n.n(E),A=n(1),T=n(11),B=n(12),P=n(6);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.count-up.edit.inspector.layout.before","stackable/count-up",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(P.Fragment,null,e,wp.element.createElement(d.A,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.count-up.edit.layouts",[{label:Object(l.__)("Plain",A.i18n),value:"plain",image:x.a},{label:Object(l.sprintf)(Object(l._x)("%s %d","Nth Title",A.i18n),Object(l.__)("Plain",A.i18n),2),value:"plain-2",image:S.a}]),onChange:function(e){return n({design:e})}},A.showProNotice&&wp.element.createElement(d.gb,null)))}),Object(o.addFilter)("stackable.count-up.edit.inspector.style.before","stackable/count-up",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.columns,c=i.borderRadius,s=void 0===c?"":c,u=i.shadow,b=void 0===u?"":u,p=i.showNumber,m=void 0===p||p,g=i.showTitle,f=void 0===g||g,v=i.showDescription,y=void 0===v||v,O=i.showIcon,w=void 0!==O&&O,_=i.numberColor,j=void 0===_?"":_,k=i.titleTag,C=void 0===k?"":k,x=i.titleColor,E=void 0===x?"":x,S=i.descriptionColor,B=void 0===S?"":S,R=h(t);return wp.element.createElement(P.Fragment,null,e,wp.element.createElement(T.PanelBody,{title:Object(l.__)("General",A.i18n)},wp.element.createElement(d.c,{label:Object(l.__)("Columns",A.i18n),value:o,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),R.columnBackground&&wp.element.createElement(d.c,{label:Object(l.__)("Border Radius",A.i18n),value:s,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),R.columnBackground&&wp.element.createElement(d.c,{label:Object(l.__)("Shadow / Outline",A.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(d.u,{setAttributes:n,blockAttributes:t.attributes})),R.columnBackground&&wp.element.createElement(d.cb,{title:Object(l.__)("Column Background",A.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(d.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(d.cb,{title:Object(l.__)("Icon",A.i18n),id:"icon",checked:w,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon1","icon2","icon3","icon4"].concat(M(Object(a.r)("icon%s")),M(Object(a.A)("icon%sAlign"))),toggleAttributeName:"showIcon"},Object(r.range)(1,o+1).map(function(e){return wp.element.createElement(d.K,{key:e,label:Object(l.sprintf)(Object(l._x)("%s #%d","Panel title",A.i18n),Object(l.__)("Icon",A.i18n),e),value:t.attributes["icon".concat(e)],onChange:function(t){return n(N({},"icon".concat(e),t))}})}),wp.element.createElement(d.M,{attrNameTemplate:"icon%s",setAttributes:n,blockAttributes:t.attributes,onChangeIcon:!1,numPaths:Math.max.apply(Math,M(Object.values(Object(r.pick)(t.attributes,["icon1","icon2","icon3","icon4"])).map(function(e){return Object(a.jb)(e)||1})))}),wp.element.createElement(d.hb,{attrNameTemplate:"Icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Title",A.i18n),id:"title",checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.G)("title%s")),["titleTag","titleColor"],M(Object(a.A)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(d.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,htmlTag:C||"h4"}),wp.element.createElement(d.J,{value:C||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(d.s,{value:E,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Number",A.i18n),id:"number",checked:m,onChange:function(e){return n({showNumber:e})},toggleOnSetAttributes:[].concat(M(Object(a.G)("number%s")),["numberColor"],M(Object(a.A)("Number%sAlign"))),toggleAttributeName:"showNumber"},wp.element.createElement(d.rb,{attrNameTemplate:"number%s",setAttributes:n,blockAttributes:t.attributes,fontSizeProps:{max:[150,10]},placeholder:["40","1.5"]}),wp.element.createElement(d.s,{value:j,onChange:function(e){return n({numberColor:e})},label:Object(l.__)("Number Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"Number%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(d.cb,{title:Object(l.__)("Description",A.i18n),id:"description",checked:y,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(M(Object(a.G)("description%s")),["descriptionColor"],M(Object(a.A)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(d.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(d.s,{value:B,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",A.i18n)}),wp.element.createElement(d.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.f,{label:Object(l.__)("Align",A.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(d.db,{initialOpen:!1,blockProps:t},w&&wp.element.createElement(d.hb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Icon",A.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-icon"})),f&&wp.element.createElement(d.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Title",A.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-title"})),m&&wp.element.createElement(d.hb,{attrNameTemplate:"number%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Number",A.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-description"})),y&&wp.element.createElement(d.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(d.c,{label:Object(l.__)("Description",A.i18n),min:-50,max:100,placeholder:"0",allowReset:!0,className:"ugb--help-tip-spacing-description"}))))});var R=Object(B.compose)(f.i,f.g,f.d,Object(f.h)(),Object(f.c)(["Icon%sAlign","Number%sAlign","Title%sAlign","Description%sAlign"]),Object(f.a)(k,{editorMode:!0}),Object(f.b)([[".ugb-container__wrapper","column-background"],[".ugb-countup__icon svg","icon"],[".ugb-countup__title","title"],[".ugb-countup__counter","number"],[".ugb-countup__description","description"]]))(function(e){var t=e.setAttributes,n=e.className,a=e.attributes,i=a.columns,c=a.design,b=void 0===c?"plain":c,p=a.titleTag,m=void 0===p?"":p,g=a.showIcon,f=void 0!==g&&g,v=a.showNumber,y=void 0===v||v,O=a.showTitle,w=void 0===O||O,_=a.showDescription,j=void 0===_||_,k=s()([n,"ugb-countup--v4","ugb-countup--columns-".concat(i)],Object(o.applyFilters)("stackable.count-up.mainclasses",N({},"ugb-countup--design-".concat(b),"plain"!==b),b,e)),C=h(e);return wp.element.createElement(d.k.Edit,{className:k,blockProps:e,render:function(){return wp.element.createElement(P.Fragment,null,Object(r.range)(1,i+1).map(function(n){var i=a["icon".concat(n)],r=a["title".concat(n)],c=a["description".concat(n)],p=a["countText".concat(n)],g=f&&wp.element.createElement("div",{className:"ugb-countup__icon ugb-countup__icon--v2"},wp.element.createElement(d.pb,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:i,onChange:function(e){return t(N({},"icon".concat(n),e))}})),h=w&&wp.element.createElement(u.RichText,{tagName:m||"h4",className:"ugb-countup__title",value:r,placeholder:Object(l.__)("Title",A.i18n),onChange:function(e){return t(N({},"title".concat(n),e))},keepPlaceholderOnFocus:!0}),v=y&&wp.element.createElement(u.RichText,{tagName:"div",className:"ugb-countup__counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:p,onChange:function(e){return t(N({},"countText".concat(n),e))},keepPlaceholderOnFocus:!0}),O=j&&wp.element.createElement(u.RichText,{tagName:"p",className:"ugb-countup__description",placeholder:Object(l.__)("Description",A.i18n),value:c,onChange:function(e){return t(N({},"description".concat(n),e))},keepPlaceholderOnFocus:!0}),_={i:n,iconComp:g,titleComp:h,countComp:v,descriptionComp:O},k=s()(["ugb-countup__item","ugb-countup__item".concat(n)],Object(o.applyFilters)("stackable.count-up.boxclasses",{},b,e));return wp.element.createElement(d.D,{className:k,backgroundAttrName:"column%s",blockProps:e,showBackground:C.columnBackground,key:n},Object(o.applyFilters)("stackable.count-up.save.output",wp.element.createElement(P.Fragment,null,g,"plain-2"===b&&v,h,"plain-2"!==b&&v,O),_,n,e))}))}})});var D=Object(B.compose)(f.i,Object(f.a)(k))(function(e){var t,n,a,i=e.className,l=e.attributes,c=l.columns,b=l.design,p=void 0===b?"plain":b,m=l.titleTag,g=void 0===m?"":m,f=l.showIcon,v=void 0!==f&&f,y=l.showNumber,O=void 0===y||y,w=l.showTitle,_=void 0===w||w,j=l.showDescription,k=void 0===j||j,C=s()([i,"ugb-countup--v4","ugb-countup--columns-".concat(c)],Object(o.applyFilters)("stackable.count-up.mainclasses",(t={},n="ugb-countup--design-".concat(p),a="plain"!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),p,e)),x=h(e);return wp.element.createElement(d.k.Save,{className:C,blockProps:e,render:function(){return wp.element.createElement(P.Fragment,null,Object(r.range)(1,c+1).map(function(t){var n=l["icon".concat(t)],a=l["title".concat(t)],i=l["description".concat(t)],r=l["countText".concat(t)],c=v&&wp.element.createElement("div",{className:"ugb-countup__icon ugb-countup__icon--v2"},wp.element.createElement(d.ob.Content,{attrNameTemplate:"icon%s",blockAttributes:e.attributes,value:n})),b=_&&!u.RichText.isEmpty(a)&&wp.element.createElement(u.RichText.Content,{tagName:g||"h4",className:"ugb-countup__title",value:a}),m=O&&!u.RichText.isEmpty(r)&&wp.element.createElement(u.RichText.Content,{tagName:"div",className:"ugb-countup__counter",value:r,"data-duration":"1000","data-delay":"16"}),f=k&&!u.RichText.isEmpty(i)&&wp.element.createElement(u.RichText.Content,{tagName:"p",className:"ugb-countup__description",value:i}),h={i:t,iconComp:c,titleComp:b,countComp:m,descriptionComp:f},y=s()(["ugb-countup__item","ugb-countup__item".concat(t)],Object(o.applyFilters)("stackable.count-up.boxclasses",{},p,e));return wp.element.createElement(d.D,{className:y,backgroundAttrName:"column%s",blockProps:e,showBackground:x.columnBackground,key:t},Object(o.applyFilters)("stackable.count-up.save.output",wp.element.createElement(P.Fragment,null,c,"plain-2"===p&&m,b,"plain-2"!==p&&m,f),h,t,e))}))}})});function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return z}),n.d(t,"name",function(){return H}),n.d(t,"settings",function(){return L});var z=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(n,!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title",A.i18n)},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description",A.i18n)},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},columns:{type:"number",default:2}},Object(a.k)("column%s"),{},Object(a.B)("icon%sBottomMargin",{type:"number",default:""}),{},Object(a.B)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.B)("number%sBottomMargin",{type:"number",default:""}),{},Object(a.B)("description%sBottomMargin",{type:"number",default:""}),{showIcon:{type:"boolean",default:!1},icon1:{type:"string",source:"html",selector:".ugb-countup__item1 .ugb-icon-inner-svg,.ugb-countup__item1 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-cogs"},icon2:{type:"string",source:"html",selector:".ugb-countup__item2 .ugb-icon-inner-svg,.ugb-countup__item2 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-hands-helping"},icon3:{type:"string",source:"html",selector:".ugb-countup__item3 .ugb-icon-inner-svg,.ugb-countup__item3 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-envelope"},icon4:{type:"string",source:"html",selector:".ugb-countup__item4 .ugb-icon-inner-svg,.ugb-countup__item4 .ugb-countup__icon:not(.ugb-countup__icon--v2)",default:"fas-globe-americas"}},Object(a.s)("icon%s"),{showNumber:{type:"boolean",default:!0}},Object(a.H)("number%s"),{numberColor:{type:"string",default:""},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(a.H)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(a.H)("description%s"),{descriptionColor:{type:"string",default:""}},Object(a.i)("%s%sAlign",{type:"string",default:""},["Icon","Number","Title","Description"],["","Tablet","Mobile"]),{},Object(a.i)("Column%s%sColor",{type:"string",default:""},["1","2","3","4"],["Background","Icon"])),H="ugb/count-up",L={title:Object(l.__)("Count Up",A.i18n),description:Object(l.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",A.i18n),icon:i.i,category:"common",keywords:[Object(l.__)("Statistics",A.i18n),Object(l.__)("Count Up",A.i18n),Object(l.__)("Stackable",A.i18n)],attributes:z,supports:{align:["center","wide","full"],inserter:!A.disabledBlocks.includes(H)},deprecated:g,edit:R,save:D,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.count-up.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(9),i=n(5);function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.image-box.design.no-text-attributes","stackable/image-box",function(e){return Object(a.omit)(e,["subtitle1","subtitle2","subtitle3","subtitle4","title1","title2","title3","title4","description1","description2","description3","description4"])}),Object(i.addFilter)("stackable.image-box.design.filtered-block-attributes","stackable/image-box",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["link1Url","link2Url","link3Url","link4Url","link1NewTab","link2NewTab","link3NewTab","link4NewTab","link1NoFollow","link2NoFollow","link3NoFollow","link4NoFollow","image1Id"].concat(r(t&&t.image1Id?["image1Url"]:[]),["image2Id"],r(t&&t.image2Id?["image2Url"]:[]),["image3Id"],r(t&&t.image3Id?["image3Url"]:[]),["image4Id"],r(t&&t.image4Id?["image4Url"]:[])))});var o=n(4),l=n.n(o);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=l.a.createElement("path",{d:"M116.8 106.6l50.8-52.7-50.9-52.7c-1.5-1.6-4.1-1.6-5.7-.1-1.6 1.5-1.6 4.1-.1 5.7l41.6 43.1H4c-2.2 0-4 1.7-4 3.9s1.7 4 3.9 4.1h148.7L111 101c-1.5 1.6-1.4 4.1.1 5.6 1.6 1.6 4.1 1.5 5.7 0z"}),u=function(e){return l.a.createElement("svg",c({viewBox:"0 0 167.6 107.8",xmlns:"http://www.w3.org/2000/svg"},e),s)},b=n(2),p=n(8),m=n.n(p),g=n(1),d=n(0),f=n(7);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y={align:{type:"string"},columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},overlayOpacity:{type:"number",default:7},imageHoverEffect:{type:"string",default:""},arrow:{type:"string",default:""},hoverEffect:{type:"string",default:""},full:{type:"boolean"},title:{type:"string"},subtitle:{type:"string"},id:{type:"number"},url:{type:"string"},href:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}};[1,2,3,4].forEach(function(e){y["title".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__title"),default:Object(d.__)("Title",g.i18n)},y["description".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__description"),default:Object(d.__)("Description",g.i18n)},y["imageURL".concat(e)]={type:"string"},y["imageID".concat(e)]={type:"number"},y["link".concat(e)]={type:"string",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"href",default:""},y["newTab".concat(e)]={type:"boolean",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"target",default:!1}});var O=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){var a,r=n.className,o=n.attributes,l=n.attributes,c=l.titleColor,s=l.subtitleColor,p=l.overlayColor,g=l.height,d=l.width,h=l.verticalAlign,y=l.horizontalAlign,O=l.align,w=l.columns,_=l.design,j=void 0===_?"basic":_,k=l.borderRadius,C=void 0===k?12:k,x=l.shadow,E=void 0===x?3:x,S=l.imageHoverEffect,A=void 0===S?"":S,T=l.overlayOpacity,B=void 0===T?7:T,P=l.arrow,N=void 0===P?"":P,M=m()([r,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(w)],Object(i.applyFilters)("stackable.image-box.mainclasses_1_17_3",(v(a={},"ugb-image-box--design-".concat(j),"basic"!==j),v(a,"ugb-image-box--effect-".concat(A),A),v(a,"ugb-image-box--overlay-".concat(B),7!==B),v(a,"ugb-image-box--arrow",N),a),j,n)),R={textAlign:y||void 0,"--overlay-color":p};return wp.element.createElement("div",{className:M,style:R},Object(i.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,j,n),Object(b.lb)(1,w+1).map(function(a){var r=o["imageURL".concat(a)],l=o["title".concat(a)],b=o["description".concat(a)],p=o["link".concat(a)],_=o["newTab".concat(a)],k={backgroundImage:r?"url(".concat(r,")"):void 0,maxWidth:"wide"!==O&&"full"!==O&&1===w?d:void 0,height:g,textAlign:y,justifyContent:h,borderRadius:C},x=m()(["ugb-image-box__item"],Object(i.applyFilters)("stackable.image-box.itemclasses_1_17_3",v({},"ugb--shadow-".concat(E),3!==E),j,a,n)),S=m()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(N)]);return wp.element.createElement("div",{className:x,style:k,key:a},A&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:r?"url(".concat(r,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:p,target:_?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!f.RichText.isEmpty(l)&&wp.element.createElement(f.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:e?{color:c}:void 0,value:l}),!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:t?{color:s}:void 0,value:b})),N&&p&&wp.element.createElement("div",{className:S},wp.element.createElement(u,{style:{fill:c||void 0}})))}),Object(i.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,j,n))}},w=function(e){var t=function(e){return(e||"").replace(/\.ugb-image-box__overlay(\s*{)/g,".ugb-image-box__overlay-hover$1")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),blockWidth:1===e.columns&&"full"!==e.align?e.width:void 0,columnHeight:e.height,columnContentVerticalAlign:e.verticalAlign,contentAlign:e.horizontalAlign,link1Url:e.link1,link2Url:e.link2,link3Url:e.link3,link4Url:e.link4,link1NewTab:e.newTab1,link2NewTab:e.newTab2,link3NewTab:e.newTab3,link4NewTab:e.newTab4,image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image4Id:e.imageID4,image1Url:e.imageURL1,image2Url:e.imageURL2,image3Url:e.imageURL3,image4Url:e.imageURL4,image1FullUrl:e.imageURL1,image2FullUrl:e.imageURL2,image3FullUrl:e.imageURL3,image4FullUrl:e.imageURL4,imageSize:"full",showOverlay:!1,showOverlayHover:!0,overlayHoverBackgroundColor:e.overlayColor,overlayHoverOpacity:isNaN(parseInt(e.overlayOpacity,10))?.7:parseInt(e.overlayOpacity,10)/10,showArrow:!!e.arrow,arrowAlign:e.arrow?e.arrow:void 0,arrowColor:e.titleColor,descriptionColor:e.subtitleColor,showSubtitle:!1,borderRadius:1===e.columns&&"full"===e.align?0:e.borderRadius,paddingRight:1===e.columns&&"full"===e.align?0:void 0,paddingLeft:1===e.columns&&"full"===e.align?0:void 0})},_=[{attributes:y,save:function(e){var t,n=e.className,a=e.attributes,r=e.attributes,o=r.titleColor,l=r.subtitleColor,c=r.overlayColor,s=r.height,p=r.width,g=r.verticalAlign,d=r.horizontalAlign,h=r.align,y=r.columns,O=r.design,w=void 0===O?"basic":O,_=r.borderRadius,j=void 0===_?12:_,k=r.shadow,C=void 0===k?3:k,x=r.imageHoverEffect,E=void 0===x?"":x,S=r.overlayOpacity,A=void 0===S?7:S,T=r.arrow,B=void 0===T?"":T,P=m()([n,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(y)],Object(i.applyFilters)("stackable.image-box.mainclasses_1_17_3",(v(t={},"ugb-image-box--design-".concat(w),"basic"!==w),v(t,"ugb-image-box--effect-".concat(E),E),v(t,"ugb-image-box--overlay-".concat(A),7!==A),v(t,"ugb-image-box--arrow",B),t),w,e)),N={textAlign:d||void 0,"--overlay-color":c};return wp.element.createElement("div",{className:P,style:N},Object(i.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,w,e),Object(b.lb)(1,y+1).map(function(t){var n=a["imageURL".concat(t)],r=a["title".concat(t)],c=a["description".concat(t)],b=a["link".concat(t)],O=a["newTab".concat(t)],_={backgroundImage:n?"url(".concat(n,")"):void 0,maxWidth:"wide"!==h&&"full"!==h&&1===y?p:void 0,height:s,textAlign:d,justifyContent:g,borderRadius:j},k=m()(["ugb-image-box__item"],Object(i.applyFilters)("stackable.image-box.itemclasses_1_17_3",v({},"ugb--shadow-".concat(C),3!==C),w,t,e)),x=m()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(B)]);return wp.element.createElement("div",{className:k,style:_,key:t},E&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:n?"url(".concat(n,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:b,target:O?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!f.RichText.isEmpty(r)&&wp.element.createElement(f.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:{color:o},value:r}),!f.RichText.isEmpty(c)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:{color:l},value:c})),B&&b&&wp.element.createElement("div",{className:x},wp.element.createElement(u,{style:{fill:o||void 0}})))}),Object(i.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,w,e))},migrate:w},{attributes:y,save:O(!1,!1),migrate:w},{attributes:y,save:O(!0,!1),migrate:w},{attributes:y,save:O(!1,!0),migrate:w}],j=n(3),k=n(10),C=n(295),x=n.n(C),E=n(296),S=n.n(E),A=n(14),T=n.n(A),B=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showSubtitle,o=void 0===r||r,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showArrow,p=void 0!==b&&b;return Object(i.applyFilters)("stackable.image-box.show",{columnBackground:!0,borderRadius:!0,shadow:!0,line:"box"===a||"line"===a,subtitleSpacing:o,titleSpacing:c,lineSpacing:"line"===a,descriptionSpacing:u,arrowSpacing:p},e)};function P(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=function(e){var t=Object(b.b)(e.attributes),n=B(e),a=[];n.borderRadius&&a.push({".ugb-image-box__box":{borderRadius:Object(b.c)(t("borderRadius","%spx !important"))}});var i=Object(b.g)(t("columnHeight"),{max:300});a.push({".ugb-image-box__item":{height:Object(b.c)(t("columnHeight","%spx"))},tabletOnly:{".ugb-image-box__item":{height:Object(b.c)(t("tabletColumnHeight","%spx")||i&&"".concat(i,"px"))}},mobile:{".ugb-image-box__item":{height:Object(b.c)(t("mobileColumnHeight","%spx")||i&&"".concat(i,"px"))}}}),a.push({".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentVerticalAlign"))},tablet:{".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentTabletVerticalAlign"))}},mobile:{".ugb-image-box__item":{justifyContent:Object(b.c)(t("columnContentMobileVerticalAlign"))}}}),a.push({".ugb-image-box__item1 .ugb-image-box__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-image-box__item2 .ugb-image-box__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-image-box__item3 .ugb-image-box__image":{backgroundImage:t("image3Url","url(%s)")},".ugb-image-box__item4 .ugb-image-box__image":{backgroundImage:t("image4Url","url(%s)")},".ugb-image-box__image":{backgroundPosition:Object(b.c)(t("imageBackgroundPosition")),backgroundRepeat:Object(b.c)(t("imageBackgroundRepeat")),backgroundSize:Object(b.c)(t("imageBackgroundSize"))}});var r=e.attributes.showOverlay;void 0!==r&&r&&a.push({".ugb-image-box__overlay":M({},Object(b.n)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(b.l)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:not(:hover) .ugb-image-box__overlay":{opacity:Object(b.c)(t("overlayOpacity"))}});var o=e.attributes.showOverlayHover;void 0!==o&&o&&a.push({".ugb-image-box__overlay-hover":M({},Object(b.n)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(b.l)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:hover .ugb-image-box__overlay-hover":{opacity:Object(b.c)(t("overlayHoverOpacity"))}});var l=e.attributes.showSubtitle;(void 0===l||l)&&a.push({".ugb-image-box__subtitle":M({},Object(b.I)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("subtitleColor")),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-image-box__subtitle":M({},Object(b.I)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-image-box__subtitle":M({},Object(b.I)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var c=e.attributes.showTitle;(void 0===c||c)&&a.push({".ugb-image-box__title":M({},Object(b.I)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("titleColor")),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-image-box__title":M({},Object(b.I)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-image-box__title":M({},Object(b.I)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var s=e.attributes.showDescription;(void 0===s||s)&&a.push({".ugb-image-box__description":M({},Object(b.I)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(b.c)(t("descriptionColor")),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-image-box__description":M({},Object(b.I)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-image-box__description":M({},Object(b.I)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var u=e.attributes.showArrow;return void 0!==u&&u&&(a.push({".ugb-image-box__arrow svg":{fill:Object(b.c)(t("arrowColor"))}}),a.push.apply(a,P(Object(b.D)(".ugb-image-box__arrow svg","arrow%sSize","width","%spx",e.attributes,{important:!0,inherit:!1}))),a.push.apply(a,P(Object(b.D)(".ugb-image-box__arrow","arrow%sAlign","textAlign","%s",e.attributes,{important:!0})))),n.subtitleSpacing&&a.push.apply(a,P(Object(b.D)(".ugb-image-box__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),n.titleSpacing&&a.push.apply(a,P(Object(b.D)(".ugb-image-box__title","title%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),n.descriptionSpacing&&a.push.apply(a,P(Object(b.D)(".ugb-image-box__description","description%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),n.arrowSpacing&&a.push.apply(a,P(Object(b.D)(".ugb-image-box__arrow","arrow%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),T.a.all(a)},F=n(11),I=n(6),z=n(12),H=n(13);function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function V(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e,t){return(q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function K(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(i.addFilter)("stackable.image-box.edit.inspector.layout.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(I.Fragment,null,e,wp.element.createElement(j.A,{initialOpen:!0,selected:r,options:[{image:x.a,label:Object(d.__)("Basic",g.i18n),value:"basic"},{image:S.a,label:Object(d.__)("Plain",g.i18n),value:"plain"}].concat(K(Object(i.applyFilters)("stackable.image-box.edit.layouts",[]))),onChange:function(e){n({design:e})}},g.showProNotice&&wp.element.createElement(j.gb,null)))}),Object(i.addFilter)("stackable.image-box.edit.inspector.style.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.design,o=void 0===r?"basic":r,l=a.columns,c=void 0===l?3:l,s=a.titleColor,u=a.descriptionColor,p=a.borderRadius,m=void 0===p?"":p,f=a.shadow,h=void 0===f?"":f,v=a.showTitle,y=void 0===v||v,O=a.showDescription,w=void 0===O||O,_=a.titleTag,k=void 0===_?"":_,C=a.image1Id,x=void 0===C?"":C,E=a.image2Id,S=void 0===E?"":E,A=a.image3Id,T=void 0===A?"":A,P=a.image4Id,N=void 0===P?"":P,M=a.imageHoverEffect,R=void 0===M?"":M,D=a.showOverlay,z=void 0!==D&&D,H=a.showOverlayHover,L=void 0===H||H,U=a.overlayOpacity,W=void 0===U?.7:U,G=a.overlayHoverOpacity,V=void 0===G?.7:G,q=a.showSubtitle,Y=void 0===q||q,X=a.subtitleColor,$=void 0===X?"":X,J=a.lineColor,Z=void 0===J?"":J,Q=a.lineSize,ee=void 0===Q?"":Q,te=a.showArrow,ne=void 0!==te&&te,ae=a.arrowColor,ie=void 0===ae?"":ae,re=B(t);return wp.element.createElement(I.Fragment,null,e,wp.element.createElement(F.PanelBody,{title:Object(d.__)("General",g.i18n)},wp.element.createElement(j.c,{label:Object(d.__)("Columns",g.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),wp.element.createElement(j.hb,{attrNameTemplate:"%sColumnHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Height",g.i18n),min:"100",max:"700",allowReset:!0,placeholder:"350",className:"ugb--help-tip-image-box-height"})),re.borderRadius&&wp.element.createElement(j.c,{label:Object(d.__)("Border Radius",g.i18n),value:m,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),re.shadow&&wp.element.createElement(j.c,{label:Object(d.__)("Shadow / Outline",g.i18n),value:h,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(j.hb,{attrNameTemplate:"columnContent%sVerticalAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.e,{label:Object(d.__)("Content Vertical Align",g.i18n),controls:"flex-vertical",className:"ugb--help-tip-advanced-column-content-vertical-align"})),wp.element.createElement(j.u,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(F.PanelBody,{title:Object(d.__)("Image",g.i18n),initialOpen:!1},wp.element.createElement(j.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(b.T)(x,e||"large"),image2Url:Object(b.T)(S,e||"large"),image3Url:Object(b.T)(T,e||"large"),image4Url:Object(b.T)(N,e||"large")})}})),wp.element.createElement(j.cb,{title:Object(d.__)("Overlay Color",g.i18n),checked:z,onChange:function(e){return n({showOverlay:e})},toggleOnSetAttributes:[].concat(K(Object(b.j)("overlay%s")),["overlayOpacity"]),toggleAttributeName:"showOverlay",className:"ugb--help-tip-image-box-overlay"},wp.element.createElement(j.h,{attrNameTemplate:"overlay%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(d.__)("Overlay Color Type",g.i18n),labelBackgroundColor:Object(d.__)("Overlay Color",g.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(j.c,{label:Object(d.__)("Opacity",g.i18n),value:W,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(j.cb,{title:Object(d.__)("Overlay Hover Color",g.i18n),checked:L,onChange:function(e){return n({showOverlayHover:e})},toggleOnSetAttributes:[].concat(K(Object(b.j)("overlayHover%s")),["overlayHoverOpacity"]),toggleAttributeName:"showOverlayHover",className:"ugb--help-tip-image-box-overlay-hover"},wp.element.createElement(j.h,{attrNameTemplate:"overlayHover%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(d.__)("Overlay Color Type",g.i18n),labelBackgroundColor:Object(d.__)("Overlay Color",g.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(j.c,{label:Object(d.__)("Opacity",g.i18n),value:V,onChange:function(e){return n({overlayHoverOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(F.PanelBody,{title:Object(d.__)("Effects",g.i18n),initialOpen:!1},wp.element.createElement(F.SelectControl,{label:Object(d.__)("Image Hover Effect",g.i18n),options:Object(i.applyFilters)("stackable.image-box.edit.image-hover-effects",[{label:Object(d.__)("None",g.i18n),value:""},{label:Object(d.__)("Zoom In",g.i18n),value:"zoom-in"},{label:Object(d.__)("Zoom Out",g.i18n),value:"zoom-out"}]),value:R,onChange:function(e){return n({imageHoverEffect:e})},className:"ugb--help-tip-image-box-hover-effect"}),Object(i.applyFilters)("stackable.image-box.edit.panel.image-hover-effects",null,t),g.showProNotice&&wp.element.createElement(j.gb,{type:"effect"})),re.line&&wp.element.createElement(j.cb,{title:Object(d.__)("Line",g.i18n),hasToggle:!1},wp.element.createElement(j.s,{value:Z,onChange:function(e){return n({lineColor:e})},label:Object(d.__)("Color",g.i18n)}),wp.element.createElement(j.c,{label:Object(d.__)("Size",g.i18n),min:"0",max:"10",value:ee,onChange:function(e){return n({lineSize:e})},allowReset:!0,placeholder:"box"===o?1:12})),wp.element.createElement(j.cb,{title:Object(d.__)("Subtitle",g.i18n),id:"subtitle",checked:Y,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(K(Object(b.G)("subtitle%s")),["subtitleColor"],K(Object(b.A)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(j.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes,placeholder:function(e){return.8*e}}),wp.element.createElement(j.s,{value:$,onChange:function(e){return n({subtitleColor:e})},label:Object(d.__)("Subtitle Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-subtitle-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Title",g.i18n),id:"title",checked:y,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(K(Object(b.G)("title%s")),["titleTag","titleColor"],K(Object(b.A)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(j.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,htmlTag:k||"h4"}),wp.element.createElement(j.J,{value:k||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(j.s,{value:s,onChange:function(e){return n({titleColor:e})},label:Object(d.__)("Title Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-title-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Description",g.i18n),id:"description",checked:w,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(K(Object(b.G)("description%s")),["descriptionColor"],K(Object(b.A)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(j.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.s,{value:u,onChange:function(e){return n({descriptionColor:e})},label:Object(d.__)("Description Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-description-align"}))),wp.element.createElement(j.cb,{title:Object(d.__)("Arrow",g.i18n),id:"arrow",checked:ne,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowColor"].concat(K(Object(b.A)("Arrow%sSize")),K(Object(b.A)("Arrow%sAlign"))),toggleAttributeName:"showArrow"},wp.element.createElement(j.s,{value:ie,onChange:function(e){return n({arrowColor:e})},label:Object(d.__)("Color",g.i18n)}),wp.element.createElement(j.hb,{attrNameTemplate:"Arrow%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Size",g.i18n),min:"0",max:"50",placeholder:"30",allowReset:!0})),wp.element.createElement(j.hb,{attrNameTemplate:"Arrow%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.f,{label:Object(d.__)("Align",g.i18n),className:"ugb--help-tip-image-box-arrow-align"}))),wp.element.createElement(j.db,{initialOpen:!1,blockProps:t},re.subtitleSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Subtitle",g.i18n),min:-50,max:100,placeholder:"6",allowReset:!0,className:"ugb--help-tip-image-box-subtitle-spacing"})),re.titleSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Title",g.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-image-box-title-spacing"})),re.lineSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"line%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Line",g.i18n),min:-50,max:100,placeholder:"0",allowReset:!0,className:"ugb--help-tip-image-box-line-spacing"})),re.descriptionSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Description",g.i18n),min:-50,max:100,placeholder:"0",allowReset:!0,className:"ugb--help-tip-image-box-description-spacing"})),re.arrowSpacing&&wp.element.createElement(j.hb,{attrNameTemplate:"arrow%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(j.c,{label:Object(d.__)("Arrow",g.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-arrow-spacing"}))))});var Y=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=G(t).apply(this,arguments))||"object"!==L(a)&&"function"!=typeof a?V(n):a).state={selectedBox:null},e.handleFocusOutside=e.handleFocusOutside.bind(V(e)),e}var n,r,o;return 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&&q(e,t)}(t,I["Component"]),n=t,(r=[{key:"handleFocusOutside",value:function(){this.setState({selectedBox:null})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.className,o=n.setAttributes,l=n.attributes,c=l.columns,s=void 0===c?3:c,b=l.contentAlign,p=void 0===b?"":b,h=l.design,v=void 0===h?"basic":h,y=l.shadow,O=void 0===y?"":y,w=l.imageSize,_=void 0===w?"large":w,k=l.imageHoverEffect,C=void 0===k?"":k,x=l.showSubtitle,E=void 0===x||x,S=l.showTitle,A=void 0===S||S,T=l.showDescription,P=void 0===T||T,N=l.showArrow,M=void 0!==N&&N,R=l.titleTag,D=void 0===R?"":R,F=l.showOverlay,z=void 0!==F&&F,H=l.showOverlayHover,L=void 0===H||H,W=m()([r,"ugb-image-box--v4","ugb-image-box--columns-".concat(s),"ugb-image-box--design-".concat(v)],Object(i.applyFilters)("stackable.image-box.mainclasses",(U(e={},"ugb-image-box--effect-".concat(C),C),U(e,"ugb-image-box--with-arrow",M),U(e,"ugb-image-box--align-".concat(p),p),e),this.props)),G=B(this.props);return wp.element.createElement(j.k.Edit,{className:W,blockProps:this.props,render:function(){return wp.element.createElement(I.Fragment,null,Object(a.range)(1,s+1).map(function(e){var n=m()(["ugb-image-box__item","ugb-image-box__item".concat(e),"ugb-image-box__box"],Object(i.applyFilters)("stackable.image-box.itemclasses",U({},"ugb--shadow-".concat(O),G.columnBackground&&""!==O),t.props,e));return wp.element.createElement("div",{className:n,key:e,onMouseDown:function(){return t.setState({selectedBox:e})},role:"button",tabIndex:"0"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement(j.Y,{imageID:l["image".concat(e,"Id")],imageURL:l["image".concat(e,"Url")],imageSize:_,className:"ugb-image-box__box ugb-image-box__image",onRemove:function(){var t;o((U(t={},"image".concat(e,"Id"),""),U(t,"image".concat(e,"Url"),""),U(t,"image".concat(e,"FullWidth"),""),U(t,"image".concat(e,"FullHeight"),""),U(t,"image".concat(e,"FullUrl"),""),t))},onChange:function(t){var n;o((U(n={},"image".concat(e,"Id"),t.id),U(n,"image".concat(e,"Url"),t.url),U(n,"image".concat(e,"FullWidth"),t.sizes.full.width),U(n,"image".concat(e,"FullHeight"),t.sizes.full.height),U(n,"image".concat(e,"FullUrl"),t.sizes.full.url),n))}})),z&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),L&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(E||A)&&wp.element.createElement("div",{className:"ugb-image-box__header"},E&&wp.element.createElement(f.RichText,{tagName:"div",className:"ugb-image-box__subtitle",value:l["subtitle".concat(e)],onChange:function(t){return o(U({},"subtitle".concat(e),t))},placeholder:Object(d.__)("Subtitle",g.i18n),keepPlaceholderOnFocus:!0}),A&&wp.element.createElement(f.RichText,{tagName:D||"h4",className:"ugb-image-box__title",value:l["title".concat(e)],onChange:function(t){return o(U({},"title".concat(e),t))},placeholder:Object(d.__)("Title",g.i18n),keepPlaceholderOnFocus:!0})),P&&wp.element.createElement(f.RichText,{tagName:"p",className:"ugb-image-box__description",value:l["description".concat(e)],onChange:function(t){return o(U({},"description".concat(e),t))},placeholder:Object(d.__)("Description",g.i18n),keepPlaceholderOnFocus:!0})),M&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(u,null)),t.state.selectedBox===e&&wp.element.createElement(j.tb,{value:l["link".concat(e,"Url")],onChange:function(t){return o(U({},"link".concat(e,"Url"),t))},newTab:l["link".concat(e,"NewTab")],noFollow:l["link".concat(e,"NoFollow")],onChangeNewTab:function(t){return o(U({},"link".concat(e,"NewTab"),t))},onChangeNoFollow:function(t){return o(U({},"link".concat(e,"NoFollow"),t))}}))}))}})}}])&&W(n.prototype,r),o&&W(n,o),t}(),X=Object(z.compose)(k.i,k.g,k.d,Object(k.h)(),Object(k.c)(["Line%sAlign","Subtitle%sAlign","Title%sAlign","Description%sAlign","Arrow%sAlign"]),Object(k.a)(D,{editorMode:!0}),Object(k.b)([[".ugb-image-box__title","title"],[".ugb-image-box__subtitle","subtitle"],[".ugb-image-box__description","description"],[".ugb-image-box__arrow svg","arrow"]]),Object(H.withSelect)(function(e,t){Object(b.f)(t.attributes.image1Id,e),Object(b.f)(t.attributes.image2Id,e),Object(b.f)(t.attributes.image3Id,e),Object(b.f)(t.attributes.image4Id,e)}),F.withFocusOutside)(Y),$=n(18),J=n.n($);function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q=Object(z.compose)(k.i,Object(k.a)(D))(function(e){var t,n=e.className,r=e.attributes,o=r.columns,l=void 0===o?2:o,c=r.contentAlign,s=void 0===c?"":c,b=r.design,p=void 0===b?"basic":b,g=r.titleTag,d=void 0===g?"":g,h=r.shadow,v=void 0===h?"":h,y=r.showOverlay,O=void 0!==y&&y,w=r.showOverlayHover,_=void 0===w||w,k=r.showSubtitle,C=void 0===k||k,x=r.showTitle,E=void 0===x||x,S=r.showDescription,A=void 0===S||S,T=r.showArrow,P=void 0!==T&&T,N=r.imageHoverEffect,M=void 0===N?"":N,R=m()([n,"ugb-image-box--v4","ugb-image-box--columns-".concat(l),"ugb-image-box--design-".concat(p)],Object(i.applyFilters)("stackable.image-box.mainclasses",(Z(t={},"ugb-image-box--effect-".concat(M),M),Z(t,"ugb-image-box--with-arrow",P),Z(t,"ugb-image-box--align-".concat(s),s),t),e)),D=B(e);return wp.element.createElement(j.k.Save,{className:R,blockProps:e,render:function(){return wp.element.createElement(I.Fragment,null,Object(a.range)(1,l+1).map(function(t){var n=r["subtitle".concat(t)],a=r["title".concat(t)],o=r["description".concat(t)],l=J()(E&&!f.RichText.isEmpty(a)?a:C&&!f.RichText.isEmpty(n)?n:A&&!f.RichText.isEmpty(o)?o:""),c=m()(["ugb-image-box__item","ugb-image-box__item".concat(t),"ugb-image-box__box"],Object(i.applyFilters)("stackable.image-box.itemclasses",Z({},"ugb--shadow-".concat(v),D.columnBackground&&""!==v),e,t)),s=[];return r["link".concat(t,"NewTab")]&&(s.push("noopener"),s.push("noreferrer")),r["link".concat(t,"NoFollow")]&&s.push("nofollow"),wp.element.createElement("div",{className:c,key:t},r["image".concat(t,"Url")]&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image",role:"img","aria-label":l})),O&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),_&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(C||E)&&wp.element.createElement("div",{className:"ugb-image-box__header"},C&&!f.RichText.isEmpty(n)&&wp.element.createElement(f.RichText.Content,{tagName:"div",className:"ugb-image-box__subtitle",value:n}),E&&!f.RichText.isEmpty(a)&&wp.element.createElement(f.RichText.Content,{tagName:d||"h4",className:"ugb-image-box__title",value:a})),A&&!f.RichText.isEmpty(o)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-image-box__description",value:o})),P&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(u,null)),r["link".concat(t,"Url")]&&wp.element.createElement("a",{className:"ugb-image-box__overlay-link",href:r["link".concat(t,"Url")],target:r["link".concat(t,"NewTab")]?"_blank":void 0,rel:s.join(" ")||void 0,title:l,"aria-label":l},null))}))}})}),ee=n(16);function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ae}),n.d(t,"name",function(){return ie}),n.d(t,"settings",function(){return re});var ae=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(n,!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(b.i)("link%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-image-box__item%d .ugb-image-box__overlay-link",attribute:"href"},["1","2","3","4"]),{},Object(b.i)("link%s%s",{type:"boolean",default:""},["1","2","3","4"],["NewTab","NoFollow"]),{},Object(b.u)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(b.w)("image%s"),{imageSize:{type:"string",default:"large"}},Object(b.i)("image%s%s",{type:"number",default:""},["1","2","3","4"],["Id","FullWidth","FullHeight"]),{},Object(b.i)("image%s%s",{type:"string",default:""},["1","2","3","4"],["Url","FullUrl"]),{showOverlay:{type:"boolean",default:!1}},Object(b.k)("overlay%s"),{overlayOpacity:{type:"number",default:.7},showOverlayHover:{type:"boolean",default:!0}},Object(b.k)("overlayHover%s"),{overlayHoverOpacity:{type:"number",default:.7}},Object(b.B)("imageBackground%sHeight",{type:"number",default:""}),{imageHoverEffect:{type:"string",default:""},hoverEffect:{type:"string",default:""},lineColor:{type:"string",default:""},lineSize:{type:"number",default:""}},Object(b.B)("Line%sAlign",{type:"string",default:""}),{},Object(b.i)("subtitle%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__subtitle",default:Object(d.__)("Subtitle",g.i18n)},["1","2","3","4"]),{showSubtitle:{type:"boolean",default:!0}},Object(b.H)("subtitle%s"),{subtitleColor:{type:"string",default:""}},Object(b.i)("title%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__title",default:Object(d.__)("Title",g.i18n)},["1","2","3","4"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(b.H)("title%s"),{titleColor:{type:"string",default:""}},Object(b.i)("description%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__description",default:Object(d.__)("Description",g.i18n)},["1","2","3","4"]),{showDescription:{type:"boolean",default:!0}},Object(b.H)("description%s"),{descriptionColor:{type:"string",default:""},showArrow:{type:"boolean",default:!1},arrowColor:{type:"string",default:""}},Object(b.B)("Arrow%sSize",{type:"number",default:""}),{},Object(b.B)("Arrow%sAlign",{type:"string",default:""}),{},Object(b.i)("%s%sAlign",{type:"string",default:""},["Subtitle","Title","Description","Arrow"],["","Tablet","Mobile"]),{},Object(b.i)("%s%sBottomMargin",{type:"number",default:""},["Subtitle","Title","Line","Description","Arrow"],["","Tablet","Mobile"])),ie="ugb/image-box",re={title:Object(d.__)("Image Box",g.i18n),description:Object(d.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",g.i18n),icon:ee.r,category:"layout",keywords:[Object(d.__)("Image Box",g.i18n),Object(d.__)("Stackable",g.i18n)],supports:{align:["center","wide","full"],inserter:!g.disabledBlocks.includes(ie)},attributes:ae,deprecated:_,edit:X,save:Q,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.image-box.custom-css.default","")}}};Object(i.addFilter)("stackable.image-box.advanced-column-spacing.styles","stackable/image-box/column-height",function(e){return e["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.tablet["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.mobile["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e})},function(e,t,n){"use strict";n.r(t);var a=n(2),i=n(16),r=n(1),o=n(9),l=n(5);Object(l.addFilter)("stackable.cta.design.no-text-attributes","stackable/cta",function(e){return Object(o.omit)(e,["title","description","buttonText"])}),Object(l.addFilter)("stackable.cta.design.filtered-block-attributes","stackable/cta",function(e){return Object(o.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])});var c=n(21),s=n(0),u=n(8),b=n.n(u),p=n(7);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(n,!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=[{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},ctaTitle:{source:"html",selector:"h3",default:Object(s.__)("Title for This Block")},bodyText:{source:"html",selector:"p",default:Object(a.K)()},buttonText:{source:"html",selector:".ugb-button span",default:Object(s.__)("Button text")},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,i=a.url,r=a.buttonText,o=a.ctaTitle,s=a.bodyText,u=a.color,m=a.textColor,f=a.size,h=a.borderButtonRadius,v=a.bodyTextColor,y=a.titleColor,O=a.backgroundColorType,w=void 0===O?"":O,_=a.backgroundColor,j=a.backgroundColor2,k=a.backgroundColorDirection,C=void 0===k?0:k,x=a.backgroundType,E=void 0===x?"":x,S=a.backgroundImageURL,A=a.backgroundOpacity,T=a.fixedBackground,B=a.buttonDesign,P=a.buttonIcon,N=a.design,M=void 0===N?"basic":N,R=a.borderRadius,D=void 0===R?12:R,F=a.shadow,I=void 0===F?3:F,z=a.align,H=a.contentWidth,L=a.newTab,U="plain"!==M,W=b()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(A/1)],Object(l.applyFilters)("stackable.cta.mainclasses_1_15_5",(d(t={},"ugb-cta--design-".concat(M),"basic"!==M),d(t,"ugb--shadow-".concat(I),"plain"!==M&&3!==I),d(t,"ugb--has-background",_||S),d(t,"ugb--has-background-image",S),d(t,"ugb-content-width","full"===z&&H),d(t,"ugb--has-background-gradient",U&&"gradient"===w),d(t,"ugb--has-background-video",U&&"video"===E),t),M,e)),G=g({backgroundAttachment:T?"fixed":void 0},U?{backgroundColor:_||void 0,backgroundImage:S?"url(".concat(S,")"):void 0,"--ugb-background-color":S||"gradient"===w?_:void 0,"--ugb-background-color2":"gradient"===w&&j?j:void 0,"--ugb-background-direction":"gradient"===w?"".concat(C,"deg"):void 0,borderRadius:12!==D?D:void 0}:{});return wp.element.createElement("div",{className:W,style:G},U&&"video"===E&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:S}),Object(l.applyFilters)("stackable.cta.save.output.before_1_15_5",null,M,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},o&&!!o.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:y},value:o}),s&&!!s.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:v},value:s}),r&&!!r.length&&wp.element.createElement(c.b,{size:f,url:i,color:m,text:r,design:B,icon:P,backgroundColor:u,borderRadius:h,newTab:L})))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-cta(\s*{)/g,"\n.ugb-cta__item$1").replace(/\.ugb-content-wrapper/g,".ugb-cta__item")};return g({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.ctaTitle||"",titleColor:e.titleColor||"",description:e.bodyText||"",descriptionColor:e.bodyTextColor||"",buttonUrl:e.url,buttonNewTab:e.newTab,buttonBackgroundColor:e.color,buttonTextColor:e.textColor,buttonSize:e.size,buttonDesign:e.buttonDesign,buttonBorderRadius:e.borderButtonRadius,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,backgroundType:void 0,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}}],h=n(3),v=n(10),y=n(14),O=n.n(y),w=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showBlockBackground,r=void 0!==i&&i,o=t.blockInnerWidth,c=void 0===o?"":o,s=t.align,u=void 0===s?"":s,b=t.showTitle,p=void 0===b||b,m=t.showDescription,g=void 0===m||m,d=t.showButton,f=void 0===d||d,h=!0;return"plain"===a?h=!1:"full"===u&&(r?"full"===c&&(h=!1):h=!1),Object(l.applyFilters)("stackable.cta.show",{columnBackground:"plain"!==a,borderRadius:h,titleSpacing:p,descriptionSpacing:g,buttonSpacing:f},e)};function _(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(n,!0).forEach(function(t){C(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,i=n.columnBackgroundColor,r=void 0===i?"":i,o=n.columnBackgroundColorOpacity,l=void 0===o?1:o,c=w(e),s=[];s.push({".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:Object(a.c)(t("contentAlign"))},tablet:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),c.borderRadius&&s.push({".ugb-cta__item":{borderRadius:t("borderRadius","%spx !important")}});s.push(k({},c.columnBackground?Object(a.m)("column%s","ugb-cta__item",e.attributes,{importantBackgroundColor:!0}):{})),c.titleSpacing&&s.push.apply(s,_(Object(a.D)(".ugb-cta__title","title%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),c.descriptionSpacing&&s.push.apply(s,_(Object(a.D)(".ugb-cta__description","description%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),c.buttonSpacing&&s.push.apply(s,_(Object(a.D)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0})));var u=e.attributes,b=u.titleColor,p=void 0===b?"":b,m=u.showTitle;(void 0===m||m)&&s.push({".ugb-cta__title":k({},Object(a.I)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.tb)(p,0!==l?r:null),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-cta__title":k({},Object(a.I)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-cta__title":k({},Object(a.I)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes,d=g.descriptionColor,f=void 0===d?"":d,h=g.showDescription;(void 0===h||h)&&s.push({".ugb-cta__description":k({},Object(a.I)("description%s","desktop",e.attributes),{color:Object(a.tb)(f,0!==l?r:null),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-cta__description":k({},Object(a.I)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-cta__description":k({},Object(a.I)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}});var v=e.attributes.showButton;return(void 0===v||v)&&(s.push(k({},Object(a.q)("button%s","ugb-button",e.attributes))),s.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),O.a.all(s)},E=n(273),S=n.n(E),A=n(274),T=n.n(A),B=n(11),P=n(12),N=n(6);function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(l.addFilter)("stackable.cta.edit.inspector.layout.before","stackable/cta",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(h.A,{initialOpen:!0,selected:i,options:Object(l.applyFilters)("stackable.cta.edit.layouts",[{label:Object(s.__)("Basic",r.i18n),value:"basic",image:S.a},{label:Object(s.__)("Plain",r.i18n),value:"plain",image:T.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(h.gb,null)))}),Object(l.addFilter)("stackable.cta.edit.inspector.style.before","stackable/cta",function(e,t){var n=t.setAttributes,i=t.attributes,o=i.titleColor,l=i.descriptionColor,c=i.borderRadius,u=void 0===c?"":c,b=i.shadow,p=void 0===b?"":b,m=i.showTitle,g=void 0===m||m,d=i.showDescription,f=void 0===d||d,v=i.showButton,y=void 0===v||v,O=i.titleTag,_=void 0===O?"":O,j=w(t);return wp.element.createElement(N.Fragment,null,e,wp.element.createElement(B.PanelBody,{title:Object(s.__)("General",r.i18n)},j.borderRadius&&wp.element.createElement(h.c,{label:Object(s.__)("Border Radius",r.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),j.columnBackground&&wp.element.createElement(h.c,{label:Object(s.__)("Shadow / Outline",r.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(h.u,{setAttributes:n,blockAttributes:t.attributes})),j.columnBackground&&wp.element.createElement(h.cb,{title:Object(s.__)("Column Background",r.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(h.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(h.cb,{title:Object(s.__)("Title",r.i18n),id:"title",checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(R(Object(a.G)("title%s")),["titleTag","titleColor"],R(Object(a.A)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(h.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,className:"ugb--help-tip-typography-family",htmlTag:_||"h3"}),wp.element.createElement(h.J,{value:_||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(h.s,{value:o,onChange:function(e){return n({titleColor:e})},label:Object(s.__)("Title Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Description",r.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(R(Object(a.G)("description%s")),["descriptionColor"],R(Object(a.A)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(h.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(h.s,{value:l,onChange:function(e){return n({descriptionColor:e})},label:Object(s.__)("Description Color",r.i18n)}),wp.element.createElement(h.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(h.cb,{title:Object(s.__)("Button",r.i18n),id:"button",checked:y,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(R(Object(a.o)("button%s")),R(Object(a.A)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(h.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,placeholder:"21"}),wp.element.createElement(h.v,null),wp.element.createElement(h.hb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.f,{label:Object(s.__)("Align",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(h.db,{initialOpen:!1,blockProps:t},j.titleSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Title",r.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-title"})),j.descriptionSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Description",r.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-description"})),j.buttonSpacing&&wp.element.createElement(h.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(h.c,{label:Object(s.__)("Button",r.i18n),min:-50,max:100,placeholder:"0",allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var D=Object(P.compose)(v.i,v.g,v.d,Object(v.h)(),Object(v.c)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(v.a)(x,{editorMode:!0}),Object(v.b)([[".ugb-cta__title","title"],[".ugb-cta__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,i=e.attributes,o=i.design,c=void 0===o?"basic":o,u=i.shadow,m=void 0===u?"":u,g=i.showTitle,d=void 0===g||g,f=i.title,v=void 0===f?"":f,y=i.titleTag,O=void 0===y?"h3":y,w=i.showDescription,_=void 0===w||w,j=i.description,k=void 0===j?"":j,C=i.showButton,x=void 0===C||C,E=b()([t,"ugb-cta","ugb-cta--v2"],Object(l.applyFilters)("stackable.cta.mainclasses",M({},"ugb-cta--design-".concat(c),"basic"!==c),c,e)),S=b()(["ugb-cta__item"],Object(l.applyFilters)("stackable.cta.boxclasses",M({},"ugb--shadow-".concat(m),"plain"!==c&&""!==m),c,e)),A=d&&wp.element.createElement(p.RichText,{tagName:O||"h3",value:v,className:"ugb-cta__title",placeholder:Object(s.__)("Title for This Block",r.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),T=_&&wp.element.createElement(p.RichText,{tagName:"p",value:k,className:"ugb-cta__description",onChange:function(e){return n({description:e})},placeholder:Object(a.K)(),keepPlaceholderOnFocus:!0}),B=x&&wp.element.createElement(h.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes}),P={title:A,description:T,button:B};return wp.element.createElement(h.k.Edit,{className:E,blockProps:e,render:function(){return wp.element.createElement(N.Fragment,null,wp.element.createElement(h.D,{className:S,backgroundAttrName:"column%s",blockProps:e},Object(l.applyFilters)("stackable.cta.edit.output",wp.element.createElement(N.Fragment,null,A,T,B),P,e)))}})});function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I=Object(P.compose)(v.i,Object(v.a)(x))(function(e){var t=e.className,n=e.attributes,a=n.design,i=void 0===a?"basic":a,r=n.shadow,o=void 0===r?"":r,c=n.showTitle,s=void 0===c||c,u=n.title,m=void 0===u?"":u,g=n.titleTag,d=void 0===g?"h3":g,f=n.showDescription,v=void 0===f||f,y=n.description,O=void 0===y?"":y,w=n.showButton,_=void 0===w||w,j=n.buttonUrl,k=void 0===j?"":j,C=n.buttonNewTab,x=void 0!==C&&C,E=n.buttonSize,S=void 0===E?"normal":E,A=n.buttonText,T=void 0===A?"":A,B=n.buttonShadow,P=void 0===B?0:B,M=n.buttonHoverEffect,R=void 0===M?"":M,D=n.buttonIcon,I=void 0===D?"":D,z=n.buttonIconPosition,H=void 0===z?"":z,L=n.buttonDesign,U=void 0===L?"basic":L,W=n.buttonHoverGhostToNormal,G=void 0!==W&&W,V=n.buttonNoFollow,q=void 0!==V&&V,K=b()([t,"ugb-cta","ugb-cta--v2"],Object(l.applyFilters)("stackable.cta.mainclasses",F({},"ugb-cta--design-".concat(i),"basic"!==i),i,e)),Y=b()(["ugb-cta__item"],Object(l.applyFilters)("stackable.cta.boxclasses",F({},"ugb--shadow-".concat(o),"plain"!==i&&""!==o),i,e)),X=s&&!p.RichText.isEmpty(m)&&wp.element.createElement(p.RichText.Content,{tagName:d||"h3",className:"ugb-cta__title",value:m}),$=v&&!p.RichText.isEmpty(O)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",value:O}),J=_&&!p.RichText.isEmpty(T)&&wp.element.createElement(h.o.Content,{size:""!==S?S:"normal",text:T,icon:I,newTab:""!==x&&x,url:k,noFollow:q,hoverEffect:R,ghostToNormalEffect:G,shadow:P,iconPosition:H,design:""!==U?U:"basic"}),Z={title:X,description:$,button:J};return wp.element.createElement(h.k.Save,{className:K,blockProps:e,render:function(){return wp.element.createElement(N.Fragment,null,wp.element.createElement(h.D,{className:Y,backgroundAttrName:"column%s",blockProps:e},Object(l.applyFilters)("stackable.cta.save.output",wp.element.createElement(N.Fragment,null,X,$,J),Z,e)))}})});function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return U}),n.d(t,"settings",function(){return W});var L=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(n,!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},title:{source:"html",selector:"h3, .ugb-cta__title",default:Object(s.__)("Title for This Block",r.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:""}},Object(a.H)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:"p, .ugb-cta__description",default:Object(a.K)()},showDescription:{type:"boolean",default:!0}},Object(a.H)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(a.p)("button%s",{selector:".ugb-button"}),{},Object(a.k)("column%s"),{hoverEffect:{type:"string",default:""}},Object(a.B)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.B)("description%sBottomMargin",{type:"number",default:""}),{},Object(a.B)("button%sBottomMargin",{type:"number",default:""}),{},Object(a.i)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"])),U="ugb/cta",W={title:Object(s.__)("Call to Action",r.i18n),description:Object(s.__)("A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.",r.i18n),icon:i.e,category:"layout",keywords:[Object(s.__)("Call to Action",r.i18n),Object(s.__)("Stackable",r.i18n),Object(s.__)("CTA",r.i18n)],attributes:L,supports:{align:["center","wide","full"],inserter:!r.disabledBlocks.includes(U)},deprecated:f,edit:D,save:I,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(l.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(16),i=n(2),r=n(9),o=n(5);function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.card.design.no-text-attributes","stackable/card",function(e){return Object(r.omit)(e,["title1","title2","title3","subtitle1","subtitle2","subtitle3","description1","description2","description3","button1Text","button2Text","button3Text"])}),Object(o.addFilter)("stackable.card.design.filtered-block-attributes","stackable/card",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.omit)(e,[].concat(l(t&&t.image1Id?["image1Url"]:[]),["image1Id"],l(t&&t.image2Id?["image2Url"]:[]),["image2Id"],l(t&&t.image3Id?["image3Url"]:[]),["image3Id","button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow"]))});var c=n(21),s=n(8),u=n.n(s),b=n(1),p=n(0),m=n(7);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=[{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card__image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card__title",default:Object(p.__)("Title for This Block",b.i18n)},tagline:{source:"html",selector:".ugb-card__tagline",default:Object(p.__)("Subtitle for this block",b.i18n)},des:{source:"html",selector:".ugb-card__description",default:Object(i.K)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(p.__)("Button text",b.i18n)},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,i=a.heading,r=a.tagline,l=a.des,s=a.mediaURL,b=a.headingColor,p=a.taglineColor,g=a.desColor,h=a.buttonURL,v=a.buttonNewTab,y=a.buttonText,O=a.buttonColor,w=a.buttonTextColor,_=a.size,j=a.cornerButtonRadius,k=a.contentAlign,C=a.buttonDesign,x=a.buttonIcon,E=a.design,S=void 0===E?"basic":E,A=a.backgroundColor,T=a.borderRadius,B=void 0===T?12:T,P=a.shadow,N=void 0===P?3:P,M=u()([n,"ugb-card"],Object(o.applyFilters)("stackable.card.mainclasses_1_17_3",(f(t={},"ugb-card--design-".concat(S),"basic"!==S),f(t,"ugb--shadow-".concat(N),"plain"!==S&&3!==N),t),S,e)),R={borderRadius:"plain"!==S?B:void 0,backgroundColor:"plain"!==S?A:void 0},D=u()(["ugb-card__image-container"],f({},"ugb--shadow-".concat(N),"plain"===S)),F={borderRadius:"plain"===S?B:void 0};return wp.element.createElement("div",{className:M,style:R},Object(o.applyFilters)("stackable.card.save.output.before_1_17_3",null,S,e),s&&wp.element.createElement("div",{className:D,style:d({},F,{backgroundImage:"url(".concat(s,")"),textAlign:k}),"data-src":s}),!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",className:"ugb-card__title",style:{color:b,textAlign:k},value:i}),!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:p,textAlign:k},value:r}),!m.RichText.isEmpty(l)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:g,textAlign:k},value:l}),y&&!!y.length&&wp.element.createElement(c.b,{size:_,url:h,newTab:v,align:k,color:w,text:y,icon:x,design:C,backgroundColor:O,borderRadius:j}),Object(o.applyFilters)("stackable.card.save.output.after_1_17_3",null,S,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-card([\s\{\[\.\#\:])/g,".ugb-card__item$1").replace(/\.ugb-card__tagline([\s\{\[\.\#\:])/g,".ugb-card__subtitle$1").replace(/\.ugb-card__image-container([\s\{\[\.\#\:])/g,".ugb-card__image$1")};return d({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),columns:1,showButton:!!e.buttonText,image1Id:e.mediaID,image1Url:e.mediaURL,title1:e.heading,subtitle1:e.tagline,description1:e.des,titleColor:e.headingColor,subtitleColor:e.taglineColor,descriptionColor:e.desColor,button1Url:e.buttonURL,button1NewTab:e.buttonNewTab,button1Text:e.buttonText,buttonBackgroundColor:e.buttonColor,buttonIcon:e.buttonIcon,buttonTextColor:e.buttonTextColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,buttonDesign:e.buttonDesign,columnBackgroundColor:e.backgroundColor})}}],v=n(3),y=n(10),O=n(275),w=n.n(O),_=n(276),j=n.n(_),k=n(14),C=n.n(k),x=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showImage,r=void 0===i||i,l=t.showTitle,c=void 0===l||l,s=t.showSubtitle,u=void 0===s||s,b=t.showDescription,p=void 0===b||b,m=t.showButton,g=void 0===m||m;return Object(o.applyFilters)("stackable.card.show",{columnBackground:"plain"!==a,borderRadius:!0,shadow:!0,imageHeight:("basic"===a||"plain"===a)&&"horizontal-card"!==a,imageWidth:"horizontal"===a,imageSpacing:"plain"===a&&r,titleSpacing:c,subtitleSpacing:u,descriptionSpacing:p,buttonSpacing:g},e)};function E(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){var t=Object(i.b)(e.attributes),n=e.attributes.columnBackgroundColor,a=void 0===n?"":n,r=x(e),o=[];if(o.push({".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("contentAlign")},tablet:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),r.borderRadius){var l=r.columnBackground?".ugb-card__item":".ugb-card__image";o.push(T({},l,{borderRadius:t("borderRadius","%spx !important")}))}o.push(A({},r.columnBackground?Object(i.m)("column%s","ugb-card__item",e.attributes,{importantBackgroundColor:!0}):{})),o.push({".ugb-card__item1 .ugb-card__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-card__item2 .ugb-card__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-card__item3 .ugb-card__image":{backgroundImage:t("image3Url","url(%s)")}}),o.push(A({},Object(i.x)("image%s","ugb-card__image",e.attributes))),r.imageHeight&&o.push.apply(o,E(Object(i.D)(".ugb-card__image","imageBackground%sHeight","height","%spx",e.attributes,{inherit:!0,inheritTabletMax:300,inheritMobileMax:300,important:!0}))),r.imageWidth&&o.push({".ugb-card__image":{width:t("imageBackgroundWidth")?Object(i.c)(t("imageBackgroundWidth")+t("imageBackgroundWidthUnit","%s","%")):void 0},tablet:{".ugb-card__image":{width:t("imageBackgroundTabletWidth")?Object(i.c)(t("imageBackgroundTabletWidth")+t("imageBackgroundTabletWidthUnit","%s","%")):void 0}},mobile:{".ugb-card__image":{width:t("imageBackgroundMobileWidth")?Object(i.c)(t("imageBackgroundMobileWidth")+t("imageBackgroundMobileWidthUnit","%s","%")):void 0}}});var c=e.attributes,s=c.titleColor,u=void 0===s?"":s,b=c.showTitle;(void 0===b||b)&&o.push({".ugb-card__title":A({},Object(i.I)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.ub)(u,r.columnBackground&&a)),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-card__title":A({},Object(i.I)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-card__title":A({},Object(i.I)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var p=e.attributes,m=p.subtitleColor,g=void 0===m?"":m,d=p.showSubtitle;(void 0===d||d)&&o.push({".ugb-card__subtitle":A({},Object(i.I)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.ub)(g,r.columnBackground&&a)),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-card__subtitle":A({},Object(i.I)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-card__subtitle":A({},Object(i.I)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var f=e.attributes,h=f.descriptionColor,v=void 0===h?"":h,y=f.showDescription;(void 0===y||y)&&o.push({".ugb-card__description":A({},Object(i.I)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(i.c)(Object(i.ub)(v,r.columnBackground&&a)),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-card__description":A({},Object(i.I)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-card__description":A({},Object(i.I)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var O=e.attributes.showButton;return(void 0===O||O)&&(o.push(A({},Object(i.q)("button%s","ugb-button",e.attributes))),o.push.apply(o,E(Object(i.D)(".ugb-button-container","button%sAlign","textAlign","%s",e.attributes,{important:!0})))),r.imageSpacing&&o.push.apply(o,E(Object(i.D)(".ugb-card__image","image%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),r.titleSpacing&&o.push.apply(o,E(Object(i.D)(".ugb-card__title","title%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),r.subtitleSpacing&&o.push.apply(o,E(Object(i.D)(".ugb-card__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),r.descriptionSpacing&&o.push.apply(o,E(Object(i.D)(".ugb-card__description","description%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),r.buttonSpacing&&o.push.apply(o,E(Object(i.D)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,{important:!0}))),C.a.all(o)},P=n(11),N=n(12),M=n(6),R=n(13);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(o.addFilter)("stackable.card.edit.inspector.layout.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(v.A,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.card.edit.layouts",[{label:Object(p.__)("Basic",b.i18n),value:"basic",image:w.a},{label:Object(p.__)("Plain",b.i18n),value:"plain",image:j.a}]),onChange:function(e){return n({design:e})}},b.showProNotice&&wp.element.createElement(v.gb,null)))}),Object(o.addFilter)("stackable.card.edit.inspector.style.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,o=a.borderRadius,l=void 0===o?"":o,c=a.shadow,s=void 0===c?"":c,u=a.showImage,m=void 0===u||u,g=a.showTitle,d=void 0===g||g,f=a.showSubtitle,h=void 0===f||f,y=a.showDescription,O=void 0===y||y,w=a.showButton,_=void 0===w||w,j=a.image1Id,k=void 0===j?"":j,C=a.image2Id,E=void 0===C?"":C,S=a.image3Id,A=void 0===S?"":S,T=a.imageBackgroundWidth,B=void 0===T?"":T,N=a.imageBackgroundTabletWidth,R=void 0===N?"":N,D=a.imageBackgroundMobileWidth,I=void 0===D?"":D,z=a.imageBackgroundWidthUnit,H=void 0===z?"%":z,L=a.imageBackgroundTabletWidthUnit,U=void 0===L?"%":L,W=a.imageBackgroundMobileWidthUnit,G=void 0===W?"%":W,V=a.titleTag,q=void 0===V?"":V,K=a.titleColor,Y=void 0===K?"":K,X=a.descriptionColor,$=void 0===X?"":X,J=a.subtitleColor,Z=void 0===J||J,Q=x(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(p.__)("General",b.i18n)},wp.element.createElement(v.c,{label:Object(p.__)("Columns",b.i18n),value:r,onChange:function(e){return n({columns:e})},min:1,max:3,className:"ugb--help-tip-general-columns"}),Q.borderRadius&&wp.element.createElement(v.c,{label:Object(p.__)("Border Radius",b.i18n),value:l,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),Q.shadow&&wp.element.createElement(v.c,{label:Object(p.__)("Shadow / Outline",b.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(v.u,{setAttributes:n,blockAttributes:t.attributes})),Q.columnBackground&&wp.element.createElement(v.cb,{title:Object(p.__)("Column Background",b.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(v.h,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(v.cb,{title:Object(p.__)("Image",b.i18n),checked:m,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:[].concat(F(Object(i.v)("image%s")),F(Object(i.A)("imageBackground%sHeight")),F(Object(i.A)("imageBackground%sWidth"))),toggleAttributeName:"showImage"},wp.element.createElement(v.R,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(i.T)(k,e||"large"),image2Url:Object(i.T)(E,e||"large"),image3Url:Object(i.T)(A,e||"large")})}}),Q.imageHeight&&wp.element.createElement(v.hb,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Image Height",b.i18n),min:0,max:1e3,allowReset:!0,placeholder:"300",className:"ugb--help-tip-image-height-crop"})),Q.imageWidth&&wp.element.createElement(M.Fragment,null,wp.element.createElement(v.ub,null,wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[0,0],max:[1e3,90],step:[1,1],allowReset:!0,value:B,unit:H,onChange:function(e){return n({imageBackgroundWidth:e})},onChangeUnit:function(e){return n({imageBackgroundWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(v.ub,{screen:"tablet"},wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[0,0],max:[1e3,90],step:[1,1],allowReset:!0,value:R,unit:U,onChange:function(e){return n({imageBackgroundTabletWidth:e})},onChangeUnit:function(e){return n({imageBackgroundTabletWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(v.ub,{screen:"mobile"},wp.element.createElement(v.c,{label:Object(p.__)("Image Width",b.i18n),units:["px","%"],min:[0,0],max:[1e3,90],step:[1,1],allowReset:!0,value:I,unit:G,onChange:function(e){return n({imageBackgroundMobileWidth:e})},onChangeUnit:function(e){return n({imageBackgroundMobileWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})))),wp.element.createElement(v.cb,{title:Object(p.__)("Title",b.i18n),id:"title",checked:d,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(F(Object(i.G)("title%s")),["titleTag","titleColor"],F(Object(i.A)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(v.rb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,htmlTag:q||"h4"}),wp.element.createElement(v.J,{value:q||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(v.s,{value:Y,onChange:function(e){return n({titleColor:e})},label:Object(p.__)("Title Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Subtitle",b.i18n),id:"subtitle",checked:h,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(F(Object(i.G)("subtitle%s")),["subtitleColor"],F(Object(i.A)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(v.rb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes,placeholder:function(e){return.8*e}}),wp.element.createElement(v.s,{value:Z,onChange:function(e){return n({subtitleColor:e})},label:Object(p.__)("Subtitle Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Description",b.i18n),id:"description",checked:O,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(F(Object(i.G)("description%s")),["descriptionColor"],F(Object(i.A)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(v.rb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(v.s,{value:$,onChange:function(e){return n({descriptionColor:e})},label:Object(p.__)("Description Color",b.i18n)}),wp.element.createElement(v.hb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(v.cb,{title:Object(p.__)("Button",b.i18n),id:"button",checked:_,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(F(Object(i.o)("button%s")),F(Object(i.A)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(v.n,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,placeholder:"21"}),wp.element.createElement(v.v,null),wp.element.createElement(v.hb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.f,{label:Object(p.__)("Align",b.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(v.db,{initialOpen:!1,blockProps:t},Q.imageSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Image",b.i18n),min:-50,max:100,placeholder:"0",allowReset:!0,className:"ugb--help-tip-spacing-image"})),Q.titleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Title",b.i18n),min:-50,max:100,placeholder:"8",allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.subtitleSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Subtitle",b.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.descriptionSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Description",b.i18n),min:-50,max:100,placeholder:"16",allowReset:!0,className:"ugb--help-tip-spacing-description"})),Q.buttonSpacing&&wp.element.createElement(v.hb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(v.c,{label:Object(p.__)("Button",b.i18n),min:-50,max:100,placeholder:"0",allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var I=Object(N.compose)(y.i,y.g,y.d,Object(y.h)(),Object(y.c)(["Title%sAlign","Subtitle%sAlign","Description%sAlign","Button%sAlign"]),Object(y.a)(B,{editorMode:!0}),Object(y.b)([[".ugb-card__title","title"],[".ugb-card__subtitle","subtitle"],[".ugb-card__description","description"],[".ugb-button","button"],[".ugb-card__item","column-background"]]),Object(R.withSelect)(function(e,t){Object(i.f)(t.attributes.image1Id,e),Object(i.f)(t.attributes.image2Id,e),Object(i.f)(t.attributes.image3Id,e)}))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,l=a.columns,c=void 0===l?2:l,s=a.design,g=void 0===s?"basic":s,d=a.shadow,f=void 0===d?"":d,h=a.imageSize,y=void 0===h?"":h,O=a.titleTag,w=void 0===O?"h4":O,_=a.showImage,j=void 0===_||_,k=a.showTitle,C=void 0===k||k,E=a.showSubtitle,S=void 0===E||E,A=a.showDescription,T=void 0===A||A,B=a.showButton,P=void 0===B||B,N=a.buttonIcon,R=void 0===N?"":N,F=x(e),I=u()([t,"ugb-card--v2","ugb-card--design-".concat(g),"ugb-card--columns-".concat(c)],Object(o.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(v.k.Edit,{className:I,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(r.range)(1,c+1).map(function(t){var r=a["image".concat(t,"Url")],l=a["image".concat(t,"Id")],c=a["title".concat(t)],s=a["subtitle".concat(t)],g=a["description".concat(t)],d=a["button".concat(t,"Text")],h=u()(["ugb-card__item","ugb-card__item".concat(t)],Object(o.applyFilters)("stackable.card.itemclasses",D({},"ugb--shadow-".concat(f),F.columnBackground&&""!==f),e)),O=u()(["ugb-card__image"],Object(o.applyFilters)("stackable.card.imageclasses",D({},"ugb--shadow-".concat(f),!F.columnBackground),e));return wp.element.createElement(v.D,{className:h,backgroundAttrName:"column%s",blockProps:e,showBackground:F.columnBackground,key:t},j&&wp.element.createElement(v.Y,{imageID:l,imageURL:r,imageSize:y,className:O,onRemove:function(){var e;n((D(e={},"image".concat(t,"Url"),""),D(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a;n((D(a={},"image".concat(t,"Url"),e.url),D(a,"image".concat(t,"Id"),e.id),a))}}),wp.element.createElement("div",{className:"ugb-card__content"},C&&wp.element.createElement(m.RichText,{tagName:w||"h4",value:c,className:"ugb-card__title",placeholder:Object(p.__)("Title for This Block",b.i18n),onChange:function(e){return n(D({},"title".concat(t),e))},keepPlaceholderOnFocus:!0}),S&&wp.element.createElement(m.RichText,{tagName:"p",value:s,className:"ugb-card__subtitle",onChange:function(e){return n(D({},"subtitle".concat(t),e))},placeholder:Object(p.__)("Subtitle for this block",b.i18n),keepPlaceholderOnFocus:!0}),T&&wp.element.createElement(m.RichText,{tagName:"p",value:g,className:"ugb-card__description",onChange:function(e){return n(D({},"description".concat(t),e))},placeholder:Object(i.K)("medium"),keepPlaceholderOnFocus:!0}),P&&wp.element.createElement(v.p,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,text:d,icon:a["button".concat(t,"Icon")]||R,onChange:function(e){return n(D({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(D({},"button".concat(t,"Icon"),e))},url:a["button".concat(t,"Url")],newTab:a["button".concat(t,"NewTab")],noFollow:a["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(D({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(D({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(D({},"button".concat(t,"NoFollow"),e))}})))}))}})});function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var H=Object(N.compose)(y.i,Object(y.a)(B))(function(e){var t=e.className,n=e.attributes,a=n.columns,i=void 0===a?2:a,l=n.design,c=void 0===l?"basic":l,s=n.shadow,b=void 0===s?"":s,p=n.titleTag,g=void 0===p?"h4":p,d=n.showImage,f=void 0===d||d,h=n.showTitle,y=void 0===h||h,O=n.showSubtitle,w=void 0===O||O,_=n.showDescription,j=void 0===_||_,k=n.showButton,C=void 0===k||k,E=n.buttonIcon,S=void 0===E?"":E,A=x(e),T=u()([t,"ugb-card--v2","ugb-card--design-".concat(c),"ugb-card--columns-".concat(i)],Object(o.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(v.k.Save,{className:T,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(r.range)(1,i+1).map(function(t){var a=n["image".concat(t,"Url")],i=n["title".concat(t)],r=n["subtitle".concat(t)],l=n["description".concat(t)],c=n["button".concat(t,"Text")],s=u()(["ugb-card__item","ugb-card__item".concat(t)],Object(o.applyFilters)("stackable.card.itemclasses",z({},"ugb--shadow-".concat(b),A.columnBackground&&""!==b),e)),p=u()(["ugb-card__image"],Object(o.applyFilters)("stackable.card.imageclasses",z({},"ugb--shadow-".concat(b),!A.columnBackground),e));return wp.element.createElement(v.D,{className:s,backgroundAttrName:"column%s",blockProps:e,showBackground:A.columnBackground,key:t},f&&a&&wp.element.createElement("div",{className:p}),wp.element.createElement("div",{className:"ugb-card__content"},y&&!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:g||"h4",className:"ugb-card__title",value:i}),w&&!m.RichText.isEmpty(r)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__subtitle",value:r}),j&&!m.RichText.isEmpty(l)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-card__description",value:l}),C&&!m.RichText.isEmpty(c)&&wp.element.createElement(v.p.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,text:c,icon:n["button".concat(t,"Icon")]||S,url:n["button".concat(t,"Url")],newTab:n["button".concat(t,"NewTab")],noFollow:n["button".concat(t,"NoFollow")]})))}))}})});function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return W}),n.d(t,"name",function(){return G}),n.d(t,"settings",function(){return V});var W=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"