Version Description
Download this release
Release Info
Developer | MotoPress |
Plugin | Getwid – Gutenberg Blocks |
Version | 1.6.5 |
Comparing to | |
See all releases |
Code changes from version 1.6.4 to 1.6.5
assets/css/blocks.editor.css
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
.wp-block-getwid-icon .wp-block-getwid-icon__wrapper i{font-style:normal}
|
15 |
.wp-block-getwid-icon-box .wp-block{max-width:100%}.wp-block-getwid-icon-box .wp-block-getwid-icon-box__icon-wrapper i{font-style:normal}
|
16 |
.wp-block-getwid-banner.components-placeholder{color:inherit}.wp-block-getwid-banner .wp-block-getwid-banner__title{font-size:2em;line-height:1.4}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field{display:flex;align-items:center;margin-top:0.5em;flex-wrap:wrap}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .dashicon{color:#8f98a1}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .editor-url-input{margin-left:10px;margin-right:10px}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .editor-url-input input{width:100%}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .components-base-control__field{align-items:flex-end;margin:0}.wp-block-getwid-banner .wp-block-getwid-banner__caption-wrapper{z-index:1}
|
17 |
-
.has-child-selected .wp-block-getwid-tabs .active-tab,.is-selected .wp-block-getwid-tabs .active-tab{outline:2px solid #0085ba;z-index:1}.wp-block-getwid-tabs .wp-block-getwid-tabs__add-tab{margin-left:6px !important;border:none !important;margin-top:5px !important;margin-bottom:5px !important}.wp-block-getwid-tabs .wp-block-getwid-tabs__nav-links{margin:0 !important;padding:0 !important;list-style:none !important}.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper{margin-bottom:0 !important;margin-top:0 !important}.wp-block-getwid-tabs .wp-block-getwid-tabs__tab-content{position:static;clip:auto}.wp-block-getwid-tabs .wp-block-getwid-tabs__tabs-wrapper-editor{flex:1 0
|
18 |
.wp-block-getwid-accordion__add-accordion{display:flex;justify-content:center}.wp-block-getwid-accordion__header-title{display:block}.wp-block-getwid-accordion .wp-block-getwid-accordion__header{margin:0 !important}.wp-block-getwid-accordion .wp-block-getwid-accordion__header .wp-block-getwid-accordion__icon i{font-style:normal}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"]{width:100%;max-width:100%}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"] .wp-block-getwid-accordion__content>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{max-width:100%}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"] .wp-block-getwid-accordion__content-wrapper{height:0;overflow:hidden}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-selected .wp-block-getwid-accordion__content-wrapper,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].has-child-selected .wp-block-getwid-accordion__content-wrapper,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-typing .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-selected .wp-block-getwid-accordion__icon.is-active,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].has-child-selected .wp-block-getwid-accordion__icon.is-active,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-typing .wp-block-getwid-accordion__icon.is-active{display:none}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-selected .wp-block-getwid-accordion__icon.is-passive,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].has-child-selected .wp-block-getwid-accordion__icon.is-passive,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-typing .wp-block-getwid-accordion__icon.is-passive{display:block}.wp-block-getwid-accordion.alignfull{padding-left:14px;padding-right:14px}.wp-block-getwid-accordion--current-item-1 [data-type="getwid/accordion-item"]:nth-of-type(1) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-2 [data-type="getwid/accordion-item"]:nth-of-type(2) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-3 [data-type="getwid/accordion-item"]:nth-of-type(3) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-4 [data-type="getwid/accordion-item"]:nth-of-type(4) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-5 [data-type="getwid/accordion-item"]:nth-of-type(5) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-6 [data-type="getwid/accordion-item"]:nth-of-type(6) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-7 [data-type="getwid/accordion-item"]:nth-of-type(7) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-8 [data-type="getwid/accordion-item"]:nth-of-type(8) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-9 [data-type="getwid/accordion-item"]:nth-of-type(9) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-10 [data-type="getwid/accordion-item"]:nth-of-type(10) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-11 [data-type="getwid/accordion-item"]:nth-of-type(11) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-12 [data-type="getwid/accordion-item"]:nth-of-type(12) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-13 [data-type="getwid/accordion-item"]:nth-of-type(13) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-14 [data-type="getwid/accordion-item"]:nth-of-type(14) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-15 [data-type="getwid/accordion-item"]:nth-of-type(15) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}
|
19 |
.wp-block-getwid-toggle__add-toggle{display:flex;justify-content:center}.wp-block-getwid-toggle .wp-block-getwid-toggle__header{margin:0 !important}.wp-block-getwid-toggle .wp-block-getwid-toggle__header .wp-block-getwid-toggle__icon i{font-style:normal}.wp-block-getwid-toggle__header-title{display:block}.wp-block-getwid-toggle .wp-block-getwid-toggle__content-wrapper{height:0;overflow:hidden}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"]{width:100%;max-width:100%}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"] .wp-block-getwid-toggle__content>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{max-width:100%}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-selected .wp-block-getwid-toggle__content-wrapper,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].has-child-selected .wp-block-getwid-toggle__content-wrapper,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-typing .wp-block-getwid-toggle__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-selected .wp-block-getwid-toggle__icon.is-active,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].has-child-selected .wp-block-getwid-toggle__icon.is-active,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-typing .wp-block-getwid-toggle__icon.is-active{display:none}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-selected .wp-block-getwid-toggle__icon.is-passive,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].has-child-selected .wp-block-getwid-toggle__icon.is-passive,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-typing .wp-block-getwid-toggle__icon.is-passive{display:block}[data-type="getwid/toggle"][data-align="full"] .wp-block-getwid-toggle{padding-left:14px;padding-right:14px}
|
20 |
.wp-block-getwid-images-stack>.components-form-file-upload{margin-top:16px}
|
@@ -41,9 +41,9 @@
|
|
41 |
.wp-block-getwid-template-post-layout-helper .components-placeholder__fieldset{max-width:80%}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options{display:flex;flex-direction:row;flex-wrap:wrap;list-style:none;margin-top:50px;margin-left:-25px;margin-right:-25px;width:auto}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options>li{margin:0 0 25px 0;padding:0 25px;width:100%;max-width:100%}@media screen and (min-width: 768px){.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options>li{max-width:50%}}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options .components-button{justify-content:flex-start;height:auto;width:100%;margin-bottom:10px;padding:16px 20px}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options .components-button svg{width:48px;height:48px;margin-right:1em}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options .components-button:before{display:none}
|
42 |
.wp-block-getwid-mailchimp__message{color:red}
|
43 |
.wp-block-getwid-video-popup.components-placeholder{color:inherit;margin-bottom:30px}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__button-caption{z-index:1}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__title{line-height:1.4}.wp-block-getwid-video-popup a.wp-block-getwid-video-popup__link{color:inherit;text-decoration:none}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__icon i{font-style:normal}.wp-block-getwid-video-popup__url-field{display:flex;align-items:center;margin-top:0.5em;margin-bottom:0.5em;flex-wrap:wrap;justify-content:center}.wp-block-getwid-video-popup__url-field .dashicon{color:#8f98a1}.wp-block-getwid-video-popup__url-field .editor-url-input{margin-left:10px;margin-right:10px}.wp-block-getwid-video-popup__url-field .editor-url-input input{width:100%}.wp-block-getwid-video-popup__url-field .components-base-control{min-width:300px;margin-left:10px}.wp-block-getwid-video-popup__url-field .components-base-control .components-base-control__field{align-items:flex-end;margin:0}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__caption-wrapper{z-index:1}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__image,.wp-block-getwid-video-popup .wp-block-getwid-video-popup__video{height:100%;width:100%;object-fit:cover;border-radius:0}
|
44 |
-
.wp-block-getwid-image-hotspot{margin-bottom:0}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs{padding:0px 0px 0px 0px}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs{padding:0px 0px 0px 0px;background-color:#f3f4f5;margin:-16px -16px 10px -16px}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button{padding:10px 10px 15px 10px;position:relative}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button.is-active{font-weight:500}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button.is-active:before{border-bottom:3px solid #007cba}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__icon-popover{margin:0px auto}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field{display:flex;flex-wrap:wrap;align-items:center;margin-top:0.5em}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .dashicon{color:#8f98a1}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-base-control{margin-left:10px}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-base-control+.components-base-control{margin-bottom:0px}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-toggle-control .components-base-control__field .components-toggle-control__label{margin-bottom:0px}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-base-control__field{align-items:flex-end;margin:0}.wp-block-getwid-image-hotspot__icon-popover{margin:10px auto}.wp-block-getwid-image-hotspot__popover .components-popover__content{padding:1em;overflow:initial !important}.wp-block-getwid-image-hotspot__popover .components-popover__content .wp-block-getwid-image-hotspot__popover-close{position:absolute;top:5px;right:5px}.edit-post-settings-sidebar__panel-block .wp-block-getwid-image-hotspot__url-field .wp-block-getwid-image-hotspot__url-icon{display:none}.wp-block-getwid-image-hotspot--dropPoint{cursor:crosshair}.wp-block-getwid-image-hotspot.is-selected .wp-block-getwid-image-hotspot__dot.is-selected{box-shadow:0 0 0 5px red}
|
45 |
@keyframes slideInDownShort{from{transform:translate3d(0, -100px, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInDownShort{animation-name:slideInDownShort}@keyframes slideInLeftShort{from{transform:translate3d(-100px, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInLeftShort{animation-name:slideInLeftShort}@keyframes slideInRightShort{from{transform:translate3d(100px, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInRightShort{animation-name:slideInRightShort}@keyframes slideInUpShort{from{transform:translate3d(0, 100px, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInUpShort{animation-name:slideInUpShort}@keyframes bounceInDownShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;transform:translate3d(0, -100px, 0)}60%{opacity:1;transform:translate3d(0, 25px, 0)}75%{transform:translate3d(0, -10px, 0)}90%{transform:translate3d(0, 5px, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInDownShort{animation-name:bounceInDownShort}@keyframes bounceInLeftShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;transform:translate3d(-100px, 0, 0)}60%{opacity:1;transform:translate3d(25px, 0, 0)}75%{transform:translate3d(-10px, 0, 0)}90%{transform:translate3d(5px, 0, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInLeftShort{animation-name:bounceInLeftShort}@keyframes bounceInRightShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;transform:translate3d(100px, 0, 0)}60%{opacity:1;transform:translate3d(-25px, 0, 0)}75%{transform:translate3d(10px, 0, 0)}90%{transform:translate3d(-5px, 0, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInRightShort{animation-name:bounceInRightShort}@keyframes bounceInUpShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;transform:translate3d(0, 100px, 0)}60%{opacity:1;transform:translate3d(0, -20px, 0)}75%{transform:translate3d(0, 10px, 0)}90%{transform:translate3d(0, -5px, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInUpShort{animation-name:bounceInUpShort}@keyframes fadeInDownShort{from{opacity:0;transform:translate3d(0, -100px, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInDownShort{animation-name:fadeInDownShort}@keyframes fadeInLeftShort{from{opacity:0;transform:translate3d(-100px, 0, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInLeftShort{animation-name:fadeInLeftShort}@keyframes fadeInRightShort{from{opacity:0;transform:translate3d(100px, 0, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInRightShort{animation-name:fadeInRightShort}@keyframes fadeInUpShort{from{opacity:0;transform:translate3d(0, 100px, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInUpShort{animation-name:fadeInUpShort}@keyframes lightSpeedInShort{from{transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{transform:skewX(20deg);opacity:1}80%{transform:skewX(-5deg)}to{transform:translate3d(0, 0, 0)}}.lightSpeedInShort{animation-name:lightSpeedInShort;animation-timing-function:ease-out}@keyframes getwidPulseAnimation{0%{transform:scale(1);opacity:1}100%{transform:scale(1.5);opacity:0}}@keyframes getwidTimelinePointBounce{0%{opacity:0;transform:scale(0.5)}60%{opacity:1;transform:scale(1.2)}100%{transform:scale(1)}}@keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}.wp-block-getwid-content-timeline{position:relative}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"]:nth-child(2n) .wp-block-getwid-content-timeline-item__wrapper{flex-direction:row-reverse}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"]:nth-child(2n) .wp-block-getwid-content-timeline-item__meta{text-align:right}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"]:nth-child(2n) .wp-block-getwid-content-timeline-item__card:after{left:0}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"] .wp-block-getwid-content-timeline-item.has-card-left .wp-block-getwid-content-timeline-item__wrapper{flex-direction:row}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"] .wp-block-getwid-content-timeline-item.has-card-left .wp-block-getwid-content-timeline-item__meta{text-align:left}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"] .wp-block-getwid-content-timeline-item.has-card-left .wp-block-getwid-content-timeline-item__card:after{left:100%}.wp-block-getwid-content-timeline .wp-block-getwid-content-timeline__add-item{display:flex;justify-content:center}
|
46 |
-
.wp-block-getwid-template-library .components-placeholder__fieldset{display:contents}.wp-block-getwid-template-library .components-placeholder__fieldset span{margin-top:30px}.wp-block-getwid-template-library .components-placeholder__fieldset .no-templates{width:100%}.wp-block-getwid-template-library .components-placeholder__fieldset .insert-template-button{display:block;width:100%;margin-top:30px}.wp-block-getwid-template-library__modal-templates{width:100%;min-height:90%;max-width:1600px;overflow:hidden}@media screen and (min-width: 600px){.wp-block-getwid-template-library__modal-templates{width:80%}}.wp-block-getwid-template-library__modal-templates .components-tab-panel__tabs{display:none}.wp-block-getwid-template-library__modal-templates .components-modal__content{padding:0 16px 16px}.wp-block-getwid-template-library__modal-templates .components-modal__content .components-modal__header{margin:0 -24px 16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs{padding:0}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs{padding:0;background-color:#f3f4f5;margin:-16px -16px 10px -16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item{font-size:16px;padding:10px 10px 15px 10px;position:relative}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active{font-weight:500}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active:before{border-bottom:3px solid #007cba}.wp-block-getwid-template-library__wrapper .components-placeholder__fieldset{max-width:100%}.wp-block-getwid-template-library__wrapper .template-library-list{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;overflow-y:auto;padding:0px 20px 0px 0px;margin:-16px -16px 0px 0px}.wp-block-getwid-template-library__wrapper .template-library-list.loading-items{height:auto;justify-content:center}.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:50%}}.wp-block-getwid-template-library__wrapper .template-library-list.view-list .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-2 .template-library-container{width:50%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:33.333%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:25%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:20%}}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper{width:100%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;margin:0 -20px}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item{height:auto;width:100%;display:flex;flex-direction:column;border:1px solid #ececec;background:#fff}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover{border-color:#0085ba}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover .template-insert-button{pointer-events:all;opacity:1}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container{padding:0 20px 40px 20px;width:100%}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper{border-bottom:1px solid #ededed;position:relative;padding-top:56.25%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper .template-image{background-position:center;background-repeat:no-repeat;background-size:contain;position:absolute;top:0;left:0;right:0;bottom:0;transform:translateZ(0)}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper{padding:10px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-content:center;align-items:center}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper .template-insert-button{transition:opacity 0.15s linear;pointer-events:none;opacity:0}.edit-post-header-toolbar #getwid-layout-insert-button{margin-left:25px}.wp-block-getwid-template-library__layout-view{padding-right:20px}.wp-block-getwid-template-library__layout-view .template-view-button{align-items:center}.wp-block-getwid-template-library__modal-toolbar{position:relative;z-index:1;display:flex;align-items:flex-end;flex-wrap:wrap;margin:-16px -16px 16px -16px;padding:24px 16px 16px;background:#f3f4f5;border-bottom:1px solid #e2e4e7}@media screen and (min-width: 768px){.wp-block-getwid-template-library__modal-toolbar{flex-wrap:nowrap}}.wp-block-getwid-template-library__modal-toolbar>*{margin:0 !important}.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:0;width:100%}}.wp-block-getwid-template-library__modal-toolbar .template-search-field{flex:1 1 auto;padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-search-field{width:100%;padding-right:0}}.wp-block-getwid-template-library__modal-toolbar .template-search-field input{line-height:28px;height:28px}
|
47 |
.wp-block-getwid-table td,.wp-block-getwid-table th{border:1px solid #eee}.wp-block-getwid-table td.selected,.wp-block-getwid-table th.selected{outline:2px solid #0085ba}.wp-block-getwid-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input input{height:36px}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-getwid-table__placeholder-form button{margin-top:auto;margin-right:auto}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group{display:flex;flex-wrap:wrap}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item{min-width:25%;margin-top:5px;margin-bottom:5px}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button{padding:10px;height:auto;display:flex;border-radius:0px;border:1px solid #e2e4e7}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:hover,.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:focus{box-shadow:none}
|
48 |
.wp-block-getwid-anchor{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center;align-items:center}.wp-block-getwid-anchor span{border-top:1px solid currentColor;flex:1 1 auto}.wp-block-getwid-anchor svg{margin:0px 10px 0px 10px}
|
49 |
.wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{font-size:0}.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto !important}.wp-block-getwid-map__key-form,.wp-block-getwid-instagram__key-form,.wp-block-getwid-mailchimp__key-form{padding:1em}.wp-block-getwid-map__key-form .form-title,.wp-block-getwid-instagram__key-form .form-title,.wp-block-getwid-mailchimp__key-form .form-title{margin-bottom:.5em;display:block}.wp-block-getwid-map__key-form .form-description,.wp-block-getwid-instagram__key-form .form-description,.wp-block-getwid-mailchimp__key-form .form-description{font-size:0.875em;margin-top:1em;display:block}.wp-block-getwid-mailchimp .getwid-field-label,.wp-block-getwid-contact-form .getwid-field-label{display:flex;flex-direction:row;justify-content:space-between}.wp-block-getwid-mailchimp .getwid-field-label .required,.wp-block-getwid-contact-form .getwid-field-label .required{margin-left:10px;color:inherit}.wp-block-getwid-mailchimp .components-base-control__label,.wp-block-getwid-contact-form .components-base-control__label{width:100%}.wp-block-getwid-mailchimp .getwid-field-label__input,.wp-block-getwid-contact-form .getwid-field-label__input{border:0;box-shadow:none;outline:none;background:transparent}.wp-block-getwid-mailchimp .getwid-field-label__input:focus,.wp-block-getwid-contact-form .getwid-field-label__input:focus{padding:2px 10px;background:#fff}.wp-block-getwid-mailchimp .getwid-field-label__required,.wp-block-getwid-contact-form .getwid-field-label__required{margin-left:10px}.wp-block-getwid-mailchimp .getwid-field-label__required .components-base-control__field,.wp-block-getwid-contact-form .getwid-field-label__required .components-base-control__field{margin:0}.getwid-custom-pallete .components-panel__body-title{display:none}.components-getwid-color-palette-control .components-base-control__label{vertical-align:text-bottom}body.getwid-fix-scroll-while-animation{overflow:hidden}.block-editor__container .getwid-slider-image-wrapper{margin-bottom:0.5em;line-height:0}.block-editor__container .getwid-slider-image-wrapper img{max-width:33%;object-fit:cover;height:75px;border:1px solid #f7f7f7}.block-editor__container .getwid-background-image-wrapper{cursor:pointer;padding:5px;border:1px solid #e2e4e7;margin-bottom:0.5em;line-height:0;position:relative;text-align:center}.block-editor__container .getwid-background-image-wrapper img{max-height:150px;position:relative}.block-editor__container .getwid-background-image-wrapper:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.95)),linear-gradient(to right, black 50%, white 50%),linear-gradient(to bottom, black 50%, white 50%);background-blend-mode:normal, difference, normal;background-size:20px 20px}.block-editor__container .getwid-editor-tabs{margin-bottom:1.5em}.block-editor__container .getwid-editor-tabs:not(.left) .components-tab-panel__tabs{text-align:right}.block-editor__container .getwid-editor-tabs.left .components-tab-panel__tabs{text-align:left}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs{margin-bottom:-1px}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button{text-decoration:none;padding:2px 8px 4px;height:auto;border-top:1px solid #ffffff;border-left:1px solid #ffffff;border-right:1px solid #ffffff;border-bottom:1px solid #e2e4e7}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button.is-active{color:inherit;border-top:1px solid #e2e4e7;border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7;border-bottom:1px solid #ffffff}.block-editor__container .getwid-editor-tabs .components-tab-panel__tab-content{padding:1em;border:1px solid #e2e4e7}.getwid-editor-url-input .components-base-control__field input{width:100%}.wp-block-getwid-custom-post-type__template .wp-block-columns{display:flex}
|
14 |
.wp-block-getwid-icon .wp-block-getwid-icon__wrapper i{font-style:normal}
|
15 |
.wp-block-getwid-icon-box .wp-block{max-width:100%}.wp-block-getwid-icon-box .wp-block-getwid-icon-box__icon-wrapper i{font-style:normal}
|
16 |
.wp-block-getwid-banner.components-placeholder{color:inherit}.wp-block-getwid-banner .wp-block-getwid-banner__title{font-size:2em;line-height:1.4}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field{display:flex;align-items:center;margin-top:0.5em;flex-wrap:wrap}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .dashicon{color:#8f98a1}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .editor-url-input{margin-left:10px;margin-right:10px}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .editor-url-input input{width:100%}.wp-block-getwid-banner+.wp-block-getwid-banner__url-field .components-base-control__field{align-items:flex-end;margin:0}.wp-block-getwid-banner .wp-block-getwid-banner__caption-wrapper{z-index:1}
|
17 |
+
.has-child-selected .wp-block-getwid-tabs .active-tab,.is-selected .wp-block-getwid-tabs .active-tab{outline:2px solid #0085ba;z-index:1}.wp-block-getwid-tabs .wp-block-getwid-tabs__add-tab{margin-left:6px !important;border:none !important;margin-top:5px !important;margin-bottom:5px !important}.wp-block-getwid-tabs .wp-block-getwid-tabs__nav-links{margin:0 !important;padding:0 !important;list-style:none !important}.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper{margin-bottom:0 !important;margin-top:0 !important}.wp-block-getwid-tabs .wp-block-getwid-tabs__tab-content{position:static;clip:auto}.wp-block-getwid-tabs .wp-block-getwid-tabs__tabs-wrapper-editor{flex:0 1 auto;min-width:0}.wp-block-getwid-tabs .wp-block[data-type="getwid/tabs-item"]{position:absolute;clip:rect(0, 0, 0, 0);width:100%;max-width:100%}.wp-block-getwid-tabs .wp-block[data-type="getwid/tabs-item"] .wp-block-getwid-tabs__content>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{max-width:100%}.wp-block-getwid-tabs--current-tab-1 [data-type="getwid/tabs-item"]:nth-of-type(1){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-2 [data-type="getwid/tabs-item"]:nth-of-type(2){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-3 [data-type="getwid/tabs-item"]:nth-of-type(3){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-4 [data-type="getwid/tabs-item"]:nth-of-type(4){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-5 [data-type="getwid/tabs-item"]:nth-of-type(5){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-6 [data-type="getwid/tabs-item"]:nth-of-type(6){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-7 [data-type="getwid/tabs-item"]:nth-of-type(7){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-8 [data-type="getwid/tabs-item"]:nth-of-type(8){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-9 [data-type="getwid/tabs-item"]:nth-of-type(9){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-10 [data-type="getwid/tabs-item"]:nth-of-type(10){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-11 [data-type="getwid/tabs-item"]:nth-of-type(11){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-12 [data-type="getwid/tabs-item"]:nth-of-type(12){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-13 [data-type="getwid/tabs-item"]:nth-of-type(13){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-14 [data-type="getwid/tabs-item"]:nth-of-type(14){position:static;clip:auto}.wp-block-getwid-tabs--current-tab-15 [data-type="getwid/tabs-item"]:nth-of-type(15){position:static;clip:auto}
|
18 |
.wp-block-getwid-accordion__add-accordion{display:flex;justify-content:center}.wp-block-getwid-accordion__header-title{display:block}.wp-block-getwid-accordion .wp-block-getwid-accordion__header{margin:0 !important}.wp-block-getwid-accordion .wp-block-getwid-accordion__header .wp-block-getwid-accordion__icon i{font-style:normal}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"]{width:100%;max-width:100%}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"] .wp-block-getwid-accordion__content>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{max-width:100%}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"] .wp-block-getwid-accordion__content-wrapper{height:0;overflow:hidden}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-selected .wp-block-getwid-accordion__content-wrapper,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].has-child-selected .wp-block-getwid-accordion__content-wrapper,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-typing .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-selected .wp-block-getwid-accordion__icon.is-active,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].has-child-selected .wp-block-getwid-accordion__icon.is-active,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-typing .wp-block-getwid-accordion__icon.is-active{display:none}.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-selected .wp-block-getwid-accordion__icon.is-passive,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].has-child-selected .wp-block-getwid-accordion__icon.is-passive,.wp-block-getwid-accordion .wp-block[data-type="getwid/accordion-item"].is-typing .wp-block-getwid-accordion__icon.is-passive{display:block}.wp-block-getwid-accordion.alignfull{padding-left:14px;padding-right:14px}.wp-block-getwid-accordion--current-item-1 [data-type="getwid/accordion-item"]:nth-of-type(1) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-2 [data-type="getwid/accordion-item"]:nth-of-type(2) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-3 [data-type="getwid/accordion-item"]:nth-of-type(3) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-4 [data-type="getwid/accordion-item"]:nth-of-type(4) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-5 [data-type="getwid/accordion-item"]:nth-of-type(5) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-6 [data-type="getwid/accordion-item"]:nth-of-type(6) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-7 [data-type="getwid/accordion-item"]:nth-of-type(7) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-8 [data-type="getwid/accordion-item"]:nth-of-type(8) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-9 [data-type="getwid/accordion-item"]:nth-of-type(9) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-10 [data-type="getwid/accordion-item"]:nth-of-type(10) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-11 [data-type="getwid/accordion-item"]:nth-of-type(11) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-12 [data-type="getwid/accordion-item"]:nth-of-type(12) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-13 [data-type="getwid/accordion-item"]:nth-of-type(13) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-14 [data-type="getwid/accordion-item"]:nth-of-type(14) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-accordion--current-item-15 [data-type="getwid/accordion-item"]:nth-of-type(15) .wp-block-getwid-accordion__content-wrapper{height:auto;overflow:visible}
|
19 |
.wp-block-getwid-toggle__add-toggle{display:flex;justify-content:center}.wp-block-getwid-toggle .wp-block-getwid-toggle__header{margin:0 !important}.wp-block-getwid-toggle .wp-block-getwid-toggle__header .wp-block-getwid-toggle__icon i{font-style:normal}.wp-block-getwid-toggle__header-title{display:block}.wp-block-getwid-toggle .wp-block-getwid-toggle__content-wrapper{height:0;overflow:hidden}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"]{width:100%;max-width:100%}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"] .wp-block-getwid-toggle__content>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{max-width:100%}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-selected .wp-block-getwid-toggle__content-wrapper,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].has-child-selected .wp-block-getwid-toggle__content-wrapper,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-typing .wp-block-getwid-toggle__content-wrapper{height:auto;overflow:visible}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-selected .wp-block-getwid-toggle__icon.is-active,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].has-child-selected .wp-block-getwid-toggle__icon.is-active,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-typing .wp-block-getwid-toggle__icon.is-active{display:none}.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-selected .wp-block-getwid-toggle__icon.is-passive,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].has-child-selected .wp-block-getwid-toggle__icon.is-passive,.wp-block-getwid-toggle .wp-block[data-type="getwid/toggle-item"].is-typing .wp-block-getwid-toggle__icon.is-passive{display:block}[data-type="getwid/toggle"][data-align="full"] .wp-block-getwid-toggle{padding-left:14px;padding-right:14px}
|
20 |
.wp-block-getwid-images-stack>.components-form-file-upload{margin-top:16px}
|
41 |
.wp-block-getwid-template-post-layout-helper .components-placeholder__fieldset{max-width:80%}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options{display:flex;flex-direction:row;flex-wrap:wrap;list-style:none;margin-top:50px;margin-left:-25px;margin-right:-25px;width:auto}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options>li{margin:0 0 25px 0;padding:0 25px;width:100%;max-width:100%}@media screen and (min-width: 768px){.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options>li{max-width:50%}}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options .components-button{justify-content:flex-start;height:auto;width:100%;margin-bottom:10px;padding:16px 20px}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options .components-button svg{width:48px;height:48px;margin-right:1em}.wp-block-getwid-template-post-layout-helper .block-editor-inner-blocks__template-picker-options .components-button:before{display:none}
|
42 |
.wp-block-getwid-mailchimp__message{color:red}
|
43 |
.wp-block-getwid-video-popup.components-placeholder{color:inherit;margin-bottom:30px}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__button-caption{z-index:1}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__title{line-height:1.4}.wp-block-getwid-video-popup a.wp-block-getwid-video-popup__link{color:inherit;text-decoration:none}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__icon i{font-style:normal}.wp-block-getwid-video-popup__url-field{display:flex;align-items:center;margin-top:0.5em;margin-bottom:0.5em;flex-wrap:wrap;justify-content:center}.wp-block-getwid-video-popup__url-field .dashicon{color:#8f98a1}.wp-block-getwid-video-popup__url-field .editor-url-input{margin-left:10px;margin-right:10px}.wp-block-getwid-video-popup__url-field .editor-url-input input{width:100%}.wp-block-getwid-video-popup__url-field .components-base-control{min-width:300px;margin-left:10px}.wp-block-getwid-video-popup__url-field .components-base-control .components-base-control__field{align-items:flex-end;margin:0}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__caption-wrapper{z-index:1}.wp-block-getwid-video-popup .wp-block-getwid-video-popup__image,.wp-block-getwid-video-popup .wp-block-getwid-video-popup__video{height:100%;width:100%;object-fit:cover;border-radius:0}
|
44 |
+
.wp-block-getwid-image-hotspot{margin-bottom:0}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs{padding:0px 0px 0px 0px}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs{padding:0px 0px 0px 0px;background-color:#f3f4f5;margin:-16px -16px 10px -16px}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button{padding:10px 10px 15px 10px;position:relative}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button.is-active{font-weight:500}.wp-block-getwid-image-hotspot__modal .getwid-modal-editor-tabs .components-tab-panel__tabs .components-button.is-active:before{border-bottom:3px solid #007cba}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__icon-popover{margin:0px auto}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field{display:flex;flex-wrap:wrap;align-items:center;margin-top:0.5em}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .dashicon{color:#8f98a1}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-base-control{margin-left:10px}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-base-control+.components-base-control{margin-bottom:0px}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-toggle-control .components-base-control__field .components-toggle-control__label{margin-bottom:0px}.wp-block-getwid-image-hotspot__modal .wp-block-getwid-image-hotspot__url-field .components-base-control__field{align-items:flex-end;margin:0}.wp-block-getwid-image-hotspot__icon-popover{margin:10px auto}.wp-block-getwid-image-hotspot__popover .components-popover__content{padding:1em;overflow:initial !important}.wp-block-getwid-image-hotspot__popover .components-popover__content .wp-block-getwid-image-hotspot__popover-close{position:absolute;top:5px;right:5px}.edit-post-settings-sidebar__panel-block .wp-block-getwid-image-hotspot__url-field .wp-block-getwid-image-hotspot__url-icon{display:none}.wp-block-getwid-image-hotspot--dropPoint{cursor:crosshair}.wp-block-getwid-image-hotspot.is-selected .wp-block-getwid-image-hotspot__dot.is-selected{box-shadow:0 0 0 5px red}.wp-block-getwid-image-hotspot .wp-block-getwid-image-hotspot__dot.is-selected.is-dragging{display:block !important}
|
45 |
@keyframes slideInDownShort{from{transform:translate3d(0, -100px, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInDownShort{animation-name:slideInDownShort}@keyframes slideInLeftShort{from{transform:translate3d(-100px, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInLeftShort{animation-name:slideInLeftShort}@keyframes slideInRightShort{from{transform:translate3d(100px, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInRightShort{animation-name:slideInRightShort}@keyframes slideInUpShort{from{transform:translate3d(0, 100px, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideInUpShort{animation-name:slideInUpShort}@keyframes bounceInDownShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;transform:translate3d(0, -100px, 0)}60%{opacity:1;transform:translate3d(0, 25px, 0)}75%{transform:translate3d(0, -10px, 0)}90%{transform:translate3d(0, 5px, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInDownShort{animation-name:bounceInDownShort}@keyframes bounceInLeftShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;transform:translate3d(-100px, 0, 0)}60%{opacity:1;transform:translate3d(25px, 0, 0)}75%{transform:translate3d(-10px, 0, 0)}90%{transform:translate3d(5px, 0, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInLeftShort{animation-name:bounceInLeftShort}@keyframes bounceInRightShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;transform:translate3d(100px, 0, 0)}60%{opacity:1;transform:translate3d(-25px, 0, 0)}75%{transform:translate3d(10px, 0, 0)}90%{transform:translate3d(-5px, 0, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInRightShort{animation-name:bounceInRightShort}@keyframes bounceInUpShort{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;transform:translate3d(0, 100px, 0)}60%{opacity:1;transform:translate3d(0, -20px, 0)}75%{transform:translate3d(0, 10px, 0)}90%{transform:translate3d(0, -5px, 0)}to{transform:translate3d(0, 0, 0)}}.bounceInUpShort{animation-name:bounceInUpShort}@keyframes fadeInDownShort{from{opacity:0;transform:translate3d(0, -100px, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInDownShort{animation-name:fadeInDownShort}@keyframes fadeInLeftShort{from{opacity:0;transform:translate3d(-100px, 0, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInLeftShort{animation-name:fadeInLeftShort}@keyframes fadeInRightShort{from{opacity:0;transform:translate3d(100px, 0, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInRightShort{animation-name:fadeInRightShort}@keyframes fadeInUpShort{from{opacity:0;transform:translate3d(0, 100px, 0)}to{opacity:1;transform:translate3d(0, 0, 0)}}.fadeInUpShort{animation-name:fadeInUpShort}@keyframes lightSpeedInShort{from{transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{transform:skewX(20deg);opacity:1}80%{transform:skewX(-5deg)}to{transform:translate3d(0, 0, 0)}}.lightSpeedInShort{animation-name:lightSpeedInShort;animation-timing-function:ease-out}@keyframes getwidPulseAnimation{0%{transform:scale(1);opacity:1}100%{transform:scale(1.5);opacity:0}}@keyframes getwidTimelinePointBounce{0%{opacity:0;transform:scale(0.5)}60%{opacity:1;transform:scale(1.2)}100%{transform:scale(1)}}@keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}.wp-block-getwid-content-timeline{position:relative}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"]:nth-child(2n) .wp-block-getwid-content-timeline-item__wrapper{flex-direction:row-reverse}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"]:nth-child(2n) .wp-block-getwid-content-timeline-item__meta{text-align:right}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"]:nth-child(2n) .wp-block-getwid-content-timeline-item__card:after{left:0}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"] .wp-block-getwid-content-timeline-item.has-card-left .wp-block-getwid-content-timeline-item__wrapper{flex-direction:row}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"] .wp-block-getwid-content-timeline-item.has-card-left .wp-block-getwid-content-timeline-item__meta{text-align:left}.wp-block-getwid-content-timeline [data-type="getwid/content-timeline-item"] .wp-block-getwid-content-timeline-item.has-card-left .wp-block-getwid-content-timeline-item__card:after{left:100%}.wp-block-getwid-content-timeline .wp-block-getwid-content-timeline__add-item{display:flex;justify-content:center}
|
46 |
+
.wp-block-getwid-template-library .components-placeholder__fieldset{display:contents}.wp-block-getwid-template-library .components-placeholder__fieldset span{margin-top:30px}.wp-block-getwid-template-library .components-placeholder__fieldset .no-templates{width:100%}.wp-block-getwid-template-library .components-placeholder__fieldset .insert-template-button{display:block;width:100%;margin-top:30px}.wp-block-getwid-template-library__modal-templates{width:100%;min-height:90%;max-width:1600px;overflow:hidden}@media screen and (min-width: 600px){.wp-block-getwid-template-library__modal-templates{width:80%}}.wp-block-getwid-template-library__modal-templates .components-tab-panel__tabs{display:none}.wp-block-getwid-template-library__modal-templates .components-modal__content{padding:0 16px 16px}.wp-block-getwid-template-library__modal-templates .components-modal__content .components-modal__header{margin:0 -24px 16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs{padding:0}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs{padding:0;background-color:#f3f4f5;margin:-16px -16px 10px -16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item{font-size:16px;padding:10px 10px 15px 10px;position:relative}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active{font-weight:500}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active:before{border-bottom:3px solid #007cba}.wp-block-getwid-template-library__wrapper .components-placeholder__fieldset{max-width:100%}.wp-block-getwid-template-library__wrapper .template-library-list{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;overflow-y:auto;padding:0px 20px 0px 0px;margin:-16px -16px 0px 0px}.wp-block-getwid-template-library__wrapper .template-library-list.loading-items{height:auto;justify-content:center}.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:50%}}.wp-block-getwid-template-library__wrapper .template-library-list.view-list .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-2 .template-library-container{width:50%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:33.333%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:25%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:20%}}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper{width:100%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;margin:0 -20px}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item{height:auto;width:100%;display:flex;flex-direction:column;border:1px solid #ececec;background:#fff}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover{border-color:#0085ba}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover .template-insert-button{pointer-events:all;opacity:1}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container{padding:0 20px 40px 20px;width:100%}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper{border-bottom:1px solid #ededed;position:relative;padding-top:56.25%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper .template-image{background-position:center;background-repeat:no-repeat;background-size:contain;position:absolute;top:0;left:0;right:0;bottom:0;transform:translateZ(0)}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper{padding:10px;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;align-content:center;align-items:center}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper .template-insert-button{transition:opacity 0.15s linear;pointer-events:none;opacity:0}.edit-post-header-toolbar #getwid-layout-insert-button{margin-left:25px}.wp-block-getwid-template-library__layout-view{padding-right:20px}.wp-block-getwid-template-library__layout-view .template-view-button{align-items:center}.wp-block-getwid-template-library__modal-toolbar{position:relative;z-index:1;display:flex;align-items:flex-end;flex-wrap:wrap;margin:-16px -16px 16px -16px;padding:24px 16px 16px;background:#f3f4f5;border-bottom:1px solid #e2e4e7}@media screen and (min-width: 768px){.wp-block-getwid-template-library__modal-toolbar{flex-wrap:nowrap}}.wp-block-getwid-template-library__modal-toolbar>*{margin:0 !important}.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:0;width:100%}}.wp-block-getwid-template-library__modal-toolbar .template-search-field{flex:1 1 auto;padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-search-field{width:100%;padding-right:0}}.wp-block-getwid-template-library__modal-toolbar .template-search-field input{line-height:28px;height:28px}.wp-block-getwid-template-library__modal-templates{height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content{display:flex;flex-direction:column;height:100%;flex-wrap:nowrap}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.components-modal__header{flex:1 0 auto}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs{flex:0 1 auto;min-height:0}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs>.components-tab-panel__tab-content{height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs .wp-block-getwid-template-library__wrapper{display:flex;flex-direction:column;height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs .wp-block-getwid-template-library__modal-toolbar{flex:1 0 auto}
|
47 |
.wp-block-getwid-table td,.wp-block-getwid-table th{border:1px solid #eee}.wp-block-getwid-table td.selected,.wp-block-getwid-table th.selected{outline:2px solid #0085ba}.wp-block-getwid-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input input{height:36px}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-getwid-table__placeholder-form button{margin-top:auto;margin-right:auto}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group{display:flex;flex-wrap:wrap}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item{min-width:25%;margin-top:5px;margin-bottom:5px}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button{padding:10px;height:auto;display:flex;border-radius:0px;border:1px solid #e2e4e7}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:hover,.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:focus{box-shadow:none}
|
48 |
.wp-block-getwid-anchor{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-content:center;align-items:center}.wp-block-getwid-anchor span{border-top:1px solid currentColor;flex:1 1 auto}.wp-block-getwid-anchor svg{margin:0px 10px 0px 10px}
|
49 |
.wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{font-size:0}.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto !important}.wp-block-getwid-map__key-form,.wp-block-getwid-instagram__key-form,.wp-block-getwid-mailchimp__key-form{padding:1em}.wp-block-getwid-map__key-form .form-title,.wp-block-getwid-instagram__key-form .form-title,.wp-block-getwid-mailchimp__key-form .form-title{margin-bottom:.5em;display:block}.wp-block-getwid-map__key-form .form-description,.wp-block-getwid-instagram__key-form .form-description,.wp-block-getwid-mailchimp__key-form .form-description{font-size:0.875em;margin-top:1em;display:block}.wp-block-getwid-mailchimp .getwid-field-label,.wp-block-getwid-contact-form .getwid-field-label{display:flex;flex-direction:row;justify-content:space-between}.wp-block-getwid-mailchimp .getwid-field-label .required,.wp-block-getwid-contact-form .getwid-field-label .required{margin-left:10px;color:inherit}.wp-block-getwid-mailchimp .components-base-control__label,.wp-block-getwid-contact-form .components-base-control__label{width:100%}.wp-block-getwid-mailchimp .getwid-field-label__input,.wp-block-getwid-contact-form .getwid-field-label__input{border:0;box-shadow:none;outline:none;background:transparent}.wp-block-getwid-mailchimp .getwid-field-label__input:focus,.wp-block-getwid-contact-form .getwid-field-label__input:focus{padding:2px 10px;background:#fff}.wp-block-getwid-mailchimp .getwid-field-label__required,.wp-block-getwid-contact-form .getwid-field-label__required{margin-left:10px}.wp-block-getwid-mailchimp .getwid-field-label__required .components-base-control__field,.wp-block-getwid-contact-form .getwid-field-label__required .components-base-control__field{margin:0}.getwid-custom-pallete .components-panel__body-title{display:none}.components-getwid-color-palette-control .components-base-control__label{vertical-align:text-bottom}body.getwid-fix-scroll-while-animation{overflow:hidden}.block-editor__container .getwid-slider-image-wrapper{margin-bottom:0.5em;line-height:0}.block-editor__container .getwid-slider-image-wrapper img{max-width:33%;object-fit:cover;height:75px;border:1px solid #f7f7f7}.block-editor__container .getwid-background-image-wrapper{cursor:pointer;padding:5px;border:1px solid #e2e4e7;margin-bottom:0.5em;line-height:0;position:relative;text-align:center}.block-editor__container .getwid-background-image-wrapper img{max-height:150px;position:relative}.block-editor__container .getwid-background-image-wrapper:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.95)),linear-gradient(to right, black 50%, white 50%),linear-gradient(to bottom, black 50%, white 50%);background-blend-mode:normal, difference, normal;background-size:20px 20px}.block-editor__container .getwid-editor-tabs{margin-bottom:1.5em}.block-editor__container .getwid-editor-tabs:not(.left) .components-tab-panel__tabs{text-align:right}.block-editor__container .getwid-editor-tabs.left .components-tab-panel__tabs{text-align:left}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs{margin-bottom:-1px}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button{text-decoration:none;padding:2px 8px 4px;height:auto;border-top:1px solid #ffffff;border-left:1px solid #ffffff;border-right:1px solid #ffffff;border-bottom:1px solid #e2e4e7}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button.is-active{color:inherit;border-top:1px solid #e2e4e7;border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7;border-bottom:1px solid #ffffff}.block-editor__container .getwid-editor-tabs .components-tab-panel__tab-content{padding:1em;border:1px solid #e2e4e7}.getwid-editor-url-input .components-base-control__field input{width:100%}.wp-block-getwid-custom-post-type__template .wp-block-columns{display:flex}
|
assets/css/blocks.style.css
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
.wp-block-getwid-icon.is-aligned-left{text-align:left}.wp-block-getwid-icon.is-aligned-center{text-align:center}.wp-block-getwid-icon.is-aligned-right{text-align:right}.wp-block-getwid-icon__wrapper{line-height:1;padding:16px;font-size:32px;text-align:center;display:inline-block}.wp-block-getwid-icon i{display:block;height:1em;width:1em;position:relative}.wp-block-getwid-icon i:before{position:absolute;left:50%;transform:translateX(-50%)}.wp-block-getwid-icon a.wp-block-getwid-icon__wrapper{text-decoration:none;transition:all .3s ease}.wp-block-getwid-icon a.wp-block-getwid-icon__wrapper:hover{cursor:pointer}.has-layout-framed .wp-block-getwid-icon__wrapper{border-width:1px;border-style:solid;border-color:currentColor;border-radius:100%}.has-layout-stacked .wp-block-getwid-icon__wrapper{border-radius:100%}
|
5 |
.wp-block-getwid-icon-box.has-icon-left,.wp-block-getwid-icon-box.has-icon-right{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-content:stretch}.wp-block-getwid-icon-box.has-text-left{text-align:left}.wp-block-getwid-icon-box.has-text-center{text-align:center}.wp-block-getwid-icon-box.has-text-right{text-align:right}.wp-block-getwid-icon-box__icon-container{line-height:0;margin-bottom:20px}.wp-block-getwid-icon-box__icon-container.has-layout-framed .wp-block-getwid-icon-box__icon-wrapper{border-width:1px;border-style:solid;border-color:currentColor;border-radius:100%}.wp-block-getwid-icon-box__icon-container.has-layout-stacked .wp-block-getwid-icon-box__icon-wrapper{border-radius:100%}.wp-block-getwid-icon-box__icon-container.is-position-top{align-self:flex-start}.wp-block-getwid-icon-box__icon-container.is-position-middle{align-self:center}.wp-block-getwid-icon-box__icon-container.is-position-bottom{align-self:flex-end}.wp-block-getwid-icon-box__icon-wrapper{display:inline-block;line-height:1;padding:16px;font-size:64px;text-align:center}.wp-block-getwid-icon-box__icon-wrapper i{display:block;height:1em;width:1em;position:relative}.wp-block-getwid-icon-box__icon-wrapper i:before{position:absolute;left:50%;transform:translateX(-50%)}.wp-block-getwid-icon-box a.wp-block-getwid-icon-box__icon-wrapper{text-decoration:none;transition:all .3s ease}.wp-block-getwid-icon-box a.wp-block-getwid-icon-box__icon-wrapper:hover{cursor:pointer}.wp-block-getwid-icon-box__content{order:0;flex:1 1 auto;align-self:center}.has-icon-left .wp-block-getwid-icon-box__icon-container{margin:0 20px 0 0}.has-icon-right .wp-block-getwid-icon-box__icon-container{order:1;margin:0 0 0 20px}
|
6 |
.wp-block-getwid-banner{position:relative;overflow:hidden;color:white}.wp-block-getwid-banner__wrapper{margin:0;padding:0;position:relative;background-color:#000}.wp-block-getwid-banner__wrapper:after{content:'';display:block;position:absolute;top:0;bottom:0;left:0;right:0;background-color:inherit;opacity:.35}.wp-block-getwid-banner .wp-block-getwid-banner__link{display:block;text-decoration:none !important;color:inherit;margin:0;padding:0}.wp-block-getwid-banner .wp-block-getwid-banner__link:hover{color:inherit;text-decoration:none}.wp-block-getwid-banner .wp-block-getwid-banner__image,.wp-block-getwid-banner .wp-block-getwid-banner__video{display:block;position:absolute;top:0;bottom:0;left:0;right:0;object-fit:cover;width:100%;height:100%;border-radius:0;transition:all .3s ease;max-width:none}.wp-block-getwid-banner__caption{min-height:450px;position:relative;display:flex;justify-content:center;align-items:center;padding:2.5rem;text-align:center;z-index:1;color:inherit;box-sizing:border-box}.wp-block-getwid-banner__caption-wrapper{z-index:1}.wp-block-getwid-banner__title{font-size:2em;display:block;line-height:1.4;color:inherit}.wp-block-getwid-banner__text{margin:0;padding:0;color:inherit}.wp-block-getwid-banner__title+.wp-block-getwid-banner__text{margin-top:.875em}.has-animation-style1 .wp-block-getwid-banner__image,.has-animation-style1 .wp-block-getwid-banner__video{width:calc(100% + 25px);transform:translateX(-25px)}.has-animation-style1:hover .wp-block-getwid-banner__image,.has-animation-style1:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style2 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style2 .wp-block-getwid-banner__caption:before,.has-animation-style2 .wp-block-getwid-banner__caption:after{content:'';display:block;position:absolute;transition:all .3s ease}.has-animation-style2 .wp-block-getwid-banner__caption:before{border-left:1px solid;border-right:1px solid;left:40px;right:40px;bottom:100%;top:20px}.has-animation-style2 .wp-block-getwid-banner__caption:after{left:20px;right:100%;top:40px;bottom:40px;border-top:1px solid;border-bottom:1px solid}.has-animation-style2 .wp-block-getwid-banner__caption:hover:before{bottom:20px}.has-animation-style2 .wp-block-getwid-banner__caption:hover:after{right:20px}.has-animation-style3:hover .wp-block-getwid-banner__image,.has-animation-style3:hover .wp-block-getwid-banner__video{transform:scale(1.2)}.has-animation-style3 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style3 .wp-block-getwid-banner__caption:before{content:'';position:absolute;border:1px solid currentColor;left:30px;right:30px;top:30px;bottom:30px;opacity:0;transform:scale(0.9);transition:all .3s ease-in-out}.has-animation-style3 .wp-block-getwid-banner__caption:hover:before{transform:none;opacity:1}.has-animation-style4 .wp-block-getwid-banner__image,.has-animation-style4 .wp-block-getwid-banner__video{transform:scale(1.2)}.has-animation-style4:hover .wp-block-getwid-banner__image,.has-animation-style4:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style5:hover .wp-block-getwid-banner__image,.has-animation-style5:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style5:hover .wp-block-getwid-banner__caption:before{transform:none;opacity:1}.has-animation-style5 .wp-block-getwid-banner__image,.has-animation-style5 .wp-block-getwid-banner__video{width:calc(100% + 25px);transform:translateX(-25px)}.has-animation-style5 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style5 .wp-block-getwid-banner__caption:before{content:'';position:absolute;border:1px solid currentColor;left:30px;right:30px;top:30px;bottom:30px;opacity:0;transform:translateX(-25px);transition:all .3s ease}.has-animation-style6 .wp-block-getwid-banner__image,.has-animation-style6 .wp-block-getwid-banner__video{transform:scale(1.2);transition:all .5s ease}.has-animation-style6:hover .wp-block-getwid-banner__image,.has-animation-style6:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style6:hover .wp-block-getwid-banner__caption:before{transform:none;opacity:1}.has-animation-style6 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style6 .wp-block-getwid-banner__caption:before{content:'';position:absolute;border:1px solid currentColor;left:30px;right:30px;top:30px;bottom:30px;opacity:0;transform:scale(1.2);transition:all .3s ease}.has-text-animation-opacity:hover .wp-block-getwid-banner__text{opacity:.85}.has-text-animation-opacity .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0}.has-text-animation-opacity-top:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-top .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateY(-20px)}.has-text-animation-opacity-bottom:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-bottom .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateY(20px)}.has-text-animation-opacity-left:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-left .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateX(-20px)}.has-text-animation-opacity-right:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-right .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateX(20px)}.has-text-animation-opacity-zoom-in:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-zoom-in .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:scale(0.8)}.has-text-animation-opacity-zoom-out:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-zoom-out .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:scale(1.2)}.has-vertical-alignment-center .wp-block-getwid-banner__caption{align-items:center}.has-vertical-alignment-top .wp-block-getwid-banner__caption{align-items:flex-start}.has-vertical-alignment-bottom .wp-block-getwid-banner__caption{align-items:flex-end}.has-horizontal-alignment-left .wp-block-getwid-banner__caption{justify-content:flex-start;text-align:left}.has-horizontal-alignment-right .wp-block-getwid-banner__caption{justify-content:flex-end;text-align:right}.has-horizontal-alignment-center .wp-block-getwid-banner__caption{justify-content:center}.has-foreground-0 .wp-block-getwid-banner__wrapper:after{opacity:0}.has-foreground-5 .wp-block-getwid-banner__wrapper:after{opacity:.05}.has-foreground-10 .wp-block-getwid-banner__wrapper:after{opacity:.1}.has-foreground-15 .wp-block-getwid-banner__wrapper:after{opacity:.15}.has-foreground-20 .wp-block-getwid-banner__wrapper:after{opacity:.2}.has-foreground-25 .wp-block-getwid-banner__wrapper:after{opacity:.25}.has-foreground-30 .wp-block-getwid-banner__wrapper:after{opacity:.3}.has-foreground-35 .wp-block-getwid-banner__wrapper:after{opacity:.35}.has-foreground-40 .wp-block-getwid-banner__wrapper:after{opacity:.4}.has-foreground-45 .wp-block-getwid-banner__wrapper:after{opacity:.45}.has-foreground-50 .wp-block-getwid-banner__wrapper:after{opacity:.5}.has-foreground-55 .wp-block-getwid-banner__wrapper:after{opacity:.55}.has-foreground-60 .wp-block-getwid-banner__wrapper:after{opacity:.6}.has-foreground-65 .wp-block-getwid-banner__wrapper:after{opacity:.65}.has-foreground-70 .wp-block-getwid-banner__wrapper:after{opacity:.7}.has-foreground-75 .wp-block-getwid-banner__wrapper:after{opacity:.75}.has-foreground-80 .wp-block-getwid-banner__wrapper:after{opacity:.8}.has-foreground-85 .wp-block-getwid-banner__wrapper:after{opacity:.85}.has-foreground-90 .wp-block-getwid-banner__wrapper:after{opacity:.9}.has-foreground-95 .wp-block-getwid-banner__wrapper:after{opacity:.95}.has-foreground-100 .wp-block-getwid-banner__wrapper:after{opacity:1}
|
7 |
-
.wp-block-getwid-tabs__nav-links{list-style:none;display:flex;flex-wrap:wrap;align-items:center;padding:0;margin:0 0 -1px 0}.wp-block-getwid-tabs__nav-link{margin:0 5px 0 0;padding:0;position:relative;border:1px solid transparent;border-bottom:0}.wp-block-getwid-tabs__nav-link:last-child{margin-right:0}.wp-block-getwid-tabs__nav-link:before,.wp-block-getwid-tabs__nav-link:after{display:none}.wp-block-getwid-tabs__nav-link:hover{border-color:#ebeef1}.wp-block-getwid-tabs__nav-link.ui-tabs-active{border-color:#ebeef1;background:#fff}.wp-block-getwid-tabs__nav-link a{padding:.5em 0.75em !important;display:block;text-decoration:none;border:0;box-shadow:none}.wp-block-getwid-tabs__nav-link a:focus{border:0;outline:none;box-shadow:none}.wp-block-getwid-tabs__nav-link a:hover{text-decoration:none}.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper{margin:0;padding:0;border:0}.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper:before,.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper:after{display:none}.wp-block-getwid-tabs__tab-content{border:1px solid #ebeef1;padding:1.5em;display:block !important;position:absolute;clip:rect(0, 0, 0, 0)}.wp-block-getwid-tabs__tab-content.is-active-tab,.wp-block-getwid-tabs__tab-content[aria-hidden="false"]{position:static;clip:auto}.wp-block-getwid-tabs__tab-content>*:first-child{margin-top:0}.wp-block-getwid-tabs__tab-content>*:last-child{margin-bottom:0}.has-layout-vertical-left,.has-layout-vertical-right,.is-style-vertical{display:flex}.has-layout-vertical-left .wp-block-getwid-tabs__nav-links,.has-layout-vertical-right .wp-block-getwid-tabs__nav-links,.is-style-vertical .wp-block-getwid-tabs__nav-links{flex-direction:column;align-items:initial;flex:0
|
8 |
.wp-block-getwid-accordion{width:100%}.wp-block-getwid-accordion .wp-block-getwid-accordion__header{margin:0;padding:0.5em 0.75em;border:0;width:100%;display:block}.wp-block-getwid-accordion .wp-block-getwid-accordion__header:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header:after{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper{padding:0;border:1px solid #eee;border-top:0}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:first-child{border:1px solid #eee}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a{display:flex;align-items:center;justify-content:space-between;text-decoration:none !important;border:0;box-shadow:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:after{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:hover,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:focus{outline:none;border:0;text-decoration:none !important;box-shadow:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:hover:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:hover:after,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:focus:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:focus:after{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper.ui-state-active .wp-block-getwid-accordion__icon.is-active{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper.ui-state-active .wp-block-getwid-accordion__icon.is-passive{display:flex}.wp-block-getwid-accordion .wp-block-getwid-accordion__header:focus{outline:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header:hover{cursor:pointer}.wp-block-getwid-accordion .wp-block-getwid-accordion__header .wp-block-getwid-accordion__edit-area{width:100%}.wp-block-getwid-accordion__title{margin:0}.wp-block-getwid-accordion__icon{font-size:inherit;margin:0 0 0 0.75em;display:flex;align-items:center}.wp-block-getwid-accordion__icon.is-passive{display:none}.wp-block-getwid-accordion__icon i{font-size:0.75em}.wp-block-getwid-accordion__content{padding:1.5em;border-right:1px solid #eee;border-left:1px solid #eee;border-bottom:1px solid #eee}.wp-block-getwid-accordion__content>*:first-child{margin-top:0}.wp-block-getwid-accordion__content>*:last-child{margin-bottom:0}.wp-block-getwid-accordion__content-wrapper{height:0;position:relative;overflow:hidden;display:block !important}.wp-block-getwid-accordion__content-wrapper.ui-accordion-content-active{height:auto;overflow:visible}.wp-block-getwid-accordion.active-accordion .wp-block-getwid-accordion__content{opacity:1;height:auto;pointer-events:all}.wp-block-getwid-accordion.active-accordion .wp-block-getwid-accordion__icon.is-active{display:none}.wp-block-getwid-accordion.active-accordion .wp-block-getwid-accordion__icon.is-passive{display:flex}.has-icon-left .wp-block-getwid-accordion__header-wrapper a{flex-direction:row-reverse;justify-content:flex-end}.has-icon-left .wp-block-getwid-accordion__icon{margin:0 0.75em 0 0}
|
9 |
.wp-block-getwid-toggle{width:100%}.wp-block-getwid-toggle__row{margin:0}.wp-block-getwid-toggle__row:first-child .wp-block-getwid-toggle__header-wrapper{border-top:1px solid #eee}.wp-block-getwid-toggle__row>.wp-block-getwid-toggle__content{display:none}.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__icon.is-active{display:none}.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__icon.is-passive{display:initial}.wp-block-getwid-toggle__row.is-active>.wp-block-getwid-toggle__content{display:block}.wp-block-getwid-toggle .wp-block-getwid-toggle__header{margin:0;padding:0.5em 0.75em;border:0;width:100%;display:block}.wp-block-getwid-toggle .wp-block-getwid-toggle__header:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a{display:flex;align-items:center;justify-content:space-between;text-decoration:none !important;border:0;box-shadow:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:hover,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:focus{outline:none;border:0;text-decoration:none !important;box-shadow:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:hover:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:hover:after,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:focus:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:focus:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header-wrapper{padding:0;border:1px solid #eee;border-top:0}.wp-block-getwid-toggle .wp-block-getwid-toggle__header-title{margin:0;padding:0}.wp-block-getwid-toggle .wp-block-getwid-toggle__header-title:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header-title:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header:focus{outline:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header:hover{cursor:pointer}.wp-block-getwid-toggle__icon{font-size:inherit;margin:0 0 0 0.75em}.wp-block-getwid-toggle__icon.is-passive{display:none}.wp-block-getwid-toggle__icon i{font-size:0.75em}.wp-block-getwid-toggle__content{padding:1.5em;border-right:1px solid #eee;border-left:1px solid #eee;border-bottom:1px solid #eee}.wp-block-getwid-toggle__content>*:first-child{margin-top:0}.wp-block-getwid-toggle__content>*:last-child{margin-bottom:0}.wp-block-getwid-toggle__title{margin:0}.wp-block-getwid-toggle__content-wrapper{height:0;overflow:hidden;display:block !important}.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__content-wrapper{height:auto;overflow:visible}.has-icon-left .wp-block-getwid-toggle__header-wrapper a{flex-direction:row-reverse;justify-content:flex-end}.has-icon-left .wp-block-getwid-toggle__icon{margin:0 0.75em 0 0}
|
10 |
.wp-block-getwid-images-stack{position:relative}.wp-block-getwid-images-stack__wrapper{position:relative;overflow:hidden}.wp-block-getwid-images-stack__wrapper:after{display:table;content:'';clear:both}.wp-block-getwid-images-stack__chunk{position:relative;margin:0 -2%}.wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper{float:right}.wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){float:left;margin-top:4%}.wp-block-getwid-images-stack__media-wrapper{position:relative;width:50%;margin:0 0 4% 0;padding:0 2%;float:left;box-sizing:border-box}.wp-block-getwid-images-stack__media-wrapper:last-child{margin-bottom:0}.wp-block-getwid-images-stack__media-wrapper:nth-child(2n){margin-top:30%;float:right}.wp-block-getwid-images-stack__media-inner-wrapper{position:relative;padding-top:148%}.wp-block-getwid-images-stack .wp-block-getwid-images-stack__media{max-width:100%;width:100%;height:100%;object-fit:cover;display:block;position:absolute;border-radius:0 !important;top:0;left:0;right:0;bottom:0;outline:0}.is-layout-alpha .wp-block-getwid-images-stack__chunk,.is-layout-beta .wp-block-getwid-images-stack__chunk,.is-layout-gamma .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:100%}.is-layout-alpha .wp-block-getwid-images-stack__chunk:first-child,.is-layout-beta .wp-block-getwid-images-stack__chunk:first-child,.is-layout-gamma .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-alpha .wp-block-getwid-images-stack__chunk:after,.is-layout-beta .wp-block-getwid-images-stack__chunk:after,.is-layout-gamma .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-alpha .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-beta .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-gamma .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:60%;top:0;left:0;padding:0;margin:0}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:70%;top:50%;left:50%;transform:translate(-50%, -50%)}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:nth-child(3),.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:nth-child(3),.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(3){top:auto;left:auto;bottom:0;right:0}.is-layout-alpha .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-beta .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-gamma .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:first-child{z-index:1}.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(2){z-index:1}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2),.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2),.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2){width:75%;top:5%}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child{left:auto;top:auto;right:0;bottom:5%;width:75%;transform:none}.is-layout-delta .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:92%}.is-layout-delta .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-delta .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-delta .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:63%;top:0;left:0;padding:0;margin:0}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:70%;top:33%;right:0;left:auto;z-index:1}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child{top:auto;bottom:0;width:75%}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(3){width:45%;top:auto;bottom:0}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(3) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2){width:75%}.is-layout-delta .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-epsilon .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:90%}.is-layout-epsilon .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-epsilon .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-epsilon .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:54%;bottom:0;left:0;padding:0;margin:0}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:148%}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:65%;top:auto;left:auto;right:0;bottom:0}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(2) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(3){width:40%;top:0;right:0;left:auto;bottom:auto}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(3) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2){width:61%}.is-layout-zeta .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:100%}.is-layout-zeta .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-zeta .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-zeta .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:54%;top:0;left:0;padding:0;margin:0}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:148%}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(3){width:40%;top:10%;right:0;left:auto;bottom:auto}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(3) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:65%;top:auto;left:auto;right:0;bottom:0}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(2) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:only-child{width:100%}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}
|
4 |
.wp-block-getwid-icon.is-aligned-left{text-align:left}.wp-block-getwid-icon.is-aligned-center{text-align:center}.wp-block-getwid-icon.is-aligned-right{text-align:right}.wp-block-getwid-icon__wrapper{line-height:1;padding:16px;font-size:32px;text-align:center;display:inline-block}.wp-block-getwid-icon i{display:block;height:1em;width:1em;position:relative}.wp-block-getwid-icon i:before{position:absolute;left:50%;transform:translateX(-50%)}.wp-block-getwid-icon a.wp-block-getwid-icon__wrapper{text-decoration:none;transition:all .3s ease}.wp-block-getwid-icon a.wp-block-getwid-icon__wrapper:hover{cursor:pointer}.has-layout-framed .wp-block-getwid-icon__wrapper{border-width:1px;border-style:solid;border-color:currentColor;border-radius:100%}.has-layout-stacked .wp-block-getwid-icon__wrapper{border-radius:100%}
|
5 |
.wp-block-getwid-icon-box.has-icon-left,.wp-block-getwid-icon-box.has-icon-right{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-content:stretch}.wp-block-getwid-icon-box.has-text-left{text-align:left}.wp-block-getwid-icon-box.has-text-center{text-align:center}.wp-block-getwid-icon-box.has-text-right{text-align:right}.wp-block-getwid-icon-box__icon-container{line-height:0;margin-bottom:20px}.wp-block-getwid-icon-box__icon-container.has-layout-framed .wp-block-getwid-icon-box__icon-wrapper{border-width:1px;border-style:solid;border-color:currentColor;border-radius:100%}.wp-block-getwid-icon-box__icon-container.has-layout-stacked .wp-block-getwid-icon-box__icon-wrapper{border-radius:100%}.wp-block-getwid-icon-box__icon-container.is-position-top{align-self:flex-start}.wp-block-getwid-icon-box__icon-container.is-position-middle{align-self:center}.wp-block-getwid-icon-box__icon-container.is-position-bottom{align-self:flex-end}.wp-block-getwid-icon-box__icon-wrapper{display:inline-block;line-height:1;padding:16px;font-size:64px;text-align:center}.wp-block-getwid-icon-box__icon-wrapper i{display:block;height:1em;width:1em;position:relative}.wp-block-getwid-icon-box__icon-wrapper i:before{position:absolute;left:50%;transform:translateX(-50%)}.wp-block-getwid-icon-box a.wp-block-getwid-icon-box__icon-wrapper{text-decoration:none;transition:all .3s ease}.wp-block-getwid-icon-box a.wp-block-getwid-icon-box__icon-wrapper:hover{cursor:pointer}.wp-block-getwid-icon-box__content{order:0;flex:1 1 auto;align-self:center}.has-icon-left .wp-block-getwid-icon-box__icon-container{margin:0 20px 0 0}.has-icon-right .wp-block-getwid-icon-box__icon-container{order:1;margin:0 0 0 20px}
|
6 |
.wp-block-getwid-banner{position:relative;overflow:hidden;color:white}.wp-block-getwid-banner__wrapper{margin:0;padding:0;position:relative;background-color:#000}.wp-block-getwid-banner__wrapper:after{content:'';display:block;position:absolute;top:0;bottom:0;left:0;right:0;background-color:inherit;opacity:.35}.wp-block-getwid-banner .wp-block-getwid-banner__link{display:block;text-decoration:none !important;color:inherit;margin:0;padding:0}.wp-block-getwid-banner .wp-block-getwid-banner__link:hover{color:inherit;text-decoration:none}.wp-block-getwid-banner .wp-block-getwid-banner__image,.wp-block-getwid-banner .wp-block-getwid-banner__video{display:block;position:absolute;top:0;bottom:0;left:0;right:0;object-fit:cover;width:100%;height:100%;border-radius:0;transition:all .3s ease;max-width:none}.wp-block-getwid-banner__caption{min-height:450px;position:relative;display:flex;justify-content:center;align-items:center;padding:2.5rem;text-align:center;z-index:1;color:inherit;box-sizing:border-box}.wp-block-getwid-banner__caption-wrapper{z-index:1}.wp-block-getwid-banner__title{font-size:2em;display:block;line-height:1.4;color:inherit}.wp-block-getwid-banner__text{margin:0;padding:0;color:inherit}.wp-block-getwid-banner__title+.wp-block-getwid-banner__text{margin-top:.875em}.has-animation-style1 .wp-block-getwid-banner__image,.has-animation-style1 .wp-block-getwid-banner__video{width:calc(100% + 25px);transform:translateX(-25px)}.has-animation-style1:hover .wp-block-getwid-banner__image,.has-animation-style1:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style2 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style2 .wp-block-getwid-banner__caption:before,.has-animation-style2 .wp-block-getwid-banner__caption:after{content:'';display:block;position:absolute;transition:all .3s ease}.has-animation-style2 .wp-block-getwid-banner__caption:before{border-left:1px solid;border-right:1px solid;left:40px;right:40px;bottom:100%;top:20px}.has-animation-style2 .wp-block-getwid-banner__caption:after{left:20px;right:100%;top:40px;bottom:40px;border-top:1px solid;border-bottom:1px solid}.has-animation-style2 .wp-block-getwid-banner__caption:hover:before{bottom:20px}.has-animation-style2 .wp-block-getwid-banner__caption:hover:after{right:20px}.has-animation-style3:hover .wp-block-getwid-banner__image,.has-animation-style3:hover .wp-block-getwid-banner__video{transform:scale(1.2)}.has-animation-style3 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style3 .wp-block-getwid-banner__caption:before{content:'';position:absolute;border:1px solid currentColor;left:30px;right:30px;top:30px;bottom:30px;opacity:0;transform:scale(0.9);transition:all .3s ease-in-out}.has-animation-style3 .wp-block-getwid-banner__caption:hover:before{transform:none;opacity:1}.has-animation-style4 .wp-block-getwid-banner__image,.has-animation-style4 .wp-block-getwid-banner__video{transform:scale(1.2)}.has-animation-style4:hover .wp-block-getwid-banner__image,.has-animation-style4:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style5:hover .wp-block-getwid-banner__image,.has-animation-style5:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style5:hover .wp-block-getwid-banner__caption:before{transform:none;opacity:1}.has-animation-style5 .wp-block-getwid-banner__image,.has-animation-style5 .wp-block-getwid-banner__video{width:calc(100% + 25px);transform:translateX(-25px)}.has-animation-style5 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style5 .wp-block-getwid-banner__caption:before{content:'';position:absolute;border:1px solid currentColor;left:30px;right:30px;top:30px;bottom:30px;opacity:0;transform:translateX(-25px);transition:all .3s ease}.has-animation-style6 .wp-block-getwid-banner__image,.has-animation-style6 .wp-block-getwid-banner__video{transform:scale(1.2);transition:all .5s ease}.has-animation-style6:hover .wp-block-getwid-banner__image,.has-animation-style6:hover .wp-block-getwid-banner__video{transform:none}.has-animation-style6:hover .wp-block-getwid-banner__caption:before{transform:none;opacity:1}.has-animation-style6 .wp-block-getwid-banner__caption{padding:3.5rem}.has-animation-style6 .wp-block-getwid-banner__caption:before{content:'';position:absolute;border:1px solid currentColor;left:30px;right:30px;top:30px;bottom:30px;opacity:0;transform:scale(1.2);transition:all .3s ease}.has-text-animation-opacity:hover .wp-block-getwid-banner__text{opacity:.85}.has-text-animation-opacity .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0}.has-text-animation-opacity-top:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-top .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateY(-20px)}.has-text-animation-opacity-bottom:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-bottom .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateY(20px)}.has-text-animation-opacity-left:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-left .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateX(-20px)}.has-text-animation-opacity-right:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-right .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:translateX(20px)}.has-text-animation-opacity-zoom-in:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-zoom-in .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:scale(0.8)}.has-text-animation-opacity-zoom-out:hover .wp-block-getwid-banner__text{opacity:.85;transform:none}.has-text-animation-opacity-zoom-out .wp-block-getwid-banner__text{transition:all .3s ease;opacity:0;transform:scale(1.2)}.has-vertical-alignment-center .wp-block-getwid-banner__caption{align-items:center}.has-vertical-alignment-top .wp-block-getwid-banner__caption{align-items:flex-start}.has-vertical-alignment-bottom .wp-block-getwid-banner__caption{align-items:flex-end}.has-horizontal-alignment-left .wp-block-getwid-banner__caption{justify-content:flex-start;text-align:left}.has-horizontal-alignment-right .wp-block-getwid-banner__caption{justify-content:flex-end;text-align:right}.has-horizontal-alignment-center .wp-block-getwid-banner__caption{justify-content:center}.has-foreground-0 .wp-block-getwid-banner__wrapper:after{opacity:0}.has-foreground-5 .wp-block-getwid-banner__wrapper:after{opacity:.05}.has-foreground-10 .wp-block-getwid-banner__wrapper:after{opacity:.1}.has-foreground-15 .wp-block-getwid-banner__wrapper:after{opacity:.15}.has-foreground-20 .wp-block-getwid-banner__wrapper:after{opacity:.2}.has-foreground-25 .wp-block-getwid-banner__wrapper:after{opacity:.25}.has-foreground-30 .wp-block-getwid-banner__wrapper:after{opacity:.3}.has-foreground-35 .wp-block-getwid-banner__wrapper:after{opacity:.35}.has-foreground-40 .wp-block-getwid-banner__wrapper:after{opacity:.4}.has-foreground-45 .wp-block-getwid-banner__wrapper:after{opacity:.45}.has-foreground-50 .wp-block-getwid-banner__wrapper:after{opacity:.5}.has-foreground-55 .wp-block-getwid-banner__wrapper:after{opacity:.55}.has-foreground-60 .wp-block-getwid-banner__wrapper:after{opacity:.6}.has-foreground-65 .wp-block-getwid-banner__wrapper:after{opacity:.65}.has-foreground-70 .wp-block-getwid-banner__wrapper:after{opacity:.7}.has-foreground-75 .wp-block-getwid-banner__wrapper:after{opacity:.75}.has-foreground-80 .wp-block-getwid-banner__wrapper:after{opacity:.8}.has-foreground-85 .wp-block-getwid-banner__wrapper:after{opacity:.85}.has-foreground-90 .wp-block-getwid-banner__wrapper:after{opacity:.9}.has-foreground-95 .wp-block-getwid-banner__wrapper:after{opacity:.95}.has-foreground-100 .wp-block-getwid-banner__wrapper:after{opacity:1}
|
7 |
+
.wp-block-getwid-tabs{position:relative}.wp-block-getwid-tabs__nav-links{list-style:none;display:flex;flex-wrap:wrap;align-items:center;padding:0;margin:0 0 -1px 0}.wp-block-getwid-tabs__nav-link{margin:0 5px 0 0;padding:0;position:relative;border:1px solid transparent;border-bottom:0}.wp-block-getwid-tabs__nav-link:last-child{margin-right:0}.wp-block-getwid-tabs__nav-link:before,.wp-block-getwid-tabs__nav-link:after{display:none}.wp-block-getwid-tabs__nav-link:hover{border-color:#ebeef1}.wp-block-getwid-tabs__nav-link.ui-tabs-active{border-color:#ebeef1;background:#fff}.wp-block-getwid-tabs__nav-link a{padding:.5em 0.75em !important;display:block;text-decoration:none;border:0;box-shadow:none}.wp-block-getwid-tabs__nav-link a:focus{border:0;outline:none;box-shadow:none}.wp-block-getwid-tabs__nav-link a:hover{text-decoration:none}.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper{margin:0;padding:0;border:0}.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper:before,.wp-block-getwid-tabs .wp-block-getwid-tabs__title-wrapper:after{display:none}.wp-block-getwid-tabs__tab-content{border:1px solid #ebeef1;padding:1.5em;display:block !important;position:absolute;clip:rect(0, 0, 0, 0)}.wp-block-getwid-tabs__tab-content.is-active-tab,.wp-block-getwid-tabs__tab-content[aria-hidden="false"]{position:static;clip:auto}.wp-block-getwid-tabs__tab-content>*:first-child{margin-top:0}.wp-block-getwid-tabs__tab-content>*:last-child{margin-bottom:0}.has-layout-vertical-left,.has-layout-vertical-right,.is-style-vertical{display:flex}.has-layout-vertical-left .wp-block-getwid-tabs__nav-links,.has-layout-vertical-right .wp-block-getwid-tabs__nav-links,.is-style-vertical .wp-block-getwid-tabs__nav-links{flex-direction:column;align-items:initial;flex:1 0 auto;margin:0 -1px 0 0;max-width:25%}.has-layout-vertical-left .wp-block-getwid-tabs__nav-link,.has-layout-vertical-right .wp-block-getwid-tabs__nav-link,.is-style-vertical .wp-block-getwid-tabs__nav-link{margin:0 0 5px 0;border:1px solid #eee;border-right:0}.has-layout-vertical-left .wp-block-getwid-tabs__nav-link *,.has-layout-vertical-right .wp-block-getwid-tabs__nav-link *,.is-style-vertical .wp-block-getwid-tabs__nav-link *{word-wrap:break-word;-ms-hyphens:auto;hyphens:auto}.has-layout-vertical-left .wp-block-getwid-tabs__nav-link:last-child,.has-layout-vertical-right .wp-block-getwid-tabs__nav-link:last-child,.is-style-vertical .wp-block-getwid-tabs__nav-link:last-child{margin-bottom:0}.has-layout-vertical-left .wp-block-getwid-tabs__tab-content,.has-layout-vertical-right .wp-block-getwid-tabs__tab-content,.is-style-vertical .wp-block-getwid-tabs__tab-content{flex:0 1 auto;min-width:0}.has-layout-vertical-right{flex-direction:row-reverse}.has-layout-vertical-right .wp-block-getwid-tabs__nav-links{margin:0 0 0 -1px}.has-layout-vertical-right .wp-block-getwid-tabs__nav-links .wp-block-getwid-tabs__nav-link{border:1px solid #eee;border-left:0}.has-layout-horizontal-center .wp-block-getwid-tabs__nav-links{justify-content:center}.has-layout-horizontal-right .wp-block-getwid-tabs__nav-links{justify-content:flex-end}
|
8 |
.wp-block-getwid-accordion{width:100%}.wp-block-getwid-accordion .wp-block-getwid-accordion__header{margin:0;padding:0.5em 0.75em;border:0;width:100%;display:block}.wp-block-getwid-accordion .wp-block-getwid-accordion__header:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header:after{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper{padding:0;border:1px solid #eee;border-top:0}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:first-child{border:1px solid #eee}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a{display:flex;align-items:center;justify-content:space-between;text-decoration:none !important;border:0;box-shadow:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:after{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:hover,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:focus{outline:none;border:0;text-decoration:none !important;box-shadow:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:hover:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:hover:after,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:focus:before,.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper a:focus:after{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper.ui-state-active .wp-block-getwid-accordion__icon.is-active{display:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper.ui-state-active .wp-block-getwid-accordion__icon.is-passive{display:flex}.wp-block-getwid-accordion .wp-block-getwid-accordion__header:focus{outline:none}.wp-block-getwid-accordion .wp-block-getwid-accordion__header:hover{cursor:pointer}.wp-block-getwid-accordion .wp-block-getwid-accordion__header .wp-block-getwid-accordion__edit-area{width:100%}.wp-block-getwid-accordion__title{margin:0}.wp-block-getwid-accordion__icon{font-size:inherit;margin:0 0 0 0.75em;display:flex;align-items:center}.wp-block-getwid-accordion__icon.is-passive{display:none}.wp-block-getwid-accordion__icon i{font-size:0.75em}.wp-block-getwid-accordion__content{padding:1.5em;border-right:1px solid #eee;border-left:1px solid #eee;border-bottom:1px solid #eee}.wp-block-getwid-accordion__content>*:first-child{margin-top:0}.wp-block-getwid-accordion__content>*:last-child{margin-bottom:0}.wp-block-getwid-accordion__content-wrapper{height:0;position:relative;overflow:hidden;display:block !important}.wp-block-getwid-accordion__content-wrapper.ui-accordion-content-active{height:auto;overflow:visible}.wp-block-getwid-accordion.active-accordion .wp-block-getwid-accordion__content{opacity:1;height:auto;pointer-events:all}.wp-block-getwid-accordion.active-accordion .wp-block-getwid-accordion__icon.is-active{display:none}.wp-block-getwid-accordion.active-accordion .wp-block-getwid-accordion__icon.is-passive{display:flex}.has-icon-left .wp-block-getwid-accordion__header-wrapper a{flex-direction:row-reverse;justify-content:flex-end}.has-icon-left .wp-block-getwid-accordion__icon{margin:0 0.75em 0 0}
|
9 |
.wp-block-getwid-toggle{width:100%}.wp-block-getwid-toggle__row{margin:0}.wp-block-getwid-toggle__row:first-child .wp-block-getwid-toggle__header-wrapper{border-top:1px solid #eee}.wp-block-getwid-toggle__row>.wp-block-getwid-toggle__content{display:none}.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__icon.is-active{display:none}.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__icon.is-passive{display:initial}.wp-block-getwid-toggle__row.is-active>.wp-block-getwid-toggle__content{display:block}.wp-block-getwid-toggle .wp-block-getwid-toggle__header{margin:0;padding:0.5em 0.75em;border:0;width:100%;display:block}.wp-block-getwid-toggle .wp-block-getwid-toggle__header:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a{display:flex;align-items:center;justify-content:space-between;text-decoration:none !important;border:0;box-shadow:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:hover,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:focus{outline:none;border:0;text-decoration:none !important;box-shadow:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:hover:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:hover:after,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:focus:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header a:focus:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header-wrapper{padding:0;border:1px solid #eee;border-top:0}.wp-block-getwid-toggle .wp-block-getwid-toggle__header-title{margin:0;padding:0}.wp-block-getwid-toggle .wp-block-getwid-toggle__header-title:before,.wp-block-getwid-toggle .wp-block-getwid-toggle__header-title:after{display:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header:focus{outline:none}.wp-block-getwid-toggle .wp-block-getwid-toggle__header:hover{cursor:pointer}.wp-block-getwid-toggle__icon{font-size:inherit;margin:0 0 0 0.75em}.wp-block-getwid-toggle__icon.is-passive{display:none}.wp-block-getwid-toggle__icon i{font-size:0.75em}.wp-block-getwid-toggle__content{padding:1.5em;border-right:1px solid #eee;border-left:1px solid #eee;border-bottom:1px solid #eee}.wp-block-getwid-toggle__content>*:first-child{margin-top:0}.wp-block-getwid-toggle__content>*:last-child{margin-bottom:0}.wp-block-getwid-toggle__title{margin:0}.wp-block-getwid-toggle__content-wrapper{height:0;overflow:hidden;display:block !important}.wp-block-getwid-toggle__row.is-active .wp-block-getwid-toggle__content-wrapper{height:auto;overflow:visible}.has-icon-left .wp-block-getwid-toggle__header-wrapper a{flex-direction:row-reverse;justify-content:flex-end}.has-icon-left .wp-block-getwid-toggle__icon{margin:0 0.75em 0 0}
|
10 |
.wp-block-getwid-images-stack{position:relative}.wp-block-getwid-images-stack__wrapper{position:relative;overflow:hidden}.wp-block-getwid-images-stack__wrapper:after{display:table;content:'';clear:both}.wp-block-getwid-images-stack__chunk{position:relative;margin:0 -2%}.wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper{float:right}.wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){float:left;margin-top:4%}.wp-block-getwid-images-stack__media-wrapper{position:relative;width:50%;margin:0 0 4% 0;padding:0 2%;float:left;box-sizing:border-box}.wp-block-getwid-images-stack__media-wrapper:last-child{margin-bottom:0}.wp-block-getwid-images-stack__media-wrapper:nth-child(2n){margin-top:30%;float:right}.wp-block-getwid-images-stack__media-inner-wrapper{position:relative;padding-top:148%}.wp-block-getwid-images-stack .wp-block-getwid-images-stack__media{max-width:100%;width:100%;height:100%;object-fit:cover;display:block;position:absolute;border-radius:0 !important;top:0;left:0;right:0;bottom:0;outline:0}.is-layout-alpha .wp-block-getwid-images-stack__chunk,.is-layout-beta .wp-block-getwid-images-stack__chunk,.is-layout-gamma .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:100%}.is-layout-alpha .wp-block-getwid-images-stack__chunk:first-child,.is-layout-beta .wp-block-getwid-images-stack__chunk:first-child,.is-layout-gamma .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-alpha .wp-block-getwid-images-stack__chunk:after,.is-layout-beta .wp-block-getwid-images-stack__chunk:after,.is-layout-gamma .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-alpha .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-beta .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-gamma .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:60%;top:0;left:0;padding:0;margin:0}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:nth-child(2),.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:70%;top:50%;left:50%;transform:translate(-50%, -50%)}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:nth-child(3),.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:nth-child(3),.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(3){top:auto;left:auto;bottom:0;right:0}.is-layout-alpha .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-beta .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-gamma .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:first-child{z-index:1}.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(2){z-index:1}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2),.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2),.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2){width:75%;top:5%}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child{left:auto;top:auto;right:0;bottom:5%;width:75%;transform:none}.is-layout-delta .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:92%}.is-layout-delta .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-delta .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-delta .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:63%;top:0;left:0;padding:0;margin:0}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:70%;top:33%;right:0;left:auto;z-index:1}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(2):last-child{top:auto;bottom:0;width:75%}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(3){width:45%;top:auto;bottom:0}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:nth-child(3) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2){width:75%}.is-layout-delta .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-epsilon .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:90%}.is-layout-epsilon .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-epsilon .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-epsilon .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:54%;bottom:0;left:0;padding:0;margin:0}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:148%}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:65%;top:auto;left:auto;right:0;bottom:0}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(2) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(3){width:40%;top:0;right:0;left:auto;bottom:auto}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:nth-child(3) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:first-child:nth-last-child(2){width:61%}.is-layout-zeta .wp-block-getwid-images-stack__chunk{margin:9% 0 0 0;padding-top:100%}.is-layout-zeta .wp-block-getwid-images-stack__chunk:first-child{margin-top:0}.is-layout-zeta .wp-block-getwid-images-stack__chunk:after{clear:both;display:table;content:''}.is-layout-zeta .wp-block-getwid-images-stack__chunk:nth-child(2n) .wp-block-getwid-images-stack__media-wrapper:nth-child(2){margin-top:0}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper{position:absolute;width:54%;top:0;left:0;padding:0;margin:0}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:148%}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(3){width:40%;top:10%;right:0;left:auto;bottom:auto}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(3) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(2){width:65%;top:auto;left:auto;right:0;bottom:0}.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:nth-child(2) .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:68%}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:only-child,.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:only-child{width:100%}.is-layout-alpha .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-beta .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-gamma .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-delta .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-epsilon .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper,.is-layout-zeta .wp-block-getwid-images-stack__media-wrapper:only-child .wp-block-getwid-images-stack__media-inner-wrapper{padding-top:100%}
|
assets/js/editor.blocks.js
CHANGED
@@ -3,7 +3,7 @@ window.wp=window.wp||{},window.wp["./assets/js/editor.blocks"]=function(e){funct
|
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
-
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=window.lodash}()},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){"use strict";function r(e){var t=/(?:https?:\/\/)?(?:www\.)?(?:youtube(?:-nocookie)?\.com\/\S*(?:(?:\/e(?:mbed))?\/v?|(?:watch\?)?(?:\S*?&?vi?\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/;return!!e.match(t)&&RegExp.$1}function o(e,t){return{edit:Getwid.disabled_blocks.includes(e)?function(){var t=Object(p.sprintf)(Object(p.__)('%s block is disabled in plugin settings. <a href="%s">Manage Blocks</a>',"getwid"),e,Getwid.options_writing_url);return wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:t}})}:t}}function i(e,t){var n=document.createElement("script");n.type="text/javascript",n.src=e;var r=!1;document.getElementsByTagName("head")[0].appendChild(n),n.onload=n.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,n.onload=n.onreadystatechange=null,t(n))}}function a(e){return e.offset().top-m(window).scrollTop()-m(window).height()<0}function l(e,t,n){var r=this;m(e).on("scroll",{element:t},function(e){a(e.data.element)&&(n(),m(r).off(e))})}function c(){var e=m(m(".edit-post-layout__content").length?".edit-post-layout__content":".block-editor-editor-skeleton__content"),t=m(".edit-post-editor-regions__content");return e.length?e[0].className:t[0].className}function s(e,t,n){var r=document.createElement("iframe");r.style.pointerEvents="none",r.style.position="absolute",r.style.display="block",r.style.height="100%",r.style.width="100%",r.style.top="0",r.style.bottom="0",r.style.left="0",r.style.backgroundColor="transparent",r.className="".concat(t,"__resize-observer"),m(r).load(function(){m(r.contentWindow).resize(function(){n()})}),e.append(r)}function u(e){var t=function(e){return null!==e&&void 0!==e&&""!==e&&(e=e.toString(),e.replace(/<[^>]*>/g,""))};return e.map(function(e,n){return t(e.content)})}t.f=r,t.b=o,t.a=i,t.g=a,t.h=l,t.e=c,t.c=s,t.d=u;var p=(n(0),n(1)),d=(n.n(p),window),m=d.jQuery},function(e,t){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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t,n){"use strict";n.d(t,"g",function(){return N}),n.d(t,"d",function(){return B}),n.d(t,"b",function(){return L}),n.d(t,"i",function(){return V}),n.d(t,"c",function(){return F}),n.d(t,"f",function(){return W}),n.d(t,"e",function(){return G}),n.d(t,"h",function(){return U}),n.d(t,"a",function(){return q});var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(17)),c=n(16),s=n(44),u=n(18),p=n(120),d=(n.n(p),window),m=d.jQuery,g=wp.blockEditor||wp.editor,f=g.MediaPlaceholder,b=g.MediaUpload,w=wp.element.Fragment,h=wp.components,v=h.SelectControl,y=h.TabPanel,_=h.BaseControl,k=h.TextControl,O=h.ToggleControl,E=h.Button,C=h.IconButton,j=h.RangeControl,S=h.TextareaControl,x=h.RadioControl,P=h.CheckboxControl,T=h.ButtonGroup,R=["image"],N=function(e){var t=e.props.attributes,n=t.paddingTop,o=t.paddingRight,i=t.paddingBottom,a=t.paddingLeft,l=e.props.attributes,c=l.paddingTopValue,u=l.paddingRightValue,p=l.paddingBottomValue,d=l.paddingLeftValue,m=function(){(0,e.props.setAttributes)({paddingTopValue:void 0,paddingBottomValue:void 0,paddingLeftValue:void 0,paddingRightValue:void 0,paddingTop:"",paddingBottom:"",paddingLeft:"",paddingRight:"",paddingTopTablet:"",paddingBottomTablet:"",paddingLeftTablet:"",paddingRightTablet:"",paddingTopMobile:"",paddingBottomMobile:"",paddingLeftMobile:"",paddingRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Padding","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return M(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!A(e)},Object(r.__)("Reset All","getwid"))))},A=function(e){var t=e.props.attributes,n=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,a=e.props.attributes,l=a.paddingTopValue,c=a.paddingRightValue,s=a.paddingBottomValue,u=a.paddingLeftValue,p=e.props.attributes,d=p.paddingTopTablet,m=p.paddingRightTablet,g=p.paddingBottomTablet,f=p.paddingLeftTablet,b=e.props.attributes,w=b.paddingTopMobile,h=b.paddingRightMobile,v=b.paddingBottomMobile,y=b.paddingLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},M=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.paddingTop,a=o.paddingRight,c=o.paddingBottom,s=o.paddingLeft,u=e.props.attributes,p=u.paddingTopValue,d=u.paddingRightValue,m=u.paddingBottomValue,g=u.paddingLeftValue,f=e.props.attributes,b=f.paddingTopTablet,h=f.paddingRightTablet,y=f.paddingBottomTablet,_=f.paddingLeftTablet,k=e.props.attributes,O=k.paddingTopMobile,E=k.paddingRightMobile,j=k.paddingBottomMobile,S=k.paddingLeftMobile,x=e.props,P=x.changeState,T=x.isLockedPaddingsOnDesktop,R=x.isLockedPaddingsOnTablet,N=x.isLockedPaddingsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedPaddingsOnDesktop",!1):function(){P("isLockedPaddingsOnDesktop",!0);"custom"==i?function(){n({paddingBottom:i,paddingRight:i,paddingLeft:i,paddingBottomValue:p,paddingRightValue:p,paddingLeftValue:p})}():function(){n({paddingBottom:i,paddingLeft:i,paddingRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{value:p,onChange:function(e){T?function(){n({paddingBottomValue:e,paddingRightValue:e,paddingLeftValue:e,paddingTopValue:e})}():n({paddingTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({paddingBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{value:m,isLocked:T,onChange:function(e){return n({paddingBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({paddingLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{value:g,isLocked:T,onChange:function(e){return n({paddingLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({paddingRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{value:d,isLocked:T,onChange:function(e){return n({paddingRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({paddingBottomTablet:e,paddingRightTablet:e,paddingLeftTablet:e,paddingTopTablet:e})}():n({paddingTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedPaddingsOnTablet",!1):function(){P("isLockedPaddingsOnTablet",!0),n({paddingBottomTablet:b,paddingRightTablet:b,paddingLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({paddingBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({paddingLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({paddingRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==O?O:"",onChange:function(e){N?function(){n({paddingBottomMobile:e,paddingLeftMobile:e,paddingRightMobile:e,paddingTopMobile:e})}():n({paddingTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedPaddingsOnMobile",!1):function(){P("isLockedPaddingsOnMobile",!0),n({paddingBottomMobile:O,paddingLeftMobile:O,paddingRightMobile:O})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!N||null,value:void 0!==j?j:"",onChange:function(e){return n({paddingBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!N||null,value:void 0!==S?S:"",onChange:function(e){return n({paddingLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!N||null,value:void 0!==E?E:"",onChange:function(e){return n({paddingRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},B=function(e){var t=e.props.attributes,n=t.marginTop,o=t.marginRight,i=t.marginBottom,a=t.marginLeft,l=e.props.attributes,c=l.marginTopValue,u=l.marginRightValue,p=l.marginBottomValue,d=l.marginLeftValue,m=function(){(0,e.props.setAttributes)({marginTopValue:void 0,marginBottomValue:void 0,marginLeftValue:void 0,marginRightValue:void 0,marginTop:"",marginBottom:"",marginLeft:"",marginRight:"",marginTopTablet:"",marginBottomTablet:"",marginLeftTablet:"",marginRightTablet:"",marginTopMobile:"",marginBottomMobile:"",marginLeftMobile:"",marginRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Margin","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return I(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!D(e)},Object(r.__)("Reset All","getwid"))))},D=function(e){var t=e.props.attributes,n=t.marginTop,r=t.marginRight,o=t.marginBottom,i=t.marginLeft,a=e.props.attributes,l=a.marginTopValue,c=a.marginRightValue,s=a.marginBottomValue,u=a.marginLeftValue,p=e.props.attributes,d=p.marginTopTablet,m=p.marginRightTablet,g=p.marginBottomTablet,f=p.marginLeftTablet,b=e.props.attributes,w=b.marginTopMobile,h=b.marginRightMobile,v=b.marginBottomMobile,y=b.marginLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},I=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.marginTop,a=o.marginRight,c=o.marginBottom,s=o.marginLeft,u=e.props.attributes,p=u.marginTopValue,d=u.marginRightValue,m=u.marginBottomValue,g=u.marginLeftValue,f=e.props.attributes,b=f.marginTopTablet,h=f.marginRightTablet,y=f.marginBottomTablet,_=f.marginLeftTablet,k=e.props.attributes,O=k.marginTopMobile,E=k.marginRightMobile,j=k.marginBottomMobile,S=k.marginLeftMobile,x=e.props,P=x.changeState,T=x.isLockedMarginsOnDesktop,R=x.isLockedMarginsOnTablet,N=x.isLockedMarginsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({marginBottom:e,marginLeft:e,marginRight:e,marginTop:e,marginTopValue:p})}():n({marginTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedMarginsOnDesktop",!1):function(){P("isLockedMarginsOnDesktop",!0);"custom"==i?function(){n({marginBottom:i,marginRight:i,marginLeft:i,marginBottomValue:p,marginRightValue:p,marginLeftValue:p})}():function(){n({marginBottom:i,marginLeft:i,marginRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{allowNegative:!0,value:p,onChange:function(e){T?function(){n({marginBottomValue:e,marginRightValue:e,marginLeftValue:e,marginTopValue:e})}():n({marginTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({marginBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{allowNegative:!0,value:m,isLocked:T,onChange:function(e){return n({marginBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({marginLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{allowNegative:!0,value:g,isLocked:T,onChange:function(e){n({marginLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({marginRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{allowNegative:!0,value:d,isLocked:T,onChange:function(e){return n({marginRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({marginBottomTablet:e,marginRightTablet:e,marginLeftTablet:e,marginTopTablet:e})}():n({marginTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedMarginsOnTablet",!1):function(){P("isLockedMarginsOnTablet",!0),n({marginBottomTablet:b,marginRightTablet:b,marginLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({marginBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({marginLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({marginRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==O?O:"",onChange:function(e){N?function(){n({marginBottomMobile:e,marginRightMobile:e,marginLeftMobile:e,marginTopMobile:e})}():n({marginTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedMarginsOnMobile",!1):function(){P("isLockedMarginsOnMobile",!0),n({marginBottomMobile:O,marginRightMobile:O,marginLeftMobile:O})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),value:void 0!==j?j:"",disabled:!!N||null,onChange:function(e){return n({marginBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),value:void 0!==S?S:"",disabled:!!N||null,onChange:function(e){return n({marginLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),value:void 0!==E?E:"",disabled:!!N||null,onChange:function(e){return n({marginRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},L=function(e){var t=e.props.attributes,n=t.fontSize,o=t.fontSizeTablet,i=t.fontSizeMobile,a=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return z(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:function(){return a({fontSizeTablet:"fs-tablet-100",fontSizeMobile:"fs-mobile-100",fontSize:void 0})},disabled:!("fs-tablet-100"!=o||"fs-mobile-100"!=i||void 0!=n)},Object(r.__)("Reset All","getwid"))))},z=function(e,t){var n=e.props.attributes,o=n.fontSize,i=n.fontSizeTablet,a=n.fontSizeMobile,c=e.props.setAttributes;switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Font Size","getwid"),value:o,onChange:function(e){return c({fontSize:e})}});case"tablet":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:i,onChange:function(e){return c({fontSizeTablet:e})},options:[{value:"fs-tablet-50",label:Object(r.__)("50%","getwid")},{value:"fs-tablet-60",label:Object(r.__)("60%","getwid")},{value:"fs-tablet-70",label:Object(r.__)("70%","getwid")},{value:"fs-tablet-80",label:Object(r.__)("80%","getwid")},{value:"fs-tablet-90",label:Object(r.__)("90%","getwid")},{value:"fs-tablet-100",label:Object(r.__)("100%","getwid")},{value:"fs-tablet-110",label:Object(r.__)("110%","getwid")},{value:"fs-tablet-120",label:Object(r.__)("120%","getwid")}]});case"mobile":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:a,onChange:function(e){return c({fontSizeMobile:e})},options:[{value:"fs-mobile-50",label:Object(r.__)("50%","getwid")},{value:"fs-mobile-60",label:Object(r.__)("60%","getwid")},{value:"fs-mobile-70",label:Object(r.__)("70%","getwid")},{value:"fs-mobile-80",label:Object(r.__)("80%","getwid")},{value:"fs-mobile-90",label:Object(r.__)("90%","getwid")},{value:"fs-mobile-100",label:Object(r.__)("100%","getwid")},{value:"fs-mobile-110",label:Object(r.__)("110%","getwid")},{value:"fs-mobile-120",label:Object(r.__)("120%","getwid")}]})}},V=function(e){var t=e.props.attributes.slideHeight,n=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(_,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),disabled:!0,className:"components-button is-link is-small"}]},function(t){return H(e,t)}),wp.element.createElement(E,{isLink:!0,onClick:function(){return n({slideHeight:""})},disabled:!(""!=t&&void 0!==t)},Object(r.__)("Reset All","getwid"))))},H=function(e,t){var n=e.props.attributes,o=n.slideHeight,i=n.resetHeightOnTablet,a=n.resetHeightOnMobile,c=e.props.setAttributes,s=function(e,t){var n=e.find("button[tabindex='-1']");m.each(n,function(e,n){m(n).attr("disabled",t)})},u=setInterval(function(){var e=m(".getwid-editor-tabs");e.length&&(o?s(e,!1):s(e,!0),clearInterval(u))},1);switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Slider Height","getwid"),value:o,units:[{label:"px",value:"px"},{label:"vh",value:"vh"}],onChange:function(e){var t=m(".getwid-editor-tabs");e?(s(t,!1),c({slideHeight:e})):(s(t,!0),c({slideHeight:e,resetHeightOnTablet:!1,resetHeightOnMobile:!1}))}});case"tablet":return wp.element.createElement(P,{label:"Reset height on tablet",checked:i,onChange:function(e){c({resetHeightOnTablet:e})}});case"mobile":return wp.element.createElement(P,{label:"Reset height on mobile",checked:a,onChange:function(e){c({resetHeightOnMobile:e})}})}},F=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedMargins,i=t.changeState,a=e.props.attributes,c=a.marginTop,s=a.marginBottom,u=a.marginLeft,p=a.marginRight,d=function(){return n({marginBottom:void 0,marginRight:void 0,marginLeft:void 0,marginTop:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Margin Top","getwid"),value:c,onChange:function(e){o?function(){n({marginBottom:e,marginRight:e,marginLeft:e,marginTop:e})}():n({marginTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedMargins",!1):function(){i("isLockedMargins",!0),n({marginBottom:c,marginRight:c,marginLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Margin Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({marginBottom:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({marginLeft:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({marginRight:e})},allowNegative:!0}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,isLocked:!function(){return void 0!==s||void 0!==p||void 0!==u||void 0!==c}()},Object(r.__)("Reset","getwid"))))},W=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedPaddings,i=t.changeState,a=e.props.attributes,c=a.paddingTop,s=a.paddingBottom,u=a.paddingLeft,p=a.paddingRight,d=function(){return n({paddingTop:void 0,paddingBottom:void 0,paddingLeft:void 0,paddingRight:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Padding Top","getwid"),value:c,onChange:function(e){o?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedPaddings",!1):function(){i("isLockedPaddings",!0),n({paddingBottom:c,paddingRight:c,paddingLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Padding Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({paddingBottom:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({paddingLeft:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({paddingRight:e})}}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,disabled:!function(){return void 0!==c||void 0!==s||void 0!==p||void 0!==u}()},Object(r.__)("Reset","getwid"))))},G=function(e){var t=e.id,n=e.url,o=e.onSelectMedia,i=e.onRemoveMedia,a=void 0===i?null:i,l=e.removeButton,c=void 0===l||l,s=(e.video,e.label),u=void 0===s?Object(r.__)("Background Image","getwid"):s,p=c?"ButtonGroup":"Fragment";return wp.element.createElement(w,null,wp.element.createElement(_,{label:u},wp.element.createElement(w,null,!n&&wp.element.createElement(f,{icon:"format-image",labels:{title:Object(r.__)("Image","getwid"),instructions:Object(r.__)("Upload an image file, pick one from your media library, or add one with a URL.","getwid")},onSelect:o,accept:"image/*",allowedTypes:R}),n&&wp.element.createElement(b,{onSelect:o,allowedTypes:R,value:t,render:function(e){var o=e.open;return wp.element.createElement(_,null,!!n&&wp.element.createElement("div",{onClick:o,className:"getwid-background-image-wrapper"},wp.element.createElement("img",{src:n})),wp.element.createElement(p,null,wp.element.createElement(E,{isPrimary:!0,onClick:o},!t&&Object(r.__)("Select Image","getwid"),!!t&&Object(r.__)("Replace Image","getwid")),!!t&&c&&wp.element.createElement(E,{isDefault:!0,onClick:a},Object(r.__)("Remove Image","getwid"))))}}))))},U=function(e){var t=e.props.getState;if(!Object(a.isEqual)(t("currentPoint"),null)){var n=e.props.attributes.imagePoints,o=e.props,i=o.updateArrValues,l=o.changeState,s=n?JSON.parse(n):[],p=t("currentPoint");return wp.element.createElement(w,null,wp.element.createElement(k,{label:Object(r.__)("Title","getwid"),value:s[p].title,onChange:function(e){i({title:e},p),l("updatePoints",!0)}}),wp.element.createElement(k,{placeholder:Object(r.__)("Enter URL","getwid"),value:s[p].link,onChange:function(e){i({link:e},p)}}),wp.element.createElement(O,{label:Object(r.__)("Open in New Tab","getwid"),checked:s[p].newTab,onChange:function(e){i({newTab:e},p)}}),wp.element.createElement(S,{label:Object(r.__)("Popup Content. Plain Text or HTML.","getwid"),rows:"5",value:unescape(s[p].content),onChange:function(e){i({content:e},p),l("updatePoints",!0)}}),wp.element.createElement(O,{label:Object(r.__)("Opened by default","getwid"),checked:s[p].popUpOpen,onChange:function(e){i({popUpOpen:e},p)}}),wp.element.createElement(j,{label:Object(r.__)("X Coord (%)","getwid"),value:parseFloat(s[p].position.x),onChange:function(e){void 0===e&&(e=50),i({position:{x:parseFloat(e)+"%",y:s[p].position.y}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(j,{label:Object(r.__)("Y Coord (%)","getwid"),value:parseFloat(s[p].position.y),onChange:function(e){void 0===e&&(e=50),i({position:{x:s[p].position.x,y:parseFloat(e)+"%"}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(c.a,{colorSettings:[{title:Object(r.__)("Point Background","getwid"),colors:{customColor:s[p].backgroundColor},changeColor:function(e){i({backgroundColor:e},p),l({updatePoints:!0,highlightDot:!0})}},{title:Object(r.__)("Icon Color","getwid"),colors:{customColor:s[p].color},changeColor:function(e){i({color:e},p),l({updatePoints:!0,highlightDot:!0})}}]}),wp.element.createElement(x,{label:Object(r.__)("Tooltip Position","getwid"),selected:s[p].placement,options:[{value:"top",label:Object(r.__)("Top","getwid")},{value:"right",label:Object(r.__)("Right","getwid")},{value:"bottom",label:Object(r.__)("Bottom","getwid")},{value:"left",label:Object(r.__)("Left","getwid")}],onChange:function(e){i({placement:e},p),l({updatePoints:!0,highlightDot:!0})}}),wp.element.createElement(k,{label:Object(r.__)("Popup Maximum Width, px.","getwid"),value:s[p].popUpWidth,type:"number",onChange:function(e){i({popUpWidth:e},p)}}),wp.element.createElement(_,{label:Object(r.__)("Point Icon","getwid")},wp.element.createElement(u.a,{value:s[p].icon,onChange:function(e){i({icon:e},p),l({updatePoints:!0,highlightDot:!0})}})))}},q=function(e){var t=e.props,n=t.updateCellsStyles,o=t.getSelectedCell,a=e.props,l=a.isRangeSelected,c=a.isMultiSelected,s=o(),u=l(),p=c();return wp.element.createElement(_,{label:"Borders",className:"components-getwid-border-control"},wp.element.createElement(T,{className:"components-getwid-border-group"},wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zm0-8h2v-2H7v2zm4 0h2v-2h-2v2zm0 8h2v-2h-2v2zm-8-4h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2v-2H3v2zm0-4h2V7H3v2zm8 8h2v-2h-2v2zm8-8h2V7h-2v2zm0 4h2v-2h-2v2zM3 3v2h18V3H3zm16 14h2v-2h-2v2zm-4 4h2v-2h-2v2zM11 9h2V7h-2v2zm8 12h2v-2h-2v2zm-4-8h2v-2h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Top Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"top"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h2v-2h-2v2zm4-10v18h2V3h-2zm-4 18h2v-2h-2v2zm0-16h2V3h-2v2zm-4 8h2v-2h-2v2zm0-8h2V3h-2v2zm0 4h2V7h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Right Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"right"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M9 11H7v2h2v-2zm4 4h-2v2h2v-2zM9 3H7v2h2V3zm4 8h-2v2h2v-2zM5 3H3v2h2V3zm8 4h-2v2h2V7zm4 4h-2v2h2v-2zm-4-8h-2v2h2V3zm4 0h-2v2h2V3zm2 10h2v-2h-2v2zm0 4h2v-2h-2v2zM5 7H3v2h2V7zm14-4v2h2V3h-2zm0 6h2V7h-2v2zM5 11H3v2h2v-2zM3 21h18v-2H3v2zm2-6H3v2h2v-2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Bottom Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"bottom"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M11 21h2v-2h-2v2zm0-4h2v-2h-2v2zm0-12h2V3h-2v2zm0 4h2V7h-2v2zm0 4h2v-2h-2v2zm-4 8h2v-2H7v2zM7 5h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2V3H3v18zM19 9h2V7h-2v2zm-4 12h2v-2h-2v2zm4-4h2v-2h-2v2zm0-14v2h2V3h-2zm0 10h2v-2h-2v2zm0 8h2v-2h-2v2zm-4-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Left Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"left"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("All","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"all"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v-2h-2v2zm8 4h2v-2h-2v2zm0-4h2v-2h-2v2zm0 8h2v-2h-2v2zm0-12h2V7h-2v2zm-8 0h2V7h-2v2zm8-6v2h2V3h-2zm-8 2h2V3h-2v2zm4 16h2v-2h-2v2zm0-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("None","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"none"})}}))))}},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(122),i=n(30),a=n(123);e.exports=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(106)),c=(n.n(l),wp.element.Fragment),s=wp.components,u=s.BaseControl,p=s.ColorPalette,d=s.ColorIndicator,m=wp.data.withSelect,g=wp.compose.compose,f=function(e){var t=e.props,n=e.getEditorSettings,r=t.colorSettings,o=Object(a.get)(n(),["colors"],[]);return wp.element.createElement(c,null,wp.element.createElement(u,{className:"components-getwid-color-palette-control"},r.map(function(e,t){var n=Object(a.has)(e,["colors","defaultColor"])?e.colors.defaultColor.color:void 0;return wp.element.createElement(c,null,wp.element.createElement(u.VisualLabel,null,e.title,(e.colors.customColor||n)&&wp.element.createElement(d,{colorValue:e.colors.customColor?e.colors.customColor:n})),wp.element.createElement(p,{colors:o,value:n||e.colors.customColor,onChange:e.changeColor}))})))};Object(a.has)(u,["VisualLabel"])||(u.VisualLabel=function(e){var t=e.className,n=e.children;return t=i()("components-base-control__label",t),wp.element.createElement("span",{className:t},n)}),t.a=g([m(function(e,t){return{getEditorSettings:e("core/editor").getEditorSettings,props:t}})])(f)},function(e,t,n){"use strict";function r(e){function t(e,t){var r=void 0;return"unit"===t?h=e:w=e,h=void 0!==h?h:"",w=void 0!==w?w:"","auto"===h?r=n?e:"":void 0!==w&&""!==w&&(r=w+h),m(r)}var n=e.allowAuto,r=e.allowNegative,o=e.units,l=void 0===o?[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}]:o,s=e.value,u=e.label,m=e.onChange,g=e.isLocked,f=void 0!==g&&g,b="components-base-control components-getwid-style-length-control",w="",h="";if(n&&l.push({value:"auto",label:Object(c.__)("Auto","getwid")}),n&&"auto"===s&&(w="",h="auto"),void 0!==s){var v,y=Object(a.map)(l,"value").join("|"),_=r?"[-]?":"";(v=new RegExp("^(".concat(_,"[0-9]*\\.?[0-9]*)(").concat(y,"){0,1}$")).exec(s))?(w=v&&v[1]?v[1]:"",h=v&&v[2]?v[2]:""):(w="",h="")}return h||(h=l[0].value),wp.element.createElement("div",{className:b},wp.element.createElement(p,i()({className:["".concat(b,"__value_input")],name:"length",type:"number",label:u,value:w,onChange:function(e){return t(e,"length")},disabled:"auto"===h,min:r?void 0:0},"disabled",!!f||null)),wp.element.createElement(d,{className:["".concat(b,"__unit_select")],name:"unit",options:l,value:h,onChange:function(e){return t(e,"unit")},disabled:!!f||null}))}t.a=r;var o=n(7),i=n.n(o),a=(n(0),n(10)),l=(n.n(a),n(105)),c=(n.n(l),n(1)),s=(n.n(c),window),u=(s.jQuery,wp.components),p=u.TextControl,d=u.SelectControl},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return y});var a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=n(108),w=n.n(b),h=n(119),v=(n.n(h),Getwid.settings.iconList),y=function(e){function t(){return s()(this,t),n.apply(this,arguments)}p()(t,e);var n=i(t);return t}(w.a);y.defaultProps=o(o({},y.defaultProps),{},{icons:v||[],theme:"getwid",iconsPerPage:12})},function(e,t,n){"use strict";function r(e){var t=e.state,n=e.stateName,r=e.onChangeTab,o=e.tabs,i=void 0===o?["general","style","layout","advanced"]:o;return wp.element.createElement(m,null,wp.element.createElement(d,{className:"components-getwid-tabs-control"},i.includes("general")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"general"===t}),onClick:function(){r(n,"general")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-settings"}),Object(l.__)("General","getwid")))),i.includes("style")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"style"===t}),onClick:function(){r(n,"style")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-appearance"}),Object(l.__)("Style","getwid")))),i.includes("layout")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"layout"===t}),onClick:function(){r(n,"layout")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"layout"}),Object(l.__)("Layout","getwid")))),i.includes("advanced")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"advanced"===t}),onClick:function(){r(n,"advanced")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-generic"}),Object(l.__)("Advanced","getwid"))))))}t.a=r;var o=(n(0),n(124)),i=(n.n(o),n(8)),a=n.n(i),l=n(1),c=(n.n(l),window),s=(c.jQuery,wp.components),u=s.Dashicon,p=s.Button,d=s.PanelBody,m=wp.element.Fragment},function(e,t,n){"use strict";function r(e,t,n){var r=function(e){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var n in t)if(void 0!==e.style[n])return t[n]}(document.createElement("div")),o=void 0!==t.animation?t.animation:"",i=void 0!==t.duration?t.duration:"1s",a=void 0!==t.delay?t.delay:"0s";return e.css({"animation-duration":i,"animation-delay":a,"-webkit-animation-delay":a}),e.addClass("animated "+o).one(r,function(){jQuery(this).removeClass("animated "+o),"function"==typeof n&&n()}),this}t.a=r},function(e,t){!function(){e.exports=window.React}()},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(13),o=n.n(r),i=n(2),a=n.n(i),l=n(4),c=n.n(l),s=n(10),u=(n.n(s),n(42)),p=(n.n(u),n(43)),d=(n.n(p),wp.components.__experimentalGradientPicker),m=function(e,t){return e[t].value.toString()},g=function(e){var t=u.parse(e)[0],n=t.colorStops;if(Object(s.isEqual)(n[0].type,"hex")){var r=p(m(n,0)).toString(),o=p(m(n,1)).toString(),i=n[0].length.value,a=n[1].length.value,l=t.type,c=t.orientation?t.orientation.value:void 0;return Object(s.isEqual)(l,"linear-gradient")?"".concat(l,"(").concat(c,"deg,rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)"):"".concat(l,"(rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)")}return e},f=function(){function e(){a()(this,e)}return c()(e,null,[{key:"prepareMultiGradientStyle",value:function(t,n){var r=n.attributes,o=r.backgroundGradientFirstColor,i=r.foregroundGradientFirstColor,a=n.attributes,l=a.backgroundGradient,c=a.foregroundGradient;if(d){if("background"==t)return l||(o?(l=e.prepareGradientStyle("background",n),l=l.backgroundImage,l&&(l=l.replace(/, /g,function(){return","}),l=g(l)),l):void 0);if("foreground"==t)return c||(i?(c=e.prepareGradientStyle("foreground",n),c=c.backgroundImage,c&&(c=c.replace(/, /g,function(){return","}),c=g(c)),c):void 0)}else{if("background"==t)return o?(l=e.prepareGradientStyle("background",n),l=l.backgroundImage):void 0;if("foreground"==t)return i?(c=e.prepareGradientStyle("foreground",n),c=c.backgroundImage):void 0}}},{key:"prepareBackgroundImageStyles",value:function(e,t){var n=t.attributes;if(!n["".concat(e,"Image")])return{};var r=n["".concat(e,"Image")];return"object"===o()(r)&&(r=r.url),{backgroundImage:"url('".concat(r,"')"),backgroundPosition:""!=n["".concat(e,"ImagePosition")]?"custom"==n["".concat(e,"ImagePosition")]&&n["".concat(e,"CustomImagePosition")]?"".concat(100*n["".concat(e,"CustomImagePosition")].x,"% ").concat(100*n["".concat(e,"CustomImagePosition")].y,"%"):n["".concat(e,"ImagePosition")]:null,backgroundRepeat:""!=n["".concat(e,"ImageRepeat")]?n["".concat(e,"ImageRepeat")]:null,backgroundAttachment:""!=n["".concat(e,"ImageAttachment")]?n["".concat(e,"ImageAttachment")]:null,backgroundSize:""!=n["".concat(e,"ImageSize")]?n["".concat(e,"ImageSize")]:null}}},{key:"prepareGradientStyle",value:function(e,t){var n=t.attributes["".concat(e,"GradientType")],r=t.attributes["".concat(e,"GradientAngle")],o=t.attributes["".concat(e,"GradientFirstColor")],i=t.attributes["".concat(e,"GradientSecondColor")],a=t.attributes["".concat(e,"GradientFirstColorLocation")],l=t.attributes["".concat(e,"GradientSecondColorLocation")];r=void 0!==r?"".concat(r,"deg"):"180deg",o=void 0!==o?o:"rgba(0,0,0,0)",a=void 0!==a?"".concat(a,"%"):"0%",i=void 0!==i?i:"rgba(0,0,0,0)",l=void 0!==l?"".concat(l,"%"):"100%";var c={};switch(n){case"linear":c.backgroundImage="linear-gradient(".concat(r,", ").concat(o," ").concat(a,", ").concat(i," ").concat(l,")");break;case"radial":c.backgroundImage="radial-gradient(".concat(o," ").concat(a,", ").concat(i," ").concat(l,")")}return c}},{key:"convertVerticalAlignToStyle",value:function(e){var t=void 0;switch(e){case"top":t="flex-start";break;case"bottom":t="flex-end";break;case"center":t="center"}return t}},{key:"convertHorizontalAlignToStyle",value:function(e){var t=void 0;switch(e){case"left":t="flex-start";break;case"right":t="flex-end";break;case"center":t="center"}return t}}]),e}()},function(e,t,n){e.exports=n(109)()},function(e,t,n){"use strict";function r(e){var t=e.onChange,n=e.label,r=e.help,o=e.value,l=e.allowAnimation,s=void 0===l?["Entrance","Exit","Seeker"]:l,u=[{value:"",label:Object(a.__)("None","getwid")}],p=[{value:"bounceIn",label:Object(a.__)("Bounce In","getwid")},{value:"bounceInDown",label:Object(a.__)("Bounce In Down","getwid")},{value:"bounceInDownShort",label:Object(a.__)("Bounce In Down Short","getwid")},{value:"bounceInLeft",label:Object(a.__)("Bounce In Left","getwid")},{value:"bounceInLeftShort",label:Object(a.__)("Bounce In Left Short","getwid")},{value:"bounceInRight",label:Object(a.__)("Bounce In Right","getwid")},{value:"bounceInRightShort",label:Object(a.__)("Bounce In Right Short","getwid")},{value:"bounceInUp",label:Object(a.__)("Bounce In Up","getwid")},{value:"bounceInUpShort",label:Object(a.__)("Bounce In Up Short","getwid")},{value:"fadeIn",label:Object(a.__)("Fade In","getwid")},{value:"fadeInDown",label:Object(a.__)("Fade In Down","getwid")},{value:"fadeInDownShort",label:Object(a.__)("Fade In Down Short","getwid")},{value:"fadeInDownBig",label:Object(a.__)("Fade In Down Big","getwid")},{value:"fadeInLeft",label:Object(a.__)("Fade In Left","getwid")},{value:"fadeInLeftShort",label:Object(a.__)("Fade In Left Short","getwid")},{value:"fadeInLeftBig",label:Object(a.__)("Fade In Left Big","getwid")},{value:"fadeInRight",label:Object(a.__)("Fade In Right","getwid")},{value:"fadeInRightShort",label:Object(a.__)("Fade In Right Short","getwid")},{value:"fadeInRightBig",label:Object(a.__)("Fade In Right Big","getwid")},{value:"fadeInUp",label:Object(a.__)("Fade In Up","getwid")},{value:"fadeInUpShort",label:Object(a.__)("Fade In Up Short","getwid")},{value:"fadeInUpBig",label:Object(a.__)("Fade In Up Big","getwid")},{value:"flipInX",label:Object(a.__)("Flip In X","getwid")},{value:"flipInY",label:Object(a.__)("Flip In Y","getwid")},{value:"lightSpeedIn",label:Object(a.__)("Light Speed In","getwid")},{value:"lightSpeedInShort",label:Object(a.__)("Light Speed In Short","getwid")},{value:"rotateIn",label:Object(a.__)("Rotate In","getwid")},{value:"rotateInDownLeft",label:Object(a.__)("Rotate In Down Left","getwid")},{value:"rotateInDownRight",label:Object(a.__)("Rotate In Down Right","getwid")},{value:"rotateInUpLeft",label:Object(a.__)("Rotate In Up Left","getwid")},{value:"rotateInUpRight",label:Object(a.__)("Rotate In Up Right","getwid")},{value:"zoomIn",label:Object(a.__)("Zoom In","getwid")},{value:"zoomInDown",label:Object(a.__)("Zoom In Down","getwid")},{value:"zoomInLeft",label:Object(a.__)("Zoom In Left","getwid")},{value:"zoomInRight",label:Object(a.__)("Zoom In Right","getwid")},{value:"zoomInUp",label:Object(a.__)("Zoom In Up","getwid")},{value:"slideInDown",label:Object(a.__)("Slide In Down","getwid")},{value:"slideInDownShort",label:Object(a.__)("Slide In Down Short","getwid")},{value:"slideInLeft",label:Object(a.__)("Slide In Left","getwid")},{value:"slideInLeftShort",label:Object(a.__)("Slide In Left Short","getwid")},{value:"slideInRight",label:Object(a.__)("Slide In Right","getwid")},{value:"slideInRightShort",label:Object(a.__)("Slide In Right Short","getwid")},{value:"slideInUp",label:Object(a.__)("Slide In Up","getwid")},{value:"slideInUpShort",label:Object(a.__)("Slide In Up Short","getwid")},{value:"rollIn",label:Object(a.__)("Roll In","getwid")}],d=[{value:"bounceOut",label:Object(a.__)("Bounce Out","getwid")},{value:"bounceOutDown",label:Object(a.__)("Bounce Out Down","getwid")},{value:"bounceOutLeft",label:Object(a.__)("Bounce Out Left","getwid")},{value:"bounceOutRight",label:Object(a.__)("Bounce Out Right","getwid")},{value:"bounceOutUp",label:Object(a.__)("Bounce Out Up","getwid")},{value:"fadeOut",label:Object(a.__)("Fade Out","getwid")},{value:"fadeOutDown",label:Object(a.__)("Fade Out Down","getwid")},{value:"fadeOutDownBig",label:Object(a.__)("Fade Out Down Big","getwid")},{value:"fadeOutLeft",label:Object(a.__)("Fade Out Left","getwid")},{value:"fadeOutLeftBig",label:Object(a.__)("Fade Out Left Big","getwid")},{value:"fadeOutRight",label:Object(a.__)("Fade Out Right","getwid")},{value:"fadeOutRightBig",label:Object(a.__)("Fade Out Right Big","getwid")},{value:"fadeOutUp",label:Object(a.__)("Fade Out Up","getwid")},{value:"fadeOutUpBig",label:Object(a.__)("Fade Out Up Big","getwid")},{value:"flipOutX",label:Object(a.__)("Flip Out X","getwid")},{value:"flipOutY",label:Object(a.__)("Flip Out Y","getwid")},{value:"lightSpeedOut",label:Object(a.__)("Light Speed Out","getwid")},{value:"rotateOut",label:Object(a.__)("Rotate Out","getwid")},{value:"rotateOutDownLeft",label:Object(a.__)("Rotate Out Down Left","getwid")},{value:"rotateOutDownRight",label:Object(a.__)("Rotate Out Down Right","getwid")},{value:"rotateOutUpLeft",label:Object(a.__)("Rotate Out Up Left","getwid")},{value:"rotateOutUpRight",label:Object(a.__)("Rotate Out Up Right","getwid")},{value:"zoomOut",label:Object(a.__)("Zoom Out","getwid")},{value:"zoomOutDown",label:Object(a.__)("Zoom Out Down","getwid")},{value:"zoomOutLeft",label:Object(a.__)("Zoom Out Left","getwid")},{value:"zoomOutRight",label:Object(a.__)("Zoom Out Right","getwid")},{value:"zoomOutUp",label:Object(a.__)("Zoom Out Up","getwid")},{value:"slideOutDown",label:Object(a.__)("Slide Out Down","getwid")},{value:"slideOutLeft",label:Object(a.__)("Slide Out Left","getwid")},{value:"slideOutRight",label:Object(a.__)("Slide Out Right","getwid")},{value:"slideOutUp",label:Object(a.__)("Slide Out Up","getwid")},{value:"heartBeat",label:Object(a.__)("Heart Beat","getwid")},{value:"hinge",label:Object(a.__)("Hinge","getwid")},{value:"rollOut",label:Object(a.__)("Roll Out","getwid")}],m=[{value:"bounce",label:Object(a.__)("Bounce","getwid")},{value:"flash",label:Object(a.__)("Flash","getwid")},{value:"pulse",label:Object(a.__)("Pulse","getwid")},{value:"rubberBand",label:Object(a.__)("Rubber Band","getwid")},{value:"shake",label:Object(a.__)("Shake","getwid")},{value:"headShake",label:Object(a.__)("Head Shake","getwid")},{value:"swing",label:Object(a.__)("Swing","getwid")},{value:"tada",label:Object(a.__)("Tada","getwid")},{value:"wobble",label:Object(a.__)("Wobble","getwid")},{value:"jello",label:Object(a.__)("Jello","getwid")},{value:"jackInTheBox",label:Object(a.__)("Jack In The Box","getwid")}],g=[{value:"slideTop",label:Object(a.__)("Slide Top","getwid")},{value:"slideBottom",label:Object(a.__)("Slide Bottom","getwid")},{value:"slideLeft",label:Object(a.__)("Slide Left","getwid")},{value:"slideRight",label:Object(a.__)("Slide Right","getwid")},{value:"zoomSmall",label:Object(a.__)("Zoom Small","getwid")},{value:"zoomBig",label:Object(a.__)("Zoom Big","getwid")}];return s.includes("Entrance")&&(u=[].concat(i()(u),p)),s.includes("Exit")&&(u=[].concat(i()(u),d)),s.includes("Seeker")&&(u=[].concat(i()(u),m)),s.includes("Icon")&&(u=[].concat(i()(u),g)),wp.element.createElement(c,{label:n,help:r,value:o,onChange:t,options:u})}t.a=r;var o=n(15),i=n.n(o),a=(n(0),n(1)),l=(n.n(a),window),c=(l.jQuery,wp.components.SelectControl)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return h});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(99)),f=wp.element,b=f.Component,w=f.Fragment,h=(f.RawHTML,function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.dividerTop,r=t.dividersTopHeight,o=t.dividerTopColor,i=t.dividerBottom,a=t.dividersBottomHeight,l=t.dividerBottomColor,c=e.baseClass;return wp.element.createElement(w,null,n&&wp.element.createElement("div",{className:"".concat(c,"__divider is-top-divider")},this.renderSVG(n,o,r)),i&&wp.element.createElement("div",{className:"".concat(c,"__divider is-bottom-divider")},this.renderSVG(i,l,a)))}},{key:"renderSVG",value:function(e,t,n){return void 0===t&&(t="white"),g.a.hasOwnProperty(e)?g.a[e](t,n):""}}]),t}(b))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"b",function(){return _}),n.d(t,"a",function(){return k});var o=n(103),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=window,y=v.jQuery,_=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.sliderImages,n=e.sliderAnimationEffect,r=e.sliderAnimationDuration,o=e.sliderAnimationSpeed,i=this.props.baseClass;return wp.element.createElement(h,null,wp.element.createElement("div",{className:"".concat(i,"__background-slider"),"data-autoplay":"true","data-autoplay-speed":o,"data-slide-effect":n,"data-slide-speed":r,"data-infinite":"true"},t.map(function(e){return wp.element.createElement("div",{className:"".concat(i,"__background-slider-item"),key:e.id||e.url},wp.element.createElement("img",{src:e.url,className:e.id?"wp-image-".concat(e.id):null,alt:e.alt,"data-id":e.id}))})))}}]),t}(w),k=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){return this.destroySlider(),i()(f()(t.prototype),"render",this).call(this)}},{key:"destroySlider",value:function(){var e=this.props.clientId,t=y("#block-".concat(e," .").concat(this.props.baseClass,"__background-slider")).first();t.hasClass("slick-initialized")&&t.slick("unslick")}},{key:"initSlider",value:function(){var e=this.props.attributes,t=e.sliderAnimationEffect,n=e.sliderAnimationDuration,r=e.sliderAnimationSpeed,o=this.props.clientId;y("#block-".concat(o," .").concat(this.props.baseClass,"__background-slider")).first().slick({rows:0,slidesToShow:1,slidesToScroll:1,autoplay:!0,infinite:!0,arrows:!1,dots:!1,fade:"fade"===t,autoplaySpeed:r?parseInt(r):100,speed:n?parseInt(n):100})}},{key:"componentDidMount",value:function(){this.initSlider()}},{key:"componentDidUpdate",value:function(){this.initSlider()}},{key:"componentWillUnmount",value:function(){this.destroySlider()}}]),t}(_)},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(31),i=n(30),a=n(32);e.exports=r},function(e,t){!function(){e.exports=window.ReactDOM}()},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return v});var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.backgroundVideoUrl,r=(t.backgroundVideoMute,t.backgroundVideoLoop),o=(t.backgroundVideoAutoplay,t.backgroundVideoPoster),a=e.baseClass,l={autoPlay:this.props.videoAutoplay,muted:this.props.videoMute,loop:r,poster:o||void 0};return wp.element.createElement(h,null,n.url&&wp.element.createElement("video",i()({className:"".concat(a,"__background-video source-media-library")},l,{ref:this.props.videoElemRef,onEnded:this.props.onVideoEnd}),wp.element.createElement("source",{src:n.url,type:"video/mp4"})))}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(){}}]),t}(w)},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.exports=n},function(e,t){function n(e){throw new Error('"'+e+'" is read-only')}e.exports=n},function(e,t,n){"use strict";var r=(n(35),n(36),n(21)),o=(n.n(r),n(10));n.n(o);n.o(r,"createContext")&&n.d(t,"c",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"d",function(){return r.createElement}),n.o(r,"Fragment")&&n.d(t,"a",function(){return r.Fragment}),n.o(r,"StrictMode")&&n.d(t,"b",function(){return r.StrictMode})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Object(o.a)(e,t,n[t])})}return e}t.a=r;var o=n(89)},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}t.a=r;var o=n(90)},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__item",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"img",attribute:"data-original-link"},link:{source:"attribute",selector:"img",attribute:"data-link"},custom_link:{source:"attribute",selector:"img",attribute:"data-custom-link"},custom_link_target:{source:"attribute",selector:"img",attribute:"data-link-target"},custom_link_rel:{source:"attribute",selector:"img",attribute:"data-link-rel"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},imageCrop:{type:"boolean",default:!0},showCaption:{type:"boolean",default:!1},captionStyle:{type:"string",default:"light"},captionPosition:{type:"string",default:"bottom-center"},linkTo:{type:"string",default:"none"},imageAlignment:{type:"string",default:"center"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-effect",default:"slide"},sliderSlidesToShow:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show",default:"1"},sliderSlidesToShowLaptop:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-laptop",default:"1"},sliderSlidesToShowTablet:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-tablet",default:"1"},sliderSlidesToShowMobile:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-mobile",default:"1"},sliderSlidesToScroll:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-scroll",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-autoplay-speed",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-animation-speed",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderVariableWidth:{type:"boolean",default:!1},sliderSpacing:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-spacing",default:"none"},sliderArrows:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-arrows",default:"inside"},sliderDots:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-dots",default:"inside"},slideHeight:{type:"string"},resetHeightOnTablet:{type:"bool"},resetHeightOnMobile:{type:"bool"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(344)),w=(n.n(b),n(345)),h=n(10),v=(n.n(h),n(8)),y=n.n(v),_=n(1),k=(n.n(_),window),O=(k.jQuery,wp.element),E=O.Component,C=O.Fragment,j=(wp.compose.withInstanceId,wp.apiFetch),S=wp.url.addQueryArgs,x=wp.components,P=x.SelectControl,T=x.RangeControl,R=x.RadioControl,N=x.ToggleControl,A=x.Spinner,M=x.TextControl,B=x.PanelBody,D=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.firstCheckTaxonomy=!0,e.firstCheckTerms=!0,e.state={postTypeList:null,taxonomyList:null,termsList:null},e}p()(t,e);var n=r(t);return s()(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.waitLoadPostTypes=!0,this.fetchRequest=j({path:S("/wp/v2/types")}).then(function(t){e.waitLoadPostTypes=!1,e.isStillMounted&&e.setState({postTypeList:t})}).catch(function(){e.waitLoadPostTypes=!1})}},{key:"getTaxonomyFromCustomPostType",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTaxonomy=!0,this.firstCheckTaxonomy=!1,this.fetchRequest=j({path:S("/getwid/v1/taxonomies",{post_type_name:e})}).then(function(e){t.waitLoadTaxonomy=!1,t.isStillMounted&&Array.isArray(e)&&e.length?t.setState({taxonomyList:e}):t.setState({taxonomyList:null})}).catch(function(){t.waitLoadTaxonomy=!1}))}},{key:"getTermsFromTaxonomy",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTerms=!0,this.firstCheckTerms=!1,this.fetchRequest=j({path:S("/getwid/v1/terms",{taxonomy_name:e})}).then(function(e){t.waitLoadTerms=!1,t.isStillMounted&&e instanceof Object&&!Object(h.isEmpty)(e)?t.setState({termsList:e}):t.setState({termsList:null})}).catch(function(){t.waitLoadTerms=!1}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t="components-getwid-custom-query-control",n=[];if(this.state.postTypeList)for(var r in this.state.postTypeList)if(!["attachment","wp_block","getwid_template_part","getwid_template"].includes(r)){var o={};o.value=this.state.postTypeList[r].slug,o.label=this.state.postTypeList[r].name,n.push(o)}return wp.element.createElement("div",{className:y()("components-base-control",t)},function(){return null==e.state.taxonomyList&&e.props.values.postType&&e.firstCheckTaxonomy&&e.getTaxonomyFromCustomPostType(e.props.values.postType),wp.element.createElement(C,null,e.waitLoadPostTypes?wp.element.createElement(A,null):void 0,wp.element.createElement(P,{label:Object(_.__)("Choose what to display","getwid"),className:["".concat(t,"__post-type")],value:e.props.values.postType?e.props.values.postType:"",onChange:function(t){e.setState({taxonomyList:null,termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("postType")?e.props.onChangeCallback(t,"postType"):""==t?e.props.setValues({postType:void 0,taxonomy:void 0,terms:void 0}):e.props.setValues({postType:t,taxonomy:void 0,terms:void 0}),e.getTaxonomyFromCustomPostType(t)},options:i()(n||[{value:"",label:"-"}]),disabled:null==e.state.postTypeList}))}(),wp.element.createElement(T,{label:this.props.options&&this.props.options.includes("page")&&this.props.values.pagination?Object(_.__)("Number of items per page","getwid"):Object(_.__)("Number of items","getwid"),value:this.props.values.postsToShow,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postsToShow")?e.props.onChangeCallback(t,"postsToShow"):e.props.setValues({postsToShow:t})},min:-1,max:100,step:1}),wp.element.createElement(T,{label:Object(_.__)("Number of posts to pass over","getwid"),value:this.props.values.offset,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("offset")?e.props.onChangeCallback(t,"offset"):e.props.setValues({offset:t})},min:0,max:100,step:1}),function(){if(e.props.options&&e.props.options.includes("page"))return wp.element.createElement(C,null,wp.element.createElement(N,{label:Object(_.__)("Use pagination","getwid"),checked:!!e.props.values.pagination&&e.props.values.pagination,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("pagination")?e.props.onChangeCallback(t,"pagination"):e.props.setValues({pagination:!e.props.values.pagination})}}))}(),wp.element.createElement(B,{title:Object(_.__)("Sorting and Filtering","getwid"),initialOpen:!1},wp.element.createElement(P,{label:Object(_.__)("Order","getwid"),className:["".concat(t,"__order")],value:this.props.values.order?this.props.values.order:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("order")?e.props.onChangeCallback(t,"order"):e.props.setValues({order:t})},options:[{value:"desc",label:Object(_.__)("Z → A, 9 → 1","getwid")},{value:"asc",label:Object(_.__)("A → Z, 1 → 9","getwid")}]}),wp.element.createElement(P,{label:Object(_.__)("Order by","getwid"),className:["".concat(t,"__order-by")],value:this.props.values.orderBy?this.props.values.orderBy:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("orderBy")?e.props.onChangeCallback(t,"orderBy"):e.props.setValues({orderBy:t})},options:[{value:"title",label:Object(_.__)("Title","getwid")},{value:"date",label:Object(_.__)("Date","getwid")},{value:"rand",label:Object(_.__)("Random","getwid")},{value:"author",label:Object(_.__)("Author","getwid")},{value:"modified",label:Object(_.__)("Last modified date","getwid")},{value:"menu_order",label:Object(_.__)("Menu order","getwid")}]}),"page"!=this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("sticky"))return wp.element.createElement(C,null,wp.element.createElement(N,{label:Object(_.__)("Ignore Sticky posts","getwid"),checked:!!e.props.values.ignoreSticky&&e.props.values.ignoreSticky,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("ignoreSticky")?e.props.onChangeCallback(t,"ignoreSticky"):e.props.setValues({ignoreSticky:!e.props.values.ignoreSticky})}}))}(),wp.element.createElement(M,{label:Object(_.__)("Display only the specific posts","getwid"),help:Object(_.__)("Comma-separated IDs","getwid"),value:this.props.values.filterById?this.props.values.filterById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("filterById")?e.props.onChangeCallback(t,"filterById"):e.props.setValues({filterById:t})}}),wp.element.createElement(M,{label:Object(_.__)("Display all posts but NOT the specified ones","getwid"),help:Object(_.__)("Comma-separated IDs","getwid"),value:this.props.values.excludeById?this.props.values.excludeById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeById")?e.props.onChangeCallback(t,"excludeById"):e.props.setValues({excludeById:t})}}),wp.element.createElement(N,{label:Object(_.__)("Exclude Current Post","getwid"),checked:!!this.props.values.excludeCurrentPost&&this.props.values.excludeCurrentPost,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeCurrentPost")?e.props.onChangeCallback(t,"excludeCurrentPost"):e.props.setValues({excludeCurrentPost:!e.props.values.excludeCurrentPost})}}),"page"==this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("parentFilter"))return wp.element.createElement(C,null,wp.element.createElement(N,{label:Object(_.__)("Display child pages of current page","getwid"),checked:!!e.props.values.childPagesCurrentPage&&e.props.values.childPagesCurrentPage,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("childPagesCurrentPage")?e.props.onChangeCallback(t,"childPagesCurrentPage"):e.props.setValues({childPagesCurrentPage:!e.props.values.childPagesCurrentPage})}}),0==e.props.values.childPagesCurrentPage&&wp.element.createElement(M,{label:Object(_.__)("Enter page ID to display its child pages","getwid"),help:Object(_.__)("Parent page ID","getwid"),value:e.props.values.parentPageId?e.props.values.parentPageId:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("parentPageId")?e.props.onChangeCallback(t,"parentPageId"):e.props.setValues({parentPageId:t})}}))}(),"page"!=this.props.values.postType&&function(){return null==e.state.termsList&&e.props.values.taxonomy&&e.firstCheckTerms&&e.getTermsFromTaxonomy(e.props.values.taxonomy),wp.element.createElement(C,null,e.waitLoadTaxonomy?wp.element.createElement(A,null):void 0,wp.element.createElement(P,{label:Object(_.__)("Taxonomies","getwid"),help:Object(_.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__taxonomy")],value:e.props.values.taxonomy?e.props.values.taxonomy:"",onChange:function(t){e.setState({termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("taxonomy")?e.props.onChangeCallback(t,"taxonomy"):""==t?e.props.setValues({taxonomy:void 0,terms:void 0}):e.props.setValues({taxonomy:t,terms:void 0}),e.getTermsFromTaxonomy(t)},multiple:!0,size:5,options:e.state.taxonomyList?e.state.taxonomyList:[{value:"",label:""}],disabled:null==e.state.taxonomyList}))}(),"page"!=this.props.values.postType&&function(){return wp.element.createElement(C,null,e.waitLoadTerms?wp.element.createElement(A,null):void 0,wp.element.createElement(w.a,{label:Object(_.__)("Terms","getwid"),help:Object(_.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__terms")],multiple:!0,groups:!0,size:5,value:e.props.values.terms?e.props.values.terms:[],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("terms")?e.props.onChangeCallback(t,"terms"):t.length?e.props.setValues({terms:t}):e.props.setValues({terms:void 0})},options:e.state.termsList?e.state.termsList:{"":{group_name:"",group_value:[{value:"",label:""}]}},disabled:null==e.state.termsList}))}(),"page"!=this.props.values.postType&&wp.element.createElement(R,{label:Object(_.__)("Terms Relation","getwid"),selected:this.props.values.relation?this.props.values.relation:"",options:[{value:"AND",label:Object(_.__)("Item should have all of selected terms.","getwid")},{value:"OR",label:Object(_.__)("Item should have at least one of selected terms.","getwid")}],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("relation")?e.props.onChangeCallback(t,"relation"):e.props.setValues({relation:t})}})))}}]),t}(E);t.a=D},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(349)),w=(n.n(b),n(8)),h=n.n(w),v=n(1),y=(n.n(v),window),_=(y.jQuery,wp.element),k=_.Component,O=_.Fragment,E=wp.apiFetch,C=wp.url.addQueryArgs,j=wp.components,S=j.SelectControl,x=j.BaseControl,P=j.ButtonGroup,T=j.Button,R=j.Spinner,N=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.state={postTemplates:null,waitLoadTemplates:!1},e}p()(t,e);var n=r(t);return s()(t,[{key:"componentWillMount",value:function(){this.isStillMounted=!0,this.updateTemplates()}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"updateTemplates",value:function(){var e=this;this.fetchRequest=E({path:C("/getwid/v1/templates",{template_name:"getwid_template_part"})}).then(function(t){e.waitLoadTemplates=!1,e.isStillMounted&&t instanceof Object?e.setState({postTemplates:t,waitLoadTemplates:!1}):e.setState({postTemplates:null,waitLoadTemplates:!1})}).catch(function(){e.setState({waitLoadTemplates:!1})})}},{key:"resetTemplates",value:function(){this.props.setValues({postTemplate:null})}},{key:"render",value:function(){var e=this,t=[];this.state.postTemplates&&(t=this.state.postTemplates);return wp.element.createElement("div",{className:h()("components-base-control","components-getwid-custom-post-template-control")},function(){return wp.element.createElement(O,null,e.state.waitLoadTemplates?wp.element.createElement(R,null):void 0,wp.element.createElement(S,{label:Object(v.__)("Post Template","getwid"),className:["".concat("components-getwid-custom-post-template-control","__post-template")],value:e.props.values.postTemplate?e.props.values.postTemplate:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postTemplate")?e.props.onChangeCallback(t,"postTemplate"):e.props.setValues({postTemplate:t})},options:[{value:"",label:"Default"}].concat(i()(t||[]))}),wp.element.createElement(P,null,e.props.values.postTemplate&&wp.element.createElement("a",{href:"".concat(Getwid.templates.edit).concat(e.props.values.postTemplate,"&action=edit"),className:"components-button is-button is-default",target:"_blank"},Object(v.__)("Edit","getwid")),wp.element.createElement("a",{href:Getwid.templates.new,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("New","getwid")),wp.element.createElement("a",{href:Getwid.templates.view,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("View All","getwid")),wp.element.createElement(T,{isDefault:!0,onClick:function(t){e.setState({waitLoadTemplates:!0}),e.updateTemplates()}},Object(v.__)("Update","getwid"))),e.props.values.postTemplate&&wp.element.createElement(x,null,wp.element.createElement(T,{isLink:!0,onClick:function(t){e.resetTemplates()}},Object(v.__)("Reset to default","getwid"))))}())}}]),t}(k);t.a=N},function(e,t,n){"use strict";function r(e){var t=e.children,n=Object(i.a)(e,["children"]);return Object(a.d)("div",Object(o.a)({dangerouslySetInnerHTML:{__html:t}},n))}t.a=r;var o=n(35),i=n(36),a=n(34)},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradient:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string"},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},foregroundGradient:{type:"string"},foregroundGradientFirstColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColor:{type:"string"},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientType:{type:"string"},foregroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundCustomImagePosition:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoType:{type:"string",default:"self"},youTubeVideoUrl:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-url"},youTubeVideoScale:{type:"string",default:"medium"},youTubeVideoMute:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-muted",default:"false"},youTubeVideoLoop:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-loop",default:"false"},youTubeVideoAutoplay:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-autoplay",default:"false"},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundCustomImagePosition:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t){var n={};n.parse=function(){function e(e){var t=new Error(N+": "+e);throw t.source=N,t}function t(){var t=n();return N.length>0&&e("Invalid input not EOF"),t}function n(){return w(r)}function r(){return o("linear-gradient",R.linearGradient,a)||o("repeating-linear-gradient",R.repeatingLinearGradient,a)||o("radial-gradient",R.radialGradient,s)||o("repeating-radial-gradient",R.repeatingRadialGradient,s)}function o(t,n,r){return i(n,function(n){var o=r();return o&&(P(R.comma)||e("Missing comma before color stops")),{type:t,orientation:o,colorStops:w(h)}})}function i(t,n){var r=P(t);if(r)return P(R.startCall)||e("Missing ("),result=n(r),P(R.endCall)||e("Missing )"),result}function a(){return l()||c()}function l(){return x("directional",R.sideOrCorner,1)}function c(){return x("angular",R.angleValue,1)}function s(){var e,t,n=u();return n&&(e=[],e.push(n),t=N,P(R.comma)&&(n=u(),n?e.push(n):N=t)),e}function u(){var e=p()||d();if(e)e.at=g();else{var t=f();t&&(e={type:"default-radial",at:t})}return e}function p(){var e=x("shape",/^(circle)/i,0);return e&&(e.style=S()||m()),e}function d(){var e=x("shape",/^(ellipse)/i,0);return e&&(e.style=C()||m()),e}function m(){return x("extent-keyword",R.extentKeywords,1)}function g(){if(x("position",/^at/,0)){var t=f();return t||e("Missing positioning value"),t}}function f(){var e=b();if(e.x||e.y)return{type:"position",value:e}}function b(){return{x:C(),y:C()}}function w(t){var n=t(),r=[];if(n)for(r.push(n);P(R.comma);)n=t(),n?r.push(n):e("One extra comma");return r}function h(){var t=v();return t||e("Expected color definition"),t.length=C(),t}function v(){return _()||O()||k()||y()}function y(){return x("literal",R.literalColor,0)}function _(){return x("hex",R.hexColor,1)}function k(){return i(R.rgbColor,function(){return{type:"rgb",value:w(E)}})}function O(){return i(R.rgbaColor,function(){return{type:"rgba",value:w(E)}})}function E(){return P(R.number)[1]}function C(){return x("%",R.percentageValue,1)||j()||S()}function j(){return x("position-keyword",R.positionKeywords,1)}function S(){return x("px",R.pixelValue,1)||x("em",R.emValue,1)}function x(e,t,n){var r=P(t);if(r)return{type:e,value:r[n]}}function P(e){var t,n;return n=/^[\n\r\t\s]+/.exec(N),n&&T(n[0].length),t=e.exec(N),t&&T(t[0].length),t}function T(e){N=N.substr(e)}var R={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},N="";return function(e){return N=e.toString(),t()}}(),t.parse=(n||{}).parse},function(e,t){function n(e){var t=e.split("");return t.shift(),t.join("")}function r(e){return e.split("").reduce(function(e,t){return e.concat([t,t])},[]).join("")}e.exports=function(e){e.charAt&&"#"===e.charAt(0)&&(e=n(e)),3===e.length&&(e=r(e));var t=parseInt(e,16);return[t>>16&255,t>>8&255,255&t]}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(107)),v=(n.n(h),n(8)),y=n.n(v),_=wp.element,k=_.Component,O=_.Fragment,E=_.forwardRef,C=wp.components,j=C.Button,S=C.SVG,x=C.Path,P=C.G,T=function(e){function t(e){var r;return l()(this,t),r=n.apply(this,arguments),r.state={opened:void 0===e.initialOpen||e.initialOpen,onOpen:void 0===e.onOpen?void 0:e.onOpen,onClose:void 0===e.onClose?void 0:e.onClose},r.toggle=r.toggle.bind(p()(r)),r}m()(t,e);var n=r(t);return s()(t,[{key:"toggle",value:function(e){e.preventDefault(),this.state.opened?void 0!==this.state.onClose&&this.state.onClose():void 0!==this.state.onOpen&&this.state.onOpen(),void 0===this.props.opened&&this.setState(function(e){return{opened:!e.opened}}),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,l=e.hints,c=void 0===r?this.state.opened:r,s=y()("components-panel__body","components-getwid-panel-body",o,{"is-opened":c});return wp.element.createElement("div",{className:s,ref:a},!!t&&wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement(j,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":c},wp.element.createElement("span",{"aria-hidden":"true"},c?wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),l?c?t:wp.element.createElement(O,null,wp.element.createElement("span",null,t),wp.element.createElement("div",{className:"components-getwid-panel-body-row"},l.map(function(e,t){return wp.element.createElement("div",{className:"components-getwid-panel-body-columns"},wp.element.createElement("span",null,""!=e.value&&e.label," "),""!=e.value&&e.value)}))):t,i&&wp.element.createElement(Icon,{icon:i,className:"components-panel__icon",size:20}))),c&&n)}}]),t}(k),R=function(e,t){return wp.element.createElement(T,i()({},e,{forwardedRef:t}))};R.displayName="PanelBody",t.a=E(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(23)),c=r(n(21)),s=r(n(28)),u=n(46),p=(n(47),"unmounted");t.UNMOUNTED=p;var d="exited";t.EXITED=d;var m="entering";t.ENTERING=m;var g="entered";t.ENTERED=g;t.EXITING="exiting";var f=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=m):o=g:o=t.unmountOnExit||t.mountOnEnter?p:d,r.state={status:o},r.nextCallback=null,r}i(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=s.default.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;if(!t&&!r)return void this.safeSetState({status:g},function(){n.props.onEntered(e)});this.props.onEnter(e,o),this.safeSetState({status:m},function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,function(){n.safeSetState({status:g},function(){n.props.onEntered(e,o)})})})},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:d},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;if(!e||r)return void setTimeout(this.nextCallback,0);this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=o(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var i=c.default.Children.only(n);return c.default.cloneElement(i,r)},t}(c.default.Component);f.contextTypes={transitionGroup:l.object},f.childContextTypes={transitionGroup:function(){}},f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:a,onEntering:a,onEntered:a,onExit:a,onExiting:a,onExited:a},f.UNMOUNTED=0,f.EXITED=1,f.ENTERING=2,f.ENTERED=3,f.EXITING=4;var b=(0,u.polyfill)(f);t.default=b},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==l){var c=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;!function(e){e&&e.__esModule}(n(23));t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var c=r(n(23)),s=r(n(21)),u=n(46),p=n(118),d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m={component:"div",childFactory:function(e){return e}},g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o=r.handleExited.bind(l(l(r)));return r.state={handleExited:o,firstRender:!0},r}a(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0,this.mounted=!0},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,r):(0,p.getNextChildMapping)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=i({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=d(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:s.default.createElement(t,r,i)},t}(s.default.Component);g.childContextTypes={transitionGroup:c.default.object.isRequired},g.propTypes={},g.defaultProps=m;var f=(0,u.polyfill)(g);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}n.d(t,"a",function(){return H});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(1)),O=(n.n(k),n(142)),E=n.n(O),C=n(8),j=n.n(C),S=n(10),x=(n.n(S),n(143)),P=n(144),T=(n.n(P),wp.components.IconButton),R=wp.element,N=R.Component,A=R.Fragment,M=R.createContext,B=wp.blockEditor||wp.editor,D=B.InnerBlocks,I=B.RichText,L=window,z=L.jQuery,V=M(),H=V.Consumer,F=V.Provider,W=["getwid/media-text-slider-slide"],G=E()(function(e){return Object(S.times)(e,function(e){return["getwid/media-text-slider-slide",{slideId:++e}]})}),U=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(f()(e)),e.addNewSlide=e.addNewSlide.bind(f()(e)),e.getState=e.getState.bind(f()(e)),e.updateContentAttributes=e.updateContentAttributes.bind(f()(e)),e.setInnerBlocksAttributes=e.setInnerBlocksAttributes.bind(f()(e)),e.state={currentSlide:1,selectedSlide:0,isLockedPaddings:!1},e}w()(t,e);var n=i(t);return m()(t,[{key:"changeState",value:function(e,t){this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"setInnerBlocksAttributes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mount",t=arguments.length>1?arguments[1]:void 0,n=(arguments.length>2&&arguments[2],window.wp.data),r=n.select,o=n.dispatch,i=this.props.attributes,a=i.paddingRight,l=i.textColor,c=i.overlayColor,s=i.overlayOpacity,u=i.imageSize,p=this.props.attributes,d=p.contentMaxWidth,m=p.minHeight,g=p.verticalAlign,f=p.horizontalAlign,b=p.paddingTop,w=p.paddingBottom,h=p.paddingLeft,v={attributes:{contentMaxWidth:d,minHeight:m,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:a,textColor:l,overlayColor:c,overlayOpacity:s,imageSize:u}};if("Update"!=e||!Object(S.isEqual)(this.props.attributes,t.attributes)){var y,_=r("core/editor"),k=_.getBlock,O=k(this.props.clientId);O&&(y=O.innerBlocks),y&&y.length&&jQuery.each(y,function(t,n){("Mount"==e&&Object(S.isEmpty)(n.attributes.outerParent)||"Update"==e)&&(o("core/editor").updateBlockAttributes(n.clientId,{outerParent:v}),void 0!==n.clientId&&n.innerBlocks.length&&o("core/editor").updateBlockAttributes(n.innerBlocks[0].clientId,{innerParent:v}))})}}},{key:"updateContentAttributes",value:function(e){var t=window.wp.data,n=t.dispatch,r=t.select,o=this.props.clientId,i=r("core/editor").getBlock(o).innerBlocks,a=this.props.attributes,l=a.contentMaxWidth,c=a.minHeight,s=a.textColor,u=a.overlayColor,p=a.overlayOpacity,d=a.imageSize,m=this.props.attributes,g=m.verticalAlign,f=m.horizontalAlign,b=m.paddingTop,w=m.paddingBottom,h=m.paddingLeft,v=m.paddingRight,y={attributes:{contentMaxWidth:l,minHeight:c,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:v,textColor:s,overlayColor:u,overlayOpacity:p,imageSize:d}};z.each(i,function(t,r){Object(S.isEqual)(e,r.innerBlocks[0].clientId)&&n("core/editor").updateBlockAttributes(e,{innerParent:y})})}},{key:"addNewSlide",value:function(e){var t=this.props.setAttributes,n=this.props.attributes.sliderArrays,r=JSON.parse(n),o=this.changeState,i=this.getState;if(r.length<e){var a=Math.abs(e-r.length);Object(S.times)(a,function(t){var n=e-t;r.push(sprintf(Object(k.__)("Slide %d","getwid"),n))}),t({sliderArrays:JSON.stringify(r),slideCount:e})}else e-1<i("selectedSlide")&&(o("selectedSlide",e-1),o("currentSlide",e)),t({sliderArrays:JSON.stringify(r.slice(0,e)),slideCount:e})}},{key:"componentDidMount",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.sliderArrows,r=t.sliderDots;n&&r||e({sliderArrows:"outside",sliderDots:"outside"}),this.setInnerBlocksAttributes("Mount")}},{key:"componentDidUpdate",value:function(e,t){this.setInnerBlocksAttributes("Update",e,t)}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props.attributes,a=i.slideCount,c=i.align,u=i.sliderArrays,p=this.props,d=p.className,m=p.baseClass,g=JSON.parse(u),f=j()(d,(e={},s()(e,"".concat(m,"--current-slide-").concat(r("currentSlide")),!0),s()(e,"alignfull","full"===c),s()(e,"alignwide","wide"===c),e)),b=function(e,n){var r=t.props.setAttributes,o=JSON.parse(u);o[n]=e,r({sliderArrays:JSON.stringify(o)})},w=function(e){if(void 0!==g[e])return wp.element.createElement(A,null,wp.element.createElement("li",{className:"".concat(m,"__title-wrapper ").concat(m,"__title-wrapper-").concat(e," ").concat(m,"__title-wrapper--").concat(1+e===r("currentSlide")?"active":"inactive")},wp.element.createElement("span",{className:"".concat(m,"__title ").concat(m,"__title-").concat(1+e),onClick:function(){n("currentSlide",1+e),n("selectedSlide",e)}},wp.element.createElement(I,{tagName:"div",className:"".concat(m,"__title_text"),placeholder:Object(k.__)("Slide","getwid"),value:g[e]?void 0!==g[e].text?g[e].text:g[e]:Object(k.__)("Slide","getwid"),unstableOnFocus:function(){return n("currentSlide",1+e)},onChange:function(t){b(t,e)},allowedFormats:U}))))},h=this.addNewSlide,v=this.state.isLockedPaddings;return wp.element.createElement(A,null,wp.element.createElement(x.a,l()({},o(o({},this.props),{},{isLockedPaddings:v,changeState:n,addNewSlide:h,getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"".concat(m,"__slides-wrapper")},wp.element.createElement("ul",{className:"".concat(m,"__titles")},wp.element.createElement(A,null,Object(S.times)(a,function(e){return w(e)}),wp.element.createElement("li",{className:"".concat(m,"__add-item")},wp.element.createElement(T,{icon:"insert",onClick:function(){return h(a+1)},label:Object(k.__)("Add Item","getwid")})))),wp.element.createElement("div",{className:"".concat(m,"__content")},wp.element.createElement(F,{value:this},wp.element.createElement(D,{template:G(a),templateLock:"all",templateInsertUpdatesSelection:!1,allowedBlocks:W}))))))}}]),t}(N);t.b=q},function(e,t,n){"use strict";var r={slideCount:{type:"number",default:3},imageSize:{type:"string",default:"full"},align:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},verticalAlign:{type:"string"},horizontalAlign:{type:"string"},paddingTop:{type:"string"},paddingBottom:{type:"string"},paddingLeft:{type:"string"},paddingRight:{type:"string"},textColor:{type:"string"},overlayColor:{type:"string"},overlayOpacity:{type:"number",default:"30"},contentAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-animation",default:"fadeIn"},contentAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-duration",default:"1500ms"},contentAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-delay",default:"0ms"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-effect"},sliderAutoplay:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-autoplay-speed",default:5e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"slide-speed",default:1e3},sliderArrays:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-labels",default:'["Slide 1","Slide 2","Slide 3"]'},sliderArrows:{type:"string"},sliderDots:{type:"string"}};t.a=r},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return m});var r=n(7),o=n.n(r),i=n(1),a=(n.n(i),n(10)),l=(n.n(a),n(53)),c=window,s=c.jQuery,u=wp.data.select,p=wp.blocks.createBlock,d=function(e){var t=s.isPlainObject(e)?e.images:e,n=JSON.stringify(Object(a.times)(t.length,function(e){return"Slide ".concat(e+1)})),r=function(e){return[p("core/heading",{placeholder:Object(i.__)("Write heading…","getwid"),content:e.caption}),p("core/paragraph",{placeholder:Object(i.__)("Write text…","getwid")})]};return p("getwid/media-text-slider",{slideCount:t.length,sliderArrays:n},t.map(function(e,t){return p("getwid/media-text-slider-slide",{slideId:++t},[p("getwid/media-text-slider-slide-content",{mediaId:e.id,mediaUrl:e.url},r(e))])}))},m=function(e,t,n){var r=[],i=u("core/editor").getSelectedBlockClientId(),c=u("core/editor").getBlock(i).innerBlocks;if(c.length&&s.each(c,function(e,t){if(void 0!==t.innerBlocks[0].attributes.mediaUrl){var i;if(n&&n.push(t.innerBlocks[0].attributes.mediaId),r.push((i={},o()(i,!n&&"caption",""),o()(i,"id",t.innerBlocks[0].attributes.mediaId),o()(i,"url",t.innerBlocks[0].attributes.mediaUrl),i)),!n){var a=t.innerBlocks[0].innerBlocks[0];""!=a.attributes.content&&(r[r.length-1].caption=a.attributes.content)}}}),"image"==t.split("/").pop())return r.length?r.map(function(e){var n=e.id,r=e.url,o=e.caption;return p(t,{id:n,url:r,caption:o})}):p(t,{});if(Object(a.isEqual)(t,"getwid/content-timeline"))return Object(l.a)(r);var d;return p(t,(d={},o()(d,n&&"imageSize",e.imageSize),o()(d,"images",r.length?r.map(function(e){return{id:e.id,url:e.url,caption:e.caption}}):[]),o()(d,n&&"ids",n?n.length?n:[]:null),d))}},function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f});var r=n(54),o=n.n(r),i=n(15),a=n.n(i),l=n(1),c=(n.n(l),n(10)),s=(n.n(c),n(52)),u=wp.data.select,p=wp.blocks.createBlock,d=window,m=d.jQuery,g=function(e){var t=m.isPlainObject(e)?a()(e.images):a()(e);return p("getwid/content-timeline",{},t.map(function(t,n){return p("getwid/content-timeline-item",{id:t.id,alt:t.alt,url:t.url,imageSize:e.imageSize},[p("core/heading",{placeholder:Object(l.__)("Write heading…","getwid"),content:t.caption}),p("core/paragraph",{placeholder:Object(l.__)("Write heading…","getwid")})])}))},f=function(e){var t=u("core/editor"),n=t.getBlock,r=t.getSelectedBlockClientId,i=r(),a=n(i).innerBlocks,l=[];return a.length&&m.each(a,function(e,t){var n=o()(t.innerBlocks,1),r=n[0];void 0!==t.attributes.url&&l.push({id:t.attributes.id,url:t.attributes.url,alt:t.attributes.alt,caption:r.attributes.content})}),Object(c.isEqual)(e,"core/image")?l.length?l.map(function(t){var n=t.id,r=t.url,o=t.alt,i=t.caption;return p(e,{id:n,url:r,alt:o,caption:i})}):p(e,{}):Object(c.isEqual)(e,"getwid/media-text-slider")?Object(s.b)(l):p(e,{imageSize:a[0].attributes.imageSize,images:l.length?l.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}):[],ids:l.map(function(e){return e.id})})}},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a()}var o=n(31),i=n(147),a=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return C});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=wp.blockEditor||wp.editor,v=h.InnerBlocks,y=wp.element,_=y.Component,k=y.Fragment,O=y.createContext,E=O(),C=E.Consumer,j=E.Provider,S=["getwid/media-text-slider-slide-content"],x=[["getwid/media-text-slider-slide-content"]],P=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e,t,n,r,o,i,a,l,c=this.props.className,s=this.props.attributes,u=s.slideId,p=s.outerParent;if(void 0!==p.attributes){var d=p.attributes;e=d.paddingTop,t=d.paddingBottom,n=d.paddingLeft,r=d.paddingRight,o=d.minHeight,i=d.horizontalAlign,a=d.verticalAlign,l=d.contentMaxWidth}var m={};void 0!==p.attributes&&(m={paddingTop:e||null,paddingBottom:t||null,paddingLeft:n||null,paddingRight:r||null,minHeight:o||null,justifyContent:i?b(i):null,alignItems:a?w(a):null});var g;void 0!==p.attributes&&(g=void 0!==p&&void 0!==l?l:"80%");var f={maxWidth:g||null,width:"100%"};return wp.element.createElement(k,null,wp.element.createElement("div",{className:"".concat(c,"__content-wrapper slide-").concat(u)},wp.element.createElement("div",{style:m,className:"".concat(c,"__content")},wp.element.createElement("div",{style:f},wp.element.createElement(j,{value:this.props},wp.element.createElement(v,{templateLock:"all",template:x,templateInsertUpdatesSelection:!1,allowedBlocks:S}))))))}}]),t}(_);t.b=P},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__source",attribute:"src"},type:{type:"string",default:"image"},title:{type:"string",source:"html",selector:"span"},text:{type:"string",source:"html",selector:"p"},link:{type:"string",source:"attribute",selector:".wp-block-getwid-banner a",attribute:"href"},align:{type:"string"},minHeight:{type:"string"},contentMaxWidth:{type:"string"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},backgroundOpacity:{type:"number",default:35},blockAnimation:{type:"string",default:"style4"},textAnimation:{type:"string",default:"opacity-bottom"},linkTarget:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"target"},rel:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"rel"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return ee});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(189)),S=n(8),x=n.n(S),P=n(190),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.InnerBlocks,D=M.RichText,I=M.BlockControls,L=wp.element,z=L.Component,V=L.Fragment,H=L.createContext,F=wp.components,W=F.IconButton,G=F.TextControl,U=F.Button,q=F.Toolbar,Q=wp.blocks,K=Q.createBlock,Y=Q.cloneBlock,J=window,Z=J.jQuery,$=["getwid/tabs-item"],X=H(),ee=X.Consumer,te=X.Provider,ne=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],re=function(e){function t(){var e;m()(this,t),e=n.apply(this,arguments);var r=e.props.attributes.active;return e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addTab=e.addTab.bind(w()(e)),e.moveTabLeft=e.moveTabLeft.bind(w()(e)),e.moveTabRight=e.moveTabRight.bind(w()(e)),e.duplicateTab=e.duplicateTab.bind(w()(e)),e.deleteTab=e.deleteTab.bind(w()(e)),e.state={selectedTab:void 0!==r?parseInt(r):0,initTabs:!1,initNavs:!1,updateNavs:!1,initialTabsCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initTabs:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialTabsCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(G,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialTabsCount:t})},value:t,min:"1"}),wp.element.createElement(U,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes,c=a.align,u=a.active,p=a.type,d=a.headerTag,m=i.className,g=i.baseClass,f=i.getBlock,b=i.clientId,w=i.isSelected,h=i.updateBlockAttributes,v=this.state,y=v.selectedTab,_=v.initialTabsCount,k=v.initTabs,O=f(b);if(e=O.innerBlocks,!e.length&&0==k)return this.renderConstructorForm();var S=d;return wp.element.createElement(V,null,wp.element.createElement(I,{key:"toolbar"},wp.element.createElement(q,{controls:this.getTabsDropdown()})),wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,"".concat(g,"--current-tab-").concat(y+1),s()({},"has-layout-".concat(p),""!==p),c?"align".concat(c):null),"data-active-tab":void 0!=u?u:"0"},wp.element.createElement("ul",{className:"".concat(g,"__nav-links")},e.map(function(e,n){return wp.element.createElement(V,null,wp.element.createElement("li",{className:x()("".concat(g,"__nav-link"),{"active-tab":y==n}),onClick:function(e){t.selectTab(n)}},wp.element.createElement(S,{className:"".concat(g,"__title-wrapper")},wp.element.createElement("a",{href:"#"},wp.element.createElement("div",{className:"".concat(g,"__edit-area")},wp.element.createElement(D,{tagName:"span",className:"".concat(g,"__title"),placeholder:Object(E.__)("Write heading…","getwid"),value:e.attributes.title,allowedFormats:ne,onChange:function(t){h(e.clientId,{title:t})},keepPlaceholderOnFocus:!0}))))))}),w&&wp.element.createElement("div",{className:"".concat(g,"__add-tab")},wp.element.createElement(W,{icon:"insert",onClick:function(n){t.addTab(e.length)},label:Object(E.__)("Add Tab","getwid")}))),wp.element.createElement("div",{className:"".concat(g,"__tabs-wrapper-editor")},wp.element.createElement("div",{className:"".concat(g,"__tab-content")},wp.element.createElement(te,{value:this},wp.element.createElement(B,{__experimentalUIParts:{hasSelectedUI:!1,hasMovers:!1},templateInsertUpdatesSelection:!1,allowedBlocks:$,template:Object(C.times)(_,function(e){return["getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return""}}))))))}},{key:"getTabsDropdown",value:function(){var e=this,t=this.state.selectedTab,n=this.props,r=n.getBlock,o=n.clientId,i=r(o),a=i.innerBlocks;return[{icon:"table-col-before",title:Object(E.__)("Add Item Before","getwid"),isDisabled:null===t,onClick:function(){e.addTab(0==t?0:t-1)}},{icon:"table-col-after",title:Object(E.__)("Add Item After","getwid"),isDisabled:null===t,onClick:function(){e.addTab(t+1)}},{icon:"arrow-left-alt2",title:Object(E.__)("Move Item Left","getwid"),isDisabled:null===t||0===t,onClick:this.moveTabLeft},{icon:"arrow-right-alt2",title:Object(E.__)("Move Item Right","getwid"),isDisabled:null===t||t===a.length-1,onClick:this.moveTabRight},{icon:"admin-page",title:Object(E.__)("Duplicate Item","getwid"),isDisabled:null===t,onClick:this.duplicateTab},{icon:"trash",title:Object(E.__)("Delete Item","getwid"),isDisabled:null===t||1==a.length,onClick:this.deleteTab}]}},{key:"moveTabLeft",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e-1),this.selectTab(e-1)}},{key:"moveTabRight",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e+1),this.selectTab(e+1)}},{key:"duplicateTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;if(a.length&&void 0!==a[e]){var l=Y(r(a[e].clientId));l.attributes.title="".concat(l.attributes.title," ").concat(Object(E.__)("Copy","getwid")),n(l,e+1,o)}}}},{key:"deleteTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.removeBlocks,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;a.length&&void 0!==a[e]&&(n(a[e].clientId),this.selectTab(0))}}},{key:"selectTab",value:function(e){this.setState({selectedTab:e})}},{key:"addTab",value:function(e){var t,n=this.props,r=n.insertBlock,o=n.selectBlock,i=n.getBlock,a=n.clientId,l=i(a);if(l){t=l.innerBlocks;r(K("getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),t.length+1)}),e,a),this.selectTab(e),o(a)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.state,o=(r.selectedTab,r.initNavs,this.props.clientId),i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=(Z("#block-".concat(o)),this.props.attributes.headerTag);Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&Z.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{headerTag:s}}})})}},{key:"updateParentOptions",value:function(e){var t=this.state.updateNavs;"init"==e?this.changeState({initNavs:!0}):"update"==e&&this.changeState({updateNavs:!t})}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,moveBlockToPosition:n.moveBlockToPosition,removeBlocks:n.removeBlocks,updateBlockAttributes:r,selectBlock:n.selectBlock}})])(re)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return Y});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(202)),S=n(8),x=n.n(S),P=n(203),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.InnerBlocks,D=wp.element,I=D.Component,L=D.Fragment,z=D.createContext,V=wp.components,H=V.IconButton,F=V.TextControl,W=V.Button,G=wp.blocks.createBlock,U=window,q=U.jQuery,Q=["getwid/accordion-item"],K=z(),Y=K.Consumer,J=K.Provider,Z=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initAccordions:!1,initialAccCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initAccordions:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialAccCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialAccCount:t})},value:t,min:"1"}),wp.element.createElement(W,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t,n=this,r=this.changeState,i=this.getState,a=this.props,c=a.attributes,u=c.align,p=c.iconPosition,d=c.active,m=a.className,g=a.baseClass,f=a.getBlock,b=a.clientId,w=a.isSelected,h=this.state,v=h.initialAccCount,y=h.initAccordions;return t=f(b).innerBlocks,t.length||0!=y?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:r}),{getState:i}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,(e={},s()(e,"".concat(g,"--current-item-").concat(parseInt(d,10)+1),"none"!=d),s()(e,"has-icon-left","left"===p),e),u?"align".concat(u):null),"data-active-element":void 0!=d?d:"0"},wp.element.createElement(J,{value:this},wp.element.createElement(B,{templateInsertUpdatesSelection:!1,allowedBlocks:Q,template:Object(C.times)(v,function(e){return["getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return w?wp.element.createElement("div",{className:"".concat(g,"__add-accordion")},wp.element.createElement(H,{icon:"insert",onClick:n.addItem,label:Object(E.__)("Add Accordion","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(q("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.active,m=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&q.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,active:d,headerTag:m}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;q("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(Z)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return Y});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(215)),S=n(8),x=n.n(S),P=n(216),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.InnerBlocks,D=wp.element,I=D.Component,L=D.Fragment,z=D.createContext,V=wp.components,H=V.IconButton,F=V.TextControl,W=V.Button,G=wp.blocks.createBlock,U=window,q=U.jQuery,Q=["getwid/toggle-item"],K=z(),Y=K.Consumer,J=K.Provider,Z=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructToggle=e.onConstructToggle.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initToggle:!1,initialToggleCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructToggle",value:function(e){e.preventDefault(),this.changeState({initToggle:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialToggleCount;return wp.element.createElement("form",{onSubmit:this.onConstructToggle},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialToggleCount:t})},value:t,min:"1"}),wp.element.createElement(W,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes.iconPosition,c=i.className,s=i.baseClass,u=i.getBlock,p=i.clientId,d=i.isSelected,m=this.state,g=m.initialToggleCount,f=m.initToggle;return e=u(p).innerBlocks,e.length||0!=f?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(c,{"has-icon-left":"left"===a})},wp.element.createElement(J,{value:this},wp.element.createElement(B,{templateInsertUpdatesSelection:!1,allowedBlocks:Q,template:Object(C.times)(g,function(e){return["getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return d?wp.element.createElement("div",{className:"".concat(s,"__add-toggle")},wp.element.createElement(H,{icon:"insert",onClick:t.addItem,label:Object(E.__)("Add Toggle","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(q("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&q.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,headerTag:d}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;q("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(Z)},function(e,t){},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-stack .wp-block-getwid-images-stack__media-wrapper",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"a",attribute:"href"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},linkTo:{type:"string",default:"none"},stackStyle:{type:"string",default:"default"},stackOverlap:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(250),i=n.n(o),a=n(252),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(8)),v=n.n(h),y=n(1),_=(n.n(y),n(253)),k=(n.n(_),lodash),O=k.startCase,E=k.toLower,C=window,j=(C.jQuery,wp.compose.withInstanceId),S=wp.components,x=S.Button,P=S.BaseControl,T=S.Dropdown,R=S.MenuGroup,N=S.MenuItem,A=S.SelectControl,M=S.TextControl,B=wp.element.Component,D=function(e){function t(){var e;return s()(this,t),e=n.apply(this,arguments),e.search=React.createRef(),e.state={fonts:null,font:[],variants:null,search:""},e}m()(t,e);var n=r(t);return p()(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=l()(i.a.mark(function e(){var t=this;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyAWN8pd8HMruaR92oVbykdg-Q2HpgsikKU").then(function(e){return e.json()}).then(function(e){t.setState({fonts:e.items}),t.props.value&&e.items.find(function(e){if(t.props.value===e.family){var n=e.variants.filter(function(e){return!1===e.includes("italic")}).map(function(e){return e={label:"regular"==E(e)?"400":O(E(e)),value:"regular"==e?"normal":e}});return t.setState({variants:n})}})});case 2:case"end":return e.stop()}},e)}));return e}()},{key:"render",value:function(){var e=this,t="inspector-google-fonts-control-".concat(this.props.instanceId);return wp.element.createElement("div",{className:"components-getwid-google-fonts-control"},wp.element.createElement(P,{label:this.props.label,id:t},null!==this.state.fonts?wp.element.createElement(T,{contentClassName:"components-getwid-google-fonts-popover",position:"bottom center",renderToggle:function(n){var r=n.isOpen,o=n.onToggle;return wp.element.createElement(x,{isLarge:!0,className:"components-getwid-google-fonts-button",id:t,onClick:o,"aria-expanded":r},e.props.value?e.props.value:Object(y.__)("Select Font Family","getwid"))},renderContent:function(t){var n=t.onToggle;return wp.element.createElement(R,{label:Object(y.__)("Google Fonts","getwid")},wp.element.createElement(M,{value:e.state.search,onChange:function(t){return e.setState({search:t})}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(N,{onClick:function(){n(),e.props.onChangeFontFamily(""),e.props.onChangeFontWeight(""),e.setState({font:[],variants:null,search:""})}},Object(y.__)("Default","getwid")),e.state.fonts.map(function(t){if(!e.state.search||t.family.toLowerCase().includes(e.state.search.toLowerCase()))return wp.element.createElement(N,{className:v()({"is-selected":t.family===e.props.value}),onClick:function(){n(),e.props.onChangeFontFamily(t.family),e.props.onChangeFontWeight("normal");var r=t.variants.filter(function(e){return!1===e.includes("italic")}).map(function(e){return e={label:"regular"==E(e)?"400":O(E(e)),value:"regular"==e?"normal":e}});e.setState({font:t,variants:r,search:""})}},t.family)})))}}):Object(y.__)("Loading…","getwid")),wp.element.createElement(A,{label:Object(y.__)("Font Weight","getwid"),value:this.props.valueWeight||"",options:this.state.variants?this.state.variants:[{value:"",label:Object(y.__)("Default","getwid")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"normal",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}],onChange:this.props.onChangeFontWeight}))}}]),t}(B);t.a=j(D)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(21),s=r(c),u=n(23),p=r(u),d=function(e){function t(){var e,n,r,a;o(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.link=null,r.createLink=function(){var e=r.props,t=e.fonts,n=e.subsets,o=t.reduce(function(e,t){var n=t.font.replace(/ +/g,"+"),r=(t.weights||[]).join(",");return e.push(n+(r&&":"+r)),e},[]).join("|"),i=document.createElement("link");return i.rel="stylesheet",i.href="https://fonts.googleapis.com/css?family="+o,n&&Array.isArray(n)&&n.length>0&&(i.href+="&subset="+n.join(",")),i},r.appendLink=function(){return document.head.appendChild(r.link)},r.removeLink=function(){return document.head.removeChild(r.link)},r.replaceLink=function(){r.removeLink(),r.link=r.createLink(),r.appendLink()},r.render=function(){return null},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){this.link=this.createLink(),this.appendLink()}},{key:"componentDidUpdate",value:function(e){JSON.stringify(e.fonts)!==JSON.stringify(this.props.fonts)&&this.replaceLink()}},{key:"componentWillUnmount",value:function(){this.removeLink()}}]),t}(s.default.PureComponent);d.propTypes={fonts:p.default.arrayOf(p.default.shape({font:p.default.string.isRequired,weights:p.default.arrayOf(p.default.oneOfType([p.default.string,p.default.number]))})).isRequired,subsets:p.default.arrayOf(p.default.string)},t.default=d},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},imageCrop:{type:"boolean",default:!0},title:{type:"string",source:"html",selector:".wp-block-getwid-person__title"},subtitle:{type:"string",source:"html",selector:".wp-block-getwid-person__subtitle"},content:{type:"string",source:"html",selector:".wp-block-getwid-person__content"},imgId:{type:"number"},imgUrl:{type:"string",source:"attribute",attribute:"src",selector:".wp-block-getwid-person__image img"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:".wp-block-getwid-person__image img"}};t.a=r},function(e,t,n){"use strict";var r={photoCount:{type:"number",default:6},gridColumns:{type:"number",default:3},spacing:{type:"string",default:"default"},align:{type:"string"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),window),i=(o.jQuery,wp.blockEditor||wp.editor),a=i.PlainText,l=wp.components.ToggleControl,c="getwid-field-label",s=function(e){var t=e.setAttributes,n=e.label,o=e.isSelected,i=e.required,s=e.requiredDefault;return wp.element.createElement("div",{className:"".concat(c)},wp.element.createElement(a,{value:n,className:"".concat(c,"__input"),onChange:function(e){return t({label:e})},placeholder:Object(r.__)("Write label…","getwid")}),o&&!s&&wp.element.createElement(l,{label:Object(r.__)("Required","getwid"),className:"".concat(c,"__required"),checked:i,onChange:function(e){return t({required:e})}}),!o&&i&&!s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")),s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")))};t.a=s},function(e,t,n){"use strict";var r=(n(0),n(75)),o=n(1),i=(n.n(o),window),a=(i.jQuery,wp.element.Fragment),l=wp.blockEditor||wp.editor,c=l.InspectorControls,s=wp.components,u=s.TextControl,p=s.PanelBody,d=function(e){var t=e.type,n=e.className,i=e.setAttributes,l=e.label,s=e.isSelected,d=e.required,m=e.requiredDefault,g=e.placeholder,f=e.id;return wp.element.createElement(a,null,wp.element.createElement("div",{className:"".concat(n)},wp.element.createElement(u,{type:t,label:wp.element.createElement(r.a,{label:l,required:d,isSelected:s,setAttributes:i,requiredDefault:m}),value:g,onChange:function(e){return i({placeholder:e})},title:Object(o.__)("Set the placeholder text","getwid")})),wp.element.createElement(c,null,wp.element.createElement(p,{title:Object(o.__)("Settings","getwid")},wp.element.createElement(u,{label:Object(o.__)("ID","getwid"),value:f,onChange:function(e){return i({id:e})}}))))};t.a=d},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];o("getwid/".concat(e),t),n.length&&n.forEach(function(e){o("getwid/".concat(e.name),e.settings)})}t.a=r;var o=wp.blocks.registerBlockType},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},align:{type:"string"},sliderSlidesToShowDesktop:{type:"string",default:"2"},sliderSlidesToShowLaptop:{type:"string",default:"1"},sliderSlidesToShowTablet:{type:"string",default:"1"},sliderSlidesToShowMobile:{type:"string",default:"1"},sliderSlidesToScroll:{type:"string",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderSpacing:{type:"string",default:"small"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"outside"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},minHeight:{type:"string"},align:{type:"string"},textAlignment:{type:"string",default:"left"},sliderAnimationEffect:{type:"string",default:"slide"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:"6000"},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:"800"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"inside"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r={titleColor:{type:"string"},customTitleColor:{type:"string"},iconColor:{type:"string"},customIconColor:{type:"string"},buttonColorHEX:{type:"string"},buttonColor:{type:"string"},customButtonColor:{type:"string"},overlayColor:{type:"string"},customOverlayColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-video-popup__source",attribute:"src"},title:{type:"string",source:"html",selector:".wp-block-getwid-video-popup__title"},link:{type:"string"},align:{type:"string"},minHeight:{type:"string"},buttonMaxWidth:{type:"string"},overlayOpacity:{type:"number",default:35},imageAnimation:{type:"string",default:"none"},buttonStyle:{type:"string",default:"default"},buttonAnimation:{type:"string",default:"none"},buttonSize:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"src"},alt:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"alt"},tooltipTrigger:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-trigger",default:"click"},tooltipTheme:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-theme",default:"light"},tooltipArrow:{type:"boolean",default:!0},tooltipAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-tooltip-animation",default:"shift-toward"},dotIcon:{type:"string",default:"fas fa-plus"},dotSize:{type:"number",default:16},dotPaddings:{type:"number",default:6},dotColor:{type:"string"},dotBackground:{type:"string"},dotOpacity:{type:"number",default:100},dotPulse:{type:"string",default:"pulse"},dotAppearanceAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-appearance-animation",default:"none"},align:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-animation",default:""},imagePoints:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-image-points",default:""}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){p()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=C()(e);if(t()){var o=C()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}n.d(t,"a",function(){return K});var a=n(27),l=n.n(a),c=n(9),s=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),g=n(2),f=n.n(g),b=n(4),w=n.n(b),h=n(11),v=n.n(h),y=n(5),_=n.n(y),k=n(6),O=n.n(k),E=n(3),C=n.n(E),j=(n(0),n(1)),S=(n.n(j),n(10)),x=(n.n(S),n(469)),P=n(470),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.withColors,D=M.InnerBlocks,I=M.getColorObjectByAttributeValues,L=wp.element,z=L.Component,V=L.Fragment,H=L.createContext,F=wp.components.IconButton,W=wp.blocks.createBlock,G=window,U=G.jQuery,q=["getwid/content-timeline-item"],Q=H(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return f()(this,t),e=n.apply(this,arguments),e.updateLineHeight=e.updateLineHeight.bind(v()(e)),e.updateBarHeight=e.updateBarHeight.bind(v()(e)),e.setColorByScroll=e.setColorByScroll.bind(v()(e)),e.changeState=e.changeState.bind(v()(e)),e.addItem=e.addItem.bind(v()(e)),e.state={isLockedPaddings:!1},e}_()(t,e);var n=i(t);return w()(t,[{key:"changeState",value:function(e,t){"object"==m()(e)?this.setState(e):"string"==typeof e&&this.setState(p()({},e,t))}},{key:"getColor",value:function(){var e=this.props.getEditorSettings,t=this.props.attributes,n=t.fillColor,r=t.customFillColor;if(n){var o=Object(S.get)(e(),["colors"],[]);return I(o,n).color}if(r)return r}},{key:"render",value:function(){var e=this,t=this.changeState,n=this.state.isLockedPaddings,r=this.props,i=r.className,a=r.baseClass,l=this.getColor(),c={style:{backgroundColor:l||void 0}};return wp.element.createElement(V,null,wp.element.createElement(x.a,s()({},o(o(o({},this.props),{isLockedPaddings:n}),{changeState:t}),{key:"inspector"})),wp.element.createElement("div",{className:"".concat(i)},wp.element.createElement("div",{className:"".concat(a,"__line")},wp.element.createElement("div",s()({className:"".concat(a,"__bar")},c))),wp.element.createElement(Y,{value:this},wp.element.createElement(D,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:[["getwid/content-timeline-item"]],templateLock:!1,renderAppender:function(){return wp.element.createElement("div",{className:"".concat(a,"__add-item")},wp.element.createElement(F,{icon:"insert",onClick:e.addItem,label:Object(j.__)("Add Item","getwid")}))}}))))}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=W("getwid/content-timeline-item");e=i.innerBlocks,n(a,e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this,o=this.props.clientId,i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=U("#block-".concat(o)),u=this.props.attributes,p=u.backgroundColor,d=u.customBackgroundColor,m=this.props.attributes,g=m.paddingTop,f=m.paddingBottom,b=m.paddingLeft,w=m.paddingRight,h=m.animation,v=this.props.attributes,y=v.horizontalSpace,_=v.marginBottom,k=this.getColor();n&&n.length&&U.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{backgroundColor:p,customBackgroundColor:d,paddingTop:g,paddingBottom:f,paddingLeft:b,paddingRight:w,horizontalSpace:y,marginBottom:_,pointColor:k,animation:h}}})});var O=this.props.attributes.filling;if(!Object(S.isEqual)(e.attributes.filling,O)){var E=U(".edit-post-layout").find("div[class$=__content]");if(U.parseJSON(O)){var C=function(){r.setColorByScroll(s),r.updateBarHeight(s)};C(),E.scroll(function(){C()})}else E.off(),this.disableFilling(s)}var j=this.props.attributes,x=j.fillColor,P=j.customFillColor;if(!Object(S.isEqual)(e.attributes.fillColor,x)||!Object(S.isEqual)(e.attributes.customFillColor,P)){var T=s.find("div[class$=__point]"),R=this.getColor();U.each(T,function(e,t){U(t).offset().top<=U(window).height()/2&&U(t).find(":first-child").css({borderColor:R||""})})}}},{key:"updateLineHeight",value:function(){var e=this.props.clientId,t=U("#block-".concat(e)),n=t.find("div[class$=__point]"),r=0;U.each(n,function(e,t){n[e+1]&&(r+=U(n[e+1]).offset().top-U(t).offset().top)});var o=t.find("div[class$=__line]"),i=t.find("div[class*=__wrapper]")[0],a=parseFloat(U(i).css("height"))/2;o.css({height:r,top:a})}},{key:"updateBarHeight",value:function(e){var t=e.find("div[class$=__point]"),n=e.find("div[class$=__line]").find("div[class$=__bar]"),r=n.offset().top,o=U(window).height()/2,i=t.toArray(),a=l()(i),c=a[0],s=a.slice(1);if(c){var u=o-U(c).offset().top;if(s.length){var p=s.slice(-1).pop(),d=U(p).offset().top;r<=o&&d>=o&&n.css({height:u}),r>=o&&n.css({height:0}),d<=o&&(this.updateLineHeight(),n.css({height:"100%"}))}}}},{key:"setColorByScroll",value:function(e){var t=this,n=this.props.baseClass,r=e.find("div[class$=__point]"),o=r.get(),i=l()(o),a=(i[0],i.slice(1));a.length&&U.each(r,function(e,r){var o=U(r).offset().top,i=U(r).parents(".".concat(n,"-item"))[0],a=t.getColor(),l=U(r).height()/2;o<=U(window).height()/2+l?(U(i).hasClass("is-active")||U(i).addClass("is-active"),U(r).find(":first-child").css({borderColor:a||""})):(U(i).hasClass("is-active")&&U(i).removeClass("is-active"),U(r).find(":first-child").css({borderColor:""}))}),a.length||this.disableFilling(e)}},{key:"disableFilling",value:function(e){e.find("div[class$=__bar]").css({height:0})}},{key:"componentDidMount",value:function(){var e=this,t=this.props.clientId,n=U("#block-".concat(t)),r=this.props.attributes.filling;U.parseJSON(r)&&(this.waitLoadMarkup=setInterval(function(){n.find("div[class*=__wrapper]").length&&(U(".edit-post-layout").find("div[class$=__content]").scroll(function(){e.setColorByScroll(n),e.updateBarHeight(n)}),clearInterval(e.waitLoadMarkup))},1)),this.waitLoadContent=setInterval(function(){if("complete"==document.readyState){e.updateLineHeight();var t=e.props.className,r=n.find(".".concat(t)),o=e.props.attributes.filling;U.parseJSON(o)&&(e.setColorByScroll(n),e.updateBarHeight(n)),e.mutationObserver=new MutationObserver(function(t){U.each(t,function(t,r){if("childList"==r.type&&(r.addedNodes.length||r.removedNodes.length)){var o,i=r.addedNodes.length?r.addedNodes[0]:r.removedNodes[0],a=e.props,l=a.getBlock,c=a.clientId,s=l(c);if(s&&(o=s.innerBlocks),o&&o.length&&(U(i).is("div[class*=__block]")||U(i).is("div[class*=__image-wrapper]"))){e.updateLineHeight();var u=e.props.attributes.filling;U.parseJSON(u)&&(e.setColorByScroll(n),e.updateBarHeight(n))}}})}),e.mutationObserver.observe(r.get(0),{childList:!0,subtree:!0}),clearInterval(e.waitLoadContent)}},1)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.className,n=e.clientId,r=U("#block-".concat(n)),o=r.find(".".concat(t));this.mutationObserver.disconnect(o.get(0)),U(".edit-post-layout").find("div[class$=__content]").off()}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}}),B("fillColor","backgroundColor")])(J)},function(e,t){function n(e){if(null==e)throw new TypeError("Cannot destructure undefined")}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(87),n(506),n(507)),o=(n.n(r),n(508));n.n(o)},function(e,t,n){"use strict";n(88),n(140),n(161),n(170),n(176),n(181),n(187),n(200),n(213),n(226),n(234),n(240),n(246),n(257),n(264),n(271),n(279),n(286),n(294),n(301),n(306),n(313),n(319),n(327),n(335),n(341),n(352),n(357),n(363),n(371),n(444),n(449),n(455),n(461),n(467),n(480),n(486),n(494),n(499)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){c()(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}var i=n(9),a=n.n(i),l=n(7),c=n.n(l),s=(n(0),n(1)),u=(n.n(s),n(97)),p=n(131),d=n(22),m=n(12),g=n(132),f=n(133),b=n(135),w=n(41),h=n(136),v=n(137),y=n(138),_=(n.n(y),n(139)),k=(n.n(_),wp.blocks.registerBlockType),O=d.a.prepareMultiGradientStyle,E=d.a.prepareBackgroundImageStyles,C=d.a.convertHorizontalAlignToStyle,j=d.a.convertVerticalAlignToStyle;k("getwid/section",o(o({title:Object(s.__)("Section","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M13,0v24h11V0H13z M22,22h-7V2h7V22z"}),wp.element.createElement("path",{d:"M0,0v11h11V0H0z M9,9H2V2h7V9z"}),wp.element.createElement("path",{d:"M0,13v11h11V13H0z M9,22H2v-7h7V22z"})),category:"getwid-blocks",keywords:[Object(s.__)("container","getwid"),Object(s.__)("wrapper","getwid"),Object(s.__)("row","getwid")],supports:{anchor:!0,inserter:!Getwid.disabled_blocks.includes("getwid/section")},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},deprecated:[{attributes:o(o({},w.a),{},{foregroundImage:{type:"string"}}),isEligible:function(e,t){return!0},migrate:function(e){return o(o({},e),e.foregroundImage?[{foregroundImage:{id:void 0,alt:void 0,url:e.foregroundImage}}]:[])},save:g.a},{attributes:o(o({},h.a),{},{backgroundVideoType:{type:"string",default:"self"}}),save:f.a},{attributes:v.a,save:b.a}],attributes:w.a},Object(m.b)("getwid/section",function(e){return wp.element.createElement(u.a,a()({},o(o({},e),{},{baseClass:"wp-block-getwid-section",prepareMultiGradientStyle:O,prepareBackgroundImageStyles:E,convertHorizontalAlignToStyle:C,convertVerticalAlignToStyle:j}),{key:"edit"}))})),{},{save:function(e){return wp.element.createElement(p.a,o(o({},e),{},{prepareMultiGradientStyle:O,prepareBackgroundImageStyles:E}))}}))},function(e,t,n){"use strict";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}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t.a=r},function(e,t,n){"use strict";var r=n(28);n.n(r)},function(e,t,n){"use strict";var r=n(10);n.n(r)},function(e,t,n){"use strict";var r=(n(35),n(36),n(94),n(10)),o=(n.n(r),n(95),n(34)),i=(n(40),Object(o.c)());i.Provider,i.Consumer,new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return(r="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 o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}t.a=o},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(/</g,"<")}function a(e){return Object(s.a)(o(r(e)))}function l(e){return i(r(e))}function c(e){return!u.test(e)}t.a=a,t.b=l,t.c=c;var s=n(96),u=/[\u007F-\u009F "'>\/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,">")}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(8)),j=n.n(C),S=n(10),x=(n.n(S),n(41)),P=n(42),T=(n.n(P),n(43)),R=(n.n(T),n(25)),N=n(29),A=n(100),M=n(101),B=n(26),D=n(14),I=n(12),L=n(121),z=wp.hooks.addFilter,V=wp.element,H=V.Component,F=V.Fragment,W=wp.data,G=W.select,U=W.withSelect,q=wp.components,Q=q.Button,K=q.IconButton,Y=q.SelectControl,J=(q.ButtonGroup,q.BaseControl,q.Dashicon),Z=q.Tooltip,$=q.Toolbar,X=q.DropdownMenu,ee=q.Path,te=q.SVG,ne=q.FocalPointPicker,re=(q.__experimentalGradientPicker,wp.blockEditor||wp.editor),oe=re.InnerBlocks,ie=re.withColors,ae=re.BlockControls,le=re.BlockAlignmentToolbar,ce=(re.MediaPlaceholder,re.MediaUpload,re.PanelColorSettings),se=wp.compose.compose,ue=window,pe=ue.jQuery,de=[],me="wp-block-getwid-section",ge=!1;window.onYouTubeIframeAPIReady=function(){ge=!0};z("blocks.getSaveElement","getwid/set-skip-layout-attribute",function(e,t,n){return"getwid/section"==t.name&&(t.attributes.skipLayout={type:"boolean",default:!1},n.skipLayout=!0),e});var fe=function(e){function t(e){var r;m()(this,t),r=n.call(this,e);var o=r.props.attributes,i=o.youTubeVideoMute;o.youTubeVideoAutoplay;return r.videoRef=null,r.videoButtonRef=null,r.state={draggablesObj:{},showRullers:!0,videoPlayState:"paused",videoMuteState:!0,YTvideoPlayState:"paused",YTvideoMuteState:"true"==i,isLockedPaddingsOnDesktop:!1,isLockedPaddingsOnTablet:!1,isLockedPaddingsOnMobile:!1,isLockedMarginsOnDesktop:!1,isLockedMarginsOnTablet:!1,isLockedMarginsOnMobile:!1},r.playBackgroundVideo=r.playBackgroundVideo.bind(w()(r)),r.onBackgroundVideoEnd=r.onBackgroundVideoEnd.bind(w()(r)),r.muteBackgroundVideo=r.muteBackgroundVideo.bind(w()(r)),r.changeState=r.changeState.bind(w()(r)),r}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"render",value:function(){var e,t,n=this,r=this.props.attributes,i=r.align,a=r.minHeight,c=r.gapSize,u=r.anchor,p=r.customBackgroundColor,d=r.youTubeVideoUrl,m=r.youTubeVideoScale,g=r.backgroundVideoType,f=this.props.attributes,b=f.resetMinHeightTablet,w=f.resetMinHeightMobile,h=f.sliderImages,v=f.backgroundVideoUrl,y=this.props.attributes,_=y.backgroundVideoControlsPosition,k=y.foregroundOpacity,O=y.foregroundColor,C=y.foregroundFilter,P=y.dividersBringTop,T=this.props.attributes,I=T.contentMaxWidth,z=T.contentMaxWidthPreset,V=T.entranceAnimation,H=T.entranceAnimationDuration,W=T.entranceAnimationDelay,U=this.props.attributes,q=U.backgroundImage,re=U.backgroundImagePosition,ie=U.backgroundCustomImagePosition,se=U.backgroundImageAttachment,ue=U.backgroundImageRepeat,ge=U.backgroundImageSize,fe=this.props.attributes,be=fe.paddingTopValue,we=fe.paddingBottomValue,he=fe.paddingLeftValue,ve=fe.paddingRightValue,ye=fe.marginTopValue,_e=fe.marginBottomValue,ke=fe.marginLeftValue,Oe=fe.marginRightValue,Ee=this.props.attributes,Ce=Ee.paddingTop,je=Ee.paddingRight,Se=Ee.paddingBottom,xe=Ee.paddingLeft,Pe=this.props.attributes,Te=Pe.paddingTopTablet,Re=Pe.paddingRightTablet,Ne=Pe.paddingBottomTablet,Ae=Pe.paddingLeftTablet,Me=this.props.attributes,Be=Me.paddingTopMobile,De=Me.paddingRightMobile,Ie=Me.paddingBottomMobile,Le=Me.paddingLeftMobile,ze=this.props.attributes,Ve=ze.marginTop,He=ze.marginRight,Fe=ze.marginBottom,We=ze.marginLeft,Ge=this.props.attributes,Ue=Ge.marginTopTablet,qe=Ge.marginRightTablet,Qe=Ge.marginBottomTablet,Ke=Ge.marginLeftTablet,Ye=this.props.attributes,Je=Ye.verticalAlign,Ze=Ye.verticalAlignTablet,$e=Ye.verticalAlignMobile,Xe=Ye.horizontalAlign,et=Ye.horizontalAlignTablet,tt=Ye.horizontalAlignMobile,nt=this.props.attributes,rt=nt.marginTopMobile,ot=nt.marginRightMobile,it=nt.marginBottomMobile,at=nt.marginLeftMobile,lt=this.props,ct=lt.className,st=lt.backgroundColor,ut=lt.setBackgroundColor,pt=lt.prepareMultiGradientStyle,dt=lt.prepareBackgroundImageStyles,mt=lt.setAttributes,gt=lt.isSelected,ft=this.state.showRullers,bt=this.state,wt=bt.isLockedPaddingsOnDesktop,ht=bt.isLockedPaddingsOnTablet,vt=bt.isLockedPaddingsOnMobile,yt=this.state,_t=yt.isLockedMarginsOnDesktop,kt=yt.isLockedMarginsOnTablet,Ot=yt.isLockedMarginsOnMobile,Et=this.changeState,Ct=this.props.clientId,jt=o(o({},"custom"===Ve?{marginTop:ye}:[]),"custom"===Fe?{marginBottom:_e}:[]),St=o(o(o(o(o(o({minHeight:a},"custom"===We?{marginLeft:ke}:[]),"custom"===He?{marginRight:Oe}:[]),"custom"===Ce?{paddingTop:be}:[]),"custom"===Se?{paddingBottom:we}:[]),"custom"===xe?{paddingLeft:he}:[]),"custom"===je?{paddingRight:ve}:[]),xt=j()("".concat(me,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(Ce),"custom"!==Ce&&""!==Ce),s()(e,"getwid-padding-bottom-".concat(Se),"custom"!==Se&&""!==Se),s()(e,"getwid-padding-left-".concat(xe),"custom"!==xe&&""!==xe),s()(e,"getwid-padding-right-".concat(je),"custom"!==je&&""!==je),s()(e,"getwid-padding-tablet-top-".concat(Te),""!==Te),s()(e,"getwid-padding-tablet-bottom-".concat(Ne),""!==Ne),s()(e,"getwid-padding-tablet-left-".concat(Ae),""!==Ae),s()(e,"getwid-padding-tablet-right-".concat(Re),""!==Re),s()(e,"getwid-padding-mobile-top-".concat(Be),""!==Be),s()(e,"getwid-padding-mobile-bottom-".concat(Ie),""!==Ie),s()(e,"getwid-padding-mobile-left-".concat(Le),""!==Le),s()(e,"getwid-padding-mobile-right-".concat(De),""!==De),s()(e,"getwid-margin-left-".concat(We),"custom"!==We&&""!==We),s()(e,"getwid-margin-right-".concat(He),"custom"!==He&&""!==He),s()(e,"getwid-margin-tablet-left-".concat(Ke),""!==Ke),s()(e,"getwid-margin-tablet-right-".concat(qe),""!==qe),s()(e,"getwid-margin-mobile-left-".concat(at),""!==at),s()(e,"getwid-margin-mobile-right-".concat(ot),""!==ot),s()(e,"getwid-align-items-".concat(Je),"center"!==Je),s()(e,"getwid-align-items-tablet-".concat(Ze),""!==Ze),s()(e,"getwid-align-items-mobile-".concat($e),""!==$e),s()(e,"getwid-justify-content-".concat(Xe),"center"!==Xe),s()(e,"getwid-justify-content-tablet-".concat(et),""!==et),s()(e,"getwid-justify-content-mobile-".concat(tt),""!==tt),s()(e,"getwid-reset-min-height-tablet",!1!==b),s()(e,"getwid-reset-min-height-mobile",!1!==w),e)),Pt=this.props.attributes,Tt=Pt.backgroundGradient,Rt=Pt.foregroundGradient;Tt=pt("background",this.props),Rt=pt("foreground",this.props);var Nt=o({backgroundColor:st.color?st.color:p,backgroundImage:Tt},dt("background",this.props)),At=j()("".concat(me,"__background"),s()({"has-background":st.color},st.class,st.class)),Mt=o(o({opacity:void 0!==k?k/100:void 0,backgroundColor:O,backgroundImage:Rt},dt("foreground",this.props)),{},{mixBlendMode:C}),Bt={maxWidth:I&&"custom"===z?"".concat(I,"px"):void 0},Dt=V?{"data-wow-duration":void 0!==H?H:"2000ms","data-wow-delay":void 0!==W?W:"500ms"}:{},It=j()(ct,"".concat(me,"-").concat(Ct),(t={},s()(t,"has-inner-blocks-gap-".concat(c),void 0!==c&&""!==c),s()(t,"getwid-margin-top-".concat(Ve),"custom"!==Ve&&""!==Ve),s()(t,"getwid-anim ".concat(V),!!V),s()(t,"getwid-margin-bottom-".concat(Fe),"custom"!==Fe&&""!==Fe),s()(t,"getwid-margin-tablet-top-".concat(Ue),"custom"!==Ue&&""!==Ue),s()(t,"getwid-margin-tablet-bottom-".concat(Qe),"custom"!==Qe&&""!==Qe),s()(t,"getwid-margin-mobile-top-".concat(rt),"custom"!==rt&&""!==rt),s()(t,"getwid-margin-mobile-bottom-".concat(it),"custom"!==it&&""!==it),s()(t,"getwid-section-content-full-width","full"===z),s()(t,"getwid-section-content-custom-width","custom"===z),t)),Lt=u||void 0,zt=[{title:Object(E.__)("Wide Screen. Section full width, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71v-3.53v-0.71v-3.53v-0.71v-3.53v-0.71v-2.42c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0\tc-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71H33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01\tC7.9,13,7,13.9,7,15.01v2.48v0.71v3.53v0.71v3.53v0.71v3.53v0.71v2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0\tc0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43v-0.42\tc0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15v0.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l4-4H38.99z\t M13,26.99L13.01,21h21.98v6L13,26.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z M26.45,15l-4,4h-3.53l4-4\tH26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M9.01,15h0.48l-0.48,0.48L9.01,15z M9.01,16.19L10.2,15h3.53l-4.72,4.72L9.01,16.19z\t M9.01,20.43L14.44,15h3.53l-4,4h-0.96C11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z\t M9,28.92l2-2v0.07c0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9.17,32.99L13.16,29h3.53l-3.99,3.99L9.17,32.99z M13.41,32.99\tL17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99L25.9,29h3.53l-4,4\tL21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L33.91,33\tL30.38,33z M34.62,33l4.37-4.37v3.53L38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){mt({align:"full",skipLayout:!0})}},{title:Object(E.__)("Full Width. Section and content full width.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71V29V19v-3.99c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0c-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71\tH33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01C7.9,13,7,13.9,7,15.01v2.48v0.71V19v10v1.21v0.71\tv2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0c0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55\th0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M9.01,21h29.98v6H9L9.01,21z M38.99,19\tH35.9l3.09-3.09V19z M38.99,15v0.2l-3.8,3.8h-3.53l4-4H38.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z\t M26.45,15l-4,4h-3.53l4-4H26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M17.97,15l-4,4h-3.53l4-4H17.97z M9.01,15h0.48l-0.48,0.48\tL9.01,15z M9.01,16.19L10.2,15h3.53l-4,4H9.01L9.01,16.19z M9,29h3.45L9,32.45L9,29z M9.17,32.99L13.16,29h3.53l-3.99,3.99\tL9.17,32.99z M13.41,32.99L17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99\tL25.9,29h3.53l-4,4L21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h3.53l-4,4L30.38,33z M34.62,33l4-4h0.37v3.16\tL38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){mt({align:"full",contentMaxWidthPreset:"full",skipLayout:!0})}},{title:Object(E.__)("Full Screen. Section full screen, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"}),wp.element.createElement("path",{d:"M39.38,40.96c0.8-0.16,1.42-0.78,1.58-1.58l0,0c0.02-0.13,0.04-0.26,0.04-0.39v-0.36V35.1v-0.71v-3.53v-0.71v-3.53v-0.71\tv-3.53v-0.71v-3.53v-0.71V13.9v-0.71V9.66V9.01c0-0.02-0.01-0.04-0.01-0.06l0,0C40.97,8,40.28,7.21,39.36,7.04l0,0\tC39.24,7.01,39.12,7,38.99,7h-0.3h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H18.2h-0.71h-3.53h-0.71H9.01C7.9,7,7,7.9,7,9.01\tv4.24v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.3c0,0.13,0.01,0.25,0.04,0.37l0,0\tc0.17,0.91,0.96,1.6,1.92,1.63l0,0c0.02,0,0.04,0.01,0.06,0.01h0.65h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.36C39.12,41,39.25,40.99,39.38,40.96L39.38,40.96z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43\tv-0.42c0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l7.33-7.33V15.2z\t M13,26.99L13.01,21h21.98v6L13,26.99z M38.99,9v1.96L30.95,19H27.4l10-10H38.99z M36.69,9l-10,10h-3.53l10-10H36.69z M32.45,9\tl-10,10h-3.53l10-10H32.45z M28.21,9l-10,10h-3.53l10-10H28.21z M9.01,9h2.24l-2.24,2.24L9.01,9z M9.01,11.95L11.96,9h3.53\tl-6.48,6.48L9.01,11.95z M9.01,16.19L16.2,9h3.53L9.01,19.72L9.01,16.19z M9.01,20.43L20.44,9h3.53l-10,10h-0.96\tC11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z M9,28.92l2-2v0.07\tc0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9,33.16L13.16,29h3.53L9,36.69L9,33.16z M9,38.99l0-1.59l8.4-8.4h3.55l-9.99,9.99\tL9,38.99z M11.66,38.99L21.66,29h3.53l-9.99,9.99L11.66,38.99z M15.9,38.99L25.9,29h3.53l-9.99,9.99L15.9,38.99z M20.14,38.99\tL30.14,29h3.53l-9.99,9.99L20.14,38.99z M24.38,39l10-10h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L27.91,39L24.38,39z\t M28.62,39l10.37-10.37v3.53L32.15,39L28.62,39z M32.86,39l6.13-6.13v3.53l-2.6,2.6L32.86,39z M37.1,39l1.89-1.89V39L37.1,39z"})),layout:function(){mt({align:"full",minHeight:"100vh",skipLayout:!0})}}],Vt=["flex-start","center","flex-end"],Ht={"flex-start":{title:Object(E.__)("Top","getwid"),icon:wp.element.createElement(te,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(ee,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(ee,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"}))},center:{title:Object(E.__)("Middle","getwid"),icon:wp.element.createElement(te,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(ee,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(ee,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}))},"flex-end":{title:Object(E.__)("Bottom","getwid"),icon:wp.element.createElement(te,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(ee,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(ee,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"}))}},Ft=["flex-start","center","flex-end"],Wt={"flex-start":{title:Object(E.__)("Left","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M2,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C2.45,16,2,15.55,2,15z"}),wp.element.createElement("path",{d:"M6,10l3,3v-2h8c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1H9V7L6,10z"}))},center:{title:Object(E.__)("Center","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M9,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C9.45,16,9,15.55,9,15z"}),wp.element.createElement("path",{d:"M12,10l3,3v-2h2c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1h-2V7L12,10z"}),wp.element.createElement("path",{d:"M8,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h2V7L8,10z"}))},"flex-end":{title:Object(E.__)("Right","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M16,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C16.45,16,16,15.55,16,15z"}),wp.element.createElement("path",{d:"M14,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h8V7L14,10z"}))}},Gt=G("core/block-editor"),Ut=Gt.getBlockRootClientId,qt=!1,Qt=Ut(Ct);Qt&&(qt=Qt.length>0);var Kt=G("core/block-editor").getBlocks(Ct).length>0,Yt=!1;pe.each(this.props.attributes,function(e,t){if(Object(S.has)(x.a,[e,"default"])&&!Object(S.isEqual)(t,x.a[e].default))return Yt=!0,!1});var Jt=this.props.attributes.skipLayout,Zt=q?q.url:void 0,$t=q?q.id:void 0,Xt=void 0==Qt||null==Qt||Jt;return wp.element.createElement(F,null,Kt||0!=Xt||Yt||qt||!Getwid.settings.wide_support?wp.element.createElement(F,null,wp.element.createElement(ae,null,wp.element.createElement(le,{value:i,isCollapsed:!1,controls:["wide","full"],onChange:function(e){return mt({align:e})}}),wp.element.createElement(X,{icon:Ht[Je].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(E.__)("Content Area Vertical Alignment","getwid"),controls:Vt.map(function(e){return o(o({},Ht[e]),{},{isActive:Je===e,onClick:function(){mt({verticalAlign:e})}})})}),wp.element.createElement(X,{icon:Wt[Xe].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(E.__)("Content Area Horizontal Alignment","getwid"),controls:Ft.map(function(e){return o(o({},Wt[e]),{},{isActive:Xe===e,onClick:function(){mt({horizontalAlign:e})}})})}),wp.element.createElement(M.a,{className:"components-dropdown-menu components-toolbar",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(K,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("path",{d:"M3,16h14c0.55,0,1,0.45,1,1v0c0,0.55-0.45,1-1,1H3c-0.55,0-1-0.45-1-1v0C2,16.45,2.45,16,3,16z"}),wp.element.createElement("path",{d:"M9.05,13.95L13.3,9.7c0.39-0.39,0.39-1.02,0-1.41L9.05,4.05L8.34,3.34L7.63,2.63c-0.39-0.39-1.02-0.39-1.41,0L6.22,2.64\tc-0.39,0.39-0.39,1.02,0,1.41l0.7,0.7L3.39,8.3C3,8.69,3,9.31,3.39,9.7l4.24,4.25C8.02,14.34,8.66,14.34,9.05,13.95z M9.04,6.87\tL11.17,9H5.51l2.13-2.13C8.02,6.49,8.66,6.49,9.04,6.87z"}),wp.element.createElement("path",{d:"M13,13c0,0.55,0.45,1,1,1s1-0.45,1-1s-1-3-1-3S13,12.45,13,13z"})),onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(F,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(K,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(ce,{title:Object(E.__)("Colors","getwid"),initialOpen:!0,className:"getwid-custom-pallete",colorSettings:[{value:st.color,onChange:ut,label:Object(E.__)("Background Color","getwid")}]}))}}),wp.element.createElement(M.a,{className:"components-dropdown-menu components-toolbar",contentClassName:"getwid-popover-wrapper",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(K,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:"format-image",onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(F,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(K,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(D.e,{label:Object(E.__)("Background Image","getwid"),url:Zt,id:$t,onSelectMedia:function(e){mt({backgroundImage:void 0!==e?Object(S.pick)(e,["alt","id","url"]):{}}),t(!0)},onRemoveMedia:function(){return mt({backgroundImage:void 0})}}),!!q&&wp.element.createElement(F,null,wp.element.createElement(Y,{label:Object(E.__)("Position","getwid"),value:void 0!==re?re:"",onChange:function(e){return mt({backgroundImagePosition:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"custom",label:Object(E.__)("Custom","getwid")},{value:"top left",label:Object(E.__)("Top Left","getwid")},{value:"top center",label:Object(E.__)("Top Center","getwid")},{value:"top right",label:Object(E.__)("Top Right","getwid")},{value:"center left",label:Object(E.__)("Center Left ","getwid")},{value:"center center",label:Object(E.__)("Center Center","getwid")},{value:"center right",label:Object(E.__)("Center Right","getwid")},{value:"bottom left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(E.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(E.__)("Bottom Right","getwid")}]}),"custom"==re&&wp.element.createElement(ne,{url:Zt,value:ie,onChange:function(e){mt({backgroundCustomImagePosition:e})}}),wp.element.createElement(Y,{label:Object(E.__)("Attachment","getwid"),value:void 0!==se?se:"",onChange:function(e){return mt({backgroundImageAttachment:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"scroll",label:Object(E.__)("Scroll","getwid")},{value:"fixed",label:Object(E.__)("Fixed","getwid")}]}),wp.element.createElement(Y,{label:Object(E.__)("Repeat","getwid"),value:void 0!==ue?ue:"",onChange:function(e){return mt({backgroundImageRepeat:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"no-repeat",label:Object(E.__)("No Repeat","getwid")},{value:"repeat",label:Object(E.__)("Repeat","getwid")},{value:"repeat-x",label:Object(E.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(E.__)("Repeat Y","getwid")},{value:"space",label:Object(E.__)("Space","getwid")},{value:"round",label:Object(E.__)("Round","getwid")}]}),wp.element.createElement(Y,{label:Object(E.__)("Size","getwid"),value:void 0!==ge?ge:"",onChange:function(e){return mt({backgroundImageSize:e})},options:[{value:"",label:Object(E.__)("Cover","getwid")},{value:"contain",label:Object(E.__)("Contain","getwid")},{value:"auto",label:Object(E.__)("Auto","getwid")}]})))}}),wp.element.createElement($,{controls:[{icon:wp.element.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{d:"M24.4003906,22.5996094H7.5996094c-0.5527344,0-1-0.4472656-1-1V10.4003906c0-0.5527344,0.4472656-1,1-1h16.8007813 c0.5527344,0,1,0.4472656,1,1v11.1992188C25.4003906,22.1523438,24.953125,22.5996094,24.4003906,22.5996094z M8.5996094,20.5996094h14.8007813v-9.1992188H8.5996094V20.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2,11.5996094c-0.5527344,0-1-0.4472656-1-1V5c0-0.5527344,0.4472656-1,1-1h5.5996094c0.5527344,0,1,0.4472656,1,1 s-0.4472656,1-1,1H3v4.5996094C3,11.1523438,2.5527344,11.5996094,2,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,11.5996094c-0.5527344,0-1-0.4472656-1-1V6h-4.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H30 c0.5527344,0,1,0.4472656,1,1v5.5996094C31,11.1523438,30.5527344,11.5996094,30,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M7.5996094,28H2c-0.5527344,0-1-0.4472656-1-1v-5.5996094c0-0.5527344,0.4472656-1,1-1s1,0.4472656,1,1V26h4.5996094 c0.5527344,0,1,0.4472656,1,1S8.1523438,28,7.5996094,28z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,28h-5.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H29v-4.5996094c0-0.5527344,0.4472656-1,1-1 s1,0.4472656,1,1V27C31,27.5527344,30.5527344,28,30,28z"})))),title:Object(E.__)("Show Guides","getwid"),isActive:ft,onClick:function(){n.setState({showRullers:!ft})}}]})),wp.element.createElement(L.a,l()({},o(o(o(o({},this.props),{isLockedPaddingsOnDesktop:wt,isLockedPaddingsOnTablet:ht,isLockedPaddingsOnMobile:vt}),{isLockedMarginsOnDesktop:_t,isLockedMarginsOnTablet:kt,isLockedMarginsOnMobile:Ot}),{},{baseClass:me,changeState:Et}),{key:"inspector"})),wp.element.createElement("div",l()({id:Lt,className:It,style:jt},Dt),wp.element.createElement(A.a,o(o(o(o(o({},{paddingBottom:Se,paddingRight:je,paddingLeft:xe,paddingTop:Ce}),{paddingBottomValue:we,paddingRightValue:ve,paddingLeftValue:he,paddingTopValue:be}),{marginBottom:Fe,marginRight:He,marginLeft:We,marginTop:Ve}),{marginBottomValue:_e,marginRightValue:Oe,marginLeftValue:ke,marginTopValue:ye}),{},{changeState:Et,setAttributes:mt,showRullers:ft,isSelected:gt,baseClass:me,clientId:Ct,isLayoutSet:Kt||Jt||Yt||qt||!Getwid.settings.wide_support}),wp.element.createElement("div",{className:xt,style:St},wp.element.createElement(R.a,o(o({},this.props),{},{baseClass:me})),(!!v||!!d)&&"none"!==_&&wp.element.createElement("div",{className:j()("getwid-background-video-controls",s()({},"is-position-".concat(_),"top-right"!==_))},wp.element.createElement("button",{onClick:this.playBackgroundVideo,className:"getwid-background-video-play",ref:function(e){return n.videoButtonRef=e}},("self"==g&&"paused"===this.state.videoPlayState||"youtube"==g&&"paused"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-play"}),("self"==g&&"playing"===this.state.videoPlayState||"youtube"==g&&"playing"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{onClick:this.muteBackgroundVideo,className:"getwid-background-video-mute"},("self"==g&&!0===this.state.videoMuteState||"youtube"==g&&!0===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}),("self"==g&&!1===this.state.videoMuteState||"youtube"==g&&!1===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-volume-up"}))),wp.element.createElement("div",{className:j()("".concat(me,"__inner-wrapper"),s()({},"has-dividers-over",P)),style:Bt},wp.element.createElement("div",{className:"".concat(me,"__background-holder")},wp.element.createElement("div",{className:At,style:Nt},!!q&&wp.element.createElement("div",{className:"".concat(me,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(me,"__background-image"),src:q.url,alt:q.alt,"data-id":q.id})),!!h.length&&wp.element.createElement("div",{className:"".concat(me,"__background-slider-wrapper")},wp.element.createElement(B.a,o(o({},this.props),{},{baseClass:me}))),(!!v||!!d)&&wp.element.createElement("div",{className:"".concat(me,"__background-video-wrapper")},!!d&&"youtube"==g&&wp.element.createElement("div",{className:j()("".concat(me,"__background-video"),"source-youtube",s()({},"scale-youtube-".concat(m),""!=m))},wp.element.createElement("div",{className:"".concat(me,"__background-video-youtube"),id:"ytplayer-".concat(Ct)})),!!v&&"self"==g&&wp.element.createElement(N.a,l()({},o(o({},this.props),{},{baseClass:me}),{onVideoEnd:this.onBackgroundVideoEnd,videoAutoplay:!1,videoMute:this.state.videoMuteState,videoElemRef:function(e){return n.videoRef=e}})))),wp.element.createElement("div",{className:"".concat(me,"__foreground"),style:Mt})),wp.element.createElement("div",{className:"".concat(me,"__content")},wp.element.createElement("div",{className:"".concat(me,"__inner-content")},wp.element.createElement(oe,{renderAppender:function(){return wp.element.createElement(oe.ButtonBlockAppender,null)},defaultBlock:!1,template:de,templateInsertUpdatesSelection:!1,templateLock:!1})))))))):wp.element.createElement("div",{className:"components-placeholder block-editor-inner-blocks__template-picker has-many-options"},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(J,{icon:"layout"}),Object(E.__)("Choose Section Layout","getwid")),wp.element.createElement("div",{className:"components-placeholder__instructions"},Object(E.__)("Select a layout to start with, or make one yourself.","getwid")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement("ul",{className:"block-editor-inner-blocks__template-picker-options"},zt.map(function(e,t){return wp.element.createElement("li",null,wp.element.createElement(Z,{text:e.title},wp.element.createElement(Q,{className:"components-icon-button block-editor-inner-blocks__template-picker-option is-button is-default is-large",key:t,onClick:function(){return e.layout()}},e.icon)))})),wp.element.createElement("div",{class:"block-editor-inner-blocks__template-picker-skip"},wp.element.createElement(Q,{className:"components-button is-link",onClick:function(){return mt({skipLayout:!0})}},Object(E.__)("Skip","getwid"))))))}},{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.youTubeVideoUrl;t&&this.animate(),n&&""!=n&&this.initYouTubeVideo()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.attributes,r=n.entranceAnimation,o=n.entranceAnimationDuration,i=n.youTubeVideoUrl,a=n.backgroundVideoType,l=n.youTubeVideoMute,c=n.youTubeVideoLoop,s=n.youTubeVideoAutoplay,u=this.props,p=u.baseClass,d=u.clientId,m=(u.isSelected,e.attributes.entranceAnimation),g=e.attributes.entranceAnimationDuration,f=e.attributes.youTubeVideoUrl,b=e.attributes.backgroundVideoType,w=e.attributes.youTubeVideoMute,h=e.attributes.youTubeVideoLoop,v=e.attributes.youTubeVideoAutoplay;!r||m===r&&g===o||(pe(".".concat(p,"-").concat(d)).css("animation-name",""),this.animate()),(f!==i||b!==a&&"youtube"==a||w!==l||h!==c||v!==s)&&this.initYouTubeVideo()}},{key:"initYouTubeVideo",value:function(){var e,t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],this.props.clientId),n=this.changeState,r=this.props.attributes,o=r.youTubeVideoUrl,i=r.youTubeVideoMute,a=r.youTubeVideoLoop;r.youTubeVideoAutoplay;pe("#youtube_video_api_js").length||function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://www.youtube.com/iframe_api",e.id="youtube_video_api_js";var t=!1;document.getElementsByTagName("head")[0].appendChild(e),e.onload=e.onreadystatechange=function(){t||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(t=!0,e.onload=e.onreadystatechange=null)}}(),function(){var r=setInterval(function(){ge&&(clearInterval(r),YT.get("ytplayer-".concat(t))&&YT.get("ytplayer-".concat(t)).destroy(),o&&""!=o&&(e=new YT.Player("ytplayer-".concat(t),{playerVars:{autoplay:0,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,loop:"true"==a?1:0,playlist:"true"==a?Object(I.f)(o):"",modestbranding:1,rel:0,showinfo:0,enablejsapi:1,mute:"true"==i?1:0,autohide:1},height:"100%",width:"100%",videoId:Object(I.f)(o),events:{onReady:function(e){},onStateChange:function(e){0==e.data&&"false"==a&&(e.target.f.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"),n({YTvideoPlayState:"paused"}))}}})))},1)}()}},{key:"animate",value:function(){var e=this.props,t=e.baseClass,n=e.clientId;new WOW({boxClass:"".concat(t,"-").concat(n),scrollContainer:"."+Object(I.e)(),live:!1,mobile:!1}).init()}},{key:"playBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoPlayState;if("self"==e){var r=this.videoRef;r.paused?(r.play(),this.setState({videoPlayState:"playing"})):(r.pause(),this.setState({videoPlayState:"paused"}))}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));"paused"==n?(o.f.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"),this.setState({YTvideoPlayState:"playing"})):"playing"==n&&(o.f.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*"),this.setState({YTvideoPlayState:"paused"}))}}},{key:"onBackgroundVideoEnd",value:function(){this.setState({videoPlayState:"paused"})}},{key:"muteBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoMuteState;if("self"==e){var r=this.videoRef;r.muted=!r.muted,this.setState({videoMuteState:r.muted})}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));1==n?(o.f.contentWindow.postMessage('{"event":"command","func":"unMute","args":""}',"*"),this.setState({YTvideoMuteState:!1})):0==n&&(o.f.contentWindow.postMessage('{"event":"command","func":"mute","args":""}',"*"),this.setState({YTvideoMuteState:!0}))}}}]),t}(H);t.a=se([U(function(e,t){return{getBlock:e("core/editor").getBlock}}),ie("backgroundColor")])(fe)},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n(0);t.a={"zigzag-ice-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,points:"893,50.7 879,75.9 790,63.3 764,81.8 671,69.2 627,81.8 565,66.2 501.5,83.3 456,69.6 353,84 290,63.3 245.5,73.3 209,58.8 123.5,69.9 111.3,42.6 54.8,49.2 34.7,26.3 11.8,31.8 0,10 0,100 1000,100 1000,37.4 960,56.3 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"893,40.7 879,65.9 790,53.3 764,71.8 671,59.2 627,71.8 565,56.2 501.5,73.3 456,59.6 353,74 290,53.3 245.5,63.3 209,48.8 123.5,59.9 111.3,32.6 54.8,39.2 34.7,16.3 11.8,21.8 0.2,0 0,0 0,100 1000,100 1000,27.4 960,46.3 "}))},"zigzag-ice":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,points:"0.2,0 11.8,21.8 34.7,16.3 54.8,39.2 111.3,32.6 123.5,59.9 209,48.8 245.5,63.3 290,53.3 353,74 456,59.6 501.5,73.3 565,56.2 627,71.8 671,59.2 764,71.8 790,53.3 879,65.9 893,40.7 960,46.3 1000,27.4 1000,0 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,10 11.8,31.8 34.7,26.3 54.8,49.2 111.3,42.6 123.5,69.9 209,58.8 245.5,73.3 290,63.3 353,84 456,69.6 501.5,83.3 565,66.2 627,81.8 671,69.2 764,81.8 790,63.3 879,75.9 893,50.7 960,56.3 1000,37.4 1000,0"}))},"zigzag-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1800 6",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,1 3.5,5.4 7,1 10.5,5.4 14,1 17.5,5.4 21,1 24.5,5.4 28,1 31.5,5.4 35,1 38.5,5.4 42,1 45.5,5.4 49,1 52.5,5.4 56,1 59.5,5.4 63,1 66.5,5.4 70,1 73.5,5.4 77,1 80.5,5.4 84,1 87.5,5.4 91,1 94.5,5.4 98,1 101.5,5.4 105,1 108.5,5.4 112,1 115.5,5.4 119,1 122.5,5.4 126,1 129.5,5.4 133,1 136.5,5.4 140,1 143.5,5.4 147,1 150.5,5.4 154,1 157.5,5.4 161,1 164.5,5.4 168,1 171.5,5.4 175,1 178.5,5.4 182,1 185.5,5.4 189,1 192.5,5.4 196,1 199.5,5.4 203,1 206.5,5.4 210,1 213.5,5.4 217,1 220.5,5.4 224,1 227.5,5.4 231,1 234.5,5.4 238,1 241.5,5.4 245,1 248.5,5.4 252,1 255.5,5.4 259,1 262.5,5.4 266,1 269.5,5.4 273,1 276.5,5.4 280,1 283.5,5.4 287,1 290.5,5.4 294,1 297.5,5.4 301,1 304.5,5.4 308,1 311.5,5.4 315,1 318.5,5.4 322,1 325.5,5.4 329,1 332.5,5.4 336,1 339.5,5.4 343,1 346.5,5.4 350,1 353.5,5.4 357,1 360.5,5.4 364,1 367.5,5.4 371,1 374.5,5.4 378,1 381.5,5.4 385,1 388.5,5.4 392,1 395.5,5.4 399,1 402.5,5.4 406,1 409.5,5.4 413,1 416.5,5.4 420,1 423.5,5.4 427,1 430.5,5.4 434,1 437.5,5.4 441,1 444.5,5.4 448,1 451.5,5.4 455,1 458.5,5.4 462,1 465.5,5.4 469,1 472.5,5.4 476,1 479.5,5.4 483,1 486.5,5.4 490,1 493.5,5.4 497,1 500.5,5.4 504,1 507.5,5.4 511,1 514.5,5.4 518,1 521.5,5.4 525,1 528.5,5.4 532,1 535.5,5.4 539,1 542.5,5.4 546,1 549.5,5.4 553,1 556.5,5.4 560,1 563.5,5.4 567,1 570.5,5.4 574,1 577.5,5.4 581,1 584.5,5.4 588,1 591.5,5.4 595,1 598.5,5.4 602,1 605.5,5.4 609,1 612.5,5.4 616,1 619.5,5.4 623,1 626.5,5.4 630,1 633.5,5.4 637,1 640.5,5.4 644,1 647.5,5.4 651,1 654.5,5.4 658,1 661.5,5.4 665,1 668.5,5.4 672,1 675.5,5.4 679,1 682.5,5.4 686,1 689.5,5.4 693,1 696.5,5.4 700,1 703.5,5.4 707,1 710.5,5.4 714,1 717.5,5.4 721,1 724.5,5.4 728,1 731.5,5.4 735,1 738.5,5.4 742,1 745.5,5.4 749,1 752.5,5.4 756,1 759.5,5.4 763,1 766.5,5.4 770,1 773.5,5.4 777,1 780.5,5.4 784,1 787.5,5.4 791,1 794.5,5.4 798,1 801.5,5.4 805,1 808.5,5.4 812,1 815.5,5.4 819,1 822.5,5.4 826,1 829.5,5.4 833,1 836.5,5.4 840,1 843.5,5.4 847,1 850.5,5.4 854,1 857.5,5.4 861,1 864.5,5.4 868,1 871.5,5.4 875,1 878.5,5.4 882,1 885.5,5.4 889,1 892.5,5.4 896,1 899.5,5.4 903,1 906.5,5.4 910,1 913.5,5.4 917,1 920.5,5.4 924,1 927.5,5.4 931,1 934.5,5.4 938,1 941.5,5.4 945,1 948.5,5.4 952,1 955.5,5.4 959,1 962.5,5.4 966,1 969.5,5.4 973,1 976.5,5.4 980,1 983.5,5.4 987,1 990.5,5.4 994,1 997.5,5.4 1001,1 1004.5,5.4 1008,1 1011.5,5.4 1015,1 1018.5,5.4 1022,1 1025.5,5.4 1029,1 1032.5,5.4 1036,1 1039.5,5.4 1043,1 1046.5,5.4 1050,1 1053.5,5.4 1057,1 1060.5,5.4 1064,1 1067.5,5.4 1071,1 1074.5,5.4 1078,1 1081.5,5.4 1085,1 1088.5,5.4 1092,1 1095.5,5.4 1099,1 1102.5,5.4 1106,1 1109.5,5.4 1113,1 1116.5,5.4 1120,1 1123.5,5.4 1127,1 1130.5,5.4 1134,1 1137.5,5.4 1141,1 1144.5,5.4 1148,1 1151.5,5.4 1155,1 1158.5,5.4 1162,1 1165.5,5.4 1169,1 1172.5,5.4 1176,1 1179.5,5.4 1183,1 1186.5,5.4 1190,1 1193.5,5.4 1197,1 1200.5,5.4 1204,1 1207.5,5.4 1211,1 1214.5,5.4 1218,1 1221.5,5.4 1225,1 1228.5,5.4 1232,1 1235.5,5.4 1239,1 1242.5,5.4 1246,1 1249.5,5.4 1253,1 1256.5,5.4 1260,1 1263.5,5.4 1267,1 1270.5,5.4 1274,1 1277.5,5.4 1281,1 1284.5,5.4 1288,1 1291.5,5.4 1295,1 1298.5,5.4 1302,1 1305.5,5.4 1309,1 1312.5,5.4 1316,1 1319.5,5.4 1323,1 1326.5,5.4 1330,1 1333.5,5.4 1337,1 1340.5,5.4 1344,1 1347.5,5.4 1351,1 1354.5,5.4 1358,1 1361.5,5.4 1365,1 1368.5,5.4 1372,1 1375.5,5.4 1379,1 1382.5,5.4 1386,1 1389.5,5.4 1393,1 1396.5,5.4 1400,1 1403.5,5.4 1407,1 1410.5,5.4 1414,1 1417.5,5.4 1421,1 1424.5,5.4 1428,1 1431.5,5.4 1435,1 1438.5,5.4 1442,1 1445.5,5.4 1449,1 1452.5,5.4 1456,1 1459.5,5.4 1463,1 1466.5,5.4 1470,1 1473.5,5.4 1477,1 1480.5,5.4 1484,1 1487.5,5.4 1491,1 1494.5,5.4 1498,1 1501.5,5.4 1505,1 1508.5,5.4 1512,1 1515.5,5.4 1519,1 1522.5,5.4 1526,1 1529.5,5.4 1533,1 1536.5,5.4 1540,1 1543.5,5.4 1547,1 1550.5,5.4 1554,1 1557.5,5.4 1561,1 1564.5,5.4 1568,1 1571.5,5.4 1575,1 1578.5,5.4 1582,1 1585.5,5.4 1589,1 1592.5,5.4 1596,1 1599.5,5.4 1603,1 1606.5,5.4 1610,1 1613.5,5.4 1617,1 1620.5,5.4 1624,1 1627.5,5.4 1631,1 1634.5,5.4 1638,1 1641.5,5.4 1645,1 1648.5,5.4 1652,1 1655.5,5.4 1659,1 1662.5,5.4 1666,1 1669.5,5.4 1673,1 1676.5,5.4 1680,1 1683.5,5.4 1687,1 1690.5,5.4 1694,1 1697.5,5.4 1701,1 1704.5,5.4 1708,1 1711.5,5.4 1715,1 1718.5,5.4 1722,1 1725.5,5.4 1729,1 1732.5,5.4 1736,1 1739.5,5.4 1743,1 1746.5,5.4 1750,1 1753.5,5.4 1757,1 1760.5,5.4 1764,1 1767.5,5.4 1771,1 1774.5,5.4 1778,1 1781.5,5.4 1785,1 1788.5,5.4 1792,1 1795.5,5.4 1799,1 1800,2.3 1800,0 "}))},"waves-layered":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 120",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,69c-50.96-10.13-166.19-39.07-313-13C85.7,67.6,33.79,86.59,0,100.9V120h1000V1 C748.08,88.13,576.28,91.31,464,69z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,89c-50.96-10.13-166.19-59.07-313-33C85.7,67.6,33.79,86.59,0,100.9V120h1000V67C748.08,154.13,576.28,111.31,464,89z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,79c-50.96-10.13-166.19-49.07-313-23C85.7,67.6,33.79,86.59,0,100.9V120h1000V34 C748.08,121.13,576.28,101.31,464,79z"}))},"waves-large-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M902.8,47.5c-76.9-1-113-55.3-174.5-36.5c-22.9,7-31.6,18.6-58.3,19c-34.2,0.5-43.6-18.3-69-21c-55.8-6-70.7,78.2-127.4,82.3C418.5,95.2,366.5,10.7,300.1,10c-1.5,0-2.7,0-2.7,0c-40,0.5-66,23.8-87.6,36.7c-36,21.4-73.3,22-89,22.1C63.3,69.1,19.4,36.1,0,19v81h1000V20.4C959.3,43.3,926.1,47.8,902.8,47.5z"}))},"waves-large":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,19c19.4,17.1,63.3,50.1,120.8,49.8c15.7-0.1,53-0.7,89-22.1c21.6-12.9,47.6-36.2,87.6-36.7c0,0,1.2,0,2.7,0c66.4,0.7,118.4,85.2,173.5,81.3C530.3,87.2,545.2,3,601,9c25.4,2.7,34.8,21.5,69,21c26.7-0.4,35.4-12,58.3-19c61.5-18.8,97.6,35.5,174.5,36.5c23.3,0.3,56.6-4.2,97.3-27.2V0H0V19z"}))},"waves-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 996 4",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,1c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2C9.2,3,8.8,1,6,1C3.2,1,2.8,3,0,3v1h996V3C993.2,3,992.8,1,990,1z"}))},"waves-light":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,60c-50.96-10.13-166.19-39.07-313-13C85.7,58.6,33.79,77.59,0,91.9v8.1h1000V0C748.08,87.13,576.28,82.31,464,60z"}))},waves:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v19c33.17,17.01,84.77,38.06,149,41c96.07,4.4,128.39-35.91,211-52c157.72-30.72,212.84,82.55,404,85c54.27,0.7,135.59-7.33,236-53.7V0H0z"}))},"triangle-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M492,97.3L0,1.1V100h1000V1.1L508,97.3C502.7,98.4,497.3,98.4,492,97.3z"}))},"triangle-asymmetrical-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M689,96L0,1.1V100h1000V1.1l-269.9,91C716.9,96.6,702.8,97.9,689,96z"}))},"triangle-asymmetrical-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M730.1,92.1c-13.2,4.5-27.3,5.8-41.1,3.9L0,1.1V0h1000v1.1L730.1,92.1z"}))},"triangle-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M508,97.3c-5.3,1-10.7,1-16,0L0,1.1V0h1000v1.1L508,97.3z"}))},"triangle-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 500,98.9 "}))},"triangle-asymmetrical-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 710,98.9 "}))},"triangle-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}))},triangle:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M500,98.9L0,1.1V0h1000v1.1L500,98.9z"}))},tilt:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0h1000v100L0,0z"}))},"tilt-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0H0v100L1000,0z"}))},"split-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M516,3c-8.8,0-16,7.2-16,16c0-8.8-7.2-16-16-16H0v16v1h1000v-1V3H516z"}))},split:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3h484c8.8,0,16,7.2,16,16c0-8.8,7.2-16,16-16h484V0H0z"}))},"drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M975,56.8c-8.3,0-15,6.8-15,15v3c0,8.3-6.8,15-15,15s-15-6.8-15-15v-45c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V80c0,8.3-6.8,15-15,15s-15-6.8-15-15v2c0-8.3-6.8-15-15-15s-15,6.8-15,15v-3.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15v-8.4c0-8.3-6.8-15-15-15s-15,6.8-15,15V74c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v12.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V32c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V81c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v2.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V19c0-8.3-6.8-15-15-15s-15,6.8-15,15v34c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V100h990V71.8C990,63.6,983.3,56.8,975,56.8z"}))},"tilted-drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,38.6c-0.8,0.4-1.5,1-2.2,1.6l-38.9,38.9c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l26.1-26.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L898,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-55.8,55.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-24.8,24.8c-3.9,3.6-10,3.5-13.8-0.3c-3.7-3.7-3.9-9.8,12.2-26.3l20.7-20.7c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-48.7,48.7c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1h0c-3.9-3.9-10.3-3.9-14.1,0l-6.3,6.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L617.3,72c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-34.5,34.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-62.8,62.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-8.9-1.1-12.8l21.3-21.3c3.9-3.9,3.9-10.3,0-14.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-41.6,41.6c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l19-19c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L109.3,72c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0L51.3,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l33.1-33.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L0,68.3V100h990V38.6z"}))},"tilted-drips":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v68.3l56.4-56.4c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L37.4,59.2c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l67.2-67.2c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-19,19c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l41.6-41.6c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L341,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.9,3.9,3.9,10.3,0,14.1L361,74.4c-2.7,3.9-2.3,9.3,1.1,12.8c3.7,3.7,9.7,3.9,13.6,0.5l62.8-62.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L510.3,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l60.1-60.1c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L679.6,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l6.3-6.3c3.9-3.9,10.3-3.9,14.1,0h0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-20.7,20.7c-16.1,16.5-15.9,22.6-12.2,26.3c3.8,3.8,9.9,3.9,13.8,0.3l24.8-24.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l55.8-55.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L934.8,65c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l38.9-38.9c0.7-0.7,1.4-1.2,2.2-1.6V0H0z"}))},drips:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V19c0-8.3,6.8-15,15-15s15,6.8,15,15v13.2c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.4c0-8.3,6.8-15,15-15s15,6.8,15,15V81c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V32c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v33.4c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V74c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v8.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15v27.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15v-2c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v29.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15v45c0,8.3,6.8,15,15,15s15-6.8,15-15v-3c0-8.3,6.8-15,15-15s15,6.8,15,15V0H0z"}))},"pyramids-round-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M790.8,50.4l-146.3-28c-4.9-1-10-0.9-14.8,0.3l-302.2,72c-6.3,1.5-12.8,1.3-18.9-0.5L0,3v97h1000V20.6L807.3,50.7C801.9,51.5,796.3,51.4,790.8,50.4z"}))},"pyramids-round":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,3l308.6,91.2c6.1,1.8,12.6,2,18.9,0.5l302.2-72c4.8-1.2,9.9-1.3,14.8-0.3l146.3,28c5.5,1,11.1,1.1,16.5,0.3L1000,20.6V0H0V3z"}))},"pyramids-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"637,21 318,97 0,3 0,100 1000,100 1000,20.6 799,52 "}))},pyramids:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,97 637,21 799,52 1000,20.6 1000,0 0,0 "}))},"triangle-layered-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,78.9L0,1.1V0h1000v1.1L710,78.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,58.9L0,1.1V0h1000v1.1L710,58.9z"}))},"tilt-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 2600 130",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"2600,65 0,1 0,0 2600,0 "}),wp.element.createElement("rect",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,width:"2600",height:"65"}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"2600,65 0,129 0,0 2600,0 "}))},"tilt-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M0,6V0h1000v100L0,6z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,6V0H0v100L1000,6z"}))},"tilt-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 20",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"300,1 150,3 0,1 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,6 150,3 0,6 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,16 150,3 0,16 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,11 150,3 0,11 0,0 300,0 "}))},"opacity-pyramids":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,77 637,21 799,52 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,23 318,77 637,41 799,62 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,53 318,77 637,61 799,82 1000,20.6 1000,0 0,0 "}))},mountains:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M96.75,42.51c41.73,3.17,56.48-13.82,97.52-23.11C303.06-5.25,340.46,82.24,438.1,54.44c33.81-9.63,53.36-26.96,113.28-37.89c6.98-1.27,32.05-6.68,62.62-6.55c102.24,0.44,122.48,45.95,222,41.5c70.08-3.13,126.55-28.66,164-50.4V0H0v0.9C21.95,18.65,54.96,39.33,96.75,42.51z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M62.31,65.11C104.87,60.84,123.89,39.78,176.9,37c13.38-0.7,23.39-0.29,29.97,0.57C241.3,42.12,263.58,59.94,337.9,73C446,92,461,28,587.8,30c108.8,1.8,125.5,49.4,235,46C901.4,73.6,986,46.2,1000,26.1V0H0v58.3C27.02,66.57,48.28,66.52,62.31,65.11z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M142.1,74c55.77-2.72,60.02-21.75,116.4-28c71.3-7.9,95.2,23.8,167.8,36C539.1,101,554.8,37,687,39c113.5,1.8,131,49.4,245.1,46c22.7-0.7,45.9-3.3,67.9-7.1V0H0v29C33.03,51.37,82.74,76.89,142.1,74z"}))},"drops-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M292,12c-1.2-1.2,0.4-3.4-1-5c-1.5-1.9-5.8-1.7-7,0c-1,1.5,0,5,0,6s-0.5,2-2.8,2s-2.3-2-1.3-3s2.6-5.5,2-8c-0.6-2.6-4.2-3.8-6-3c-1.4,0.6-3,4-2,7s1,6-0.6,6c-3,0-3.4-1-3.4-3s2.4-5-0.1-8C268,1,265,2,265,3s1,3-2,3s-2-4-5-4s-1,3-3,3s-1-3-3-4s-4,2-4,3s2,3-1,3s-1-5-4-5s-5,2-5,5s3,7-1,6s-1-3-1-7s-3.8-4.2-5-4c-0.8,0.1-4,1-4,4s2,6-1,6s-3-4-3-7s-2.9-4.4-5-4c-2.1,0.3-2.4,4-4,4c-1.8,0-2-4-4-4s-1.8,2.6-2,4c-0.4,2.9,3,7-2,7s-4-4-3-5s2.8-6,0.4-6S199,1,198,5s3.5,7-0.3,8s-3.8-2-3.8-5s2-7-2-7s-2,4-2,7s0,5-3,5s0.2-4-2-8c-0.1-0.2-1-3-3-3s0,6-2,6s-2-2-2-3s1-3-1-3s-2,5-2,7s1,6-3,5s2.9-9.6-0.6-12c-2-1.4-6.2-1.7-8.4,1c-3.4,4.2,3,11-2,11s0.9-5.8-2-10c-2.5-3.5-9.3-3-11.1-2S145,5,145,6s1,5,1,6s-3.7,3.4-5,1c-1.3-2.5,0-6,0-8s-2-4-4.5-4S135,4,133,4s-1.3-2-3-3s-3,0-3,2s5,9-2,10s-4.4-9-6-11s-3.9-1.5-6,1c-2.4,2.9,1.9,5.1-1,9c-1.1,1.5-2,4-4,2s0.3-4.1-1-9c-0.6-2.2-1-4-3-4s0,6-4,6s-4-1-4-2c0-4-3.4-3.9-5-4c-1.6-0.1-3.5,1.4-4,3c-0.6,1.9,0,6-2,6s-2-1-2-3s-1-4-2.5-5S76.7,1,76,3c-0.6,1.6-0.6,2.6,0,7c0.3,2.2-1,5-5,4s-2-5-2-7c0-4-3-6-5.5-5S60,5,60,7s3.3,6,0.6,7S57,13,57,11s0-5.9-2-8c-0.2-0.2-4-2-5,1s7,9,2,10s-4.9-2.5-5-6c-0.1-2.4,1.8-4.1,1-5c-0.6-0.7-2-0.5-3,0c-1.3,0.7-1.1,1.7-2,2c-1.8,0.6-4-4-5-3s-0.2,2.8,0,4c0.9,4.3,4,6,2,7s-3-1-3-2s0.9-6.9-1-9c-1.2-1.3-3.7-1-4-1c-2.6,0.3-3.4,2.4-5,2c-1.6-0.4-1.6-1.8-2.9-2c-1.5-0.2-3.2,1.6-4.1,4c-1.5,4-0.1,6.2-2,8c-1.1,1-3,1.7-4,1c-1.5-1.1,0.6-4.4-1-9c-0.7-2.2-1-4-3-4S9.2,3.7,8,4C6.9,4.3,6,2.6,5,3C4.3,3.2,4.1,4.2,4,5c-0.8,4.6,2,6.8-1,7S0.4,8.3,0,3.5V16h300V9.7C297.9,12.3,293.5,13.4,292,12z"}))},drops:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3.5c0.4,4.8,0,8.8,3,8.5s0.2-2.4,1-7c0.1-0.8,0.3-1.8,1-2c1-0.4,1.9,1.3,3,1c1.2-0.3,0-3,2-3s2.3,1.8,3,4c1.6,4.6-0.5,7.9,1,9c1,0.7,2.9,0,4-1c1.9-1.8,0.5-4,2-8c0.9-2.4,2.7-4.2,4.1-4c1.3,0.2,1.2,1.6,2.9,2c1.6,0.4,2.4-1.7,5-2c0.3,0,2.8-0.3,4,1c1.9,2.1,1,8,1,9s1,3,3,2s-1.1-2.7-2-7c-0.2-1.2-1-3,0-4s3.2,3.6,5,3c0.9-0.3,0.7-1.3,2-2c1-0.5,2.4-0.7,3,0c0.8,0.9-1.1,2.6-1,5c0.1,3.5,0,7,5,6s-3-7-2-10s4.8-1.2,5-1c2,2.1,2,6,2,8s1,4,3.6,3S60,9,60,7s1-4,3.5-5S69,3,69,7c0,2-2,6,2,7s5.3-1.8,5-4c-0.6-4.4-0.6-5.4,0-7c0.7-2,3-2,4.5-1S83,5,83,7s0,3,2,3s1.4-4.1,2-6c0.5-1.6,2.4-3.1,4-3c1.6,0.1,5,0,5,4c0,1,0,2,4,2s2-6,4-6s2.4,1.8,3,4c1.3,4.9-1,7,1,9s2.9-0.5,4-2c2.9-3.9-1.4-6.1,1-9c2.1-2.5,4.4-3,6-1s-1,12,6,11s2-8,2-10s1.3-3,3-2s1,3,3,3s1-3,3.5-3s4.5,2,4.5,4s-1.3,5.5,0,8c1.3,2.4,5,0,5-1s-1-5-1-6s1-3,2.9-4s8.6-1.5,11.1,2c2.9,4.2-3,10,2,10s-1.4-6.8,2-11c2.2-2.7,6.4-2.4,8.4-1c3.6,2.4-3.4,11,0.6,12s3-3,3-5s0-7,2-7s1,2,1,3s0,3,2,3s0-6,2-6s2.9,2.8,3,3c2.2,4-1,8,2,8s3-2,3-5s-2-7,2-7s2,4,2,7s0,6,3.8,5S197,9,198,5s3-4,5.4-4s0.6,5-0.4,6s-2,5,3,5s1.6-4.1,2-7c0.2-1.4,0-4,2-4s2.2,4,4,4c1.6,0,1.9-3.7,4-4c2.1-0.4,5,1,5,4s0,7,3,7s1-3,1-6s3.2-3.9,4-4c1.2-0.2,5,0,5,4s-3,6,1,7s1-3,1-6s2-5,5-5s1,5,4,5s1-2,1-3s2-4,4-3s1,4,3,4s0-3,3-3s2,4,5,4s2-2,2-3s3-2,4.9,0c2.5,3,0.1,6,0.1,8s0.3,3,3.4,3c1.6,0,1.6-3,0.6-6s0.6-6.4,2-7c1.8-0.8,5.4,0.4,6,3c0.6,2.5-1,7-2,8s-1,3,1.3,3s2.8-1,2.8-2s-1-4.5,0-6c1.2-1.7,5.5-1.9,7,0c1.4,1.6-0.2,3.8,1,5c1.5,1.4,5.9,0.3,8-2.3V0H0z"}))},"curve-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v60c29.7,29.7,977.4,40,999.6,40H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v30c59.5,59.5,985.3,70,999.8,70H1000z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0.1l0,0c89,89.1,971.7,100,999.3,100H1000L1000,100z"}))},"curve-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.4,100c22.2,0,969.9-10.3,999.6-40V0H0v100H0.4z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.2,100c14.5,0,940.3-10.5,999.8-70V0H0v100H0.2z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h0.6c27.6,0,910.3-10.9,999.3-100l0,0H0V100L0,100z"}))},"curve-layered-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,30.1,9.9,0,40V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,90.5,9.5,0,100V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,60,10,0,70V0H1000z"}))},"curve-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,969.9,9.9,1000,40V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,909.5,9.5,1000,100V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,940,10,1000,70V0H0z"}))},"curve-6":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M630,99C266,99,0,1,0,1v99h1000V1C1000,1,994,99,630,99z"}))},"curve-8":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M370,99c364,0,630-98,630-98v99H0V1C0,1,6,99,370,99z"}))},"curve-7":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1c0,0,6,98,370,98s630-98,630-98V0H0V1z"}))},"curve-5":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-6,98-370,98S0,1,0,1V0h1000V1z"}))},curve:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-136,98-500,98S0,1,0,1V0h1000V1z"}))},"curve-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1v99h1000V1c0,0-136,98-500,98S0,1,0,1z"}))},"curve-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h1000V0C1000,0,1000,100,0,100z"}))},"curve-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100H0V0C0,0,0,100,1000,100z"}))},"curve-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100C0,100,0,0,0,0s666.7,0,1000,0V100z"}))},"curve-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100C1000,100,1000,0,1000,0S333.3,0,0,0V100z"}))},"clouds-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M273.5,16.2c-2.2-1.6-4.8-2.6-7.7-2.6c0-0.2,0-0.5,0-0.7c0-4.6-3.8-8.4-8.4-8.4c-2.5,0-4.8,1.1-6.3,2.9c-1.7-0.7-3.5-1.2-5.4-1.2c-7.2,0-13.1,5.7-13.3,12.8c-0.2,0-0.4,0-0.7,0c-2.4,0-4.8,0.6-6.8,1.7c-1.1-2.2-3.3-3.7-5.8-3.7c-3.6,0-6.5,2.9-6.5,6.5c0,0.5,0.1,1,0.2,1.5c-0.2,0-0.3,0-0.5,0c-3.4,0-6.4,1.7-8.2,4.4c-2.6-2.7-6.2-4.4-10.2-4.4c-1.8,0-3.6,0.4-5.2,1c-0.4-4.5-4.2-8-8.8-8c-0.3,0-0.7,0-1,0.1c-3.9-5.8-10.6-9.6-18.1-9.6c-4.9,0-9.3,1.6-13,4.3c-0.8-0.3-1.7-0.5-2.6-0.5c-3.8,0-6.9,3-7,6.8c-0.1,0-0.1,0-0.2,0c-4.1,0-8,1.4-11,3.8c-1.1-2.6-3.7-4.4-6.7-4.4c-0.5,0-1.1,0.1-1.6,0.2c-1-1.3-2.5-2.2-4.3-2.2c-1.5,0-2.9,0.7-3.9,1.7c-0.8-1.2-1.9-2.2-3.2-2.8c0.4-0.7,0.7-1.5,0.7-2.4c0-2.7-2.2-4.9-4.9-4.9c-1.9,0-3.5,1.1-4.3,2.6c-0.8-0.4-1.6-0.6-2.5-0.6c-2.9,0-5.4,2.2-5.6,5.1c-0.5-0.1-1-0.1-1.6-0.1c-4.2,0-7.6,2.8-8.8,6.6c-1.9-1.3-4.3-2-6.8-2c-5.2,0-9.6,3.2-11.5,7.7c-0.9-0.1-1.7-0.2-2.6-0.2c-0.2,0-0.3,0-0.5,0c0-5.2-4.3-9.5-9.5-9.5c-0.1,0-0.2,0-0.2,0C48.4,16,46.9,15,45,15c-2.7,0-4.9,2.2-4.9,4.9c0,0.4,0,0.7,0.1,1.1C39.2,20.3,38,20,36.7,20c-2.7,0-5.1,1.5-6.3,3.7c-0.4-0.1-0.8-0.1-1.2-0.1c-1.5,0-2.8,0.3-4,0.9c-3.4-4.1-8.6-6.8-14.4-6.8C6.7,17.8,3,19,0,21.1V30h280V13.1c-0.6-0.2-1.2-0.4-1.9-0.4C275.9,12.7,274.1,14.2,273.5,16.2z"}))},clouds:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M10.7,17.8c5.8,0,11,2.6,14.4,6.8c1.2-0.6,2.6-0.9,4-0.9c0.4,0,0.8,0,1.2,0.1c1.3-2.2,3.6-3.7,6.3-3.7c1.3,0,2.5,0.3,3.6,0.9c-0.1-0.3-0.1-0.7-0.1-1.1c0-2.7,2.2-4.9,4.9-4.9c1.9,0,3.4,1,4.3,2.6c0.1,0,0.2,0,0.2,0c5.2,0,9.5,4.2,9.5,9.5c0.2,0,0.3,0,0.5,0c0.9,0,1.8,0.1,2.6,0.2c1.9-4.5,6.3-7.7,11.5-7.7c2.5,0,4.8,0.7,6.8,2c1.1-3.8,4.6-6.6,8.8-6.6c0.5,0,1.1,0.1,1.6,0.1c0.3-2.9,2.7-5.1,5.6-5.1c0.9,0,1.7,0.2,2.5,0.6c0.8-1.5,2.4-2.6,4.3-2.6c2.7,0,4.9,2.2,4.9,4.9c0,0.9-0.3,1.7-0.7,2.4c1.3,0.7,2.4,1.7,3.2,2.8c1-1.1,2.3-1.7,3.9-1.7c1.8,0,3.3,0.9,4.3,2.2c0.5-0.1,1-0.2,1.6-0.2c3,0,5.6,1.8,6.7,4.4c3-2.4,6.9-3.8,11-3.8c0.1,0,0.1,0,0.2,0c0.1-3.8,3.2-6.8,7-6.8c0.9,0,1.8,0.2,2.6,0.5c3.6-2.7,8.1-4.3,13-4.3c7.5,0,14.2,3.8,18.1,9.6c0.3,0,0.6-0.1,1-0.1c4.6,0,8.4,3.5,8.8,8c1.6-0.6,3.3-1,5.2-1c4,0,7.6,1.7,10.2,4.4c1.8-2.6,4.8-4.4,8.2-4.4c0.2,0,0.3,0,0.5,0c-0.1-0.5-0.2-1-0.2-1.5c0-3.6,2.9-6.5,6.5-6.5c2.6,0,4.8,1.5,5.8,3.7c2-1.1,4.3-1.7,6.8-1.7c0.2,0,0.4,0,0.7,0c0.3-7.1,6.1-12.8,13.3-12.8c1.9,0,3.8,0.4,5.4,1.2c1.5-1.8,3.8-2.9,6.3-2.9c4.6,0,8.4,3.8,8.4,8.4c0,0.3,0,0.5,0,0.7c2.9,0.1,5.5,1,7.7,2.6c0.6-2,2.4-3.5,4.7-3.5c0.7,0,1.3,0.1,1.9,0.4V0H0v21.1C3,19,6.7,17.8,10.7,17.8z"}))},"book-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M627.7,68.5C504.4,29.9,500,1,500,1s-4.4,28.9-127.7,67.5C249,107.1,0,98.1,0,98.1v1.9h1000v-1.9C1000,98.1,751,107.1,627.7,68.5z"}))},book:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v1v97.1c0,0,249,9.1,372.3-29.6C495.6,29.9,500,1,500,1s4.4,28.9,127.7,67.5C751,107.1,1000,98.1,1000,98.1V1V0H0z"}))},"arrow-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"359,0 350,9 341,0 0,0 0,10 700,10 700,0 "}))},arrow:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"350,9 341,0 359,0 "}))}}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=n(10),k=(n.n(_),n(12)),O=wp.element,E=O.Component,C=O.Fragment,j=window,S=j.jQuery,x=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.draggies={},e.state={needRender:!1},e.marginSizes={},e.paddingSizes={},e.sizesIsFilled=!1,e.initDragRullers=e.initDragRullers.bind(p()(e)),e}m()(t,e);var n=r(t);return s()(t,[{key:"getPaddingRight",value:function(){var e=this.props,t=e.paddingRight,n=e.paddingRightValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingLeft",value:function(){var e=this.props,t=e.paddingLeft,n=e.paddingLeftValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingTop",value:function(){var e=this.props,t=e.paddingTop,n=e.paddingTopValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingBottom",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingBottomValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getMarginRight",value:function(){var e=this.props,t=e.marginRight,n=e.marginRightValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginLeft",value:function(){var e=this.props,t=e.marginLeft,n=e.marginLeftValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginTop",value:function(){var e=this.props,t=e.marginTop,n=e.marginTopValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginBottom",value:function(){var e=this.props,t=e.marginBottom,n=e.marginBottomValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getOffset",value:function(e){var t,n=this.props,r=n.clientId,o=n.baseClass,i=S("#block-".concat(r)),a=i.find(".".concat(o)).first(),l=0;return"left"==e?(t=this.getPaddingLeft(),l=this.getMarginLeft()):"right"==e&&(t=this.getPaddingRight(),l=this.getMarginRight()),isNaN(l)&&(l=0),a.outerWidth()-t-l}},{key:"calculateAllowedWidth",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"margin",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",o=parseFloat(t.css("margin-left")),i=parseFloat(t.css("margin-right")),a=parseFloat(t.css("padding-left")),l=parseFloat(t.css("padding-right"));return"margin"==n&&("left"==r&&(o=this.getMarginLeft()),"right"==r&&(i=this.getMarginRight())),"padding"==n&&("left"==r&&(a=this.getPaddingLeft()),"right"==r&&(l=this.getPaddingRight())),e-(o+i+a+l)-this.minWidth-10}},{key:"initDragRullers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"margin",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"down",o=this.props,a=o.clientId,l=o.baseClass,c=o.setAttributes,s=o.changeState,u=t.charAt(0).toUpperCase()+t.slice(1),p=n.charAt(0).toUpperCase()+n.slice(1),d=S("#block-".concat(a)),m=d.find(".".concat(l)).first(),g=m.children(".".concat(l,"__wrapper")),f=m.children(".".concat(l,"__").concat(t,"-").concat(n,"-area")),b=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-label")),w=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-drag-zone"));if(0!=w.length&&0!=f.length){if(Object.keys(this.draggies).length){var h=!0,v=Object(_.get)(this.draggies,[n,t]);if(v&&v.element.className==w[0].className&&(h=!1),!h)return}Object(_.set)(this.draggies,[n,t],new Draggabilly(w[0],{containment:f,axis:"top"==t||"bottom"==t?"y":"x"}));var y,k,O,E,C=Object(_.get)(this.draggies,[n,t]);C.on("dragStart",function(e){f.addClass("active-drag-area"),f.removeClass("empty-ruller"),b.removeClass("empty-label"),s({isLockedPaddingsOnDesktop:!1,isLockedMarginsOnDesktop:!1}),"top"==t||"bottom"==t?y=f.height():k=f.width()}),C.on("dragMove",function(o,a,c){var s=e.props,d=s.marginRightValue,w=s.marginLeftValue;if(O!=Math.floor(c.y)){var h,v,C,j;j=f.width(),"down"==r?C=Math.abs(y-Math.floor(c.y)):"up"==r&&(C=Math.abs(y+Math.floor(c.y)));var x=function(){f.height(C),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(C,"px"))},P=g.innerWidth(),T=m.outerWidth(),R=function(t,n){var r=Object(_.get)(e.draggies,[t,n]);return r?r.$element.parent():void 0},N=R("padding","top"),A=R("padding","left"),M=R("padding","right"),B=R("padding","bottom"),D=R("margin","top"),I=R("margin","bottom"),L=e.calculateAllowedWidth(T,g,n,t),z=Math.abs(Math.floor(c.x));if(void 0===E&&(E=Math.floor(c.x)),"padding"==n)if("top"==t)x(),M&&M.css({top:C}),A&&A.css({top:C});else if("right"==t){var V=e.getPaddingLeft(),H=P-e.minWidth-V,F=Math.abs(k-Math.floor(c.x));if(!(F<=H))return;j=F;var W=0;Object(_.has)(e.draggies,["margin","right"])&&""!=d&&void 0!=d&&(W=Object(_.get)(e.draggies,["margin","right"]).$element.width()),h=T-j-W,M.css({right:W}),M.css({left:h})}else if("bottom"==t)x(),M&&M.css({bottom:C}),A&&A.css({bottom:C});else if("left"==t){var G=e.getPaddingRight(),U=P-e.minWidth-G,q=Math.abs(k+Math.floor(c.x));if(!(q<=U))return;j=q;var Q=0;Object(_.has)(e.draggies,["margin","left"])&&""!=w&&void 0!=w&&(Q=Object(_.get)(e.draggies,["margin","left"]).$element.width()),v=T-j-Q,A.css({left:Q}),A.css({right:v})}if("margin"==n)if("top"==t)x();else if("right"==t){var K=e.getMarginRight(),Y=Math.abs(k-Math.floor(c.x)),J=function(){j=Y;var t=T-e.getPaddingRight()-j;S.each([N,M,B,D,I],function(e,t){t&&t.css({right:j})}),M&&M.css({left:t})};if(E>Math.floor(c.x)){if(!(z<=L))return;J()}else Y<L+K&&J();E=Math.floor(c.x),f.width(j)}else if("bottom"==t)x();else if("left"==t){var Z=e.getMarginLeft(),$=Math.abs(k+Math.floor(c.x)),X=function(){j=$;var t=T-e.getPaddingLeft()-j;S.each([N,A,B,D,I],function(e,t){t&&t.css({left:j})}),A&&A.css({right:t})};if(E<Math.floor(c.x)){if(!(z<=L))return;X()}else $<L+Z&&X();E=Math.floor(c.x),f.width(j)}"right"!=t&&"left"!=t||(j<100?b.addClass("label-corner"):b.removeClass("label-corner"),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(j,"px"))),g.css(i()({},n+u,"top"==t||"bottom"==t?"margin"!=n?C:"":j))}"top"!=t&&"bottom"!=t||(O=Math.floor(c.y))}),C.on("dragEnd",function(){var e;f.removeClass("active-drag-area"),c((e={},i()(e,n+u,"custom"),i()(e,n+u+"Value","top"==t||"bottom"==t?f.height()+"px":f.width()+"px"),e))})}}},{key:"initDraggies",value:function(){if(this.props.isLayoutSet){var e=this.initDragRullers;e("top","margin","up"),e("top","padding","up"),e("right","margin","left"),e("right","padding","left"),e("bottom","margin","up"),e("bottom","padding","up"),e("left","margin","right"),e("left","padding","right")}}},{key:"dropDraggies",value:function(){var e=this,t=["margin","padding"],n=["top","right","bottom","left"];S.each(t,function(t,r){S.each(n,function(t,n){var o=Object(_.get)(e.draggies,[r,n]);o&&o.destroy()})}),this.draggies={}}},{key:"checkDisabledRuller",value:function(){var e=this,t=this.props,n=t.paddingTop,r=t.paddingBottom,o=t.paddingLeft,i=t.paddingRight,a=this.props,l=a.marginTop,c=a.marginBottom,s=a.marginLeft,u=a.marginRight,p={paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i},d={marginTop:l,marginBottom:c,marginLeft:s,marginRight:u},m=function(t,n){S.each(t,function(t,r){if("none"==r){var o=t.replace(n,"").toLowerCase(),i=Object(_.get)(e.draggies,[n,o]);i&&i.destroy(),Object(_.unset)(e.draggies,[n,o])}})};m(p,"padding"),m(d,"margin")}},{key:"initSizes",value:function(){var e=this,t=this.props,n=t.baseClass,r=t.clientId,o=S("#block-".concat(r)),i=o.find(".".concat(n)).first(),a=i.children(".".concat(n,"__wrapper")),l=["padding","margin"],c=["top","right","bottom","left"],s=["small","medium","normal","large"],u=function(){e.setState({needRender:!e.state.needRender})};S.each(l,function(t,n){S.each(c,function(t,r){S.each(s,function(t,o){var l="getwid-".concat(n,"-").concat(r,"-").concat(o),c=function(e){if(!Object(_.has)(e,[o])){var t=S(".".concat(l)).css("".concat(n,"-").concat(r));Object(_.set)(e,[o],t),u()}};"padding"==n?a.hasClass(l)&&c(e.paddingSizes):"margin"==n&&(["top","bottom"].includes(r)?i.hasClass(l)&&c(e.marginSizes):["left","right"].includes(r)&&a.hasClass(l)&&c(e.marginSizes))})})}),this.initDefaultSizes(i,a,u);var p=!0;S.each(s,function(t,n){Object(_.has)(e.paddingSizes,[n])&&Object(_.has)(e.marginSizes,[n])||(p=!1)}),p&&(this.sizesIsFilled=!0)}},{key:"initDefaultSizes",value:function(e,t,n){var r=this,o=this.props,i=o.paddingRight,a=o.paddingLeft,l=o.paddingTop,c=o.paddingBottom,s=this.props,u=s.marginRight,p=s.marginLeft,d=s.marginTop,m=s.marginBottom,g={paddingRight:i,paddingLeft:a,paddingTop:l,paddingBottom:c,marginRight:u,marginLeft:p,marginTop:d,marginBottom:m};S.each(Object.keys(g),function(o,i){if(""==g[i]){var a=Object(_.head)(i.split(Object(_.head)(i.match(/[A-Z]/g)))),l=i.replace(a,"").toLowerCase(),c=function(e,t){Object(_.has)(e,["default"])||(Object(_.set)(e,["default"],t.css("".concat(a,"-").concat(l))),n())};if("padding"==a)c(r.paddingSizes,t);else if("margin"==a)switch(l){case"top":case"bottom":c(r.marginSizes,e);break;case"left":case"right":c(r.marginSizes,t)}}})}},{key:"componentDidUpdate",value:function(e,t){var n=this;this.sizesIsFilled||(this.waitLoadContent=setInterval(function(){"complete"==document.readyState&&(clearInterval(n.waitLoadContent),n.initSizes())},1));var r=this.props,o=r.isLayoutSet,i=r.clientId,a=r.baseClass;if(o){var l=S("#block-".concat(i)),c=l.find(".".concat(a)).first();this.minWidth=parseFloat(c.children(".".concat(a,"__wrapper")).css("min-width"))}var s=this.props,u=s.isSelected,p=s.showRullers;Object(_.isEqual)(u,e.isSelected)&&Object(_.isEqual)(p,e.showRullers)||u&&p||this.dropDraggies(),Object(_.isEmpty)(this.draggies)||this.checkDisabledRuller(),this.initDraggies()}},{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.clientId,r=t.baseClass,o=S("#block-".concat(n)),i=o.find(".".concat(r)).first();this.sizesIsFilled||(this.waitLoadContent=setInterval(function(){"complete"==document.readyState&&(clearInterval(e.waitLoadContent),e.initSizes())},1)),this.initDraggies(),Object(k.c)(i,r,function(){if(Object(_.has)(e.draggies,["padding","right"])){var t=e.getOffset("right");Object(_.get)(e.draggies,["padding","right"]).$element.parent().css({left:t})}if(Object(_.has)(e.draggies,["padding","left"])){var n=e.getOffset("left");Object(_.get)(e.draggies,["padding","left"]).$element.parent().css({right:n})}})}},{key:"componentWillUnmount",value:function(){this.dropDraggies()}},{key:"render",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingRight,r=e.paddingLeft,o=e.paddingTop,i=this.props,a=i.marginBottom,l=i.marginRight,c=i.marginLeft,s=i.marginTop,u=this.props,p=u.paddingBottomValue,d=u.paddingRightValue,m=u.paddingLeftValue,g=u.paddingTopValue,f=this.props,b=f.marginBottomValue,w=f.marginRightValue,v=f.marginLeftValue,_=f.marginTopValue,k=this.props,O=k.baseClass,E=k.showRullers,j=k.isSelected;return wp.element.createElement(C,null,E&&j&&"none"!=s&&wp.element.createElement("div",{className:y()("".concat(O,"__top-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==s&&("0px"==_||""==_||!_)||0==this.getMarginTop(),"hide-ruller":"custom"==s&&(parseFloat(_)<0||""==_||!_)}),style:{height:this.getMarginTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__top-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==s&&("0px"==_||""==_||!_||0==this.getMarginTop())})},Object(h.__)("Margin Top: ","getwid")+("custom"==s?_:""==s?this.getMarginTop()+"px":this.marginSizes[s])),wp.element.createElement("div",{className:"".concat(O,"__top-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=l&&wp.element.createElement("div",{className:y()("".concat(O,"__right-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==l&&("0px"==w||""==w||!w)||0==this.getMarginRight(),"hide-ruller":"custom"==l&&(parseFloat(w)<0||""==w||!w)}),style:{width:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__right-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==l&&("0px"==w||""==w||!w||0==this.getMarginRight()),"label-corner":this.getMarginRight()<100})},Object(h.__)("Margin Right: ","getwid")+("custom"==l?w:""==l?this.getMarginRight()+"px":this.marginSizes[l])),wp.element.createElement("div",{className:"".concat(O,"__right-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=a&&wp.element.createElement("div",{className:y()("".concat(O,"__bottom-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==a&&("0px"==b||""==b||!b)||0==this.getMarginBottom(),"hide-ruller":"custom"==a&&(parseFloat(b)<0||""==b||!b)}),style:{height:this.getMarginBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__bottom-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==a&&("0px"==b||""==b||!b||0==this.getMarginBottom())})},Object(h.__)("Margin Bottom: ","getwid")+("custom"==a&&""!=b?b:""==a?this.getMarginBottom()+"px":""!=b?this.marginSizes[a]:"")),wp.element.createElement("div",{className:"".concat(O,"__bottom-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=c&&wp.element.createElement("div",{className:y()("".concat(O,"__left-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==c&&("0px"==v||""==v||!v)||0==this.getMarginLeft(),"hide-ruller":"custom"==c&&(parseFloat(v)<0||""==v||!v)}),style:{width:"custom"!=c||v?this.getMarginLeft():void 0}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__left-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==c&&("0px"==v||""==v||!v||0==this.getMarginLeft()),"label-corner":this.getMarginLeft()<100})},Object(h.__)("Margin Left: ","getwid")+("custom"==c?v:""==c?this.getMarginLeft()+"px":this.marginSizes[c])),wp.element.createElement("div",{className:"".concat(O,"__left-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),this.props.children,E&&j&&"none"!=o&&wp.element.createElement("div",{className:y()("".concat(O,"__top-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==o&&("0px"==g||""==g||!g)||0==this.getPaddingTop(),"hide-ruller":"custom"==o&&(parseFloat(g)<0||""==g||!g)}),style:{height:this.getPaddingTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__top-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==o&&("0px"==g||""==g||!g||0==this.getPaddingTop())})},Object(h.__)("Padding Top: ","getwid")+("custom"==o?g:""==o?this.getPaddingTop()+"px":this.paddingSizes[o])),wp.element.createElement("div",{className:"".concat(O,"__top-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=n&&wp.element.createElement("div",{className:y()("".concat(O,"__right-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==n&&("0px"==d||""==d||!d)||0==this.getPaddingRight(),"hide-ruller":"custom"==n&&(parseFloat(d)<0||""==d||!d)}),style:{left:this.getOffset("right"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),right:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__right-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==n&&("0px"==d||""==d||!d||0==this.getPaddingRight()),"label-corner":this.getPaddingRight()<100})},Object(h.__)("Padding Right: ","getwid")+("custom"==n?d:""==n?this.getPaddingRight()+"px":this.paddingSizes[n])),wp.element.createElement("div",{className:"".concat(O,"__right-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=t&&wp.element.createElement("div",{className:y()("".concat(O,"__bottom-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==t&&("0px"==p||""==p||!p)||0==this.getPaddingBottom(),"hide-ruller":"custom"==t&&(parseFloat(p)<0||""==p||!p)}),style:{height:this.getPaddingBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__bottom-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==t&&("0px"==p||""==p||!p||0==this.getPaddingBottom())})},Object(h.__)("Padding Bottom: ","getwid")+("custom"==t?p:""==t?this.getPaddingBottom()+"px":this.paddingSizes[t])),wp.element.createElement("div",{className:"".concat(O,"__bottom-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=r&&wp.element.createElement("div",{className:y()("".concat(O,"__left-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==r&&("0px"==m||""==m||!m)||0==this.getPaddingLeft(),"hide-ruller":"custom"==r&&(parseFloat(m)<0||""==m||!m)}),style:{right:this.getOffset("left"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__left-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==r&&("0px"==m||""==m||!m||0==this.getPaddingLeft()),"label-corner":this.getPaddingLeft()<100})},Object(h.__)("Padding Left: ","getwid")+("custom"==r?m:""==r?this.getPaddingLeft()+"px":this.paddingSizes[r])),wp.element.createElement("div",{className:"".concat(O,"__left-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))))}}]),t}(E);t.a=x},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(102)),v=(n.n(h),n(8)),y=n.n(v),_=n(1),k=(n.n(_),window),O=(k.jQuery,wp.components.Popover),E=wp.element,C=E.Component,j=(E.Fragment,E.createRef),S=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.toggle=e.toggle.bind(p()(e)),e.close=e.close.bind(p()(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(p()(e)),e.containerRef=j(),e.state={isOpen:!1},e}m()(t,e);var n=r(t);return s()(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(e){this.props.onClose&&this.props.onClose(),(!0===e||this.props.onClickOutside)&&this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this,t=this.state.isOpen,n=this.props,r=n.renderContent,o=n.renderToggle,a=n.position,l=void 0===a?"bottom":a,c=n.className,s=n.contentClassName,u=n.expandOnMobile,p=n.headerTitle,d=n.focusOnMount,m=n.popoverProps,g={isOpen:t,onToggle:this.toggle,onClose:this.close};return wp.element.createElement("div",{className:y()("components-dropdown",c),ref:this.containerRef},o(g),t&&wp.element.createElement(O,i()({onClick:function(e){e.stopPropagation()},className:s,position:l,onClose:function(){e.close()},onFocusOutside:this.closeIfFocusOutside,expandOnMobile:u,headerTitle:p,focusOnMount:d},m),r(g)))}}]),t}(C);t.a=S},function(e,t){},function(e,t,n){function r(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=r=Reflect.get:e.exports=r=function(e,t,n){var r=o(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},r(t,n,i||t)}var o=(n(3),n(104));e.exports=r},function(e,t,n){function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}var o=n(3);e.exports=r},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){/*!
|
7 |
*
|
8 |
* React FontIconPicker
|
9 |
*
|
@@ -20,4 +20,4 @@ window.wp=window.wp||{},window.wp["./assets/js/editor.blocks"]=function(e){funct
|
|
20 |
* https://opensource.org/licenses/MIT
|
21 |
*
|
22 |
*/
|
23 |
-
!function(t,r){e.exports=r(n(23),n(21),n(8),n(28),n(111))}(window,function(e,t,n,r,o){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";function r(e){return(r="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 o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(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.defineProperty(t,"__esModule",{value:!0}),t.flattenPossiblyCategorizedSource=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return i(e);if(null!==t)return void 0!==e[t]?i(e[t]):[];var n=[],r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){o(e,t,n[t])})}return e}({},e);return Object.keys(r).forEach(function(e){n=i(n).concat(i(r[e]))}),n},t.getPossibleCategories=function(e){return Array.isArray(e)?null:Object.keys(e)},t.convertToHex=function(e){return String.fromCodePoint(parseInt(e,10))},t.isArrayEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;var n=i(e);n.sort();var r=i(t);return r.sort(),JSON.stringify(n)===JSON.stringify(r)},t.getOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+r,left:t.left+n}},t.getSourceType=function(e){return null===e?"null":"object"!==r(e)||Array.isArray(e)?Array.isArray(e)?"array":r(e):"object"},t.InvalidSourceException=function(e,t){this.givenType=e,this.requiredType=t,this.message="Expected of type: ".concat(this.requiredType,", found: ").concat(this.givenType),this.toString=function(){return"Invalid Source Exception: ".concat(this.message)}},t.fuzzySearch=function(e,t){e=e.toLowerCase();var n=(t=t.toLowerCase()).length,r=e.length;if(r>n)return!1;if(r===n)return e===t;e:for(var o=0,i=0;o<r;o++){for(var a=e.codePointAt(o);i<n;)if(t.codePointAt(i++)===a)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(r,o)},t)}}},function(e,t){e.exports=n},,,function(e,t){e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}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 i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(n(1)),s=n(6),u=r(n(0)),p=r(n(3)),d=n(2),m=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?l(this):r,Object.defineProperty(l(n),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.resetPortalPosition(),n.fixWindowOverflow()}}),Object.defineProperty(l(n),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=n.props.domRef.current.offsetWidth,t=n.props.domRef.current.offsetHeight,r=window,o=r.innerWidth,i=r.pageYOffset,a=document.documentElement.clientHeight,l=(0,d.getOffset)(n.props.domRef.current),c=l.left,s=l.top,u="self"===n.state.appendRoot?n.props.domRef.current:n.state.appendRoot,p=(0,d.getOffset)(u),m=n.props.btnRef.current,g=n.props.domRef.current,f=(0,d.getOffset)(m),b=getComputedStyle(m),w=(parseInt(b.borderTop,10)||0)+(parseInt(b.borderBottom,10)||0);if(c+e>o-20){var h=f.left+n.props.btnRef.current.offsetWidth-(e+p.left);h+p.left<0&&(h=10-p.left),g.style.left="".concat(h,"px")}t+s-i>a&&f.top-t>0&&("self"===n.state.appendRoot?g.style.top="-".concat(t-w,"px"):g.style.top="".concat(f.top+w-t,"px"))}}),n.state={},n.debouncedSyncPortalPosition=(0,d.debounce)(n.syncPortalPosition,250),n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),a(t,null,[{key:"getDerivedStateFromProps",value:function(e){var n=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:n.appendRoot,portalClasses:n.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",n=(0,p.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:n,appendRoot:t}}}]),a(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,n=(0,d.getOffset)(t),r=(0,d.getOffset)(this.state.appendRoot),o=t.offsetHeight;this.props.domRef.current.style.left="".concat(n.left-r.left,"px"),this.props.domRef.current.style.top="".concat(n.top+o,"px"),this.props.domRef.current.style.display=e}},{key:"resetPortalPosition",value:function(){var e=this.props.domRef.current;"self"===this.state.appendRoot?e.style.top="":this.positionPortal()}},{key:"render",value:function(){var e=(0,p.default)(this.props.className,this.state.portalClasses),t=c.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,s.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:u.default.oneOfType([u.default.bool,u.default.string]),children:u.default.node.isRequired,domRef:u.default.object.isRequired,btnRef:u.default.object.isRequired,className:u.default.string.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var g=m;t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}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 i(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 a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(1)),u=r(n(0)),p=r(n(3)),d=n(2),m=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?c(this):r,Object.defineProperty(c(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=n.props.currentPage,i=n.state.totalPage;null!==r?"next"===r?o+=1:o-=1:o=parseInt(e.target.value,10)-1,o<0&&(o=0),o>i-1&&(o=i-1),t=o+1,null===r&&Number.isNaN(o)&&(o=0,t=""),n.setState({viewPage:t}),n.props.handleChangePage(o)}}),Object.defineProperty(c(n),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangePage({},t)}}),Object.defineProperty(c(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.props.handleChangeValue(e)}}),Object.defineProperty(c(n),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangeValue(t)}}),n.state={viewPage:n.props.currentPage+1},n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),l(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var r=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),o=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),i=t.getActiveIcons(r,o,e.currentSearch),a=i.activeIcons,l=i.activeTitles,c=e.currentPage,s=e.iconsPerPage,u={iconView:t.getCurrentViewIcons(a,s,c),titleView:t.getCurrentViewIcons(l,s,c),totalPage:Math.ceil(a.length/s)};return""!==n.viewPage&&(u.viewPage=e.currentPage+1),u}},{key:"getActiveIcons",value:function(e,t,n){var r=i(e),o=i(t);if(""===n||null===n)return{activeIcons:r,activeTitles:o};var a=[],l=[];return r.forEach(function(e,r){(0,d.fuzzySearch)(n,t[r])&&(a.push(e),l.push(t[r]))}),{activeIcons:a,activeTitles:l}}},{key:"getCategoryFilteredState",value:function(e,t,n){var r=null,o=(0,d.getSourceType)(n);if(Array.isArray(t)){if("object"!==o)throw new d.InvalidSourceException(o,"object")}else if("array"!==o)throw new d.InvalidSourceException(o,"array");return 0!==e&&Array.isArray(t)&&(r=t[e]||null),(0,d.flattenPossiblyCategorizedSource)(n,r)}},{key:"getCurrentViewIcons",value:function(e,t,n){var r=n*t,o=(n+1)*t;return e.slice(r,o)}}]),l(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?s.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},s.default.createElement("i",{className:"fipicon-angle-left"}))):null,n=this.props.currentPage<this.state.totalPage-1?s.default.createElement("span",{className:"rfipicons__right",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"next")},onClick:function(t){return e.handleChangePage(t,"next")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},s.default.createElement("i",{className:"fipicon-angle-right"}))):null;return s.default.createElement("div",{className:"rfipicons__pager"},s.default.createElement("div",{className:"rfipicons__num"},s.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),s.default.createElement("span",{className:"rfipicons__sp"},"/"),s.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),s.default.createElement("div",{className:"rfipicons__arrow"},t,n))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,n){var r=(0,p.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return s.default.createElement("span",{className:r,key:t,title:e.state.titleView[n]},s.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(n){return e.handleValueKeyboard(n,t)}},e.props.renderIcon(t)))}):s.default.createElement("span",{className:"rfipicons__icon--error"},s.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return s.default.createElement("div",{className:"rfipicons"},this.renderPager(),s.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:u.default.arrayOf(u.default.string),currentCategory:u.default.number,isMulti:u.default.bool.isRequired,icons:u.default.oneOfType([u.default.arrayOf(u.default.string),u.default.arrayOf(u.default.number),u.default.objectOf(u.default.oneOfType([u.default.arrayOf(u.default.number),u.default.arrayOf(u.default.string)]))]).isRequired,search:u.default.oneOfType([u.default.objectOf(u.default.arrayOf(u.default.string)),u.default.arrayOf(u.default.string)]),value:u.default.oneOfType([u.default.number,u.default.string,u.default.arrayOf(u.default.oneOfType([u.default.number,u.default.string]))]).isRequired,currentSearch:u.default.string.isRequired,handleChangeValue:u.default.func.isRequired,currentPage:u.default.number.isRequired,iconsPerPage:u.default.number.isRequired,handleChangePage:u.default.func.isRequired,renderIcon:u.default.func.isRequired,noIconPlaceholder:u.default.string.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var g=m;t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(0)),a=function(e){return o.default.createElement("div",{className:"rfipsearch"},o.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};a.propTypes={handleSearch:i.default.func.isRequired,value:i.default.string.isRequired,placeholder:i.default.string.isRequired};var l=a;t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}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 i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(1)),l=r(n(0)),c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==o(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}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.PureComponent),n=t,(r=[{key:"render",value:function(){return a.default.createElement("div",{className:"rfipcategory"},a.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return a.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),a.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&i(n.prototype,r),t}();Object.defineProperty(c,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:l.default.func.isRequired,value:l.default.number.isRequired,categories:l.default.arrayOf(l.default.string).isRequired}});var s=c;t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}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 i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(n(1)),s=r(n(0)),u=r(n(10)),p=r(n(9)),d=r(n(8)),m=n(2),g=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?l(this):r,Object.defineProperty(l(n),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),n.props.handleChangeCategory(t),n.props.handleChangePage(0)}}),Object.defineProperty(l(n),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;n.props.handleChangeSearch(t)}}),n.state={},n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),a(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,m.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(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")}()}(t))),{categories:t,searchString:e.currentSearch}}}]),a(t,[{key:"render",value:function(){return c.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?c.default.createElement(p.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?c.default.createElement(u.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,c.default.createElement(d.default,{categories:this.state.categories,currentCategory:this.props.currentCategory,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,value:this.props.value,currentSearch:this.props.currentSearch,handleChangeValue:this.props.handleChangeValue,currentPage:this.props.currentPage,iconsPerPage:this.props.iconsPerPage,handleChangePage:this.props.handleChangePage,renderIcon:this.props.renderIcon,noIconPlaceholder:this.props.noIconPlaceholder}))}}]),t}();Object.defineProperty(g,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:s.default.bool.isRequired,value:s.default.oneOfType([s.default.number,s.default.string,s.default.arrayOf(s.default.any)]).isRequired,currentCategory:s.default.number.isRequired,currentPage:s.default.number.isRequired,currentSearch:s.default.string.isRequired,icons:s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string),s.default.objectOf(s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string)]))]).isRequired,search:s.default.oneOfType([s.default.object,s.default.arrayOf(s.default.string)]),showCategory:s.default.bool.isRequired,showSearch:s.default.bool.isRequired,iconsPerPage:s.default.number.isRequired,allCatPlaceholder:s.default.string.isRequired,searchPlaceholder:s.default.string.isRequired,noIconPlaceholder:s.default.string.isRequired,renderIcon:s.default.func.isRequired,handleChangeValue:s.default.func.isRequired,handleChangeCategory:s.default.func.isRequired,handleChangePage:s.default.func.isRequired,handleChangeSearch:s.default.func.isRequired}}),Object.defineProperty(g,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var f=g;t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}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 i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(1)),u=r(n(0)),p=r(n(3)),d=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return l(r,(n=r=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),Object.defineProperty(c(r),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.props.onClick()}}),Object.defineProperty(c(r),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||r.props.onClick()}}),Object.defineProperty(c(r),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),r.props.handleDeleteValue(t)}}),Object.defineProperty(c(r),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||r.props.handleDeleteValue(t)}}),Object.defineProperty(c(r),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return s.default.createElement("span",{className:"rfipbtn__icon--empty"},r.props.noSelectedPlaceholder)}}),n))}var n,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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),n=t,(r=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():s.default.createElement("span",{className:"rfipbtn__icon",key:e},s.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),s.default.createElement("span",{className:"rfipbtn__del",onClick:function(n){return t.handleDelete(n,e)},onKeyDown:function(n){return t.handleDeleteKeyboard(n,e)},tabIndex:0,role:"button"},"×"))}},{key:"renderCurrentIcons",value:function(){var e=this;return this.props.isMulti?this.props.value.length?this.props.value.map(function(t){return e.renderIcon(t)}):this.renderEmptyIcon():this.renderIcon(this.props.value)}},{key:"render",value:function(){var e={onClick:this.handleClick,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:0},t=(0,p.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),n=(0,p.default)(this.props.className);return s.default.createElement("div",i({className:n,ref:this.props.domRef},e),s.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),s.default.createElement("div",{className:t},s.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&a(n.prototype,r),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:u.default.string.isRequired,isOpen:u.default.bool.isRequired,onClick:u.default.func.isRequired,domRef:u.default.object.isRequired,isMulti:u.default.bool.isRequired,value:u.default.oneOfType([u.default.number,u.default.string,u.default.arrayOf(u.default.oneOfType([u.default.number,u.default.string]))]).isRequired,renderIcon:u.default.func.isRequired,handleDeleteValue:u.default.func.isRequired,noSelectedPlaceholder:u.default.string.isRequired}});var m=d;t.default=m},function(e,t){e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}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 i(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 a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(n(1)),p=r(n(0)),d=r(n(3)),m=n(13),g=r(n(12)),f=r(n(11)),b=r(n(7)),w=n(2),h=[],v="",y=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?s(this):r,Object.defineProperty(s(n),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;n.isClickWithin(t)||n.closeDropdown()}}),Object.defineProperty(s(n),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&n.closeDropdown()}}),Object.defineProperty(s(n),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return n.fipButtonRef.current.contains(e)||n.fipDropDownRef.current&&n.fipDropDownRef.current.contains(e)}}),Object.defineProperty(s(n),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.setState(function(e){return n.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(s(n),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.handleDropDown(!1)}}),Object.defineProperty(s(n),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={isOpen:e};return o.elemClass=t.getDerivedClassName("rfip",n.props.theme,n.props.isMulti,e),o.btnClass=t.getDerivedClassName("rfipbtn",n.props.theme,n.props.isMulti,e),o.ddClass=t.getDerivedClassName("rfipdropdown",n.props.theme,n.props.isMulti,e),r&&n.setState(o),o}}),Object.defineProperty(s(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;n.props.isMulti?(t=i(n.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=h):t.push(e):t=e===n.state.value?v:e,n.setState({value:t,isOpen:!n.props.closeOnSelect}),n.props.onChange(t)}}),Object.defineProperty(s(n),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var r;r=n.props.isMulti?n.state.value.filter(function(t){return t!==e}):t.getDerivedValue(r,n.props.isMulti),n.setState({value:r}),n.props.onChange(r)}}),Object.defineProperty(s(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentPage:e})}}),Object.defineProperty(s(n),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(s(n),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(s(n),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(s(n),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var r=getComputedStyle(t);n.fipPortalComputedStyle={height:r.height,paddingTop:r.paddingTop,paddingBottom:r.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(s(n),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=n.fipPortalComputedStyle.height,t.style.paddingTop=n.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=n.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(s(n),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t),n.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(s(n),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var r=getComputedStyle(t).height;t.style.maxHeight=r}}),Object.defineProperty(s(n),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(s(n),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof n.props.renderFunc)return n.props.renderFunc(e);if("class"===n.props.renderUsing)return u.default.createElement("i",{className:e});var t=a({},n.props.renderUsing,n.props.convertHex?(0,w.convertToHex)(e):e);return u.default.createElement("i",t)}}),n.fipButtonRef=u.default.createRef(),n.fipDropDownRef=u.default.createRef(),n.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},n.fipPortalComputedStyle=null,n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),c(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var r={};return r.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,n.isOpen),r.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,n.isOpen),r.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,n.isOpen),r.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(r.currentCategory=0,r.currentPage=0),e.showSearch||(r.currentSearch="",r.currentPage=0),r}},{key:"getDerivedClassName",value:function(e,t,n,r){return(0,d.default)(e,"".concat(e,"--").concat(t),a({},"".concat(e,"--multi"),n),"".concat(e,"--").concat(r?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var n=e;return t?n=Array.isArray(e)?i(e):h:"number"!=typeof e&&"string"!=typeof e&&(n=v),n}}]),c(t,[{key:"componentDidMount",value:function(){var e=this;["click"].forEach(function(t){document.addEventListener(t,e.handleOuterClick,!1)}),document.addEventListener("keydown",this.handleEscapeKeyboard,!1),this.props.onChange(this.state.value)}},{key:"componentWillUnmount",value:function(){var e=this;["click"].forEach(function(t){document.removeEventListener(t,e.handleOuterClick,!1)}),document.removeEventListener("keydown",this.handleEscapeKeyboard,!1)}},{key:"render",value:function(){var e={currentCategory:this.state.currentCategory,currentPage:this.state.currentPage,currentSearch:this.state.currentSearch,value:this.state.value,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,showCategory:this.props.showCategory,showSearch:this.props.showSearch,iconsPerPage:this.props.iconsPerPage,allCatPlaceholder:this.props.allCatPlaceholder,searchPlaceholder:this.props.searchPlaceholder,noIconPlaceholder:this.props.noIconPlaceholder,renderIcon:this.renderIcon,handleChangeValue:this.handleChangeValue,handleChangeCategory:this.handleChangeCategory,handleChangePage:this.handleChangePage,handleChangeSearch:this.handleChangeSearch};return u.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},u.default.createElement(g.default,{className:this.state.btnClass,isOpen:this.state.isOpen,onClick:this.handleToggle,domRef:this.fipButtonRef,isMulti:this.props.isMulti,value:this.state.value,renderIcon:this.renderIcon,handleDeleteValue:this.handleDeleteValue,noSelectedPlaceholder:this.props.noSelectedPlaceholder}),u.default.createElement(m.CSSTransition,{classNames:"fipappear",timeout:300,in:this.state.isOpen,unmountOnExit:!0,onEnter:this.handlePortalEnter,onEntering:this.handlePortalEntering,onEntered:this.handlePortalEntered,onExit:this.handlePortalExit,onExiting:this.handlePortalExiting},u.default.createElement(b.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},u.default.createElement(f.default,e))))}}]),t}();Object.defineProperty(y,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:p.default.oneOfType([p.default.arrayOf(p.default.string),p.default.arrayOf(p.default.number),p.default.objectOf(p.default.oneOfType([p.default.arrayOf(p.default.number),p.default.arrayOf(p.default.string)]))]).isRequired,search:p.default.oneOfType([p.default.objectOf(p.default.arrayOf(p.default.string)),p.default.arrayOf(p.default.string)]),iconsPerPage:p.default.number,theme:p.default.string,onChange:p.default.func.isRequired,showCategory:p.default.bool,showSearch:p.default.bool,value:p.default.oneOfType([p.default.arrayOf(p.default.string),p.default.arrayOf(p.default.number),p.default.number,p.default.string]),isMulti:p.default.bool,renderUsing:p.default.string,convertHex:p.default.bool,renderFunc:p.default.func,appendTo:p.default.oneOfType([p.default.bool,p.default.string]),allCatPlaceholder:p.default.string,searchPlaceholder:p.default.string,noIconPlaceholder:p.default.string,noSelectedPlaceholder:p.default.string,closeOnSelect:p.default.bool}}),Object.defineProperty(y,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null,iconsPerPage:20,theme:"default",showCategory:!0,showSearch:!0,value:null,isMulti:!1,renderUsing:"class",convertHex:!0,renderFunc:null,appendTo:!1,allCatPlaceholder:"Show from all",searchPlaceholder:"Search Icons",noIconPlaceholder:"No icons found",noSelectedPlaceholder:"Select icon",closeOnSelect:!1}}),Object.defineProperty(y,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var _=y;t.default=_},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(14))&&r.__esModule?r:{default:r}).default;t.default=o}]).default})},function(e,t,n){"use strict";function r(){}function o(){}var i=n(110);o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=r(n(112)),i=r(n(117)),a=r(n(48)),l=r(n(45));e.exports={Transition:l.default,TransitionGroup:a.default,ReplaceTransition:i.default,CSSTransition:o.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.__esModule=!0,t.default=void 0;var a=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(23)),r(n(113))),l=r(n(116)),c=r(n(21)),s=r(n(45)),u=(n(47),function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,a.default)(e,t)})}),p=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,l.default)(e,t)})},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter"),o=r.className;t.removeClasses(e,"exit"),u(e,o),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter"),o=r.activeClassName;t.reflowAndAddClass(e,o),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),u(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit"),r=n.className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),u(e,r),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit"),r=n.activeClassName;t.reflowAndAddClass(e,r),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit"),r=n.doneClassName;t.removeClasses(e,"exit"),u(e,r),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r&&n?n+"-":"",i=r?o+e:n[e];return{className:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}i(t,e);var n=t.prototype;return n.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&p(e,r),o&&p(e,o),i&&p(e,i)},n.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,u(e,t))},n.render=function(){var e=o({},this.props);return delete e.classNames,c.default.createElement(s.default,o({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(c.default.Component);d.defaultProps={classNames:""},d.propTypes={};var m=d;t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var o=n(114);t.__esModule=!0,t.default=r;var i=o(n(115));e.exports=t.default},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.__esModule=!0,t.default=void 0;var a=(r(n(23)),r(n(21))),l=n(28),c=r(n(48)),s=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}i(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=a.default.Children.toArray(o)[t];i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]&&this.props[e]((0,l.findDOMNode)(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,r=o(e,["children","in"]),i=a.default.Children.toArray(t),l=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,a.default.createElement(c.default,r,n?a.default.cloneElement(l,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):a.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(a.default.Component);s.propTypes={};var u=s;t.default=u,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=function(e){return t&&(0,c.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&c.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function o(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var c in t){if(r[c])for(a=0;a<r[c].length;a++){var s=r[c][a];l[r[c][a]]=n(s)}l[c]=n(c)}for(a=0;a<o.length;a++)l[o[a]]=n(o[a]);return l}function i(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return r(e.children,function(n){return(0,c.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:i(n,"appear",e),enter:i(n,"enter",e),exit:i(n,"exit",e)})})}function l(e,t,n){var a=r(e.children),l=o(t,a);return Object.keys(l).forEach(function(r){var o=l[r];if((0,c.isValidElement)(o)){var s=r in t,u=r in a,p=t[r],d=(0,c.isValidElement)(p)&&!p.props.in;!u||s&&!d?u||!s||d?u&&s&&(0,c.isValidElement)(p)&&(l[r]=(0,c.cloneElement)(o,{onExited:n.bind(null,o),in:p.props.in,exit:i(o,"exit",e),enter:i(o,"enter",e)})):l[r]=(0,c.cloneElement)(o,{in:!1}):l[r]=(0,c.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:i(o,"exit",e),enter:i(o,"enter",e)})}}),l}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=o,t.getInitialChildMapping=a,t.getNextChildMapping=l;var c=n(21)},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var o=n(15),i=n.n(o),a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(19)),S=n(125),x=n(17),P=n(16),T=n(24),R=n(127),N=n(14),A=wp.data,M=A.select,B=A.withSelect,D=wp.element,I=D.Component,L=D.Fragment,z=wp.blockEditor||wp.editor,V=z.InspectorControls,H=z.MediaUpload,F=z.MediaPlaceholder,W=z.withColors,G=wp.components,U=G.FocalPointPicker,q=G.BaseControl,Q=G.Button,K=G.PanelBody,Y=G.RangeControl,J=G.SelectControl,Z=G.TextControl,$=G.CheckboxControl,X=G.RadioControl,ee=G.ToggleControl,te=G.ButtonGroup,ne=G.TabPanel,re=G.ExternalLink,oe=G.ColorPalette,ie=G.ColorIndicator,ae=G.Dropdown,le=G.Dashicon,ce=wp.components.__experimentalGradientPicker,se=wp.compose.compose,ue=["image"],pe=["image"],de=["video"],me=["colors","disableCustomColors","gradients","disableCustomGradients"],ge="components-base-control",fe=function(e){function t(e){var r;return m()(this,t),r=n.apply(this,arguments),r.onSelectSliderImages=r.onSelectSliderImages.bind(w()(r)),r.changeBackgroundGradient=r.changeBackgroundGradient.bind(w()(r)),r.changeForegroundGradient=r.changeForegroundGradient.bind(w()(r)),r.changeState=r.changeState.bind(w()(r)),r.state={contentHelpIsVisible:!1,tabName:"general",backgroundType:"color",foregroundType:"color"},r}v()(t,e);var n=r(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"render",value:function(){var e=this.state,t=e.tabName,n=e.backgroundType,r=e.foregroundType,o=this.props.attributes.customBackgroundColor,i=this.props,a=i.setBackgroundColor,c=i.backgroundColor,s=i.clientId,u=i.getBlock,p=this.props.attributes,d=p.backgroundGradientFirstColor,m=p.backgroundGradientFirstColorLocation,g=p.backgroundGradientSecondColor,f=p.backgroundGradientSecondColorLocation,b=p.backgroundGradientType,w=p.backgroundGradientAngle,h=this.props.attributes,v=h.foregroundGradientFirstColor,y=h.foregroundGradientFirstColorLocation,_=h.foregroundGradientSecondColor,k=h.foregroundGradientSecondColorLocation,O=h.foregroundGradientType,C=h.foregroundGradientAngle,x=this.props,T=x.colorGradientSettings,A=x.prepareMultiGradientStyle,M=T.gradients,B=T.disableCustomColors,D=T.disableCustomGradients,I=this.changeBackgroundGradient,z=this.changeForegroundGradient,H=this.changeState,F=this.props.setAttributes,W=this.props.attributes,G=W.backgroundGradient,U=W.foregroundGradient;return G=A("background",this.props),U=A("foreground",this.props),u(s)?wp.element.createElement(V,{key:"inspector"},wp.element.createElement(j.a,{state:t,stateName:"tabName",onChangeTab:H,tabs:["general","style","advanced"]}),"general"===t&&wp.element.createElement(L,null,wp.element.createElement(K,{initialOpen:!0},this.renderSizeSettings(),this.renderAlignmentSettings())),"style"===t&&wp.element.createElement(L,null,wp.element.createElement(K,{title:Object(E.__)("Background","getwid"),initialOpen:!0},wp.element.createElement(S.a,{state:n,stateName:"backgroundType",onChangeBackgroundType:H,types:["color","image","gradient","slider","video"]}),"color"===n&&wp.element.createElement(P.a,{colorSettings:[{title:Object(E.__)("Background Color","getwid"),colors:{customColor:o,defaultColor:c},changeColor:a}]}),"image"===n&&wp.element.createElement(L,null,this.renderBackgroundImage()),"gradient"===n&&(ce?wp.element.createElement(ce,l()({value:G,onChange:function(e){F({backgroundGradient:e})}},{gradients:M,disableCustomColors:B,disableCustomGradients:D})):wp.element.createElement(R.a,{label:"Background Gradient",value:{firstColor:d,secondColor:g,firstLocation:m,secondLocation:f,type:b,angle:w},onChange:I})),"slider"===n&&wp.element.createElement(L,null,this.renderSliderSettings()),"video"===n&&wp.element.createElement(L,null,this.renderVideoSettings())),wp.element.createElement(K,{title:Object(E.__)("Overlay","getwid"),initialOpen:!1},this.renderForegroundSettings(),wp.element.createElement(S.a,{label:Object(E.__)("Overlay Type","getwid"),state:r,stateName:"foregroundType",onChangeBackgroundType:H,types:["color","image","gradient"]}),"color"===r&&wp.element.createElement(L,null,this.renderForegroundColor()),"image"===r&&wp.element.createElement(L,null,this.renderForegroundImage()),"gradient"===r&&(ce?wp.element.createElement(ce,l()({value:U,onChange:function(e){return F({foregroundGradient:e})}},{gradients:M,disableCustomColors:B,disableCustomGradients:D})):wp.element.createElement(R.a,{label:"Overlay Gradient",value:{firstColor:v,secondColor:_,firstLocation:y,secondLocation:k,type:O,angle:C},onChange:z}))),Object(N.g)(this),Object(N.d)(this)),"advanced"===t&&wp.element.createElement(L,null,this.renderAnimationSettings(),this.renderDividersSettings())):wp.element.createElement(V,null)}},{key:"changeBackgroundGradient",value:function(e,t,n,r,o,i){(0,this.props.setAttributes)({backgroundGradientFirstColor:e,backgroundGradientSecondColor:n,backgroundGradientFirstColorLocation:t,backgroundGradientSecondColorLocation:r,backgroundGradientType:o,backgroundGradientAngle:i})}},{key:"changeForegroundGradient",value:function(e,t,n,r,o,i){(0,this.props.setAttributes)({foregroundGradientFirstColor:e,foregroundGradientSecondColor:n,foregroundGradientFirstColorLocation:t,foregroundGradientSecondColorLocation:r,foregroundGradientType:o,foregroundGradientAngle:i})}},{key:"hasAnimation",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.entranceAnimationDelay,r=e.entranceAnimationDuration;return void 0!==t||"200ms"!==n||"1500ms"!==r}},{key:"renderBackgroundImage",value:function(){var e=this.props.attributes,t=e.backgroundImage,n=e.backgroundCustomImagePosition,r=e.backgroundImagePosition,o=e.backgroundImageAttachment,i=e.backgroundImageRepeat,a=e.backgroundImageSize,l=this.props.setAttributes,c=t?t.url:void 0,s=t?t.id:void 0;return wp.element.createElement(L,null,wp.element.createElement(N.e,{label:Object(E.__)("Background Image","getwid"),url:c,id:s,onSelectMedia:function(e){return l({backgroundImage:void 0!==e?Object(C.pick)(e,["alt","id","url"]):{}})},onRemoveMedia:function(){return l({backgroundImage:void 0})}}),!!t&&wp.element.createElement("div",{className:"".concat(ge,"__custom-wrapper")},wp.element.createElement("span",{className:"".concat(ge,"__label")},Object(E.__)("Background Settings","getwid")),wp.element.createElement(ae,{className:"".concat(ge,"__dropdown-action"),contentClassName:"".concat(ge,"__dropdown-content"),position:"top right",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(Q,{isDefault:!0,onClick:t},wp.element.createElement(le,{icon:"admin-tools"}))},renderContent:function(){return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Position","getwid"),value:void 0!==r?r:"",onChange:function(e){return l({backgroundImagePosition:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"custom",label:Object(E.__)("Custom","getwid")},{value:"top left",label:Object(E.__)("Top Left","getwid")},{value:"top center",label:Object(E.__)("Top Center","getwid")},{value:"top right",label:Object(E.__)("Top Right","getwid")},{value:"center left",label:Object(E.__)("Center Left ","getwid")},{value:"center center",label:Object(E.__)("Center Center","getwid")},{value:"center right",label:Object(E.__)("Center Right","getwid")},{value:"bottom left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(E.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(E.__)("Bottom Right","getwid")}]}),"custom"==r&&wp.element.createElement(U,{url:c,value:n,onChange:function(e){l({backgroundCustomImagePosition:e})}}),wp.element.createElement(J,{label:Object(E.__)("Attachment","getwid"),value:void 0!==o?o:"",onChange:function(e){return l({backgroundImageAttachment:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"scroll",label:Object(E.__)("Scroll","getwid")},{value:"fixed",label:Object(E.__)("Fixed","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Repeat","getwid"),value:void 0!==i?i:"",onChange:function(e){return l({backgroundImageRepeat:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"no-repeat",label:Object(E.__)("No Repeat","getwid")},{value:"repeat",label:Object(E.__)("Repeat","getwid")},{value:"repeat-x",label:Object(E.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(E.__)("Repeat Y","getwid")},{value:"space",label:Object(E.__)("Space","getwid")},{value:"round",label:Object(E.__)("Round","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Size","getwid"),value:void 0!==a?a:"",onChange:function(e){return l({backgroundImageSize:e})},options:[{value:"",label:Object(E.__)("Cover","getwid")},{value:"contain",label:Object(E.__)("Contain","getwid")},{value:"auto",label:Object(E.__)("Auto","getwid")}]}))}})))}},{key:"renderDividersSettings",value:function(){var e=this.props.attributes,t=e.dividerTop,n=e.dividersTopHeight,r=e.dividerTopColor,o=e.dividerBottom,a=e.dividersBottomHeight,l=e.dividersBringTop,c=e.dividerBottomColor,s=this.props.setAttributes,u=[{value:"",label:Object(E.__)("None","getwid")},{value:"tilt",label:Object(E.__)("Tilt","getwid")},{value:"tilt-negative",label:Object(E.__)("Tilt Negative","getwid")},{value:"tilt-layered-1",label:Object(E.__)("Tilt Layered 1","getwid")},{value:"tilt-layered-2",label:Object(E.__)("Tilt Layered 2 ","getwid")},{value:"tilt-layered-3",label:Object(E.__)("Tilt Layered 3","getwid")},{value:"split",label:Object(E.__)("Split","getwid")},{value:"split-negative",label:Object(E.__)("Split Negative","getwid")},{value:"clouds",label:Object(E.__)("Clouds","getwid")},{value:"clouds-negative",label:Object(E.__)("Clouds Negative","getwid")},{value:"book",label:Object(E.__)("Book","getwid")},{value:"book-negative",label:Object(E.__)("Book Negative","getwid")},{value:"arrow",label:Object(E.__)("Arrow","getwid")},{value:"arrow-negative",label:Object(E.__)("Arrow Negative","getwid")},{value:"triangle-rounded",label:Object(E.__)("Triangle Rounded","getwid")},{value:"triangle-negative-rounded",label:Object(E.__)("Triangle Rounded Negative","getwid")},{value:"triangle-asymmetrical-rounded",label:Object(E.__)("Triangle Rounded Asymmetrical","getwid")},{value:"triangle-asymmetrical-negative-rounded",label:Object(E.__)("Triangle Rounded Asymmetrical Negative","getwid")},{value:"triangle",label:Object(E.__)("Triangle","getwid")},{value:"triangle-negative",label:Object(E.__)("Triangle Negative","getwid")},{value:"triangle-asymmetrical",label:Object(E.__)("Triangle Asymmetrical","getwid")},{value:"triangle-asymmetrical-negative",label:Object(E.__)("Triangle Asymmetrical Negative","getwid")},{value:"triangle-layered-asymmetrical",label:Object(E.__)("Triangle Layered Asymmetrical","getwid")},{value:"waves",label:Object(E.__)("Waves","getwid")},{value:"waves-light",label:Object(E.__)("Waves Light","getwid")},{value:"waves-large",label:Object(E.__)("Waves Large","getwid")},{value:"waves-large-negative",label:Object(E.__)("Waves Large Negative","getwid")},{value:"waves-layered",label:Object(E.__)("Waves Layered","getwid")},{value:"mountains",label:Object(E.__)("Waves Multi-Layered","getwid")},{value:"waves-pattern",label:Object(E.__)("Waves Pattern","getwid")},{value:"drips",label:Object(E.__)("Drips","getwid")},{value:"drips-negative",label:Object(E.__)("Drips Negative","getwid")},{value:"drops",label:Object(E.__)("Drops","getwid")},{value:"drops-negative",label:Object(E.__)("Drops Negative","getwid")},{value:"tilted-drips",label:Object(E.__)("Tilted Drips","getwid")},{value:"tilted-drips-negative",label:Object(E.__)("Tilted Drips Negative","getwid")},{value:"pyramids",label:Object(E.__)("Pyramids","getwid")},{value:"pyramids-negative",label:Object(E.__)("Pyramids Negative","getwid")},{value:"pyramids-round",label:Object(E.__)("Pyramids Rounded","getwid")},{value:"pyramids-round-negative",label:Object(E.__)("Pyramids Rounded Negative","getwid")},{value:"opacity-pyramids",label:Object(E.__)("Pyramids Layered","getwid")},{value:"curve",label:Object(E.__)("Curve","getwid")},{value:"curve-negative",label:Object(E.__)("Curve Negative","getwid")},{value:"curve-1",label:Object(E.__)("Curve 1","getwid")},{value:"curve-2",label:Object(E.__)("Curve 2","getwid")},{value:"curve-3",label:Object(E.__)("Curve 3","getwid")},{value:"curve-4",label:Object(E.__)("Curve 4","getwid")},{value:"curve-5",label:Object(E.__)("Curve 5","getwid")},{value:"curve-6",label:Object(E.__)("Curve 6","getwid")},{value:"curve-7",label:Object(E.__)("Curve 7","getwid")},{value:"curve-8",label:Object(E.__)("Curve 8","getwid")},{value:"curve-layered-1",label:Object(E.__)("Curve Layered 1","getwid")},{value:"curve-layered-2",label:Object(E.__)("Curve Layered 2","getwid")},{value:"curve-layered-3",label:Object(E.__)("Curve Layered 3","getwid")},{value:"curve-layered-4",label:Object(E.__)("Curve Layered 4","getwid")},{value:"zigzag-ice",label:Object(E.__)("Zigzag","getwid")},{value:"zigzag-ice-negative",label:Object(E.__)("Zigzag Negative","getwid")},{value:"zigzag-pattern",label:Object(E.__)("Zigzag Pattern","getwid")}];return wp.element.createElement(K,{title:Object(E.__)("Dividers","getwid"),initialOpen:!1},wp.element.createElement(J,{label:Object(E.__)("Top Divider","getwid"),value:void 0!==t?t:"",options:u,onChange:function(e){return s({dividerTop:e})}}),wp.element.createElement(x.a,{label:Object(E.__)("Top Divider Height","getwid"),value:n,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],onChange:function(e){return s({dividersTopHeight:e})}}),wp.element.createElement(J,{label:Object(E.__)("Bottom Divider","getwid"),value:void 0!==o?o:"",options:u,onChange:function(e){return s({dividerBottom:e})}}),wp.element.createElement(x.a,{label:Object(E.__)("Bottom Divider Height","getwid"),value:a,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],onChange:function(e){return s({dividersBottomHeight:e})}}),wp.element.createElement(ee,{label:Object(E.__)("Bring dividers to top","getwid"),checked:l,onChange:function(){s({dividersBringTop:!l})}}),(t||o)&&wp.element.createElement(P.a,{colorSettings:[].concat(i()(t?[{title:Object(E.__)("Top Divider Color","getwid"),colors:{customColor:r},changeColor:function(e){return s({dividerTopColor:e})}}]:[]),i()(o?[{title:Object(E.__)("Bottom Divider Color","getwid"),colors:{customColor:c},changeColor:function(e){return s({dividerBottomColor:e})}}]:[]))}))}},{key:"renderSizeSettings",value:function(){var e=this,t=this.props.attributes,n=t.contentMaxWidth,r=t.minHeight,o=t.gapSize,i=t.resetMinHeightTablet,a=t.resetMinHeightMobile,l=t.contentMaxWidthPreset,c=this.props.setAttributes,s=this.state.contentHelpIsVisible,u=function(){e.setState({contentHelpIsVisible:!s})};return wp.element.createElement(L,null,wp.element.createElement(X,{label:Object(E.__)("Content Area Width","getwid"),selected:void 0!==l?l:"boxed",options:[{value:"boxed",label:Object(E.__)("Default","getwid")},{value:"full",label:Object(E.__)("Full Width","getwid")},{value:"custom",label:Object(E.__)("Custom Width","getwid")}],onChange:function(e){return c({contentMaxWidthPreset:e})}}),"custom"===l&&wp.element.createElement(Y,{value:void 0!==n?n:"",onChange:function(e){c({contentMaxWidth:e})},allowReset:!0,min:0,max:2e3,step:1}),!!s&&wp.element.createElement(L,null,wp.element.createElement(q,{label:Object(E.__)("Set the default width of the content area in Writing Settings.","getwid")},wp.element.createElement(re,{href:Getwid.options_writing_url},Object(E.__)("Writing Settings","getwid"))),wp.element.createElement(Q,{isLink:!0,onClick:u},Object(E.__)("Hide Help","getwid"))),!s&&wp.element.createElement(q,null,wp.element.createElement(Q,{isLink:!0,onClick:u},Object(E.__)("Show Help","getwid"))),wp.element.createElement(q,null,wp.element.createElement(ne,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(E.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(E.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(E.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(e){switch(e.name){case"desktop":return wp.element.createElement(x.a,{label:Object(E.__)("Section Height","getwid"),value:r,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return c({minHeight:e})}});case"tablet":return wp.element.createElement($,{label:Object(E.__)("Reset height on tablet","getwid"),checked:void 0!==i&&i,onChange:function(e){return c({resetMinHeightTablet:e})}});case"mobile":return wp.element.createElement($,{label:Object(E.__)("Reset height on mobile","getwid"),checked:void 0!==a&&a,onChange:function(e){return c({resetMinHeightMobile:e})}})}})),wp.element.createElement(J,{label:Object(E.__)("Vertical space between blocks","getwid"),value:void 0!==o?o:void 0,onChange:function(e){return c({gapSize:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"small",label:Object(E.__)("Small","getwid")},{value:"medium",label:Object(E.__)("Medium","getwid")},{value:"normal",label:Object(E.__)("Normal","getwid")},{value:"large",label:Object(E.__)("Large","getwid")},{value:"huge",label:Object(E.__)("Huge","getwid")},{value:"none",label:Object(E.__)("None","getwid")}]}))}},{key:"renderAlignmentSettings",value:function(){var e=this.props.attributes,t=e.verticalAlign,n=e.horizontalAlign,r=e.verticalAlignTablet,o=e.horizontalAlignTablet,i=e.verticalAlignMobile,a=e.horizontalAlignMobile,l=this.props.setAttributes;return wp.element.createElement(L,null,wp.element.createElement(q,null,wp.element.createElement(ne,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(E.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(E.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(E.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(e){switch(e.name){case"desktop":return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Content Area Vertical Alignment","getwid"),value:void 0!==t?t:"center",onChange:function(e){return l({verticalAlign:e})},options:[{value:"flex-start",label:Object(E.__)("Top","getwid")},{value:"center",label:Object(E.__)("Middle","getwid")},{value:"flex-end",label:Object(E.__)("Bottom","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==n?n:"center",onChange:function(e){return l({horizontalAlign:e})},options:[{value:"flex-start",label:Object(E.__)("Left","getwid")},{value:"center",label:Object(E.__)("Center","getwid")},{value:"flex-end",label:Object(E.__)("Right","getwid")}]}));case"tablet":return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Content Area Vertical Alignment","getwid"),value:void 0!==r?r:"center",onChange:function(e){return l({verticalAlignTablet:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Top","getwid")},{value:"center",label:Object(E.__)("Middle","getwid")},{value:"flex-end",label:Object(E.__)("Bottom","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==o?o:"center",onChange:function(e){return l({horizontalAlignTablet:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Left","getwid")},{value:"center",label:Object(E.__)("Center","getwid")},{value:"flex-end",label:Object(E.__)("Right","getwid")}]}));case"mobile":return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Content Area Vertical Alignment","getwid"),value:void 0!==i?i:"center",onChange:function(e){return l({verticalAlignMobile:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Top","getwid")},{value:"center",label:Object(E.__)("Middle","getwid")},{value:"flex-end",label:Object(E.__)("Bottom","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==a?a:"center",onChange:function(e){return l({horizontalAlignMobile:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Left","getwid")},{value:"center",label:Object(E.__)("Center","getwid")},{value:"flex-end",label:Object(E.__)("Right","getwid")}]}))}})))}},{key:"renderSliderSettings",value:function(){var e=this.props.attributes,t=e.sliderImages,n=e.sliderAnimationEffect,r=e.sliderAnimationDuration,o=e.sliderAnimationSpeed,i=this.props.setAttributes,a=t.map(function(e){return wp.element.createElement("img",{src:e.url,alt:e.alt})});return wp.element.createElement(L,null,(!t||0==t.length)&&wp.element.createElement(F,{icon:"format-gallery",labels:{title:Object(E.__)("Slider","getwid"),instructions:Object(E.__)("Drag images, upload new ones or select files from your library.","getwid")},onSelect:this.onSelectSliderImages,accept:"image/*",allowedTypes:ue,multiple:!0}),t&&!!t.length&&wp.element.createElement(L,null,wp.element.createElement(H,{onSelect:this.onSelectSliderImages,multiple:!0,gallery:!0,allowedTypes:ue,value:void 0!==t?t.map(function(e){return e.id}):[],render:function(e){var n=e.open;return wp.element.createElement(q,null,!!t&&wp.element.createElement("div",{className:"getwid-slider-image-wrapper"},a),wp.element.createElement(te,null,wp.element.createElement(Q,{isPrimary:!0,onClick:n},Object(E.__)("Select Images","getwid")),wp.element.createElement(Q,{onClick:function(){i({sliderImages:[]})},isDefault:!0},Object(E.__)("Remove","getwid"))))}}),wp.element.createElement(X,{label:Object(E.__)("Animation Effect","getwid"),selected:void 0!==n?n:"",options:[{value:"",label:Object(E.__)("Slide","getwid")},{value:"fade",label:Object(E.__)("Fade","getwid")}],onChange:function(e){return i({sliderAnimationEffect:e})}}),wp.element.createElement(Z,{label:Object(E.__)("Animation Duration","getwid"),value:r,type:"number",min:0,onChange:function(e){return i({sliderAnimationDuration:e})}}),wp.element.createElement(Z,{label:Object(E.__)("Animation Speed","getwid"),type:"number",value:void 0!==o?o:"",min:0,onChange:function(e){return i({sliderAnimationSpeed:e})}})))}},{key:"renderVideoSettings",value:function(){var e=this.props.attributes,t=e.backgroundVideoType,n=e.youTubeVideoScale,r=e.youTubeVideoUrl,o=e.youTubeVideoMute,i=e.youTubeVideoLoop,a=e.youTubeVideoAutoplay,l=e.backgroundVideoUrl,c=e.backgroundVideoMute,s=e.backgroundVideoLoop,u=e.backgroundVideoAutoplay,p=e.backgroundVideoPoster,d=e.backgroundVideoControlsPosition,m=this.props.setAttributes;return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Source","getwid"),value:t,onChange:function(e){return m({backgroundVideoType:e})},options:[{value:"youtube",label:Object(E.__)("YouTube","getwid")},{value:"self",label:Object(E.__)("Media Library","getwid")}]}),"youtube"==t&&wp.element.createElement(L,null,wp.element.createElement(Z,{label:Object(E.__)("YouTube URL","getwid"),placeholder:"https://youtube.com/watch?v=M7lc1UVf-VE",value:r,onChange:function(e){return m({youTubeVideoUrl:e})}})),"self"==t&&wp.element.createElement(L,null,l&&wp.element.createElement(L,null,wp.element.createElement("video",{controls:!0},wp.element.createElement("source",{src:l.url,type:"video/mp4"}),wp.element.createElement("span",null,Object(E.__)("Your browser does not support the video tag.","getwid")))),wp.element.createElement(H,{onSelect:function(e){m({backgroundVideoUrl:void 0}),m({backgroundVideoUrl:void 0!==e?Object(C.pick)(e,["alt","id","url"]):{}})},value:void 0!==l?l.id:"",allowedTypes:de,render:function(e){var t=e.open;return wp.element.createElement(q,null,wp.element.createElement(Q,{isPrimary:!0,onClick:t},Object(E.__)("Select Video","getwid")),!!l&&wp.element.createElement(Q,{onClick:function(){m({backgroundVideoUrl:void 0})},isDefault:!0},Object(E.__)("Remove","getwid")))}})),r&&"youtube"==t&&wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Video Scale","getwid"),value:n,onChange:function(e){return m({youTubeVideoScale:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"low",label:Object(E.__)("Low","getwid")},{value:"medium",label:Object(E.__)("Medium","getwid")},{value:"high",label:Object(E.__)("High","getwid")},{value:"huge",label:Object(E.__)("Huge","getwid")}]}),wp.element.createElement($,{label:Object(E.__)("Mute","getwid"),help:Object(E.__)("Enable this option to increase the chances for autoplay to succeed.","getwid"),checked:"true"==o,onChange:function(e){m({youTubeVideoMute:e?"true":"false"})}}),wp.element.createElement($,{label:Object(E.__)("Repeat","getwid"),checked:"true"==i,onChange:function(e){m({youTubeVideoLoop:e?"true":"false"})}}),wp.element.createElement($,{label:Object(E.__)("Autoplay","getwid"),checked:"true"==a,onChange:function(e){m({youTubeVideoAutoplay:e?"true":"false"})}})),l&&"self"==t&&wp.element.createElement(L,null,wp.element.createElement($,{label:Object(E.__)("Mute","getwid"),help:Object(E.__)("Enable this option to increase the chances for autoplay to succeed.","getwid"),checked:void 0===c||c,onChange:function(e){return m({backgroundVideoMute:e})}}),wp.element.createElement($,{label:Object(E.__)("Repeat","getwid"),checked:void 0!==s&&s,onChange:function(e){return m({backgroundVideoLoop:e})}}),wp.element.createElement($,{label:Object(E.__)("Autoplay","getwid"),checked:void 0!==u&&u,onChange:function(e){return m({backgroundVideoAutoplay:e})}})),(l||r)&&wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Controls Position","getwid"),value:d,onChange:function(e){return m({backgroundVideoControlsPosition:e})},options:[{value:"none",label:Object(E.__)("None","getwid")},{value:"top-left",label:Object(E.__)("Top Left","getwid")},{value:"top-right",label:Object(E.__)("Top Right","getwid")},{value:"bottom-left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom-right",label:Object(E.__)("Bottom Right","getwid")},{value:"center-center",label:Object(E.__)("Center Center","getwid")}]})),l&&wp.element.createElement(L,null,wp.element.createElement(H,{label:Object(E.__)("Poster Image","getwid"),onSelect:function(e){return m({backgroundVideoPoster:e.url})},allowedTypes:pe,value:void 0!==p?p:"",render:function(e){var t=e.open;return wp.element.createElement(q,null,wp.element.createElement(Q,{isDefault:!0,onClick:t},!p&&Object(E.__)("Select Poster","getwid"),!!p&&Object(E.__)("Replace Poster","getwid")))}}),!!p&&wp.element.createElement(q,null,wp.element.createElement(Q,{onClick:function(){m({backgroundVideoPoster:void 0})},isLink:!0,isDestructive:!0},Object(E.__)("Remove Poster","getwid")))))}},{key:"renderForegroundSettings",value:function(){var e=this.props.attributes,t=e.foregroundOpacity,n=e.foregroundFilter,r=this.props.setAttributes;return wp.element.createElement(L,null,wp.element.createElement(Y,{label:Object(E.__)("Overlay Layer Opacity","getwid"),value:void 0!==t?t:"",onChange:function(e){return r({foregroundOpacity:e})},min:0,max:100,step:1,allowReset:!0}),wp.element.createElement(J,{label:Object(E.__)("Blend Mode","getwid"),value:void 0!==n?n:"",onChange:function(e){return r({foregroundFilter:e})},options:[{value:"",label:Object(E.__)("None","getwid")},{value:"normal",label:Object(E.__)("Normal","getwid")},{value:"multiply",label:Object(E.__)("Multiply","getwid")},{value:"screen",label:Object(E.__)("Screen","getwid")},{value:"overlay",label:Object(E.__)("Overlay","getwid")},{value:"darken",label:Object(E.__)("Darken","getwid")},{value:"lighten",label:Object(E.__)("Lighten","getwid")},{value:"color-dodge",label:Object(E.__)("Color Dodge","getwid")},{value:"color-burn",label:Object(E.__)("Color Burn","getwid")},{value:"hard-light",label:Object(E.__)("Hard Light","getwid")},{value:"soft-light",label:Object(E.__)("Soft Light","getwid")},{value:"difference",label:Object(E.__)("Difference","getwid")},{value:"exclusion",label:Object(E.__)("Exclusion","getwid")},{value:"hue",label:Object(E.__)("Hue","getwid")},{value:"saturation",label:Object(E.__)("Saturation","getwid")},{value:"color",label:Object(E.__)("Color","getwid")},{value:"luminosity",label:Object(E.__)("Luminosity","getwid")}]}))}},{key:"renderForegroundColor",value:function(){var e=this.props.attributes.foregroundColor,t=this.props.setAttributes,n=Object(C.get)(M("core/editor").getEditorSettings(),["colors"],[]);return wp.element.createElement(L,null,wp.element.createElement(q,{label:Object(E.__)("Overlay Color","getwid"),className:"components-getwid-color-palette-control"},e&&wp.element.createElement(ie,{colorValue:e}),wp.element.createElement(oe,{colors:n,value:e,onChange:function(e){t({foregroundColor:e})}})))}},{key:"renderForegroundImage",value:function(){var e=this.props.attributes,t=e.foregroundImage,n=e.foregroundCustomImagePosition,r=e.foregroundImagePosition,o=e.foregroundImageAttachment,i=e.foregroundImageRepeat,a=e.foregroundImageSize,l=this.props.setAttributes,c=t?t.url:void 0,s=t?t.id:void 0,u=function(){l({foregroundImage:void 0,foregroundCustomImagePosition:void 0,foregroundImagePosition:void 0,foregroundImageAttachment:void 0,foregroundImageRepeat:void 0,foregroundImageSize:void 0})};return wp.element.createElement(L,null,wp.element.createElement(N.e,{label:Object(E.__)("Overlay Image","getwid"),url:c,id:s,onSelectMedia:function(e){return l({foregroundImage:void 0!==e?Object(C.pick)(e,["alt","id","url"]):{}})},onRemoveMedia:u}),t&&wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Position","getwid"),value:void 0!==r?r:"",onChange:function(e){return l({foregroundImagePosition:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"custom",label:Object(E.__)("Custom","getwid")},{value:"top left",label:Object(E.__)("Top Left","getwid")},{value:"top center",label:Object(E.__)("Top Center","getwid")},{value:"top right",label:Object(E.__)("Top Right","getwid")},{value:"center left",label:Object(E.__)("Center Left ","getwid")},{value:"center center",label:Object(E.__)("Center Center","getwid")},{value:"center right",label:Object(E.__)("Center Right","getwid")},{value:"bottom left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(E.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(E.__)("Bottom Right","getwid")}]}),"custom"==r&&wp.element.createElement(U,{url:c,value:n,onChange:function(e){l({foregroundCustomImagePosition:e})}}),wp.element.createElement(J,{label:Object(E.__)("Attachment","getwid"),value:void 0!==o?o:"",onChange:function(e){return l({foregroundImageAttachment:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"scroll",label:Object(E.__)("Scroll","getwid")},{value:"fixed",label:Object(E.__)("Fixed","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Repeat","getwid"),value:void 0!==i?i:"",onChange:function(e){return l({foregroundImageRepeat:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"no-repeat",label:Object(E.__)("No Repeat","getwid")},{value:"repeat",label:Object(E.__)("Repeat","getwid")},{value:"repeat-x",label:Object(E.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(E.__)("Repeat Y","getwid")},{value:"space",label:Object(E.__)("Space","getwid")},{value:"round",label:Object(E.__)("Round","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Size","getwid"),value:void 0!==a?a:"",onChange:function(e){return l({foregroundImageSize:e})},options:[{value:"",label:Object(E.__)("Cover","getwid")},{value:"contain",label:Object(E.__)("Contain","getwid")},{value:"auto",label:Object(E.__)("Auto","getwid")}]})))}},{key:"renderAnimationSettings",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.entranceAnimationDuration,r=e.entranceAnimationDelay,o=this.props.setAttributes,i=function(){o({entranceAnimation:void 0,entranceAnimationDelay:"200ms",entranceAnimationDuration:"1500ms"})};return wp.element.createElement(L,null,wp.element.createElement(K,{title:Object(E.__)("Entrance Animation","getwid"),initialOpen:!0},wp.element.createElement(T.a,{label:Object(E.__)("Animation Effect","getwid"),allowAnimation:["Entrance","Seeker"],value:void 0!==t?t:"",onChange:function(e){return o({entranceAnimation:e})}}),wp.element.createElement(J,{label:Object(E.__)("Duration","getwid"),value:void 0!==n?n:"",onChange:function(e){return o({entranceAnimationDuration:e})},options:[{value:"2000ms",label:Object(E.__)("Slow","getwid")},{value:"1500ms",label:Object(E.__)("Normal","getwid")},{value:"800ms",label:Object(E.__)("Fast","getwid")},{value:"400ms",label:Object(E.__)("Very Fast","getwid")}]}),wp.element.createElement(Z,{label:Object(E.__)("Delay, ms","getwid"),value:void 0!==r?r.replace("ms",""):"",type:"number",min:0,placeholder:200,onChange:function(e){e=parseInt(e),e=isNaN(e)?void 0:"".concat(e,"ms"),o({entranceAnimationDelay:e})}}),wp.element.createElement(q,null,wp.element.createElement(Q,{isLink:!0,onClick:i,disabled:!this.hasAnimation()},Object(E.__)("Reset","getwid")))))}},{key:"onSelectSliderImages",value:function(e){this.props.setAttributes({sliderImages:void 0!==e?e.map(function(e){return Object(C.pick)(e,["alt","id","url"])}):[]})}}]),t}(I);t.a=se([B(function(e,t){var n=e("core/editor"),r=n.getEditorSettings,o=e("core/block-editor").getSettings();return{colorGradientSettings:Object(C.pick)(o,me),getEditorSettings:r}}),W("backgroundColor")])(fe)},function(e,t){function n(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.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.exports=n},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.state,n=e.label,r=e.stateName,o=e.onChangeBackgroundType,i=e.types,c=void 0===i?["color","image","gradient","slider","video"]:i;return wp.element.createElement(m,null,wp.element.createElement(u,{label:n,className:"components-getwid-background-types-control"},wp.element.createElement(p,{className:"components-getwid-background-types-group"},c.includes("color")&&wp.element.createElement(m,null,wp.element.createElement(d,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M3,16h14c0.55,0,1,0.45,1,1v0c0,0.55-0.45,1-1,1H3c-0.55,0-1-0.45-1-1v0C2,16.45,2.45,16,3,16z"}),wp.element.createElement("path",{d:"M9.05,13.95L13.3,9.7c0.39-0.39,0.39-1.02,0-1.41L9.05,4.05L8.34,3.34L7.63,2.63c-0.39-0.39-1.02-0.39-1.41,0L6.22,2.64\tc-0.39,0.39-0.39,1.02,0,1.41l0.7,0.7L3.39,8.3C3,8.69,3,9.31,3.39,9.7l4.24,4.25C8.02,14.34,8.66,14.34,9.05,13.95z M9.04,6.87\tL11.17,9H5.51l2.13-2.13C8.02,6.49,8.66,6.49,9.04,6.87z"}),wp.element.createElement("path",{d:"M13,13c0,0.55,0.45,1,1,1s1-0.45,1-1s-1-3-1-3S13,12.45,13,13z"})),label:Object(l.__)("Color","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"color"===t}),onClick:function(){o(r,"color")}})),c.includes("image")&&wp.element.createElement(d,{icon:"format-image",label:Object(l.__)("Image","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"image"===t}),onClick:function(){o(r,"image")}}),c.includes("gradient")&&wp.element.createElement(d,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M2,3v14c0,0.55,0.45,1,1,1h14c0.55,0,1-0.45,1-1V3c0-0.55-0.45-1-1-1H3C2.45,2,2,2.45,2,3z M15,16H4L16,4v11 C16,15.55,15.55,16,15,16z"})),label:Object(l.__)("Gradient","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"gradient"===t}),onClick:function(){o(r,"gradient")}}),c.includes("slider")&&wp.element.createElement(d,{icon:"images-alt2",label:Object(l.__)("Slider","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"slider"===t}),onClick:function(){o(r,"slider")}}),c.includes("video")&&wp.element.createElement(d,{icon:"video-alt3",label:Object(l.__)("Video","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"video"===t}),onClick:function(){o(r,"video")}}))))}t.a=r;var o=(n(0),n(126)),i=(n.n(o),n(8)),a=n.n(i),l=n(1),c=(n.n(l),window),s=(c.jQuery,wp.components),u=s.BaseControl,p=s.ButtonGroup,d=s.IconButton,m=wp.element.Fragment},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){var t,n=e.label,r=e.value,i=e.onChange,a=function(e){var t=e.firstColor,n=e.firstLocation,r=e.secondColor,o=e.secondLocation,a=e.type,l=e.angle;i(t,n,r,o,a,l)};t="linear"===r.type?"".concat(r.angle,"deg"):"at ".concat(r.position);var l="".concat(r.type,"-gradient( ").concat(t,", ").concat(r.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(r.firstLocation,"%, ").concat(r.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(r.secondLocation,"% )"),d=r.firstColor&&r.secondColor;return wp.element.createElement("div",{className:"".concat(y)},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,d&&wp.element.createElement(b,{colorValue:l}))),wp.element.createElement("div",{className:"".concat(y,"-presets")},s.a.map(function(e){return wp.element.createElement(u.a,{title:e.title,className:y,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===r.firstColor&&e.secondColor===r.secondColor,onChange:i})}),wp.element.createElement("div",{className:"".concat(y,"-custom-wrapper")},wp.element.createElement(f,{className:"".concat(y,"-dropdown-link-action"),contentClassName:"".concat(y,"-dropdown-content"),renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(w,{onClick:t,isLink:!0},Object(c.__)("Custom Gradient","getwid"))},renderContent:function(){return wp.element.createElement(m,null,wp.element.createElement(v,{label:Object(c.__)("Type","getwid"),value:r.type?r.type:"",onChange:function(e){return a(o(o({},r),{},{type:e}))},options:[{value:"",label:Object(c.__)("None","getwid")},{value:"linear",label:Object(c.__)("Linear","getwid")},{value:"radial",label:Object(c.__)("Radial","getwid")}]}),wp.element.createElement(p.a,{colorSettings:[{title:Object(c.__)("First Color","getwid"),colors:{customColor:r.firstColor},changeColor:function(e){return a(o(o({},r),{},{firstColor:e,type:r.type?r.type:"linear"}))}}]}),wp.element.createElement(h,{label:Object(c.__)("First Color Location","getwid"),value:void 0!=r.firstLocation?r.firstLocation:"",onChange:function(e){return a(o(o({},r),{},{firstLocation:e}))},placeholder:0,min:0,max:100,step:1}),wp.element.createElement(p.a,{colorSettings:[{title:Object(c.__)("Second Color","getwid"),colors:{customColor:r.secondColor},changeColor:function(e){return a(o(o({},r),{},{secondColor:e,type:r.type?r.type:"linear"}))}}]}),wp.element.createElement(h,{label:Object(c.__)("Second Color Location","getwid"),value:void 0!=r.secondLocation?r.secondLocation:"",onChange:function(e){return a(o(o({},r),{},{secondLocation:e}))},placeholder:100,min:0,max:100,step:1}),"linear"===r.type&&wp.element.createElement(h,{label:Object(c.__)("Angle","getwid"),value:void 0!=r.angle?r.angle:"",onChange:function(e){return a(o(o({},r),{},{angle:e}))},placeholder:180,min:0,max:360,step:1}))}}),wp.element.createElement(w,{className:"".concat(y,"-clear"),type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i(void 0,0,void 0,100,"",90)}},Object(c.__)("Reset","getwid"))))))}t.a=i;var a=n(7),l=n.n(a),c=(n(0),n(1)),s=(n.n(c),n(128)),u=n(129),p=n(16),d=n(130),m=(n.n(d),wp.element.Fragment),g=wp.components,f=g.Dropdown,b=g.ColorIndicator,w=g.Button,h=g.RangeControl,v=g.SelectControl,y="components-getwid-gradient-palette-control"},function(e,t,n){"use strict";var r=n(1),o=(n.n(r),[{title:Object(r.__)("Vivid cyan blue to vivid purple"),firstColor:"#0693e3",secondColor:"#9b51e0"},{title:Object(r.__)("Light green cyan to vivid green cyan"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:Object(r.__)("Luminous vivid amber to luminous vivid orange"),firstColor:"#fcb900",secondColor:"#ff6900"},{title:Object(r.__)("Luminous vivid orange to vivid red"),firstColor:"#ff6900",secondColor:"#cf2e2e"},{title:Object(r.__)("Very light gray to cyan bluish gray"),firstColor:"#eeeeee",secondColor:"#a9b8c3"},{title:Object(r.__)("Blush light purple"),firstColor:"#ffceec",secondColor:"#9896f0"},{title:Object(r.__)("Electric grass"),firstColor:"#caf880",secondColor:"#71ce7e"},{title:Object(r.__)("Midnight"),firstColor:"#020381",secondColor:"#2874fc"}]);t.a=o},function(e,t,n){"use strict";var r=(n(0),n(8)),o=n.n(r),i=wp.components,a=i.Tooltip,l=i.Dashicon,c=function(e){var t=e.title,n=e.className,r=e.firstColor,i=e.secondColor,c=e.isSelected,s=e.onChange,u=wp.element.createElement("button",{type:"button","aria-pressed":c,className:o()("".concat(n,"-option"),{"is-active":c}),style:{background:"linear-gradient(90deg, ".concat(r," 0%, ").concat(i," 100%)")},onClick:function(){return s(r,0,i,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"".concat(n,"-option-wrapper")},t?wp.element.createElement(a,{text:t},u):u,c&&wp.element.createElement(l,{icon:"saved"}))};t.a=c},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(26)),_=n(25),k=n(29),O=n(1),E=(n.n(O),n(8)),C=n.n(E),j=wp.element.Component,S=wp.blockEditor||wp.editor,x=S.InnerBlocks,P=S.getColorClassName,T="wp-block-getwid-section",R=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.attributes,i=r.align,a=r.paddingTopValue,c=r.paddingBottomValue,u=r.paddingLeftValue,p=r.paddingRightValue,d=r.marginTopValue,m=r.marginBottomValue,g=r.marginLeftValue,f=r.marginRightValue,b=r.backgroundImage,w=r.sliderImages,h=r.backgroundVideoType,v=r.youTubeVideoScale,O=r.youTubeVideoUrl,E=r.youTubeVideoMute,j=r.youTubeVideoLoop,S=r.youTubeVideoAutoplay,R=r.backgroundVideoUrl,N=r.backgroundVideoControlsPosition,A=r.foregroundOpacity,M=r.foregroundColor,B=r.foregroundFilter,D=r.dividersBringTop,I=r.contentMaxWidth,L=r.contentMaxWidthPreset,z=r.minHeight,V=r.gapSize,H=r.entranceAnimation,F=r.entranceAnimationDuration,W=r.entranceAnimationDelay,G=r.backgroundColor,U=r.customBackgroundColor,q=r.resetMinHeightTablet,Q=r.resetMinHeightMobile,K=r.verticalAlign,Y=r.verticalAlignTablet,J=r.verticalAlignMobile,Z=r.horizontalAlign,$=r.horizontalAlignTablet,X=r.horizontalAlignMobile,ee=r.paddingTop,te=r.paddingRight,ne=r.paddingBottom,re=r.paddingLeft,oe=r.paddingTopTablet,ie=r.paddingRightTablet,ae=r.paddingBottomTablet,le=r.paddingLeftTablet,ce=r.paddingTopMobile,se=r.paddingRightMobile,ue=r.paddingBottomMobile,pe=r.paddingLeftMobile,de=r.marginTop,me=r.marginRight,ge=r.marginBottom,fe=r.marginLeft,be=r.marginTopTablet,we=r.marginRightTablet,he=r.marginBottomTablet,ve=r.marginLeftTablet,ye=r.marginTopMobile,_e=r.marginRightMobile,ke=r.marginBottomMobile,Oe=r.marginLeftMobile,Ee=r.anchor,Ce=n.className,je=n.prepareMultiGradientStyle,Se=n.prepareBackgroundImageStyles,xe=o(o({},"custom"===de?{marginTop:d}:[]),"custom"===ge?{marginBottom:m}:[]),Pe=o(o(o(o(o(o({minHeight:z},"custom"===fe?{marginLeft:g}:[]),"custom"===me?{marginRight:f}:[]),"custom"===ee?{paddingTop:a}:[]),"custom"===ne?{paddingBottom:c}:[]),"custom"===re?{paddingLeft:u}:[]),"custom"===te?{paddingRight:p}:[]),Te=C()("".concat(T,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(ee),"custom"!==ee&&""!==ee),s()(e,"getwid-padding-bottom-".concat(ne),"custom"!==ne&&""!==ne),s()(e,"getwid-padding-left-".concat(re),"custom"!==re&&""!==re),s()(e,"getwid-padding-right-".concat(te),"custom"!==te&&""!==te),s()(e,"getwid-padding-tablet-top-".concat(oe),""!==oe),s()(e,"getwid-padding-tablet-bottom-".concat(ae),""!==ae),s()(e,"getwid-padding-tablet-left-".concat(le),""!==le),s()(e,"getwid-padding-tablet-right-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-top-".concat(ce),""!==ce),s()(e,"getwid-padding-mobile-bottom-".concat(ue),""!==ue),s()(e,"getwid-padding-mobile-left-".concat(pe),""!==pe),s()(e,"getwid-padding-mobile-right-".concat(se),""!==se),s()(e,"getwid-margin-left-".concat(fe),"custom"!==fe&&""!==fe),s()(e,"getwid-margin-right-".concat(me),"custom"!==me&&""!==me),s()(e,"getwid-margin-tablet-left-".concat(ve),""!==ve),s()(e,"getwid-margin-tablet-right-".concat(we),""!==we),s()(e,"getwid-margin-mobile-left-".concat(Oe),""!==Oe),s()(e,"getwid-margin-mobile-right-".concat(_e),""!==_e),s()(e,"getwid-align-items-".concat(K),"center"!==K),s()(e,"getwid-align-items-tablet-".concat(Y),""!==Y),s()(e,"getwid-align-items-mobile-".concat(J),""!==J),s()(e,"getwid-justify-content-".concat(Z),"center"!==Z),s()(e,"getwid-justify-content-tablet-".concat($),""!==$),s()(e,"getwid-justify-content-mobile-".concat(X),""!==X),s()(e,"getwid-reset-min-height-tablet",!1!==q),s()(e,"getwid-reset-min-height-mobile",!1!==Q),e)),Re=this.props.attributes,Ne=Re.backgroundGradient,Ae=Re.foregroundGradient;Ne=je("background",this.props),Ae=je("foreground",this.props);var Me=o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor,backgroundImage:Ne},Se("background",this.props)),Be=P("background-color",G),De=C()("".concat(T,"__background"),s()({"has-background":G||U},Be,Be)),Ie=o(o({opacity:void 0!==A?A/100:void 0,backgroundColor:M,backgroundImage:Ae},Se("foreground",this.props)),{},{mixBlendMode:B}),Le={maxWidth:I&&"custom"===L?"".concat(I,"px"):void 0},ze=H?{"data-wow-duration":void 0!==F?F:"2000ms","data-wow-delay":void 0!==W?W:"500ms"}:{},Ve=C()(Ce,i?"align".concat(i):null,(t={},s()(t,"has-inner-blocks-gap-".concat(V),void 0!==V&&""!==V),s()(t,"getwid-anim ".concat(H),!!H),s()(t,"getwid-margin-top-".concat(de),"custom"!==de&&""!==de),s()(t,"getwid-margin-bottom-".concat(ge),"custom"!==ge&&""!==ge),s()(t,"getwid-margin-tablet-top-".concat(be),"custom"!==be&&""!==be),s()(t,"getwid-margin-tablet-bottom-".concat(he),"custom"!==he&&""!==he),s()(t,"getwid-margin-mobile-top-".concat(ye),"custom"!==ye&&""!==ye),s()(t,"getwid-margin-mobile-bottom-".concat(ke),"custom"!==ke&&""!==ke),s()(t,"getwid-section-content-full-width","full"===L),s()(t,"getwid-section-content-custom-width","custom"===L),t)),He=Ee||void 0,Fe={"youtube-video-url":O||"","youtube-video-muted":E?"true":"false","youtube-video-loop":j?"true":"false","youtube-video-autoplay":S?"true":"false"};return wp.element.createElement("div",l()({id:He,className:Ve,style:xe},ze),wp.element.createElement("div",{className:Te,style:Pe},wp.element.createElement(_.a,o(o({},this.props),{},{baseClass:T})),(!!R||!!O)&&"none"!==N&&wp.element.createElement("div",{className:C()("getwid-background-video-controls",s()({},"is-position-".concat(N),"top-right"!==N))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:C()("".concat(T,"__inner-wrapper"),s()({},"has-dividers-over",D)),style:Le},wp.element.createElement("div",{className:"".concat(T,"__background-holder")},wp.element.createElement("div",{className:De,style:Me},!!b&&wp.element.createElement("div",{className:"".concat(T,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(T,"__background-image"),src:b.url,alt:b.alt})),w&&!!w.length&&wp.element.createElement("div",{className:"".concat(T,"__background-slider-wrapper")},wp.element.createElement(y.b,o(o({},this.props),{},{baseClass:T}))),(!!R||!!O)&&wp.element.createElement("div",{className:"".concat(T,"__background-video-wrapper")},O&&""!=O&&"youtube"==h&&wp.element.createElement("div",l()({className:C()("".concat(T,"__background-video"),"source-youtube",s()({},"scale-youtube-".concat(v),!!v))},Fe),wp.element.createElement("div",{className:"".concat(T,"__background-video-youtube")})),!!R&&"self"==h&&wp.element.createElement(k.a,l()({},o(o({},this.props),{},{baseClass:T}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(T,"__foreground"),style:Ie})),wp.element.createElement("div",{className:"".concat(T,"__content")},wp.element.createElement("div",{className:"".concat(T,"__inner-content")},wp.element.createElement(x.Content,null))))))}}]),t}(j);t.a=R},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(1)),_=(n.n(y),n(8)),k=n.n(_),O=n(26),E=n(25),C=n(29),j=n(22),S=wp.element.Component,x=wp.blockEditor||wp.editor,P=x.InnerBlocks,T=x.getColorClassName,R=j.a.prepareGradientStyle,N=j.a.prepareBackgroundImageStyles,A="wp-block-getwid-section",M=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.paddingTopValue,i=n.paddingBottomValue,a=n.paddingLeftValue,c=n.paddingRightValue,u=n.marginTopValue,p=n.marginBottomValue,d=n.marginLeftValue,m=n.marginRightValue,g=n.backgroundImage,f=n.sliderImages,b=n.backgroundVideoUrl,w=n.backgroundVideoControlsPosition,h=n.foregroundOpacity,v=n.foregroundColor,y=n.foregroundFilter,_=n.dividersBringTop,j=n.contentMaxWidth,S=n.contentMaxWidthPreset,x=n.minHeight,M=n.gapSize,B=n.entranceAnimation,D=n.entranceAnimationDuration,I=n.entranceAnimationDelay,L=n.backgroundColor,z=n.customBackgroundColor,V=n.resetMinHeightTablet,H=n.resetMinHeightMobile,F=n.verticalAlign,W=n.verticalAlignTablet,G=n.verticalAlignMobile,U=n.horizontalAlign,q=n.horizontalAlignTablet,Q=n.horizontalAlignMobile,K=n.paddingTop,Y=n.paddingRight,J=n.paddingBottom,Z=n.paddingLeft,$=n.paddingTopTablet,X=n.paddingRightTablet,ee=n.paddingBottomTablet,te=n.paddingLeftTablet,ne=n.paddingTopMobile,re=n.paddingRightMobile,oe=n.paddingBottomMobile,ie=n.paddingLeftMobile,ae=n.marginTop,le=n.marginRight,ce=n.marginBottom,se=n.marginLeft,ue=n.marginTopTablet,pe=n.marginRightTablet,de=n.marginBottomTablet,me=n.marginLeftTablet,ge=n.marginTopMobile,fe=n.marginRightMobile,be=n.marginBottomMobile,we=n.marginLeftMobile,he=n.className,ve=n.anchor,ye=o(o({},"custom"===ae?{marginTop:u}:[]),"custom"===ce?{marginBottom:p}:[]),_e=o(o(o(o(o(o({minHeight:x},"custom"===se?{marginLeft:d}:[]),"custom"===le?{marginRight:m}:[]),"custom"===K?{paddingTop:r}:[]),"custom"===J?{paddingBottom:i}:[]),"custom"===Z?{paddingLeft:a}:[]),"custom"===Y?{paddingRight:c}:[]),ke=k()("".concat(A,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(K),"custom"!==K&&""!==K),s()(e,"getwid-padding-bottom-".concat(J),"custom"!==J&&""!==J),s()(e,"getwid-padding-left-".concat(Z),"custom"!==Z&&""!==Z),s()(e,"getwid-padding-right-".concat(Y),"custom"!==Y&&""!==Y),s()(e,"getwid-padding-tablet-top-".concat($),""!==$),s()(e,"getwid-padding-tablet-bottom-".concat(ee),""!==ee),s()(e,"getwid-padding-tablet-left-".concat(te),""!==te),s()(e,"getwid-padding-tablet-right-".concat(X),""!==X),s()(e,"getwid-padding-mobile-top-".concat(ne),""!==ne),s()(e,"getwid-padding-mobile-bottom-".concat(oe),""!==oe),s()(e,"getwid-padding-mobile-left-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-right-".concat(re),""!==re),s()(e,"getwid-margin-left-".concat(se),"custom"!==se&&""!==se),s()(e,"getwid-margin-right-".concat(le),"custom"!==le&&""!==le),s()(e,"getwid-margin-tablet-left-".concat(me),""!==me),s()(e,"getwid-margin-tablet-right-".concat(pe),""!==pe),s()(e,"getwid-margin-mobile-left-".concat(we),""!==we),s()(e,"getwid-margin-mobile-right-".concat(fe),""!==fe),s()(e,"getwid-align-items-".concat(F),"center"!==F),s()(e,"getwid-align-items-tablet-".concat(W),""!==W),s()(e,"getwid-align-items-mobile-".concat(G),""!==G),s()(e,"getwid-justify-content-".concat(U),"center"!==U),s()(e,"getwid-justify-content-tablet-".concat(q),""!==q),s()(e,"getwid-justify-content-mobile-".concat(Q),""!==Q),s()(e,"getwid-reset-min-height-tablet",!1!==V),s()(e,"getwid-reset-min-height-mobile",!1!==H),e)),Oe=o(o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor},R("background",this.props)),N("background",this.props)),Ee=T("background-color",L),Ce=k()("".concat(A,"__background"),s()({"has-background":L||z},Ee,Ee)),je=o(o(o({opacity:void 0!==h?h/100:void 0,backgroundColor:v},R("foreground",this.props)),N("foreground",this.props)),{},{mixBlendMode:y}),Se={maxWidth:j&&"custom"===S?"".concat(j,"px"):void 0},xe=B?{"data-wow-duration":void 0!==D?D:"2000ms","data-wow-delay":void 0!==I?I:"500ms"}:{},Pe=k()(he,(t={},s()(t,"has-inner-blocks-gap-".concat(M),void 0!==M&&""!==M),s()(t,"getwid-anim ".concat(B),!!B),s()(t,"getwid-margin-top-".concat(ae),"custom"!==ae&&""!==ae),s()(t,"getwid-margin-bottom-".concat(ce),"custom"!==ce&&""!==ce),s()(t,"getwid-margin-tablet-top-".concat(ue),"custom"!==ue&&""!==ue),s()(t,"getwid-margin-tablet-bottom-".concat(de),"custom"!==de&&""!==de),s()(t,"getwid-margin-mobile-top-".concat(ge),"custom"!==ge&&""!==ge),s()(t,"getwid-margin-mobile-bottom-".concat(be),"custom"!==be&&""!==be),s()(t,"getwid-section-content-full-width","full"===S),s()(t,"getwid-section-content-custom-width","custom"===S),t)),Te=ve||void 0;return wp.element.createElement("div",l()({id:Te,className:Pe,style:ye},xe),wp.element.createElement("div",{className:ke,style:_e},wp.element.createElement(E.a,o(o({},this.props),{},{baseClass:A})),!!b&&"none"!==w&&wp.element.createElement("div",{className:k()("getwid-background-video-controls",s()({},"is-position-".concat(w),"top-right"!==w))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:k()("".concat(A,"__inner-wrapper"),s()({},"has-dividers-over",_)),style:Se},wp.element.createElement("div",{className:"".concat(A,"__background-holder")},wp.element.createElement("div",{className:Ce,style:Oe},!!g&&wp.element.createElement("div",{className:"".concat(A,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(A,"__background-image"),src:g.url,alt:g.alt,"data-id":g.id})),!!f.length&&wp.element.createElement("div",{className:"".concat(A,"__background-slider-wrapper")},wp.element.createElement(O.b,o(o({},this.props),{},{baseClass:A}))),!!b&&wp.element.createElement("div",{className:"".concat(A,"__background-video-wrapper")},wp.element.createElement(C.a,l()({},o(o({},this.props),{},{baseClass:A}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(A,"__foreground"),style:je})),wp.element.createElement("div",{className:"".concat(A,"__content")},wp.element.createElement("div",{className:"".concat(A,"__inner-content")},wp.element.createElement(P.Content,null))))))}}]),t}(S);t.a=M},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(26)),_=n(25),k=n(134),O=n(1),E=(n.n(O),n(8)),C=n.n(E),j=n(22),S=wp.element.Component,x=wp.blockEditor||wp.editor,P=x.InnerBlocks,T=x.getColorClassName,R=j.a.prepareGradientStyle,N=j.a.prepareBackgroundImageStyles,A="wp-block-getwid-section",M=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.align,i=n.paddingTopValue,a=n.paddingBottomValue,c=n.paddingLeftValue,u=n.paddingRightValue,p=n.marginTopValue,d=n.marginBottomValue,m=n.marginLeftValue,g=n.marginRightValue,f=n.backgroundImage,b=n.sliderImages,w=n.backgroundVideoUrl,h=n.backgroundVideoControlsPosition,v=n.foregroundOpacity,O=n.foregroundColor,E=n.foregroundFilter,j=n.dividersBringTop,S=n.contentMaxWidth,x=n.contentMaxWidthPreset,M=n.minHeight,B=n.gapSize,D=n.entranceAnimation,I=n.entranceAnimationDuration,L=n.entranceAnimationDelay,z=n.backgroundColor,V=n.customBackgroundColor,H=n.resetMinHeightTablet,F=n.resetMinHeightMobile,W=n.verticalAlign,G=n.verticalAlignTablet,U=n.verticalAlignMobile,q=n.horizontalAlign,Q=n.horizontalAlignTablet,K=n.horizontalAlignMobile,Y=n.paddingTop,J=n.paddingRight,Z=n.paddingBottom,$=n.paddingLeft,X=n.paddingTopTablet,ee=n.paddingRightTablet,te=n.paddingBottomTablet,ne=n.paddingLeftTablet,re=n.paddingTopMobile,oe=n.paddingRightMobile,ie=n.paddingBottomMobile,ae=n.paddingLeftMobile,le=n.marginTop,ce=n.marginRight,se=n.marginBottom,ue=n.marginLeft,pe=n.marginTopTablet,de=n.marginRightTablet,me=n.marginBottomTablet,ge=n.marginLeftTablet,fe=n.marginTopMobile,be=n.marginRightMobile,we=n.marginBottomMobile,he=n.marginLeftMobile,ve=n.className,ye=n.anchor,_e=o(o({},"custom"===le?{marginTop:p}:[]),"custom"===se?{marginBottom:d}:[]),ke=o(o(o(o(o(o({minHeight:M},"custom"===ue?{marginLeft:m}:[]),"custom"===ce?{marginRight:g}:[]),"custom"===Y?{paddingTop:i}:[]),"custom"===Z?{paddingBottom:a}:[]),"custom"===$?{paddingLeft:c}:[]),"custom"===J?{paddingRight:u}:[]),Oe=C()("".concat(A,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(Y),"custom"!==Y&&""!==Y),s()(e,"getwid-padding-bottom-".concat(Z),"custom"!==Z&&""!==Z),s()(e,"getwid-padding-left-".concat($),"custom"!==$&&""!==$),s()(e,"getwid-padding-right-".concat(J),"custom"!==J&&""!==J),s()(e,"getwid-padding-tablet-top-".concat(X),""!==X),s()(e,"getwid-padding-tablet-bottom-".concat(te),""!==te),s()(e,"getwid-padding-tablet-left-".concat(ne),""!==ne),s()(e,"getwid-padding-tablet-right-".concat(ee),""!==ee),s()(e,"getwid-padding-mobile-top-".concat(re),""!==re),s()(e,"getwid-padding-mobile-bottom-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-left-".concat(ae),""!==ae),s()(e,"getwid-padding-mobile-right-".concat(oe),""!==oe),s()(e,"getwid-margin-left-".concat(ue),"custom"!==ue&&""!==ue),s()(e,"getwid-margin-right-".concat(ce),"custom"!==ce&&""!==ce),s()(e,"getwid-margin-tablet-left-".concat(ge),""!==ge),s()(e,"getwid-margin-tablet-right-".concat(de),""!==de),s()(e,"getwid-margin-mobile-left-".concat(he),""!==he),s()(e,"getwid-margin-mobile-right-".concat(be),""!==be),s()(e,"getwid-align-items-".concat(W),"center"!==W),s()(e,"getwid-align-items-tablet-".concat(G),""!==G),s()(e,"getwid-align-items-mobile-".concat(U),""!==U),s()(e,"getwid-justify-content-".concat(q),"center"!==q),s()(e,"getwid-justify-content-tablet-".concat(Q),""!==Q),s()(e,"getwid-justify-content-mobile-".concat(K),""!==K),s()(e,"getwid-reset-min-height-tablet",!1!==H),s()(e,"getwid-reset-min-height-mobile",!1!==F),e)),Ee=o(o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor},R("background",this.props)),N("background",this.props)),Ce=T("background-color",z),je=C()("".concat(A,"__background"),s()({"has-background":z||V},Ce,Ce)),Se=o(o(o({opacity:void 0!==v?v/100:void 0,backgroundColor:O},R("foreground",this.props)),N("foreground",this.props)),{},{mixBlendMode:E}),xe={maxWidth:S&&"custom"===x?"".concat(S,"px"):void 0},Pe=D?{"data-wow-duration":void 0!==I?I:"2000ms","data-wow-delay":void 0!==L?L:"500ms"}:{},Te=C()(ve,r?"align".concat(r):null,(t={},s()(t,"has-inner-blocks-gap-".concat(B),void 0!==B&&""!==B),s()(t,"getwid-anim ".concat(D),!!D),s()(t,"getwid-margin-top-".concat(le),"custom"!==le&&""!==le),s()(t,"getwid-margin-bottom-".concat(se),"custom"!==se&&""!==se),s()(t,"getwid-margin-tablet-top-".concat(pe),"custom"!==pe&&""!==pe),s()(t,"getwid-margin-tablet-bottom-".concat(me),"custom"!==me&&""!==me),s()(t,"getwid-margin-mobile-top-".concat(fe),"custom"!==fe&&""!==fe),s()(t,"getwid-margin-mobile-bottom-".concat(we),"custom"!==we&&""!==we),s()(t,"getwid-section-content-full-width","full"===x),s()(t,"getwid-section-content-custom-width","custom"===x),t)),Re=ye||void 0;return wp.element.createElement("div",l()({id:Re,className:Te,style:_e},Pe),wp.element.createElement("div",{className:Oe,style:ke},wp.element.createElement(_.a,o(o({},this.props),{},{baseClass:A})),!!w&&"none"!==h&&wp.element.createElement("div",{className:C()("getwid-background-video-controls",s()({},"is-position-".concat(h),"top-right"!==h))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:C()("".concat(A,"__inner-wrapper"),s()({},"has-dividers-over",j)),style:xe},wp.element.createElement("div",{className:"".concat(A,"__background-holder")},wp.element.createElement("div",{className:je,style:Ee},!!f&&wp.element.createElement("div",{className:"".concat(A,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(A,"__background-image"),src:f.url,alt:f.alt})),!!b.length&&wp.element.createElement("div",{className:"".concat(A,"__background-slider-wrapper")},wp.element.createElement(y.b,o(o({},this.props),{},{baseClass:A}))),!!w&&wp.element.createElement("div",{className:"".concat(A,"__background-video-wrapper")},wp.element.createElement(k.a,l()({},o(o({},this.props),{},{baseClass:A}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(A,"__foreground"),style:Se})),wp.element.createElement("div",{className:"".concat(A,"__content")},wp.element.createElement("div",{className:"".concat(A,"__inner-content")},wp.element.createElement(P.Content,null))))))}}]),t}(S);t.a=M},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return v});var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.backgroundVideoUrl,r=(t.backgroundVideoMute,t.backgroundVideoLoop),o=(t.backgroundVideoAutoplay,t.backgroundVideoPoster),a=e.baseClass,l={autoPlay:this.props.videoAutoplay,muted:this.props.videoMute,loop:r,poster:o||void 0};return wp.element.createElement(h,null,n.url&&wp.element.createElement("video",i()({className:"".concat(a,"__background-video")},l,{ref:this.props.videoElemRef,onEnded:this.props.onVideoEnd}),wp.element.createElement("source",{src:n.url,type:"video/mp4"})))}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(){}}]),t}(w)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(26)),_=n(25),k=n(29),O=n(1),E=(n.n(O),n(8)),C=n.n(E),j=n(22),S=wp.element.Component,x=wp.blockEditor||wp.editor,P=x.InnerBlocks,T=x.getColorClassName,R=j.a.prepareGradientStyle,N=j.a.prepareBackgroundImageStyles,A="wp-block-getwid-section",M=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.align,i=n.paddingTopValue,a=n.paddingBottomValue,c=n.paddingLeftValue,u=n.paddingRightValue,p=n.marginTopValue,d=n.marginBottomValue,m=n.marginLeftValue,g=n.marginRightValue,f=n.backgroundImage,b=n.sliderImages,w=n.backgroundVideoType,h=n.youTubeVideoUrl,v=n.youTubeVideoMute,O=n.youTubeVideoLoop,E=n.youTubeVideoAutoplay,j=n.backgroundVideoUrl,S=n.backgroundVideoControlsPosition,x=n.foregroundOpacity,M=n.foregroundColor,B=n.foregroundFilter,D=n.dividersBringTop,I=n.contentMaxWidth,L=n.contentMaxWidthPreset,z=n.minHeight,V=n.gapSize,H=n.entranceAnimation,F=n.entranceAnimationDuration,W=n.entranceAnimationDelay,G=n.backgroundColor,U=n.customBackgroundColor,q=n.resetMinHeightTablet,Q=n.resetMinHeightMobile,K=n.verticalAlign,Y=n.verticalAlignTablet,J=n.verticalAlignMobile,Z=n.horizontalAlign,$=n.horizontalAlignTablet,X=n.horizontalAlignMobile,ee=n.paddingTop,te=n.paddingRight,ne=n.paddingBottom,re=n.paddingLeft,oe=n.paddingTopTablet,ie=n.paddingRightTablet,ae=n.paddingBottomTablet,le=n.paddingLeftTablet,ce=n.paddingTopMobile,se=n.paddingRightMobile,ue=n.paddingBottomMobile,pe=n.paddingLeftMobile,de=n.marginTop,me=n.marginRight,ge=n.marginBottom,fe=n.marginLeft,be=n.marginTopTablet,we=n.marginRightTablet,he=n.marginBottomTablet,ve=n.marginLeftTablet,ye=n.marginTopMobile,_e=n.marginRightMobile,ke=n.marginBottomMobile,Oe=n.marginLeftMobile,Ee=n.className,Ce=n.anchor,je=o(o({},"custom"===de?{marginTop:p}:[]),"custom"===ge?{marginBottom:d}:[]),Se=o(o(o(o(o(o({minHeight:z},"custom"===fe?{marginLeft:m}:[]),"custom"===me?{marginRight:g}:[]),"custom"===ee?{paddingTop:i}:[]),"custom"===ne?{paddingBottom:a}:[]),"custom"===re?{paddingLeft:c}:[]),"custom"===te?{paddingRight:u}:[]),xe=C()("".concat(A,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(ee),"custom"!==ee&&""!==ee),s()(e,"getwid-padding-bottom-".concat(ne),"custom"!==ne&&""!==ne),s()(e,"getwid-padding-left-".concat(re),"custom"!==re&&""!==re),s()(e,"getwid-padding-right-".concat(te),"custom"!==te&&""!==te),s()(e,"getwid-padding-tablet-top-".concat(oe),""!==oe),s()(e,"getwid-padding-tablet-bottom-".concat(ae),""!==ae),s()(e,"getwid-padding-tablet-left-".concat(le),""!==le),s()(e,"getwid-padding-tablet-right-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-top-".concat(ce),""!==ce),s()(e,"getwid-padding-mobile-bottom-".concat(ue),""!==ue),s()(e,"getwid-padding-mobile-left-".concat(pe),""!==pe),s()(e,"getwid-padding-mobile-right-".concat(se),""!==se),s()(e,"getwid-margin-left-".concat(fe),"custom"!==fe&&""!==fe),s()(e,"getwid-margin-right-".concat(me),"custom"!==me&&""!==me),s()(e,"getwid-margin-tablet-left-".concat(ve),""!==ve),s()(e,"getwid-margin-tablet-right-".concat(we),""!==we),s()(e,"getwid-margin-mobile-left-".concat(Oe),""!==Oe),s()(e,"getwid-margin-mobile-right-".concat(_e),""!==_e),s()(e,"getwid-align-items-".concat(K),"center"!==K),s()(e,"getwid-align-items-tablet-".concat(Y),""!==Y),s()(e,"getwid-align-items-mobile-".concat(J),""!==J),s()(e,"getwid-justify-content-".concat(Z),"center"!==Z),s()(e,"getwid-justify-content-tablet-".concat($),""!==$),s()(e,"getwid-justify-content-mobile-".concat(X),""!==X),s()(e,"getwid-reset-min-height-tablet",!1!==q),s()(e,"getwid-reset-min-height-mobile",!1!==Q),e)),Pe=o(o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor},R("background",this.props)),N("background",this.props)),Te=T("background-color",G),Re=C()("".concat(A,"__background"),s()({"has-background":G||U},Te,Te)),Ne=o(o(o({opacity:void 0!==x?x/100:void 0,backgroundColor:M},R("foreground",this.props)),N("foreground",this.props)),{},{mixBlendMode:B}),Ae={maxWidth:I&&"custom"===L?"".concat(I,"px"):void 0},Me=H?{"data-wow-duration":void 0!==F?F:"2000ms","data-wow-delay":void 0!==W?W:"500ms"}:{},Be=C()(Ee,r?"align".concat(r):null,(t={},s()(t,"has-inner-blocks-gap-".concat(V),void 0!==V&&""!==V),s()(t,"getwid-anim ".concat(H),!!H),s()(t,"getwid-margin-top-".concat(de),"custom"!==de&&""!==de),s()(t,"getwid-margin-bottom-".concat(ge),"custom"!==ge&&""!==ge),s()(t,"getwid-margin-tablet-top-".concat(be),"custom"!==be&&""!==be),s()(t,"getwid-margin-tablet-bottom-".concat(he),"custom"!==he&&""!==he),s()(t,"getwid-margin-mobile-top-".concat(ye),"custom"!==ye&&""!==ye),s()(t,"getwid-margin-mobile-bottom-".concat(ke),"custom"!==ke&&""!==ke),s()(t,"getwid-section-content-full-width","full"===L),s()(t,"getwid-section-content-custom-width","custom"===L),t)),De=Ce||void 0,Ie={"youtube-video-url":h,"youtube-video-muted":v,"youtube-video-loop":O,"youtube-video-autoplay":E};return wp.element.createElement("div",l()({id:De,className:Be,style:je},Me),wp.element.createElement("div",{className:xe,style:Se},wp.element.createElement(_.a,o(o({},this.props),{},{baseClass:A})),(!!j||!!h)&&"none"!==S&&wp.element.createElement("div",{className:C()("getwid-background-video-controls",s()({},"is-position-".concat(S),"top-right"!==S))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:C()("".concat(A,"__inner-wrapper"),s()({},"has-dividers-over",D)),style:Ae},wp.element.createElement("div",{className:"".concat(A,"__background-holder")},wp.element.createElement("div",{className:Re,style:Pe},!!f&&wp.element.createElement("div",{className:"".concat(A,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(A,"__background-image"),src:f.url,alt:f.alt})),b&&!!b.length&&wp.element.createElement("div",{className:"".concat(A,"__background-slider-wrapper")},wp.element.createElement(y.b,o(o({},this.props),{},{baseClass:A}))),(!!j||!!h)&&wp.element.createElement("div",{className:"".concat(A,"__background-video-wrapper")},h&&""!=h&&"youtube"==w&&wp.element.createElement("div",l()({className:"".concat(A,"__background-video source-youtube")},Ie),wp.element.createElement("div",{className:"".concat(A,"__background-video-youtube")})),!!j&&"self"==w&&wp.element.createElement(k.a,l()({},o(o({},this.props),{},{baseClass:A}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(A,"__foreground"),style:Ne})),wp.element.createElement("div",{className:"".concat(A,"__content")},wp.element.createElement("div",{className:"".concat(A,"__inner-content")},wp.element.createElement(P.Content,null))))))}}]),t}(S);t.a=M},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string"},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},foregroundGradientType:{type:"string"},foregroundGradientFirstColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColor:{type:"string"},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientAngle:{type:"number",default:180},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientSecondColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},foregroundGradientFirstColor:{type:"string"},foregroundGradientSecondColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientType:{type:"string"},foregroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundCustomImagePosition:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoType:{type:"string",default:"self"},youTubeVideoUrl:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-url"},youTubeVideoMute:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-muted",default:"false"},youTubeVideoLoop:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-loop",default:"false"},youTubeVideoAutoplay:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-autoplay",default:"false"},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundCustomImagePosition:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(141),n(149),n(154)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(49)),c=n(145),s=n(50),u=n(146),p=n(52),d=n(12),m=n(148),g=n(1),f=(n.n(g),n(10)),b=(n.n(f),wp.blocks.registerBlockType),w="wp-block-getwid-media-text-slider";b("getwid/media-text-slider",o(o({title:Object(g.__)("Media & Text Slider","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("rect",{x:"4",y:"4",width:"16",height:"2"}),wp.element.createElement("circle",{cx:"6",cy:"22",r:"2"}),wp.element.createElement("circle",{cx:"12",cy:"22",r:"2"}),wp.element.createElement("circle",{cx:"18",cy:"22",r:"2"}),wp.element.createElement("path",{d:"M0,0v19h24V0H0z M22,2v10.59l-2.5-2.5l-3.5,3.5l-6-6l-8,8V2H22z M3.41,17L10,10.41l6,6l3.5-3.5l2.5,2.5V17H3.41z"})),category:"getwid-blocks",keywords:[Object(g.__)("gallery","getwid"),Object(g.__)("carousel","getwid"),Object(g.__)("image","getwid")],supports:{alignWide:!0,align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/media-text-slider")},attributes:s.a,transforms:{from:[{type:"block",blocks:["core/gallery"],transform:function(e){return Object(p.b)(e)}},{type:"block",blocks:["getwid/images-stack"],transform:function(e){return Object(p.b)(e)}},{type:"block",blocks:["getwid/images-slider"],transform:function(e){return Object(p.b)(e)}},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){return Object(p.b)(e)}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){return Object(p.a)(e,"core/gallery",null)}},{type:"block",blocks:["getwid/images-stack"],transform:function(e){return Object(p.a)(e,"getwid/images-stack",[])}},{type:"block",blocks:["getwid/images-slider"],transform:function(e){return Object(p.a)(e,"getwid/images-slider",[])}},{type:"block",blocks:["core/image"],transform:function(e){return Object(p.a)(e,"core/image",null)}},{type:"block",blocks:["getwid/content-timeline"],transform:function(e){return Object(p.a)(e,"getwid/content-timeline",null)}}]},deprecated:[{attributes:u.a,migrate:function(e){var t=JSON.parse(e.sliderArrays.replace(/u0022/g,'"'));return o(o({},e),{},{sliderArrays:JSON.stringify(Object(f.times)(e.slideCount,function(e){return"".concat(t[e].text)}))})},save:function(e){return wp.element.createElement(m.a,o(o({},e),{},{baseClass:w}))}}]},Object(d.b)("getwid/media-text-slider",function(e){return wp.element.createElement(l.b,o(o({},e),{},{baseClass:w}))})),{},{save:function(e){return wp.element.createElement(c.a,o(o({},e),{},{baseClass:w}))}}))},function(e,t,n){e.exports=function(e,t){function n(){var t,n,l=o,c=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(n=0;n<c;n++)if(l.args[n]!==arguments[n]){l=l.next;continue e}return l!==o&&(l===i&&(i=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=o,l.prev=null,o.prev=l,o=l),l.val}l=l.next}for(t=new Array(c),n=0;n<c;n++)t[n]=arguments[n];return l={args:t,val:e.apply(null,t)},o?(o.prev=l,l.next=o):i=l,a===r?(i=i.prev,i.next=null):a++,o=l,l.val}var r,o,i,a=0;return t&&t.maxSize&&(r=t.maxSize),n.clear=function(){o=null,i=null,a=0},n}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(19)),h=n(17),v=n(24),y=n(16),_=n(14),k=n(50),O=wp.element,E=O.Component,C=O.Fragment,j=wp.blockEditor||wp.editor,S=j.InspectorControls,x=wp.components,P=x.Button,T=x.BaseControl,R=x.PanelBody,N=x.RangeControl,A=x.ToggleControl,M=x.SelectControl,B=x.RadioControl,D=x.TextControl,I=function(e){function t(e){var r;return l()(this,t),r=n.apply(this,arguments),r.state={tabName:"general"},r}p()(t,e);var n=r(t);return s()(t,[{key:"hasSliderSettings",value:function(){var e=this.props.attributes,t=e.sliderAnimationEffect,n=e.sliderAutoplay,r=e.pauseOnHover,o=e.sliderAutoplaySpeed,i=e.sliderAnimationSpeed;return void 0!=t||n!=k.a.sliderAutoplay.default||r!=k.a.pauseOnHover.default||o!=k.a.sliderAutoplaySpeed.default||i!=k.a.sliderAnimationSpeed.default}},{key:"render",value:function(){var e=this,t=this.props,n=t.addNewSlide,r=t.setAttributes,o=t.clientId,a=this.props.attributes,l=a.imageSize,c=a.slideCount,s=a.contentMaxWidth,u=a.minHeight,p=a.verticalAlign,d=a.horizontalAlign,m=a.textColor,g=a.overlayColor,f=a.overlayOpacity,O=a.contentAnimation,E=this.props.attributes,j=E.contentAnimationDuration,x=E.contentAnimationDelay,I=E.sliderAnimationEffect,L=E.sliderAutoplay,z=E.pauseOnHover,V=E.sliderAutoplaySpeed,H=E.sliderAnimationSpeed,F=this.props.attributes,W=F.sliderArrows,G=F.sliderDots,U=this.state.tabName;if(!(0,wp.data.select)("core/editor").getBlock(o))return wp.element.createElement(S,null);var q=function(){return r({sliderAnimationEffect:void 0,sliderAutoplay:k.a.sliderAutoplay.default,pauseOnHover:k.a.pauseOnHover.default,sliderAutoplaySpeed:k.a.sliderAutoplaySpeed.default,sliderAnimationSpeed:k.a.sliderAnimationSpeed.default})},Q=function(){return O!==k.a.contentAnimation.default||x!==k.a.contentAnimationDelay.default||j!==k.a.contentAnimationDuration.default},K=function(){r({contentAnimation:k.a.contentAnimation.default,contentAnimationDelay:k.a.contentAnimationDelay.default,contentAnimationDuration:k.a.contentAnimationDuration.default})};return wp.element.createElement(S,{key:"inspector"},wp.element.createElement(w.a,{state:U,stateName:"tabName",onChangeTab:function(t,n){e.setState(i()({},t,n))},tabs:["general","style","advanced"]}),"general"===U&&wp.element.createElement(C,null,wp.element.createElement(R,null,wp.element.createElement(N,{label:Object(b.__)("Number of slides","getwid"),value:c,onChange:function(e){return n(e)},min:1,max:12}),wp.element.createElement(M,{label:Object(b.__)("Image Size","getwid"),help:Object(b.__)("For images from Media Library only.","getwid"),value:l,onChange:function(e){r({imageSize:e})},options:Getwid.settings.image_sizes}),wp.element.createElement(T,{label:Object(b.__)("Slider Minimum Height","getwid")},wp.element.createElement(h.a,{value:u,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return r({minHeight:e})}})),wp.element.createElement(N,{label:Object(b.__)("Content Area Width","getwid"),value:void 0!==s?s:"",onChange:function(e){r({contentMaxWidth:e})},allowReset:!0,min:0,max:2e3,step:1}),wp.element.createElement(M,{label:Object(b.__)("Content Area Vertical Alignment","getwid"),value:void 0!==p?p:"center",onChange:function(e){return r({verticalAlign:e})},options:[{value:"top",label:Object(b.__)("Top","getwid")},{value:"center",label:Object(b.__)("Middle","getwid")},{value:"bottom",label:Object(b.__)("Bottom","getwid")}]}),wp.element.createElement(M,{label:Object(b.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==d?d:"center",onChange:function(e){return r({horizontalAlign:e})},options:[{value:"left",label:Object(b.__)("Left","getwid")},{value:"center",label:Object(b.__)("Center","getwid")},{value:"right",label:Object(b.__)("Right","getwid")}]}))),"style"===U&&wp.element.createElement(C,null,wp.element.createElement(R,null,wp.element.createElement(N,{label:Object(b.__)("Overlay Opacity","getwid"),value:void 0!==f?f:0,onChange:function(e){return r({overlayOpacity:e})},min:0,max:100,step:1}),wp.element.createElement(y.a,{colorSettings:[{title:Object(b.__)("Text Color","getwid"),colors:{customColor:m},changeColor:function(e){return r({textColor:e})}},{title:Object(b.__)("Background Color","getwid"),colors:{customColor:g},changeColor:function(e){return r({overlayColor:e})}}]})),wp.element.createElement(R,{title:Object(b.__)("Padding","getwid"),initialOpen:!1},Object(_.f)(this))),"advanced"===U&&wp.element.createElement(C,null,wp.element.createElement(R,{title:Object(b.__)("Text Animation","getwid"),initialOpen:!0},function(){return wp.element.createElement(C,null,wp.element.createElement(v.a,{label:Object(b.__)("Animation Effect","getwid"),allowAnimation:["Entrance","Seeker"],value:void 0!==O?O:"",onChange:function(e){return r({contentAnimation:e})}}),wp.element.createElement(M,{label:Object(b.__)("Duration","getwid"),value:void 0!==j?j:"",onChange:function(e){return r({contentAnimationDuration:e})},options:[{value:"3000ms",label:Object(b.__)("Very Slow","getwid")},{value:"2000ms",label:Object(b.__)("Slow","getwid")},{value:"1500ms",label:Object(b.__)("Normal","getwid")},{value:"800ms",label:Object(b.__)("Fast","getwid")},{value:"400ms",label:Object(b.__)("Very Fast","getwid")}]}),wp.element.createElement(D,{label:Object(b.__)("Delay, ms","getwid"),value:void 0!==x?x.replace("ms",""):"",type:"number",min:0,onChange:function(e){e=parseInt(e),e=isNaN(e)?void 0:"".concat(e,"ms"),r({contentAnimationDelay:e})}}),wp.element.createElement(T,null,wp.element.createElement(P,{isLink:!0,onClick:K,disabled:!Q()},Object(b.__)("Reset","getwid"))))}()),wp.element.createElement(R,{title:Object(b.__)("Slider Settings","getwid"),initialOpen:!1},function(){return wp.element.createElement(C,null,wp.element.createElement(B,{label:Object(b.__)("Animation Effect","getwid"),selected:void 0!==I?I:"",options:[{value:"",label:Object(b.__)("Slide","getwid")},{value:"fade",label:Object(b.__)("Fade","getwid")}],onChange:function(e){return r({sliderAnimationEffect:e})}}),wp.element.createElement(A,{label:Object(b.__)("Enable Slideshow","getwid"),checked:L,onChange:function(){return r({sliderAutoplay:!L})}}),L&&wp.element.createElement(C,null,wp.element.createElement(A,{label:Object(b.__)("Pause On Hover","getwid"),checked:z,onChange:function(){return r({pauseOnHover:!z})}}),wp.element.createElement(D,{label:Object(b.__)("Slideshow Speed","getwid"),type:"number",value:void 0!==V?V:"",min:0,onChange:function(e){return r({sliderAutoplaySpeed:e})}})),wp.element.createElement(D,{label:Object(b.__)("Animation Speed","getwid"),type:"number",value:void 0!==H?H:"",min:0,onChange:function(e){return r({sliderAnimationSpeed:e})}}),wp.element.createElement(T,null,wp.element.createElement(P,{isLink:!0,onClick:q,disabled:!e.hasSliderSettings()},Object(b.__)("Reset","getwid"))),wp.element.createElement(B,{label:Object(b.__)("Arrows","getwid"),selected:W,options:[{value:"outside",label:Object(b.__)("Outside","getwid")},{value:"inside",label:Object(b.__)("Inside","getwid")},{value:"none",label:Object(b.__)("None","getwid")}],onChange:function(e){return r({sliderArrows:e})}}),wp.element.createElement(B,{label:Object(b.__)("Dots","getwid"),selected:G,options:[{value:"outside",label:Object(b.__)("Outside","getwid")},{value:"inside",label:Object(b.__)("Inside","getwid")},{value:"none",label:Object(b.__)("None","getwid")}],onChange:function(e){return r({sliderDots:e})}}))}())))}}]),t}(E);t.a=I},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(51)),v=(n.n(h),n(8)),y=n.n(v),_=wp.element.Component,k=wp.blockEditor||wp.editor,O=k.InnerBlocks,E=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t=this.props,n=t.baseClass,r=t.className,o=this.props.attributes,a=o.contentAnimation,c=o.contentAnimationDuration,s=o.contentAnimationDelay,u=o.sliderAnimationEffect,p=o.sliderAutoplay,d=this.props.attributes,m=d.pauseOnHover,g=d.sliderAutoplaySpeed,f=d.sliderAnimationSpeed,b=d.sliderArrays,w=d.sliderArrows,h=d.sliderDots,v={className:y()(r,"".concat(n,"--current-slide-").concat(1),(e={},l()(e,"has-arrows-".concat(w),void 0!=w),l()(e,"has-dots-".concat(h),void 0!=h),e)),"data-labels":b,"data-animation":void 0!==a?a:"","data-duration":void 0!==c?c:"1500ms","data-delay":void 0!==s?s:"0ms"},_={"data-slide-effect":u,"data-slide-autoplay":p,"data-slide-pause-on-hover":m,"data-slide-autoplay-speed":g,"data-slide-speed":f,"data-infinite":!0};return wp.element.createElement("div",v,wp.element.createElement("div",{className:"".concat(n,"__slides-wrapper")},wp.element.createElement("div",i()({className:"".concat(n,"__content")},_),wp.element.createElement(O.Content,null))))}}]),t}(_);t.a=E},function(e,t,n){"use strict";var r={slideCount:{type:"number",default:3},imageSize:{type:"string",default:"large"},align:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},verticalAlign:{type:"string"},horizontalAlign:{type:"string"},paddingTop:{type:"string"},paddingBottom:{type:"string"},paddingLeft:{type:"string"},paddingRight:{type:"string"},textColor:{type:"string"},overlayColor:{type:"string"},overlayOpacity:{type:"number",default:"30"},contentAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-animation",default:"fadeIn"},contentAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-duration",default:"1500ms"},contentAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-delay",default:"0ms"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-effect"},sliderAutoplay:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-autoplay-speed",default:5e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"slide-speed",default:1e3},sliderArrays:{type:"string",default:'[{"text":"Slide 1"},{"text":"Slide 2"},{"text":"Slide 3"}]'}};t.a=r},function(e,t){function n(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}e.exports=n},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(51)),w=(n.n(b),n(8)),h=n.n(w),v=wp.element.Component,y=wp.blockEditor||wp.editor,_=y.InnerBlocks,k=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"stripStringRender",value:function(e){return e.toLowerCase().replace(/[^0-9a-z-]/g,"")}},{key:"render",value:function(){var e=this.props.attributes,t=e.contentAnimation,n=e.contentAnimationDuration,r=e.contentAnimationDelay,o=e.sliderAnimationEffect,a=e.sliderAutoplay,l=this.props.attributes,c=l.pauseOnHover,s=l.sliderAutoplaySpeed,u=l.sliderAnimationSpeed,p=this.props,d=p.baseClass,m=p.className,g=h()(m,"".concat(d,"--current-slide-").concat(1)),f={"data-animation":void 0!==t?t:"","data-duration":void 0!==n?n:"1500ms","data-delay":void 0!==r?r:"0ms"},b={"data-slide-effect":o,"data-slide-autoplay":a,"data-slide-pause-on-hover":c,"data-slide-autoplay-speed":s,"data-slide-speed":u,"data-infinite":!0};return wp.element.createElement("div",i()({className:g},f),wp.element.createElement("div",{className:"".concat(d,"__slides-wrapper")},wp.element.createElement("div",i()({className:"".concat(d,"__content")},b),wp.element.createElement(_.Content,null))))}}]),t}(v);t.a=k},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(55)),c=n(150),s=n(151),u=n(152),p=n(153),d=n(1),m=(n.n(d),n(49)),g=wp.blocks.registerBlockType,f="wp-block-getwid-media-text-slider-slide";g("getwid/media-text-slider-slide",{title:Object(d.__)("Slide","getwid"),icon:{src:"format-gallery"},keywords:[],category:"getwid-blocks",parent:["getwid/media-text-slider"],attributes:u.a,deprecated:[{attributes:p.a,migrate:function(e){return o(o({},e),{},{slideId:e.id})},save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:f}))}}],getEditWrapperProps:function(e){return{"data-slide":void 0!==e.slideId?e.slideId:e.id}},edit:function(e){return wp.element.createElement(m.a,null,function(t){var n=t.updateContentAttributes;return wp.element.createElement(l.b,o(o(o({},e),{updateContentAttributes:n}),{},{baseClass:f}))})},save:function(e){return wp.element.createElement(c.a,o(o({},e),{},{baseClass:f}))}})},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=window,v=(h.jQuery,wp.element.Component),y=wp.blockEditor||wp.editor,_=y.InnerBlocks,k=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e,t,n,r,o,i,a,l=this.props.baseClass,c=this.props.attributes,s=c.slideId,u=c.outerParent;if(void 0!==u.attributes){var p=u.attributes;e=p.paddingTop,t=p.paddingBottom,n=p.paddingLeft,r=p.paddingRight,o=p.minHeight,i=p.horizontalAlign,a=p.verticalAlign,p.contentMaxWidth}var d={};void 0!==u.attributes&&(d={paddingTop:e||null,paddingBottom:t||null,paddingLeft:n||null,paddingRight:r||null,minHeight:o||null,justifyContent:i?b(i):null,alignItems:a?w(a):null});var m={};return void 0!==u.attributes&&(m={minHeight:u.attributes.minHeight?u.attributes.minHeight:null}),wp.element.createElement("div",{style:m,className:"".concat(l," ").concat(l,"__content-wrapper slide-").concat(s)},wp.element.createElement("div",{style:d,className:"".concat(l,"__content")},wp.element.createElement(_.Content,null)))}}]),t}(v);t.a=k},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=window,v=(h.jQuery,wp.element.Component),y=wp.blockEditor||wp.editor,_=y.InnerBlocks,k=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.baseClass,t=this.props.attributes,n=t.id,r=t.outerParent,o={paddingTop:void 0!==r&&void 0!==r.attributes.paddingTop?r.attributes.paddingTop:null,paddingBottom:void 0!==r&&void 0!==r.attributes.paddingBottom?r.attributes.paddingBottom:null,paddingLeft:void 0!==r&&void 0!==r.attributes.paddingLeft?r.attributes.paddingLeft:null,paddingRight:void 0!==r&&void 0!==r.attributes.paddingRight?r.attributes.paddingRight:null,justifyContent:void 0!==r&&void 0!==r.attributes.horizontalAlign?b(r.attributes.horizontalAlign):null,alignItems:void 0!==r&&void 0!==r.attributes.verticalAlign?w(r.attributes.verticalAlign):null},i={minHeight:void 0!==r&&void 0!==r.attributes.minHeight?r.attributes.minHeight:null};return wp.element.createElement("div",{style:i,className:"".concat(e," ").concat(e,"__content-wrapper slide-").concat(n)},wp.element.createElement("div",{style:o,className:"".concat(e,"__content")},wp.element.createElement(_.Content,null)))}}]),t}(v);t.a=k},function(e,t,n){"use strict";var r={slideId:{type:"number",default:1},outerParent:{type:"object",default:{}},mediaId:{type:"number"},url:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r={id:{type:"number",default:1},outerParent:{type:"object"},mediaId:{type:"number"},url:{type:"string"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(155)),c=n(158),s=n(159),u=n(160),p=n(55),d=n(1),m=(n.n(d),wp.blocks.registerBlockType),g="wp-block-getwid-media-text-slider-slide-content";m("getwid/media-text-slider-slide-content",{title:Object(d.__)("Image","getwid"),category:"getwid-blocks",parent:["getwid/media-text-slider-slide"],icon:{src:"format-image"},keywords:[],supports:{html:!1},deprecated:[{attributes:u.a,save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:g}))}}],attributes:u.a,edit:function(e){return wp.element.createElement(p.a,null,function(t){var n=t.updateContentAttributes;return wp.element.createElement(l.a,o(o(o({},e),{updateContentAttributes:n}),{},{baseClass:g}))})},save:function(e){return wp.element.createElement(c.a,o(o({},e),{},{baseClass:g}))}})},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var a=n(7),l=n.n(a),c=n(9),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(156)),O=n(157),E=n(56),C=(n.n(E),n(1)),j=(n.n(C),n(8)),S=n.n(j),x=n(10),P=(n.n(x),wp.data.withSelect),T=wp.compose.compose,R=wp.blockEditor||wp.editor,N=R.InnerBlocks,A=wp.element,M=A.Component,B=A.Fragment,D=wp.components.TextareaControl,I=[["core/heading",{placeholder:Object(C.__)("Write heading…","getwid")}],["core/paragraph",{placeholder:Object(C.__)("Write text…","getwid")}]],L=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.onSelectMedia=e.onSelectMedia.bind(f()(e)),e}w()(t,e);var n=i(t);return m()(t,[{key:"onSelectMedia",value:function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=this.props.attributes.innerParent,l=this.props.setAttributes;if(e){if(t=void 0!==e.media_type&&e.media_type?"image"===e.media_type?"image":"video":e.type,"image"===t&&(r=o?i:void 0!==a&&void 0!==a.attributes.imageSize?a.attributes.imageSize:"full",n=Object(x.get)(e,["sizes",r,"url"])||Object(x.get)(e,["media_details","sizes",r,"source_url"])||e.url||e.source_url),o)return n;l({mediaAlt:e.alt,mediaId:e.id,mediaUrl:n||e.url||e.source_url,mediaType:t})}}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.imgObj,n=e.attributes.innerParent;if(t&&n){var r=this.onSelectMedia,o=n.attributes.imageSize;void 0!==this.props.attributes.innerParent&&(Object(x.isEqual)(o,this.props.attributes.innerParent.attributes.imageSize)||(e.attributes.mediaUrl=r(t,!0,o)))}}},{key:"renderMediaArea",value:function(){var e=this.props,t=e.attributes,n=e.baseClass,r=e.setAttributes,o=t.mediaAlt,i=t.mediaId,a=t.mediaType,l=t.mediaUrl,c=t.innerParent;return a||r({mediaType:"image"}),wp.element.createElement(O.a,s()({className:"".concat(n,"__media"),onSelectMedia:this.onSelectMedia},{mediaAlt:o,mediaId:i,mediaType:a,mediaUrl:l,innerParent:c}))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.imgObj,r=e.attributes.innerParent;if(r&&n){var o=this.onSelectMedia,i=r.attributes.imageSize;Object(x.isEqual)(i,this.props.attributes.innerParent.attributes.imageSize)||o(n)}r||this.props.updateContentAttributes(this.props.clientId)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,r=e.setAttributes,i=this.props.attributes,a=i.mediaAlt,l=i.mediaUrl,c=i.mediaType,u=i.innerParent,p=S()(t,{"is-selected":n}),d=function(e){r({mediaAlt:e})},m=(wp.element.createElement(B,null,"image"===c&&wp.element.createElement(D,{value:a,onChange:d})),{color:void 0!=u&&void 0!==u.attributes.textColor?u.attributes.textColor:null});return wp.element.createElement(B,null,wp.element.createElement(k.a,s()({},o(o(o({},this.props),{setAttributes:r}),{onSelectMedia:this.onSelectMedia}),{key:"inspector"})),wp.element.createElement("div",{className:p},this.renderMediaArea(),wp.element.createElement("div",{className:"".concat(t,"__content"),style:m},wp.element.createElement("div",{className:"".concat(t,"__content-wrapper")},l&&wp.element.createElement(N,{templateLock:!1,template:I,templateInsertUpdatesSelection:!1})))))}}]),t}(M);t.a=T([P(function(e,t){var n=e("core"),r=n.getMedia,o=t.attributes.mediaId;return{imgObj:o?r(o):null}})])(L)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),n(14)),b=wp.element.Component,w=wp.blockEditor||wp.editor,h=w.InspectorControls,v=wp.components.PanelBody,y=function(e){function t(e){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.mediaId,n=e.mediaUrl,r=this.props,o=r.setAttributes,i=r.onSelectMedia,a=r.clientId;return(0,wp.data.select)("core/editor").getBlock(a)?wp.element.createElement(h,{key:"inspector"},wp.element.createElement(v,{title:Object(g.__)("Image","getwid"),initialOpen:!0},wp.element.createElement(f.e,{label:Object(g.__)("Image","getwid"),removeButton:!1,url:n,id:t,onSelectMedia:i,onRemoveMedia:function(){return o({mediaUrl:void 0,mediaId:void 0})}}))):wp.element.createElement(h,null)}}]),t}(b);t.a=y},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return S});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),window),b=(f.jQuery,wp.element),w=b.Component,h=b.Fragment,v=wp.components,y=v.IconButton,_=v.Toolbar,k=wp.blockEditor||wp.editor,O=k.BlockControls,E=k.MediaPlaceholder,C=k.MediaUpload,j=["image"],S=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return wp.element.createElement(O,null,wp.element.createElement(_,null,wp.element.createElement(C,{onSelect:n,allowedTypes:j,value:t,render:function(e){var t=e.open;return wp.element.createElement(y,{className:"components-toolbar__control",label:Object(g.__)("Edit Media","getwid"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.innerParent,o=e.className,i={backgroundColor:void 0!==r&&void 0!==r.attributes.overlayColor?r.attributes.overlayColor:null,opacity:void 0!==r&&void 0!==r.attributes.overlayOpacity?r.attributes.overlayOpacity/100:null};return wp.element.createElement(h,null,this.renderToolbarEditButton(),wp.element.createElement("figure",{className:o},wp.element.createElement("img",{className:"".concat("wp-block-getwid-media-text-slider-slide-content","__image"),src:n,alt:t}),wp.element.createElement("div",{style:i,className:"".concat(o,"-overlay")})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return wp.element.createElement(h,null,this.renderToolbarEditButton(),wp.element.createElement("figure",{className:n},wp.element.createElement("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return wp.element.createElement(E,{icon:"format-image",labels:{title:Object(g.__)("Image","getwid")},accept:"image/*",className:n,onSelect:t,allowedTypes:j})}},{key:"render",value:function(){var e=this.props,t=e.mediaUrl,n=e.mediaType;if(n&&t){var r=null;switch(n){case"image":r=this.renderImage();break;case"video":r=this.renderVideo()}return wp.element.createElement(h,null,r)}return this.renderPlaceholder()}}]),t}(w)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(57)),f=(n.n(g),n(1)),b=(n.n(f),n(10)),w=(n.n(b),window),h=(w.jQuery,wp.blockEditor||wp.editor),v=h.InnerBlocks,y=wp.element.Component,_=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.mediaAlt,r=t.mediaType,o=t.mediaUrl,i=t.mediaId,a=t.innerParent,l=e.baseClass,c={image:function(){return wp.element.createElement("img",{src:o,alt:n,className:"".concat(l,"__image")+(i&&"image"===r?" wp-image-".concat(i):"")})},video:function(){return wp.element.createElement("video",{controls:!0,src:o})}},s={backgroundColor:void 0!==a&&void 0!==a.attributes.overlayColor?a.attributes.overlayColor:null,opacity:void 0!==a&&void 0!==a.attributes.overlayOpacity?a.attributes.overlayOpacity/100:null},u={maxWidth:void 0!==a&&void 0!==a.attributes.contentMaxWidth?a.attributes.contentMaxWidth:null},p={color:void 0!==a&&void 0!==a.attributes.textColor?a.attributes.textColor:null};return wp.element.createElement("div",{style:u,className:l},wp.element.createElement("figure",{className:"".concat(l,"__media")},(c[r]||b.noop)(),wp.element.createElement("div",{className:"".concat(l,"__media-overlay"),style:s})),wp.element.createElement("div",{className:"".concat(l,"__content"),style:p},wp.element.createElement("div",{className:"".concat(l,"__content-wrapper")},wp.element.createElement(v.Content,null))))}}]),t}(y);t.a=_},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(57)),f=(n.n(g),n(1)),b=(n.n(f),n(10)),w=(n.n(b),window),h=(w.jQuery,wp.blockEditor||wp.editor),v=h.InnerBlocks,y=wp.element.Component,_=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.mediaAlt,r=t.mediaType,o=t.mediaUrl,i=t.mediaId,a=t.innerParent,l=e.baseClass,c={image:function(){return wp.element.createElement("img",{src:o,alt:n,className:"".concat(l,"__image")+(i&&"image"===r?" wp-image-".concat(i):null)})},video:function(){return wp.element.createElement("video",{controls:!0,src:o})}},s={backgroundColor:void 0!==a&&void 0!==a.attributes.overlayColor?a.attributes.overlayColor:null,opacity:void 0!==a&&void 0!==a.attributes.overlayOpacity?a.attributes.overlayOpacity/100:null},u={maxWidth:void 0!==a&&void 0!==a.attributes.contentMaxWidth?a.attributes.contentMaxWidth:null},p={color:void 0!==a&&void 0!==a.attributes.textColor?a.attributes.textColor:null};return wp.element.createElement("div",{style:u,className:l},wp.element.createElement("figure",{className:"".concat(l,"__media")},(c[r]||b.noop)(),wp.element.createElement("div",{className:"".concat(l,"__media-overlay"),style:s})),wp.element.createElement("div",{className:"".concat(l,"__content"),style:p},wp.element.createElement("div",{className:"".concat(l,"__content-wrapper")},wp.element.createElement(v.Content,null))))}}]),t}(y);t.a=_},function(e,t,n){"use strict";var r={mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},innerParent:{type:"object"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(1)),c=(n.n(l),n(10)),s=(n.n(c),n(162)),u=n(166),p=n(167),d=n(168),m=n(37),g=n(12),f=n(169),b=(n.n(f),wp.blocks),w=b.registerBlockType,h=b.createBlock,v=["center","wide","full"],y="wp-block-getwid-images-slider",_={attributes:m.a,isEligible:function(e,t){return!0},migrate:function(e){var t=e.sliderArrows,n=e.sliderDots;return o(o({},e),{sliderArrows:Object(c.isEqual)(t,"ouside")?"outside":t,sliderDots:Object(c.isEqual)(n,"ouside")?"outside":n})}};w("getwid/images-slider",o(o({title:Object(l.__)("Image Slider","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M20,8V4h-4v2h2v1v1v2v1v7h-7h-1H8H7H6v-2H4v4h4v4h16V8H20z M22,22H10v-2h10V10h2V22z"}),wp.element.createElement("path",{d:"M0,0v16h16V0H0z M14,2v8.19l-1.61-1.6l-2.16,2.15l-3.7-3.69L2,11.59V2H14z M2.41,14l4.13-4.13l3.7,3.69l2.16-2.15L14,13.02 V14H2.41z"}),wp.element.createElement("circle",{cx:"10",cy:"5.5",r:"1.5"})),keywords:[Object(l.__)("gallery","getwid"),Object(l.__)("carousel","getwid"),Object(l.__)("photo","getwid")],supports:{html:!1,inserter:!Getwid.disabled_blocks.includes("getwid/images-slider")},deprecated:[o(o({},_),{},{save:p.a}),o(o({},_),{},{save:function(e){return wp.element.createElement(d.a,o(o({},e),{},{baseClass:y}))}})],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(c.every)(e,["align",t])?t:void 0;var n=Object(c.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return h("getwid/images-slider",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){return h("getwid/images-slider",e)}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){return h("core/gallery",e)}},{type:"block",blocks:["getwid/images-stack"],transform:function(e){return h("getwid/images-stack",e)}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,i=e.caption;return h("core/image",{id:t,url:r,alt:o,caption:i,align:n})}):h("core/image",{align:n})}}]},attributes:m.a,getEditWrapperProps:function(e){var t=e.align;if(-1!==v.indexOf(t))return{"data-align":t}}},Object(g.b)("getwid/images-slider",s.a)),{},{save:function(e){return wp.element.createElement(u.a,o(o({},e),{},{baseClass:y}))}}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){m()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=C()(e);if(t()){var o=C()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}var a=n(9),l=n.n(a),c=n(33),s=n.n(c),u=n(15),p=n.n(u),d=n(7),m=n.n(d),g=n(2),f=n.n(g),b=n(4),w=n.n(b),h=n(11),v=n.n(h),y=n(5),_=n.n(y),k=n(6),O=n.n(k),E=n(3),C=n.n(E),j=(n(0),n(1)),S=(n.n(j),n(8)),x=n.n(S),P=n(10),T=(n.n(P),n(37)),R=n(163),N=n(164),A=n(165),M=(n.n(A),wp.compose.compose),B=wp.data.withSelect,D=wp.element,I=D.Component,L=D.Fragment,z=wp.components,V=z.IconButton,H=z.ToggleControl,F=z.DropZone,W=z.Toolbar,G=z.Dashicon,U=z.TextControl,q=wp.blockEditor||wp.editor,Q=q.BlockControls,K=q.MediaUpload,Y=q.MediaPlaceholder,J=q.mediaUpload,Z=q.BlockAlignmentToolbar,$=q.BlockIcon,X=q.URLInput,ee=window,te=ee.jQuery,ne=["wide","full"],re=["image"],oe="wp-block-getwid-images-slider",ie=function(e,t,n){var r=n.attributes.images,o=Object(P.pick)(e,["id","link"]);return o.original_url=e.url||e.source_url,o.alt=e.alt||e.alt_text,o.url=Object(P.get)(e,["sizes",t,"url"])||Object(P.get)(e,["media_details","sizes",t,"source_url"])||e.url,"string"==typeof e.caption?o.caption=e.caption:o.caption=e.caption.raw,te.each(r,function(t,n){if(n.id==e.id)return o.custom_link=n.custom_link,!1}),o},ae=function(e){function t(e){var r;return f()(this,t),r=n.apply(this,arguments),r.changeState=r.changeState.bind(v()(r)),r.getState=r.getState.bind(v()(r)),r.onSelectImages=r.onSelectImages.bind(v()(r)),r.setImageAttributes=r.setImageAttributes.bind(v()(r)),r.addFiles=r.addFiles.bind(v()(r)),r.uploadFromFiles=r.uploadFromFiles.bind(v()(r)),r.setAttributes=r.setAttributes.bind(v()(r)),r.onSetNewTab=r.onSetNewTab.bind(v()(r)),r.state={isUpdate:!1},r}_()(t,e);var n=i(t);return w()(t,[{key:"onSetNewTab",value:function(e,t){var n=this.props.attributes.images,r=e?"_blank":void 0,o=n[t].custom_link_rel;r&&!n[t].custom_link_rel?o="noreferrer noopener":r||"noreferrer noopener"!==n[t].custom_link_rel||(o=void 0),this.setImageAttributes(t,{custom_link_target:r,custom_link_rel:o})}},{key:"changeState",value:function(e,t){this.setState(m()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o(o({},e),{},{ids:Object(P.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"checkChangeImageOrder",value:function(e,t){var n=Object(P.sortBy)(t.attributes.images,function(e){return e.id});n=n.map(function(e){return!!e.id&&e.id.toString()});var r=Object(P.sortBy)(e,function(e){return e.id});return r=r.map(function(e){return!!e.id&&e.id.toString()}),this.flag=!1,Object(P.isEqual)(n,r)&&(this.flag=!0),this.flag}},{key:"onSelectImages",value:function(e){var t=this,n=this.props.setAttributes,r=this.props.attributes.imageSize;["full","large","medium","thumbnail"].includes(r)||(r=T.a.imageSize.default,n({imageSize:r})),this.checkChangeImageOrder(e,this.props),this.setAttributes({images:e.map(function(e){return ie(e,r,t.props)})})}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;if(n[e]){r({images:[].concat(p()(n.slice(0,e)),[o(o({},n[e]),t)],p()(n.slice(e+1)))})}}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this,n=this.props.attributes.imageSize,r=this.setAttributes,o=this.props.attributes.images||[];["full","large","medium","thumbnail"].includes(n)||(s()("imageSize"),n=T.a.imageSize.default,r({imageSize:n})),J({allowedTypes:re,filesList:e,onFileChange:function(e){var i=e.map(function(e){return ie(e,n,t.props)});r({images:o.concat(i)})}})}},{key:"destroySlider",value:function(){var e=this.props.clientId,t=te("[data-block='".concat(e,"']")),n=te(".".concat(oe,"__wrapper"),t);n.hasClass("slick-initialized")&&n.slick("unslick")}},{key:"initSlider",value:function(){var e=this.props.clientId,t=this.props.attributes,n=t.sliderAutoplay,r=t.sliderAutoplaySpeed,o=t.sliderInfinite,i=t.linkTo,a=this.props.attributes,l=a.sliderAnimationEffect,c=a.sliderSlidesToShow,s=a.sliderSlidesToScroll,u=a.slideHeight,p=this.props.attributes,d=p.sliderAnimationSpeed,m=p.sliderCenterMode,g=p.sliderVariableWidth,f=p.sliderArrows,b=p.sliderDots,w=te("[data-block='".concat(e,"']")),h=te(".".concat(oe,"__wrapper"),w);h.length&&"function"==typeof h.imagesLoaded&&h.imagesLoaded().done(function(e){h.not(".slick-initialized").slick({arrows:"none"!=f,dots:"none"!=b,fade:"fade"==l,slidesToShow:"fade"==l?1:parseInt(c),slidesToScroll:parseInt(s),autoplaySpeed:parseInt(r),speed:parseInt(d),infinite:"custom"!=i&&o,autoplay:n,draggable:"custom"!=i,centerMode:m,variableWidth:g,pauseOnHover:!0,rows:0}),u&&te(".".concat(oe,"__item"),w).css("height",u)})}},{key:"componentDidMount",value:function(){this.props.attributes.images.length&&this.initSlider()}},{key:"checkURLsChanges",value:function(e){var t=!1,n=this.props.attributes.images;return n&&n.length&&e.attributes.images.length&&te.each(n,function(n,r){(void 0!==e.attributes.images[n]&&e.attributes.images[n].custom_link!=r.custom_link||void 0!==e.attributes.images[n]&&e.attributes.images[n].custom_link_target!=r.custom_link_target||void 0!==e.attributes.images[n]&&e.attributes.images[n].custom_link_rel!=r.custom_link_rel)&&(t=!0)}),t}},{key:"componentWillUpdate",value:function(e,t){var n=!this.flag&&this.checkURLsChanges(e);Object(P.isEqual)(e.attributes,this.props.attributes)||n||this.destroySlider()}},{key:"componentDidUpdate",value:function(e){var t=!this.flag&&this.checkURLsChanges(e);Object(P.isEqual)(e.attributes,this.props.attributes)||t||(this.initSlider(),this.flag=!1)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.setAttributes,i=n.isSelected,a=n.className,c=this.props.attributes,s=c.sliderSpacing,u=c.sliderArrows,p=c.sliderDots,d=c.linkTo,g=this.props.attributes,f=g.align,b=g.images,w=g.imageCrop,h=g.showCaption,v=g.captionStyle,y=g.captionPosition,_=g.imageAlignment,k=g.sliderSlidesToShow,O=this.onSelectImages,E=this.getState,C=this.changeState,S=this.addFiles,T=wp.element.createElement(F,{onFilesDrop:S}),A=wp.element.createElement(L,null,wp.element.createElement(Q,null,wp.element.createElement(Z,{controls:ne,value:f,onChange:function(e){return r({align:e})}}),!!b.length&&wp.element.createElement(W,null,wp.element.createElement(K,{onSelect:O,allowedTypes:re,multiple:!0,gallery:!0,value:b.map(function(e){return!!e.id&&e.id}),render:function(e){var t=e.open;return wp.element.createElement(V,{className:"components-toolbar__control",label:Object(j.__)("Edit Slider","getwid"),icon:"edit",onClick:t})}}))));if(0===b.length)return wp.element.createElement(L,null,A,wp.element.createElement(Y,{icon:"format-gallery",className:oe,labels:{title:Object(j.__)("Image Slider","getwid"),instructions:Object(j.__)("Drag images, upload new ones or select files from your library.","getwid")},onSelect:O,accept:"image/*",allowedTypes:re,multiple:!0}));var M=x()(a,"has-arrows-".concat(u),"has-dots-".concat(p),(e={},m()(e,"has-captions",1==h),m()(e,"captions-style-".concat(v),1==h),m()(e,"captions-".concat(y),1==h),m()(e,"is-carousel",k>1),m()(e,"has-slides-gap-".concat(s),k>1),m()(e,"has-images-".concat(_),_),m()(e,"is-active",i),e),w?"has-cropped-images":null,f?"align".concat(f):null),B=!!b.length,D=B&&Object(P.some)(b,function(e){return e.id});return wp.element.createElement(L,null,wp.element.createElement("div",{className:M},T,wp.element.createElement("div",{className:"".concat(oe,"__wrapper")},function(){if(b.length)return b.map(function(e,n){return wp.element.createElement(L,null,wp.element.createElement("div",{className:"".concat(oe,"__item"),key:e.id||e.url},wp.element.createElement(N.a,{showCaption:h,captionStyle:v,captionPosition:y,original_url:e.original_url,isSelected:i,url:e.url,alt:e.alt,caption:e.caption,id:e.id,custom_link:e.custom_link,custom_link_target:e.custom_link_target,custom_link_rel:e.custom_link_rel,setAttributes:function(e){return t.setImageAttributes(n,e)}}),"custom"==d&&wp.element.createElement(L,null,wp.element.createElement("div",{className:"".concat(oe,"__url-field-wrapper")},wp.element.createElement("div",{className:"".concat(oe,"__url-field-container")},wp.element.createElement(G,{icon:"admin-links"}),wp.element.createElement(X,{className:"".concat(oe,"__url-field has-border"),autoFocus:!0,value:e.custom_link?e.custom_link:"",onChange:function(e){t.setImageAttributes(n,{custom_link:e})}})),wp.element.createElement("div",{className:"".concat(oe,"__url-rel-container")},wp.element.createElement(H,{className:"".concat(oe,"__url-toggle"),label:Object(j.__)("New Tab","getwid"),onChange:function(e){t.onSetNewTab(e,n)},checked:"_blank"===e.custom_link_target}),wp.element.createElement(U,{className:"".concat(oe,"__url-rel"),placeholder:Object(j.__)("Link Rel","getwid"),value:e.custom_link_rel||"",onChange:function(e){t.setImageAttributes(n,{custom_link_rel:e})}}))))))})}()),i&&wp.element.createElement(Y,{addToGallery:D,isAppender:B,className:"components-form-file-upload",disableMediaButtons:B&&!i,icon:!B&&wp.element.createElement($,{icon:icon}),labels:{title:!B&&Object(j.__)("Gallery"),instructions:!B&&Object(j.__)("Drag images, upload new ones or select files from your library.")},onSelect:O,accept:"image/*",allowedTypes:re,multiple:!0,value:D?b:void 0})),A,wp.element.createElement(R.a,l()({},o(o({},this.props),{},{pickRelevantMediaFiles:ie,changeState:C,getState:E}),{key:"inspector"})))}}]),t}(I);t.a=M([B(function(e,t){var n=e("core"),r=n.getMedia,o=t.attributes.ids;if(void 0!==o)return{imgObj:o?o.map(function(e){return r(e)}):null}})])(ae)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var o=n(7),i=n.n(o),a=n(13),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(11),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(37)),_=n(14),k=n(19),O=n(1),E=(n.n(O),wp.element),C=E.Component,j=E.Fragment,S=wp.blockEditor||wp.editor,x=S.InspectorControls,P=wp.components,T=P.Button,R=P.BaseControl,N=P.PanelBody,A=P.ToggleControl,M=P.SelectControl,B=P.RadioControl,D=P.TextControl,I=function(e){function t(e){var r;return s()(this,t),r=n.apply(this,arguments),r.changeState=r.changeState.bind(m()(r)),r.state={tabName:"general"},r}f()(t,e);var n=r(t);return p()(t,[{key:"changeState",value:function(e,t){"object"==l()(e)?this.setState(e):"string"==typeof e&&this.setState(i()({},e,t))}},{key:"hasSliderSettings",value:function(){var e=this.props.attributes,t=e.sliderSlidesToShow,n=e.sliderSlidesToShowLaptop,r=e.sliderSlidesToShowTablet,o=e.sliderSlidesToShowMobile,i=e.sliderSlidesToScroll,a=e.sliderAutoplay,l=e.sliderAnimationEffect,c=this.props.attributes,s=c.sliderAutoplaySpeed,u=c.sliderInfinite,p=c.sliderAnimationSpeed,d=c.sliderCenterMode,m=c.sliderVariableWidth,g=c.sliderSpacing;return t!=y.a.sliderSlidesToShow.default||n!=y.a.sliderSlidesToShowLaptop.default||r!=y.a.sliderSlidesToShowTablet.default||o!=y.a.sliderSlidesToShowMobile.default||i!=y.a.sliderSlidesToScroll.default||a!=y.a.sliderAutoplay.default||l!=y.a.sliderAnimationEffect.default||s!=y.a.sliderAutoplaySpeed.default||u!=y.a.sliderInfinite.default||p!=y.a.sliderAnimationSpeed.default||d!=y.a.sliderCenterMode.default||m!=y.a.sliderVariableWidth.default||g!=y.a.sliderSpacing.default}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.images,o=n.imageSize,i=n.imageCrop,a=n.showCaption,l=n.captionStyle,c=n.captionPosition,s=n.linkTo,u=n.imageAlignment,p=n.sliderAnimationEffect,d=n.sliderSlidesToShow,m=n.sliderSlidesToShowLaptop,g=n.sliderSlidesToShowTablet,f=n.sliderSlidesToShowMobile,b=n.sliderSlidesToScroll,w=n.sliderAutoplay,h=n.sliderAutoplaySpeed,v=n.sliderInfinite,E=n.sliderAnimationSpeed,C=n.sliderCenterMode,S=n.sliderVariableWidth,P=n.sliderSpacing,I=n.sliderArrows,L=n.sliderDots,z=t.setAttributes,V=t.pickRelevantMediaFiles,H=t.imgObj,F=function(t){H.some(function(e){return void 0===e})||z({imageSize:t,images:H.map(function(n){return V(n,t,e.props)})})},W=function(){z({sliderSlidesToShow:y.a.sliderSlidesToShow.default,sliderSlidesToShowLaptop:y.a.sliderSlidesToShowLaptop.default,sliderSlidesToShowTablet:y.a.sliderSlidesToShowTablet.default,sliderSlidesToShowMobile:y.a.sliderSlidesToShowMobile.default,sliderSlidesToScroll:y.a.sliderSlidesToScroll.default,sliderAutoplay:y.a.sliderAutoplay.default,sliderAnimationEffect:y.a.sliderAnimationEffect.default,sliderAutoplaySpeed:y.a.sliderAutoplaySpeed.default,sliderInfinite:y.a.sliderInfinite.default,sliderAnimationSpeed:y.a.sliderAnimationSpeed.default,sliderCenterMode:y.a.sliderCenterMode.default,sliderVariableWidth:y.a.sliderVariableWidth.default,sliderSpacing:y.a.sliderSpacing.default})},G=this.state.tabName,U=this.changeState;return wp.element.createElement(x,null,wp.element.createElement(k.a,{state:G,stateName:"tabName",onChangeTab:U,tabs:["general","advanced"]}),"general"===G&&wp.element.createElement(j,null,wp.element.createElement(N,{initialOpen:!0},0!=H.length&&wp.element.createElement(M,{label:Object(O.__)("Image Size","getwid"),help:Object(O.__)("For images from Media Library only.","getwid"),value:o,onChange:F,options:Getwid.settings.image_sizes}),wp.element.createElement(A,{label:Object(O.__)("Crop Images","getwid"),checked:i,onChange:function(){z({imageCrop:!i})}}),wp.element.createElement(A,{label:Object(O.__)("Show Caption","getwid"),checked:a,onChange:function(){H.some(function(e){return void 0===e})||z({showCaption:!a,images:H.map(function(t){return V(t,o,e.props)})})}}),a&&wp.element.createElement(j,null,wp.element.createElement(M,{label:Object(O.__)("Caption Style","getwid"),value:l,onChange:function(e){return z({captionStyle:e})},options:[{value:"light",label:Object(O.__)("Light","getwid")},{value:"dark",label:Object(O.__)("Dark","getwid")}]}),wp.element.createElement(M,{label:Object(O.__)("Caption Position","getwid"),value:void 0!==c?c:"",onChange:function(e){return z({captionPosition:e})},options:[{value:"top-left",label:Object(O.__)("Top Left","getwid")},{value:"top-center",label:Object(O.__)("Top Center","getwid")},{value:"top-right",label:Object(O.__)("Top Right","getwid")},{value:"bottom-left",label:Object(O.__)("Bottom Left","getwid")},{value:"bottom-center",label:Object(O.__)("Bottom Center","getwid")},{value:"bottom-right",label:Object(O.__)("Bottom Right","getwid")}]})),wp.element.createElement(M,{label:Object(O.__)("Link to","getwid"),value:s,onChange:function(e){return z({linkTo:e})},options:[{value:"none",label:Object(O.__)("None","getwid")},{value:"attachment",label:Object(O.__)("Attachment Page","getwid")},{value:"media",label:Object(O.__)("Media File","getwid")},{value:"custom",label:Object(O.__)("Custom link per slide","getwid")}]}),Object(_.i)(this),wp.element.createElement(A,{label:Object(O.__)("Enable Slideshow","getwid"),checked:w,onChange:function(){z({sliderAutoplay:!w})}}),!!w&&wp.element.createElement(D,{label:Object(O.__)("Slideshow Speed","getwid"),type:"number",value:h,min:0,onChange:function(e){return z({sliderAutoplaySpeed:e})}}),wp.element.createElement(B,{label:Object(O.__)("Animation Effect","getwid"),selected:p,options:[{value:"slide",label:Object(O.__)("Slide","getwid")},{value:"fade",label:Object(O.__)("Fade","getwid")}],onChange:function(e){z("fade"==e?{sliderAnimationEffect:"fade",sliderSlidesToShow:"1",sliderSlidesToShowLaptop:"1",sliderSlidesToShowTablet:"1",sliderSlidesToShowMobile:"1"}:{sliderAnimationEffect:e})}}),wp.element.createElement(A,{label:Object(O.__)("Infinite","getwid"),checked:v,onChange:function(){z({sliderInfinite:!v})}}),wp.element.createElement(D,{label:Object(O.__)("Animation Speed","getwid"),type:"number",value:E,min:0,onChange:function(e){return z({sliderAnimationSpeed:e})}}))),"advanced"===G&&wp.element.createElement(j,null,wp.element.createElement(N,{title:Object(O.__)("Image Settings","getwid"),initialOpen:!0},wp.element.createElement(D,{disabled:"fade"==p,label:Object(O.__)("Slides on Desktop","getwid"),help:Object(O.__)("Works with Slide effect only.","getwid"),type:"number",value:parseInt(d,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShow:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(O.__)("Slides on Laptop","getwid"),type:"number",value:parseInt(m,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShowLaptop:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(O.__)("Slides on Tablet","getwid"),type:"number",value:parseInt(g,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShowTablet:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(O.__)("Slides on Mobile","getwid"),type:"number",value:parseInt(f,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShowMobile:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(O.__)("Slides to Scroll","getwid"),type:"number",value:parseInt(b,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToScroll:e.toString()})}}),0==i&&r.length>1&&wp.element.createElement(M,{label:Object(O.__)("Image Alignment","getwid"),value:u,onChange:function(e){return z({imageAlignment:e})},options:[{value:"top",label:Object(O.__)("Top","getwid")},{value:"center",label:Object(O.__)("Middle","getwid")},{value:"bottom",label:Object(O.__)("Bottom","getwid")}]}),wp.element.createElement(A,{label:Object(O.__)("Center Mode","getwid"),checked:C,onChange:function(){z({sliderCenterMode:!C})}}),wp.element.createElement(A,{label:Object(O.__)("Variable Width","getwid"),checked:S,onChange:function(){z({sliderVariableWidth:!S})}}),parseInt(d,10)>1&&wp.element.createElement(M,{label:Object(O.__)("Spacing","getwid"),value:P,onChange:function(e){return z({sliderSpacing:e})},options:[{value:"none",label:Object(O.__)("None","getwid")},{value:"small",label:Object(O.__)("Small","getwid")},{value:"normal",label:Object(O.__)("Medium","getwid")},{value:"large",label:Object(O.__)("Large","getwid")},{value:"huge",label:Object(O.__)("Huge","getwid")}]}),wp.element.createElement(R,null,wp.element.createElement(T,{isLink:!0,onClick:W,disabled:!this.hasSliderSettings()},Object(O.__)("Reset","getwid")))),wp.element.createElement(N,{title:Object(O.__)("Controls Settings","getwid"),initialOpen:!1},wp.element.createElement(B,{label:Object(O.__)("Arrows","getwid"),selected:I,options:[{value:"outside",label:Object(O.__)("Outside","getwid")},{value:"inside",label:Object(O.__)("Inside","getwid")},{value:"none",label:Object(O.__)("None","getwid")}],onChange:function(e){return z({sliderArrows:e})}}),wp.element.createElement(B,{label:Object(O.__)("Dots","getwid"),selected:L,options:[{value:"outside",label:Object(O.__)("Outside","getwid")},{value:"inside",label:Object(O.__)("Inside","getwid")},{value:"none",label:Object(O.__)("None","getwid")}],onChange:function(e){return z({sliderDots:e})}}))))}}]),t}(C);t.a=I},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(11),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(10)),h=(n.n(w),n(8)),v=n.n(h),y=wp.blob.isBlobURL,_=wp.data.withSelect,k=wp.element,O=k.Component,E=k.Fragment,C=wp.components,j=C.Spinner,S=(C.IconButton,"wp-block-getwid-images-slider"),x=function(e){function t(){var e;return i()(this,t),e=n.apply(this,arguments),e.bindContainer=e.bindContainer.bind(s()(e)),e}p()(t,e);var n=r(t);return l()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.image,r=t.url;n&&!r&&this.props.setAttributes({url:n.source_url,alt:n.alt_text})}},{key:"render",value:function(){var e=this.props,t=(e.showCaption,e.captionStyle,e.captionPosition,e.url),n=e.original_url,r=e.alt,o=e.caption,i=e.id,a=(e.linkTo,e.link,e.custom_link),l=e.custom_link_target,c=e.custom_link_rel,s=(e.isSelected,wp.element.createElement(E,null,wp.element.createElement("figure",null,wp.element.createElement("img",{className:"".concat(S,"__image"),src:t,alt:r,"data-custom-link":a||void 0,"data-link-target":l||void 0,"data-link-rel":c||void 0,"data-original-link":n||void 0,"data-id":i,tabIndex:"0"}),o&&wp.element.createElement("figcaption",{className:v()("".concat(S,"_item-caption"))},o)),y(t)&&wp.element.createElement(j,null)));return wp.element.createElement(E,null,s)}}]),t}(O);t.a=_(function(e,t){var n=e("core"),r=n.getMedia,o=t.id;return{image:o?r(o):null}})(x)},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,k=(_.jQuery,wp.element),O=k.Component,E=k.Fragment,C=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.attributes,o=r.showCaption,a=r.captionStyle,c=r.captionPosition,s=r.align,u=r.images,p=r.imageCrop,d=r.linkTo,m=r.imageAlignment,g=r.sliderAnimationEffect,f=r.sliderSlidesToShow,b=r.sliderSlidesToShowLaptop,w=r.sliderSlidesToShowTablet,h=r.sliderSlidesToShowMobile,v=r.sliderSlidesToScroll,_=r.sliderAutoplay,k=r.sliderAutoplaySpeed,O=r.sliderInfinite,C=r.sliderAnimationSpeed,j=r.sliderCenterMode,S=r.sliderVariableWidth,x=r.sliderSpacing,P=r.sliderArrows,T=r.sliderDots,R=r.slideHeight,N=r.resetHeightOnTablet,A=r.resetHeightOnMobile,M=n.className,B=n.baseClass,D=y()(M,"has-arrows-".concat(P),"has-dots-".concat(T),(e={},l()(e,"has-captions",1==o),l()(e,"captions-style-".concat(a),1==o),l()(e,"captions-".concat(c),1==o),l()(e,"is-carousel",f>1),l()(e,"has-slides-gap-".concat(x),f>1),l()(e,"has-images-".concat(m),m),e),p?"has-cropped-images":null,R?"has-fixed-height":null,s?"align".concat(s):null),I={className:y()("".concat(B,"__item"),(t={},l()(t,"getwid-reset-height-tablet",N),l()(t,"getwid-reset-height-mobile",A),t)),style:{height:R||void 0}},L={"data-effect":g,"data-slides-show":f,"data-slides-show-laptop":b,"data-slides-show-tablet":w,"data-slides-show-mobile":h,"data-slides-scroll":v,"data-autoplay":_,"data-autoplay-speed":k,"data-infinite":O,"data-animation-speed":C,"data-center-mode":j,"data-variable-width":S,"data-arrows":P,"data-dots":T,"data-spacing":x};return wp.element.createElement("div",{className:D},wp.element.createElement("div",i()({className:"".concat(B,"__wrapper")},L),u.map(function(e){var t;switch(d){case"media":t=e.original_url;break;case"attachment":t=e.link;break;case"custom":t=e.custom_link}var n=wp.element.createElement(E,null,wp.element.createElement("figure",null,wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,"data-link-target":e.custom_link_target?e.custom_link_target:void 0,"data-link-rel":e.custom_link_rel?e.custom_link_rel:void 0,"data-original-link":e.original_url?e.original_url:void 0,"data-custom-link":e.custom_link?e.custom_link:void 0,className:"".concat(B,"__image ")+(e.id?"wp-image-".concat(e.id):"")}),e.caption&&wp.element.createElement("figcaption",{className:y()("".concat(B,"__caption"))},e.caption)));return wp.element.createElement("div",i()({key:e.id||e.url},I),wp.element.createElement(E,null,t?wp.element.createElement("a",{href:t,target:e.custom_link_target?e.custom_link_target:void 0,rel:e.custom_link_rel?e.custom_link_rel:void 0},n):n))})))}}]),t}(O);t.a=C},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,k=(_.jQuery,wp.element),O=k.Component,E=k.Fragment,C="wp-block-getwid-images-slider",j=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.align,o=n.images,a=n.imageCrop,c=n.linkTo,s=n.imageAlignment,u=n.sliderAnimationEffect,p=n.sliderSlidesToShow,d=n.sliderSlidesToShowLaptop,m=n.sliderSlidesToShowTablet,g=n.sliderSlidesToShowMobile,f=n.sliderSlidesToScroll,b=n.sliderAutoplay,w=n.sliderAutoplaySpeed,h=n.sliderInfinite,v=n.sliderAnimationSpeed,_=n.sliderCenterMode,k=n.sliderVariableWidth,O=n.sliderSpacing,j=n.sliderArrows,S=n.sliderDots,x=n.slideHeight,P=n.resetHeightOnTablet,T=n.resetHeightOnMobile,R=n.className,N=y()(R,"has-arrows-".concat(j),"has-dots-".concat(S),(e={},l()(e,"is-carousel",p>1),l()(e,"has-slides-gap-".concat(O),p>1),l()(e,"has-images-".concat(s),s),e),a?"has-cropped-images":null,x?"has-fixed-height":null,r?"align".concat(r):null),A={className:y()("".concat(C,"__item"),(t={},l()(t,"getwid-reset-height-tablet",P),l()(t,"getwid-reset-height-mobile",T),t)),style:{height:x||void 0}},M={"data-effect":u,"data-slides-show":p,"data-slides-show-laptop":d,"data-slides-show-tablet":m,"data-slides-show-mobile":g,"data-slides-scroll":f,"data-autoplay":b,"data-autoplay-speed":w,"data-infinite":h,"data-animation-speed":v,"data-center-mode":_,"data-variable-width":k,"data-arrows":j,"data-dots":S,"data-spacing":O};return wp.element.createElement("div",{className:N},wp.element.createElement("div",i()({className:"".concat(C,"__wrapper")},M),o.map(function(e){var t;switch(c){case"media":t=e.original_url;break;case"attachment":t=e.link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:"".concat(C,"__image")+(e.id?" wp-image-".concat(e.id):null)});return wp.element.createElement("div",i()({key:e.id||e.url},A),wp.element.createElement(E,null,t?wp.element.createElement("a",{href:t},n):n))})))}}]),t}(O);t.a=j},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,k=(_.jQuery,wp.element),O=k.Component,E=k.Fragment,C=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.attributes,o=r.align,a=r.images,c=r.imageCrop,s=r.linkTo,u=r.imageAlignment,p=r.sliderAnimationEffect,d=r.sliderSlidesToShow,m=r.sliderSlidesToShowLaptop,g=r.sliderSlidesToShowTablet,f=r.sliderSlidesToShowMobile,b=r.sliderSlidesToScroll,w=r.sliderAutoplay,h=r.sliderAutoplaySpeed,v=r.sliderInfinite,_=r.sliderAnimationSpeed,k=r.sliderCenterMode,O=r.sliderVariableWidth,C=r.sliderSpacing,j=r.sliderArrows,S=r.sliderDots,x=r.slideHeight,P=r.resetHeightOnTablet,T=r.resetHeightOnMobile,R=n.className,N=n.baseClass,A=y()(R,"has-arrows-".concat(j),"has-dots-".concat(S),(e={},l()(e,"is-carousel",d>1),l()(e,"has-slides-gap-".concat(C),d>1),l()(e,"has-images-".concat(u),u),e),c?"has-cropped-images":null,x?"has-fixed-height":null,o?"align".concat(o):null),M={className:y()("".concat(N,"__item"),(t={},l()(t,"getwid-reset-height-tablet",P),l()(t,"getwid-reset-height-mobile",T),t)),style:{height:x||void 0}},B={"data-effect":p,"data-slides-show":d,"data-slides-show-laptop":m,"data-slides-show-tablet":g,"data-slides-show-mobile":f,"data-slides-scroll":b,"data-autoplay":w,"data-autoplay-speed":h,"data-infinite":v,"data-animation-speed":_,"data-center-mode":k,"data-variable-width":O,"data-arrows":j,"data-dots":S,"data-spacing":C};return wp.element.createElement("div",{className:A},wp.element.createElement("div",i()({className:"".concat(N,"__wrapper")},B),a.map(function(e){var t;switch(s){case"media":t=e.original_url;break;case"attachment":t=e.link;break;case"custom":t=e.custom_link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,"data-link-target":e.custom_link_target?e.custom_link_target:void 0,"data-link-rel":e.custom_link_rel?e.custom_link_rel:void 0,"data-original-link":e.original_url?e.original_url:void 0,"data-custom-link":e.custom_link?e.custom_link:void 0,className:"".concat(N,"__image ")+(e.id?"wp-image-".concat(e.id):"")});return wp.element.createElement("div",i()({key:e.id||e.url},M),wp.element.createElement(E,null,t?wp.element.createElement("a",{href:t,target:e.custom_link_target?e.custom_link_target:void 0,rel:e.custom_link_rel?e.custom_link_rel:void 0},n):n))})))}}]),t}(O);t.a=C},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e,t){var n,r,o,i=e.attributes,a=i.iconStyle,l=i.iconSize,c=i.padding,s=i.borderWidth,u=i.borderRadius,p=i.backgroundColor,d=i.textColor,m=i.customTextColor,g=Object(w.get)(_("core/editor").getEditorSettings(),["colors"],[]);T(g,p);return"edit"==t?(n=void 0!==d&&void 0===d.class?e.textColor.color:m||void 0,r="stacked"===a?e.backgroundColor.color?e.backgroundColor.color:e.attributes.customBackgroundColor:void 0,o="framed"===a?e.textColor?e.textColor.color:e.attributes.customTextColor:void 0):"save"==t&&(r="stacked"===a?e.attributes.backgroundColor?void 0:e.attributes.customBackgroundColor:void 0,n=void 0!==d?void 0:m),{fontSize:void 0!==l?l:void 0,padding:void 0!==c?"".concat(c,"px"):void 0,color:n,backgroundColor:r,borderColor:o,borderWidth:"framed"===a?s:void 0,borderRadius:("framed"===a||"stacked"===a)&&50!=u?"".concat(u,"%"):void 0}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=(n(0),n(171)),p=n(172),d=n(173),m=n(12),g=n(174),f=(n.n(g),n(175)),b=(n.n(f),n(1)),w=(n.n(b),n(10)),h=(n.n(w),n(8)),v=n.n(h),y=window,_=(y.jQuery,wp.data.select),k=wp.element.Fragment,O=wp.blocks,E=O.registerBlockType,C=O.createBlock,j=wp.blockEditor||wp.editor,S=j.BlockControls,x=j.AlignmentToolbar,P=j.getColorClassName,T=j.getColorObjectByAttributeValues;E("getwid/icon",o(o({title:Object(b.__)("Icon","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M24,9.3l-8.3-1.2L12,0.6L8.3,8.1L0,9.3l6,5.8l-1.4,8.2l7.4-3.9l7.4,3.9L18,15.1L24,9.3z M12,17.2l-4.7,2.5l0.9-5.3l-3.8-3.7 L9.6,10L12,5.1l2.4,4.9l5.3,0.8l-3.8,3.7l0.9,5.3L12,17.2z"})),keywords:[],supports:{align:["left","right","wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/icon")},transforms:{to:[{type:"block",blocks:["getwid/icon-box"],transform:function(e){return C("getwid/icon-box",e)}}]},attributes:d.a},Object(m.b)("getwid/icon",function(e){var t=e.attributes,n=t.align,r=t.textAlignment,a=e.setAttributes;return e.attributes.id||(e.attributes.id=e.clientId),[wp.element.createElement(p.a,l()({},o({setAttributes:a},e),{key:"inspector"})),wp.element.createElement(u.a,l()({},o({setAttributes:a,prepareWrapperStyle:i},e),{key:"edit"})),wp.element.createElement(k,null,"left"!=n&&"right"!=n&&wp.element.createElement(S,null,wp.element.createElement(x,{value:r,onChange:function(e){return a({textAlignment:e})}})))]})),{},{save:function(e){var t,n,r=e.attributes,o=r.icon,a=r.iconStyle,c=r.link,u=r.hoverAnimation,p=r.textAlignment,d=r.rel,m=r.linkTarget,g=r.marginTop,f=r.marginBottom,b=r.marginLeft,w=r.marginRight,h=r.backgroundColor,y=r.textColor,_=r.customBackgroundColor,k=r.customTextColor,O=r.className,E=P("color",y),C=P("background-color",h),j=wp.element.createElement("i",{className:o}),S={marginTop:g,marginBottom:f,marginLeft:b,marginRight:w},x={className:v()("".concat("wp-block-getwid-icon","__wrapper"),(t={"getwid-animation":!!u,"has-background":(h||_)&&"stacked"==a},s()(t,C,C&&"stacked"==a),s()(t,"has-text-color",y||k),s()(t,E,E),t)),style:i(e,"save"),"data-animation":u||void 0};return wp.element.createElement("div",{style:S,className:v()(O,(n={},s()(n,"has-layout-stacked","stacked"===a),s()(n,"has-layout-framed","framed"===a),s()(n,"is-aligned-".concat(p),void 0!==p),n))},c&&wp.element.createElement("a",l()({href:c,target:m,rel:d},x),j),!c&&wp.element.createElement("div",x,j))}}))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(8)),v=n.n(h),y=n(20),_=n(1),k=(n.n(_),window),O=k.jQuery,E=wp.element.Component,C=wp.compose.compose,j=wp.blockEditor||wp.editor,S=j.withColors,x=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.attributes,a=o.marginTop,c=o.marginBottom,s=o.marginLeft,u=o.marginRight,p=o.icon,d=o.iconStyle,m=o.link,g=o.hoverAnimation,f=o.textAlignment,b=r.prepareWrapperStyle,w=r.className,h=(r.setBackgroundColor,r.setTextColor,r.backgroundColor),y=r.textColor,_=wp.element.createElement("i",{className:p}),k={marginTop:a,marginBottom:c,marginLeft:s,marginRight:u},O={className:v()("".concat("wp-block-getwid-icon","__wrapper"),(e={"getwid-animation":!!g,"has-background":h.color&&"stacked"==d},l()(e,h.class,h.class&&"stacked"==d),l()(e,"has-text-color",y.color),l()(e,y.class,y.class),e)),style:b(this.props,"edit"),"data-animation":g||void 0,onMouseEnter:function(e){return n.onIconHoverIn()}};return wp.element.createElement("div",{style:k,className:v()(w,(t={},l()(t,"has-layout-stacked","stacked"===d),l()(t,"has-layout-framed","framed"===d),l()(t,"is-aligned-".concat(f),void 0!==f),t))},m&&wp.element.createElement("a",i()({href:m},O,{onClick:function(e){return e.preventDefault()}}),_),!m&&wp.element.createElement("div",O,_))}},{key:"setupIconWrapper",value:function(){var e=this.props.clientId;this.iconWrapper=O("[data-block='".concat(e,"'] .wp-block-getwid-icon__wrapper"))}},{key:"componentDidMount",value:function(){this.setupIconWrapper()}},{key:"componentDidUpdate",value:function(e){this.setupIconWrapper()}},{key:"onIconHoverIn",value:function(){var e=this.props.attributes.hoverAnimation;e&&Object(y.a)(this.iconWrapper,{animation:e})}}]),t}(E);t.a=C([S("backgroundColor",{textColor:"color"})])(x)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(18)),v=n(24),y=n(17),_=n(16),k=n(1),O=(n.n(k),wp.element.Component),E=wp.blockEditor||wp.editor,C=E.InspectorControls,j=E.URLInput,S=E.withColors,x=wp.components,P=x.PanelBody,T=x.BaseControl,R=x.RangeControl,N=x.TextControl,A=x.RadioControl,M=x.ToggleControl,B=x.Button,D=wp.compose.compose,I=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.onSetNewTab=e.onSetNewTab.bind(p()(e)),e.onSetLinkRel=e.onSetLinkRel.bind(p()(e)),e}m()(t,e);var n=r(t);return s()(t,[{key:"hasMargin",value:function(){var e=this.props.attributes,t=e.marginTop,n=e.marginBottom,r=e.marginLeft,o=e.marginRight;return void 0!==t||void 0!==n||void 0!==o||void 0!==r}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.icon,r=t.iconStyle,o=t.iconSize,a=t.padding,l=t.marginTop,c=t.marginBottom,s=t.marginLeft,u=t.marginRight,p=t.borderWidth,d=t.borderRadius,m=t.link,g=t.hoverAnimation,f=t.rel,b=t.linkTarget,w=e.setAttributes,O=e.setBackgroundColor,E=e.setTextColor,S=e.customBackgroundColor,x=e.customTextColor,D=e.backgroundColor,I=e.textColor,L=function(){w({marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0})},z="stacked"===r||"framed"===r;return wp.element.createElement(C,null,wp.element.createElement(P,{title:Object(k.__)("Settings","getwid")},wp.element.createElement(T,{label:Object(k.__)("Icon","getwid")},wp.element.createElement(h.a,{value:n,onChange:function(e){return w({icon:e})}})),wp.element.createElement(A,{label:Object(k.__)("Layout","getwid"),selected:void 0!==r?r:"default",options:[{value:"default",label:Object(k.__)("Icon","getwid")},{value:"stacked",label:Object(k.__)("Background","getwid")},{value:"framed",label:Object(k.__)("Outline","getwid")}],onChange:function(e){return w({iconStyle:e})}}),wp.element.createElement(_.a,{colorSettings:[{title:Object(k.__)("Icon Color","getwid"),colors:{customColor:x,defaultColor:I},changeColor:E}].concat(i()(z&&"stacked"==r?[{title:Object(k.__)("Background Color","getwid"),colors:{customColor:S,defaultColor:D},changeColor:O}]:[]))}),wp.element.createElement(y.a,{label:Object(k.__)("Icon Size","getwid"),value:o,onChange:function(e){w({iconSize:e})}}),wp.element.createElement(N,{type:"number",label:Object(k.__)("Space Around Icon","getwid"),value:a,onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),w({padding:e})},min:0,step:1}),"framed"===r&&wp.element.createElement(N,{type:"number",label:Object(k.__)("Border Width","getwid"),value:void 0!==p?p:"",onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),w({borderWidth:e})},min:0,step:1,placeholder:"1"}),("framed"===r||"stacked"===r)&&wp.element.createElement(R,{label:Object(k.__)("Border Radius","getwid"),value:void 0!==d?d:"",onChange:function(e){w({borderRadius:e})},min:0,step:1,max:100,placeholder:"0"}),wp.element.createElement(T,{className:"getwid-editor-url-input",label:Object(k.__)("Link","getwid")},wp.element.createElement(j,{autoFocus:!1,value:m,onChange:function(e){return w({link:e})}})),wp.element.createElement(T,null,wp.element.createElement(M,{label:Object(k.__)("Open in New Tab","getwid"),checked:"_blank"===b,onChange:this.onSetNewTab})),wp.element.createElement(N,{label:Object(k.__)("Link Rel","getwid"),value:f||"",onChange:this.onSetLinkRel}),wp.element.createElement(v.a,{label:Object(k.__)("Icon Hover Animation","getwid"),value:void 0!==g?g:"",onChange:function(e){return w({hoverAnimation:e})},allowAnimation:["Seeker","Icon"]})),wp.element.createElement(P,{title:Object(k.__)("Margin","getwid"),initialOpen:!1},wp.element.createElement(y.a,{label:Object(k.__)("Margin Top","getwid"),value:l,onChange:function(e){w({marginTop:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(y.a,{label:Object(k.__)("Margin Bottom","getwid"),value:c,onChange:function(e){w({marginBottom:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(y.a,{label:Object(k.__)("Margin Left","getwid"),value:s,onChange:function(e){w({marginLeft:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(y.a,{label:Object(k.__)("Margin Right","getwid"),value:u,onChange:function(e){w({marginRight:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(T,null,wp.element.createElement(B,{isLink:!0,onClick:L,disabled:!this.hasMargin()},Object(k.__)("Reset","getwid")))))}}]),t}(O);t.a=D([S("backgroundColor",{textColor:"color"})])(I)},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},icon:{type:"string",default:"fab fa-wordpress"},iconStyle:{type:"string",default:"default"},iconSize:{type:"string"},padding:{type:"number"},marginTop:{type:"string"},marginBottom:{type:"string"},marginLeft:{type:"string"},marginRight:{type:"string"},borderWidth:{type:"number"},borderRadius:{type:"number",default:50},link:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon__wrapper",attribute:"href"},align:{type:"string"},textAlignment:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-icon__wrapper",attribute:"data-animation"},linkTarget:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon__wrapper",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon__wrapper",attribute:"rel"}};t.a=r},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e,t){var n,r,o,i=e.attributes,a=i.iconStyle,l=i.iconSize,c=i.padding,s=i.borderWidth,u=i.borderRadius,p=i.textColor,d=i.customTextColor;return"edit"==t?(n=void 0!==p&&void 0===p.class?e.textColor.color:d||void 0,r="stacked"===a?e.backgroundColor.color?e.backgroundColor.color:e.attributes.customBackgroundColor:void 0,o="framed"===a?e.textColor?e.textColor.color:e.attributes.customTextColor:void 0):"save"==t&&(r="stacked"===a?e.attributes.backgroundColor?void 0:e.attributes.customBackgroundColor:void 0,n=void 0!==p?void 0:d),{fontSize:void 0!==l?l:void 0,padding:void 0!==c?"".concat(c,"px"):void 0,color:n,backgroundColor:r,borderColor:o,borderWidth:"framed"===a?s:void 0,borderRadius:("framed"===a||"stacked"===a)&&50!=u?"".concat(u,"%"):void 0}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=(n(0),n(177)),p=n(180),d=n(12),m=n(58),g=(n.n(m),n(1)),f=(n.n(g),n(8)),b=n.n(f),w=window,h=(w.jQuery,wp.data.select),v=wp.element.Fragment,y=wp.components.Toolbar,_=wp.blocks,k=_.registerBlockType,O=_.createBlock,E=wp.blockEditor||wp.editor,C=E.BlockControls,j=E.AlignmentToolbar,S=E.InnerBlocks,x=E.getColorClassName,P="wp-block-getwid-icon-box";k("getwid/icon-box",o(o({title:Object(g.__)("Icon Box","getwid"),example:{attributes:{icon:"fab fa-wordpress",iconStyle:"default",textAlignment:"center"},innerBlocks:[{name:"core/heading",attributes:{content:"Title"}},{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}}]},category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("polygon",{points:"5,2.2 6.5,5.4 10,5.9 7.5,8.3 8.1,11.8 5,10.2 1.9,11.8 2.5,8.3 0,5.9 3.5,5.4 "}),wp.element.createElement("rect",{x:"13",y:"11",width:"11",height:"2"}),wp.element.createElement("rect",{x:"2",y:"15",width:"22",height:"2"}),wp.element.createElement("rect",{x:"13",y:"7",width:"11",height:"2"}),wp.element.createElement("rect",{x:"13",y:"3",width:"11",height:"2"}),wp.element.createElement("rect",{x:"2",y:"19",width:"15.6",height:"2"})),keywords:[Object(g.__)("feature","getwid"),Object(g.__)("service","getwid")],supports:{alignWide:!0,align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/icon-box")},transforms:{to:[{type:"block",blocks:["getwid/icon"],transform:function(e){return O("getwid/icon",e)}},{type:"block",blocks:["getwid/image-box"],transform:function(e){var t=h("core/editor").getSelectedBlockClientId(),n=h("core/editor").getBlock(t).innerBlocks;return O("getwid/image-box",e,n)}},{type:"block",blocks:["core/heading"],transform:function(e){var t,n=h("core/editor").getSelectedBlockClientId(),r=h("core/editor").getBlock(n).innerBlocks;return r.length&&jQuery.each(r,function(e,n){"core/heading"==n.name&&(t=n.attributes.content)}),O("core/heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t,n=h("core/editor").getSelectedBlockClientId(),r=h("core/editor").getBlock(n).innerBlocks;return r.length&&jQuery.each(r,function(e,n){"core/paragraph"==n.name&&(t=n.attributes.content)}),O("core/paragraph",{content:t})}}]},attributes:p.a},Object(d.b)("getwid/icon-box",function(e){var t=e.attributes,n=t.textAlignment,r=t.layout,a=e.setAttributes,c=function(e){a({textAlignment:e})},s=[{icon:"align-left",title:Object(g.__)("Align Icon Left","getwid"),isActive:"left"==r,onClick:function(){return a({layout:"left"==r?null:"left"})}},{icon:"align-right",title:Object(g.__)("Align Icon Right","getwid"),isActive:"right"==r,onClick:function(){return a({layout:"right"==r?null:"right"})}}];return[wp.element.createElement(u.a,l()({},o({setAttributes:a,prepareWrapperStyle:i},e),{key:"edit"})),wp.element.createElement(v,null,wp.element.createElement(C,null,wp.element.createElement(y,{controls:s})),wp.element.createElement(C,null,wp.element.createElement(j,{value:n,onChange:c})))]})),{},{save:function(e){var t,n,r=e.attributes,o=r.textAlignment,a=r.icon,c=r.layout,u=r.iconPosition,p=r.iconStyle,d=r.link,m=r.hoverAnimation,g=r.rel,f=r.linkTarget,w=r.marginTop,h=r.marginBottom,v=r.marginLeft,y=r.marginRight,_=r.backgroundColor,k=r.textColor,O=r.customBackgroundColor,E=r.customTextColor,C=r.className,j=x("color",k),T=x("background-color",_),R={className:b()(C,(t={"getwid-animation":!!m},s()(t,"has-icon-left","left"===c),s()(t,"has-icon-right","right"===c),s()(t,"has-text-left","left"===o),s()(t,"has-text-center","center"===o),s()(t,"has-text-right","right"===o),t)),"data-animation":m||void 0},N=b()("".concat(P,"__icon-container"),{"has-layout-stacked":"stacked"===p,"has-layout-framed":"framed"===p,"is-position-top":"top"===u,"is-position-middle":"middle"===u,"is-position-bottom":"bottom"===u}),A=wp.element.createElement("i",{className:a}),M={marginTop:w,marginBottom:h,marginLeft:v,marginRight:y},B={className:b()("".concat(P,"__icon-wrapper"),(n={"has-background":(_||O)&&"stacked"==p},s()(n,T,T&&"stacked"==p),s()(n,"has-text-color",k||E),s()(n,j,j),n)),style:i(e,"save")};return wp.element.createElement("div",R,wp.element.createElement("div",{style:M,className:N},d&&wp.element.createElement("a",l()({href:d,target:f,rel:g},B),A),!d&&wp.element.createElement("div",B,A)),wp.element.createElement("div",{className:"".concat(P,"__content")},wp.element.createElement(S.Content,null)))}}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(178)),O=n(179),E=(n.n(O),n(58)),C=(n.n(E),n(20)),j=n(1),S=(n.n(j),n(8)),x=n.n(S),P=window,T=P.jQuery,R=wp.compose.compose,N=wp.element,A=N.Component,M=N.Fragment,B=wp.blockEditor||wp.editor,D=B.InnerBlocks,I=B.withColors,L=[["core/heading",{level:3,placeholder:Object(j.__)("Write heading…","getwid")}],["core/paragraph",{placeholder:Object(j.__)("Write text…","getwid")}]],z="wp-block-getwid-icon-box",V=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(f()(e)),e.state={isLockedMargins:!1},e}w()(t,e);var n=i(t);return m()(t,[{key:"changeState",value:function(e,t){this.setState(s()({},e,t))}},{key:"render",value:function(){var e,t,n=this,r=this.props,i=r.attributes,a=i.marginTop,c=i.marginBottom,u=i.marginLeft,p=i.marginRight,d=i.icon,m=i.textAlignment,g=i.layout,f=i.iconPosition,b=i.iconStyle,w=i.link,h=i.hoverAnimation,v=r.prepareWrapperStyle,y=r.className,_=r.isSelected,O=r.backgroundColor,E=r.textColor,C={className:x()(y,(e={"getwid-animation":!!h},s()(e,"has-icon-left","left"===g),s()(e,"has-icon-right","right"===g),s()(e,"has-text-left","left"===m),s()(e,"has-text-center","center"===m),s()(e,"has-text-right","right"===m),s()(e,"is-selected",_),e)),"data-animation":h||void 0,onMouseEnter:function(e){return n.onIconHoverIn()}},j=x()("".concat(z,"__icon-container"),{"has-layout-stacked":"stacked"===b,"has-layout-framed":"framed"===b,"is-position-top":"top"===f,"is-position-middle":"middle"===f,"is-position-bottom":"bottom"===f}),S=wp.element.createElement("i",{className:d}),P={marginTop:a,marginBottom:c,marginLeft:u,marginRight:p},T={className:x()("".concat(z,"__icon-wrapper"),(t={"has-background":O.color&&"stacked"==b},s()(t,O.class,O.class&&"stacked"==b),s()(t,"has-text-color",E.color),s()(t,E.class,E.class),t)),style:v(this.props,"edit")},R=this.changeState,N=this.state.isLockedMargins;return wp.element.createElement(M,null,wp.element.createElement(k.a,l()({},o(o({},this.props),{},{isLockedMargins:N,changeState:R}),{key:"inspector"})),wp.element.createElement("div",C,wp.element.createElement("div",{style:P,className:j},w&&wp.element.createElement("a",l()({href:w},T,{onClick:function(e){return e.preventDefault()}}),S),!w&&wp.element.createElement("div",T,S)),wp.element.createElement("div",{className:"".concat(z,"__content")},wp.element.createElement(D,{template:L,templateInsertUpdatesSelection:!1,templateLock:!1}))))}},{key:"setupIconWrapper",value:function(){var e=this.props.clientId;this.iconWrapper=T("[data-block='".concat(e,"'] .wp-block-getwid-icon-box__icon-wrapper"))}},{key:"componentDidMount",value:function(){this.setupIconWrapper()}},{key:"componentDidUpdate",value:function(e){this.setupIconWrapper()}},{key:"onIconHoverIn",value:function(){var e=this.props.attributes.hoverAnimation;e&&Object(C.a)(this.iconWrapper,{animation:e})}}]),t}(A);t.a=R([I("backgroundColor",{textColor:"color"})])(V)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var o=n(15),i=n.n(o),a=n(7),l=n.n(a),c=n(13),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(18)),O=n(24),E=n(17),C=n(16),j=n(19),S=n(14),x=n(1),P=(n.n(x),window),T=(P.jQuery,wp.element),R=T.Component,N=T.Fragment,A=wp.blockEditor||wp.editor,M=A.InspectorControls,B=(A.PanelColorSettings,A.URLInput),D=A.withColors,I=wp.components,L=I.PanelBody,z=I.BaseControl,V=I.RangeControl,H=I.TextControl,F=I.SelectControl,W=I.RadioControl,G=I.ToggleControl,U=wp.compose.compose,q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.onSetNewTab=e.onSetNewTab.bind(f()(e)),e.onSetLinkRel=e.onSetLinkRel.bind(f()(e)),e.changeState=e.changeState.bind(f()(e)),e.state={tabName:"general"},e}w()(t,e);var n=r(t);return m()(t,[{key:"changeState",value:function(e,t){"object"==s()(e)?this.setState(e):"string"==typeof e&&this.setState(l()({},e,t))}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.icon,r=t.layout,o=t.textAlignment,a=t.iconPosition,l=t.iconStyle,c=t.iconSize,s=t.padding,u=t.borderWidth,p=t.borderRadius,d=t.link,m=t.hoverAnimation,g=t.linkTarget,f=t.rel,b=e.setAttributes,w=e.setBackgroundColor,h=e.setTextColor,v=e.customBackgroundColor,y=e.customTextColor,_=e.backgroundColor,P=e.textColor,T=this.state.tabName,R=this.changeState,A="stacked"===l||"framed"===l;return wp.element.createElement(M,null,wp.element.createElement(j.a,{state:T,stateName:"tabName",onChangeTab:R,tabs:["general","style","advanced"]}),"general"===T&&wp.element.createElement(N,null,wp.element.createElement(L,null,wp.element.createElement(z,{label:Object(x.__)("Icon","getwid")},wp.element.createElement(k.a,{value:n,onChange:function(e){return b({icon:e})}})),wp.element.createElement(W,{label:Object(x.__)("Layout","getwid"),selected:r||"",options:[{value:"",label:Object(x.__)("Default","getwid")},{value:"left",label:Object(x.__)("Align Icon Left","getwid")},{value:"right",label:Object(x.__)("Align Icon Right","getwid")}],onChange:function(e){return b({layout:e})}}),("left"==r||"right"==r)&&wp.element.createElement(F,{label:Object(x.__)("Icon Vertical Alignment","getwid"),value:a,options:[{value:"top",label:Object(x.__)("Top","getwid")},{value:"middle",label:Object(x.__)("Middle","getwid")},{value:"bottom",label:Object(x.__)("Bottom","getwid")}],onChange:function(e){return b({iconPosition:e})}}),wp.element.createElement(F,{label:Object(x.__)("Content Alignment","getwid"),value:o,options:[{value:"left",label:Object(x.__)("Left","getwid")},{value:"center",label:Object(x.__)("Center","getwid")},{value:"right",label:Object(x.__)("Right","getwid")}],onChange:function(e){return b({textAlignment:e})}}),wp.element.createElement(z,{label:Object(x.__)("Icon Link","getwid"),className:"getwid-editor-url-input"},wp.element.createElement(B,{autoFocus:!1,value:d,onChange:function(e){return b({link:e})}})),wp.element.createElement(z,null,wp.element.createElement(G,{label:Object(x.__)("Open in New Tab","getwid"),checked:"_blank"===g,onChange:this.onSetNewTab})),wp.element.createElement(H,{label:Object(x.__)("Link Rel","getwid"),value:f||"",onChange:this.onSetLinkRel}))),"style"===T&&wp.element.createElement(N,null,wp.element.createElement(L,null,wp.element.createElement(W,{label:Object(x.__)("Icon Style","getwid"),selected:void 0!==l?l:"default",options:[{value:"default",label:Object(x.__)("Icon","getwid")},{value:"stacked",label:Object(x.__)("Background","getwid")},{value:"framed",label:Object(x.__)("Outline","getwid")}],onChange:function(e){return b({iconStyle:e})}}),wp.element.createElement(C.a,{colorSettings:[{title:Object(x.__)("Icon Color","getwid"),colors:{customColor:y,defaultColor:P},changeColor:h}].concat(i()(A&&"stacked"==l?[{title:Object(x.__)("Icon Background Color","getwid"),colors:{customColor:v,defaultColor:_},changeColor:w}]:[]))}),"framed"===l&&wp.element.createElement(H,{type:"number",label:Object(x.__)("Border Size","getwid"),value:void 0!==u?u:"",onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),b({borderWidth:e})},min:0,step:1,placeholder:"1"}),("framed"===l||"stacked"===l)&&wp.element.createElement(V,{label:Object(x.__)("Border Radius","getwid"),value:void 0!==p?p:"",onChange:function(e){b({borderRadius:e})},min:0,step:1,max:100,placeholder:"0"}),wp.element.createElement(E.a,{label:Object(x.__)("Icon Size","getwid"),value:c,onChange:function(e){b({iconSize:e})}}),wp.element.createElement(H,{type:"number",label:Object(x.__)("Space Around Icon","getwid"),value:s,onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),b({padding:e})},min:0,step:1})),wp.element.createElement(L,{title:Object(x.__)("Margin","getwid"),initialOpen:!1},Object(S.c)(this))),"advanced"===T&&wp.element.createElement(N,null,wp.element.createElement(L,null,wp.element.createElement(O.a,{label:Object(x.__)("Icon Hover Animation","getwid"),value:void 0!==m?m:"",onChange:function(e){return b({hoverAnimation:e})},allowAnimation:["Seeker","Icon"]}))))}}]),t}(R);t.a=U([D("backgroundColor",{textColor:"color"})])(q)},function(e,t){},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textAlignment:{type:"string",default:"center"},icon:{type:"string",default:"fab fa-wordpress"},layout:{type:"string"},iconPosition:{type:"string",default:"top"},iconStyle:{type:"string",default:"default"},primaryColor:{type:"string"},secondaryColor:{type:"string"},iconSize:{type:"string"},padding:{type:"number"},marginTop:{type:"string"},marginBottom:{type:"string"},marginLeft:{type:"string"},marginRight:{type:"string"},borderWidth:{type:"number"},borderRadius:{type:"number",default:50},link:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon-box__icon-wrapper",attribute:"href"},align:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-icon-box",attribute:"data-animation"},linkTarget:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon-box__icon-wrapper",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon-box__icon-wrapper",attribute:"rel"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(182)),c=n(185),s=n(186),u=n(59),p=n(12),d=n(60),m=(n.n(d),n(1)),g=(n.n(m),window),f=(g.jQuery,wp.data.select),b=wp.blocks,w=b.registerBlockType,h=b.createBlock,v=["left","center","right","wide","full"];w("getwid/banner",o(o({title:Object(m.__)("Banner","getwid"),description:Object(m.__)("Link an image or video with a text overlay.","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("rect",{x:"14",y:"5",width:"6",height:"2"}),wp.element.createElement("rect",{x:"14",y:"9",width:"6",height:"2"}),wp.element.createElement("polygon",{points:"8,4 9.1,5.2 10.8,5.2 10.8,6.9 12,8 10.8,9.1 10.8,10.8 9.1,10.8 8,12 6.9,10.8 5.2,10.8 5.2,9.1 4,8 5.2,6.9 5.2,5.2 6.9,5.2 "}),wp.element.createElement("polygon",{points:"17.6,15 10.3,12.6 11.9,20.1 13.8,18.4 17,21.9 18.9,20.2 15.7,16.7"}),wp.element.createElement("g",null,wp.element.createElement("polygon",{points:"0,0 0,16 9,16 8.6,14 2,14 2,2 22,2 22,14 19.3,14 19.7,16 24,16 24,0"}))),supports:{inserter:!Getwid.disabled_blocks.includes("getwid/banner")},keywords:[Object(m.__)("image","getwid"),Object(m.__)("cover","getwid")],deprecated:[{attributes:u.a,save:s.a}],transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){return h("getwid/banner",{id:e.id,url:e.url,title:e.caption})}},{type:"block",blocks:["core/media-text"],transform:function(e){var t=f("core/editor").getSelectedBlockClientId(),n=f("core/editor").getBlock(t).innerBlocks,r={text:""};return n.length&&jQuery.each(n,function(e,t){"core/paragraph"==t.name&&(r.text=t.attributes.content)}),h("getwid/banner",{id:e.mediaId,url:e.mediaUrl,text:r.text})}},{type:"block",blocks:["core/cover"],transform:function(e){return h("getwid/banner",{id:e.id,url:e.url,title:e.caption})}}],to:[{type:"block",blocks:["core/cover"],transform:function(e){return h("core/cover",{id:e.id,url:e.url,caption:e.title?e.title:e.text?e.text:""})}},{type:"block",blocks:["core/image"],transform:function(e){return h("core/image",{id:e.id,url:e.url,caption:e.title?e.title:e.text?e.text:""})}},{type:"block",blocks:["getwid/image-box"],transform:function(e){return h("getwid/image-box",{id:e.id,url:e.url},[h("core/heading",{content:e.title}),h("core/paragraph",{content:e.text})])}},{type:"block",blocks:["core/media-text"],transform:function(e){return h("core/media-text",{mediaId:e.id,mediaUrl:e.url,mediaType:"image"},[h("core/paragraph",{content:e.text})])}},{type:"block",blocks:["core/cover"],transform:function(e){return h("core/cover",{id:e.id,url:e.url})}},{type:"block",blocks:["core/heading"],transform:function(e){return h("core/heading",{content:e.title})}},{type:"block",blocks:["core/paragraph"],transform:function(e){return h("core/paragraph",{content:e.text})}}]},attributes:u.a,getEditWrapperProps:function(e){var t=e.align;if(-1!==v.indexOf(t))return{"data-align":t}}},Object(p.b)("getwid/banner",l.a)),{},{save:c.a}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(33),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(8)),j=n.n(C),S=n(10),x=(n.n(S),n(59)),P=n(183),T=n(184),R=(n.n(T),n(60)),N=(n.n(R),wp.compose.compose),A=wp.data.withSelect,M=wp.element,B=M.Component,D=M.Fragment,I=wp.components,L=I.IconButton,z=I.ToggleControl,V=I.Toolbar,H=I.Dashicon,F=wp.blockEditor||wp.editor,W=F.BlockControls,G=F.BlockAlignmentToolbar,U=F.MediaPlaceholder,q=F.MediaUpload,Q=F.MediaUploadCheck,K=F.RichText,Y=F.URLInput,J=F.withColors,Z=["wide","full"],$=["image","video"],X="wp-block-getwid-banner",ee=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],te=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.onSetNewTab=e.onSetNewTab.bind(w()(e)),e}v()(t,e);var n=i(t);return f()(t,[{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.setAttributes,i=n.isSelected,a=n.className,c=n.backgroundColor,u=n.textColor,d=this.props.attributes,m=d.id,g=d.url,f=d.type,b=d.title,w=d.text,h=d.link,v=d.align,y=d.minHeight,_=d.contentMaxWidth,k=d.verticalAlign,O=d.horizontalAlign,C=this.props.attributes,T=C.backgroundOpacity,R=C.blockAnimation,N=C.textAnimation,A=C.customTextColor,M=C.linkTarget,B=function(e,t){if(!e)return void r({url:void 0,id:void 0});var n;if(e.media_type)n="image"===e.media_type?"image":"video";else{if("image"!==e.type&&"video"!==e.type)return;n=e.type}var o=Object(S.get)(e,["sizes",t,"url"])||Object(S.get)(e,["media_details","sizes",t,"source_url"])||e.url;r({id:e.id,url:void 0!==o?o:g,type:n})},I=function(e){var n=t.props.attributes.imageSize;["full","large","medium","thumbnail"].includes(n)||(p()("imageSize"),n=x.a.imageSize.default,r({imageSize:n})),B(e,n)},F={className:j()("".concat(X,"__wrapper"),s()({"has-background":c.color},c.class,c.class)),style:{backgroundColor:this.props.backgroundColor.color?this.props.backgroundColor.color:this.props.attributes.customBackgroundColor}},J={className:j()("".concat(X,"__caption"),s()({"has-text-color":u.color},u.class,u.class)),style:{color:void 0!==this.props.attributes.textColor&&void 0===this.props.attributes.textColor.class?this.props.textColor.color:A||void 0,minHeight:y}},te={className:j()(a,(e={},s()(e,"has-animation-".concat(R),"none"!=R),s()(e,"has-text-animation-".concat(N),"none"!=N&&!i),s()(e,"has-foreground-".concat(T),35!=T),s()(e,"has-vertical-alignment-".concat(k),"center"!=k),s()(e,"has-horizontal-alignment-".concat(O),"center"!=O),e),v?"align".concat(v):null)},ne=wp.element.createElement(D,null,wp.element.createElement(W,null,wp.element.createElement(G,{controls:Z,value:v,onChange:function(e){return r({align:e})}}),!!g&&wp.element.createElement(D,null,wp.element.createElement(Q,null,wp.element.createElement(V,null,wp.element.createElement(q,{onSelect:I,allowedTypes:$,value:m,render:function(e){var t=e.open;return wp.element.createElement(L,{className:"components-toolbar__control",label:Object(E.__)("Edit Media","getwid"),icon:"edit",onClick:t})}}))))),!!g&&wp.element.createElement(P.a,l()({},o(o({setAttributes:r},this.props),{},{changeImageSize:B,onSelectMedia:I}),{key:"inspector"})));if(!g){var re=!K.isEmpty(b),oe=re?void 0:"format-image",ie=re?wp.element.createElement(D,null,wp.element.createElement(K,{tagName:"p",value:b,onChange:function(e){return r({title:e})}}),wp.element.createElement(K,{tagName:"p",value:w,onChange:function(e){return r({text:e})}})):Object(E.__)("Banner","getwid");return wp.element.createElement(D,null,ne,wp.element.createElement(U,{icon:oe,className:X,labels:{title:ie},onSelect:I,accept:"image/*",allowedTypes:$}))}return wp.element.createElement(D,null,ne,wp.element.createElement("div",te,wp.element.createElement(D,null,!!g&&wp.element.createElement("div",F,"video"===f&&g?wp.element.createElement("video",{className:"".concat(X,"__video ").concat(X,"__source"),autoPlay:!0,muted:!0,loop:!0,src:g}):wp.element.createElement("img",{src:g,alt:"",className:"".concat(X,"__image ").concat(X,"__source")}),wp.element.createElement(D,null,wp.element.createElement("div",J,wp.element.createElement("div",{style:{maxWidth:_},className:"".concat(X,"__caption-wrapper")},wp.element.createElement(K,{tagName:"span",className:"".concat(X,"__title"),placeholder:Object(E.__)("Write heading…","getwid"),value:b,onChange:function(e){return r({title:e})},allowedFormats:ee}),wp.element.createElement(K,{tagName:"p",className:"".concat(X,"__text"),placeholder:Object(E.__)("Write text…","getwid"),value:w,onChange:function(e){return r({text:e})},allowedFormats:ee}))))))),i&&wp.element.createElement(D,null,wp.element.createElement("div",{className:"".concat(X,"__url-field")},wp.element.createElement(H,{icon:"admin-links"}),wp.element.createElement(Y,{className:"has-border",autoFocus:!1,value:h,onChange:function(e){return r({link:e})}}),wp.element.createElement(z,{label:Object(E.__)("Open in New Tab","getwid"),onChange:this.onSetNewTab,checked:"_blank"===M}))))}}]),t}(B);t.a=N([A(function(e,t){var n=e("core"),r=n.getMedia,o=t.attributes.id;if(void 0!==o)return{imgObj:o?r(o):null}}),J("backgroundColor",{textColor:"color"})])(te)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}n.d(t,"a",function(){return V});var o=n(7),i=n.n(o),a=n(13),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(11),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(1)),_=(n.n(y),n(17)),k=n(19),O=n(16),E=wp.element,C=E.Component,j=E.Fragment,S=wp.blockEditor||wp.editor,x=S.InspectorControls,P=S.MediaPlaceholder,T=S.MediaUpload,R=S.URLInput,N=wp.components,A=N.Button,M=N.BaseControl,B=N.PanelBody,D=N.RangeControl,I=N.TextControl,L=N.SelectControl,z=(N.CheckboxControl,["image","video"]),V=function(e){function t(){var e;return s()(this,t),e=n.apply(this,arguments),e.onSetLinkRel=e.onSetLinkRel.bind(m()(e)),e.changeState=e.changeState.bind(m()(e)),e.state={tabName:"general"},e}f()(t,e);var n=r(t);return p()(t,[{key:"changeState",value:function(e,t){"object"==l()(e)?this.setState(e):"string"==typeof e&&this.setState(i()({},e,t))}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.link,n=e.backgroundOpacity,r=e.blockAnimation,o=e.textAnimation,i=e.rel,a=this.props,l=a.setAttributes,c=a.setBackgroundColor,s=a.setTextColor,u=a.backgroundColor,p=a.textColor,d=a.customBackgroundColor,m=a.customTextColor,g=this.state.tabName,f=this.changeState;return wp.element.createElement(x,null,wp.element.createElement(k.a,{state:g,stateName:"tabName",onChangeTab:f,tabs:["general","style","advanced"]}),"general"===g&&wp.element.createElement(j,null,this.renderGeneralSettings()),"style"===g&&wp.element.createElement(j,null,wp.element.createElement(B,null,wp.element.createElement(D,{label:Object(y.__)("Overlay Opacity","getwid"),value:n,onChange:function(e){return l({backgroundOpacity:e})},min:0,max:100,step:5}),wp.element.createElement(O.a,{colorSettings:[{title:Object(y.__)("Text Color","getwid"),colors:{customColor:m,defaultColor:p},changeColor:s},{title:Object(y.__)("Overlay Color","getwid"),colors:{customColor:d,defaultColor:u},changeColor:c}]}))),"advanced"===g&&wp.element.createElement(B,{title:Object(y.__)("Animation","getwid"),initialOpen:!0},wp.element.createElement(L,{label:Object(y.__)("Block Animation","getwid"),value:r,onChange:function(e){return l({blockAnimation:e})},options:[{value:"none",label:Object(y.__)("None","getwid")},{value:"style1",label:Object(y.__)("Aries","getwid")},{value:"style2",label:Object(y.__)("Taurus","getwid")},{value:"style3",label:Object(y.__)("Gemini","getwid")},{value:"style4",label:Object(y.__)("Cancer","getwid")},{value:"style5",label:Object(y.__)("Leo","getwid")},{value:"style6",label:Object(y.__)("Virgo","getwid")}]}),wp.element.createElement(L,{label:Object(y.__)("Text Animation","getwid"),value:o,onChange:function(e){return l({textAnimation:e})},options:[{value:"none",label:Object(y.__)("None","getwid")},{value:"opacity",label:Object(y.__)("Fade In","getwid")},{value:"opacity-top",label:Object(y.__)("Fade In Up","getwid")},{value:"opacity-bottom",label:Object(y.__)("Fade In Down","getwid")},{value:"opacity-left",label:Object(y.__)("Fade In Left","getwid")},{value:"opacity-right",label:Object(y.__)("Fade In Right","getwid")},{value:"opacity-zoom-in",label:Object(y.__)("Zoom In","getwid")},{value:"opacity-zoom-out",label:Object(y.__)("Zoom Out","getwid")}]}),wp.element.createElement(M,{className:"getwid-editor-url-input",label:Object(y.__)("Link","getwid")},wp.element.createElement(R,{autoFocus:!1,value:t,onChange:function(e){return l({link:e})}})),wp.element.createElement(I,{label:Object(y.__)("Link Rel","getwid"),value:i||"",onChange:this.onSetLinkRel})))}},{key:"renderGeneralSettings",value:function(){var e=function(e){void 0!==m&&(d({imageSize:e}),p(m,e))},t=this.props.attributes,n=t.imageSize,r=t.id,o=t.url,i=t.type,a=t.minHeight,l=t.contentMaxWidth,c=t.verticalAlign,s=t.horizontalAlign,u=this.props,p=u.changeImageSize,d=u.setAttributes,m=u.imgObj,g=u.onSelectMedia;return wp.element.createElement(B,{title:Object(y.__)("Settings","getwid"),initialOpen:!0},!o&&wp.element.createElement(P,{icon:"format-image",labels:{title:Object(y.__)("Image","getwid"),instructions:Object(y.__)("Upload an image file, pick one from your media library, or add one with a URL.","getwid")},onSelect:g,accept:"image/*",allowedTypes:z}),o&&wp.element.createElement(T,{onSelect:g,allowedTypes:z,value:r,render:function(e){var t=e.open;return wp.element.createElement(M,null,!!o&&"video"!=i&&wp.element.createElement("div",{onClick:t,className:"getwid-background-image-wrapper"},wp.element.createElement("img",{src:o})),!!o&&"video"==i&&wp.element.createElement(j,null,wp.element.createElement("video",{controls:!0},wp.element.createElement("source",{src:o,type:"video/mp4"}),wp.element.createElement("span",null,Object(y.__)("Your browser does not support the video tag.","getwid")))),wp.element.createElement(A,{isPrimary:!0,onClick:t},"image"==i&&wp.element.createElement(j,null,!r&&Object(y.__)("Select Image","getwid"),!!r&&Object(y.__)("Replace Image","getwid")),"video"==i&&wp.element.createElement(j,null,!r&&Object(y.__)("Select Video","getwid"),!!r&&Object(y.__)("Replace Video","getwid"))))}}),m&&"image"==i&&wp.element.createElement(L,{label:Object(y.__)("Image Size","getwid"),help:Object(y.__)("For images from Media Library only.","getwid"),value:n,onChange:e,options:Getwid.settings.image_sizes}),wp.element.createElement(L,{label:Object(y.__)("Text Horizontal Alignment","getwid"),value:s||"center",onChange:function(e){return d({horizontalAlign:e})},options:[{value:"left",label:Object(y.__)("Left","getwid")},{value:"center",label:Object(y.__)("Center","getwid")},{value:"right",label:Object(y.__)("Right","getwid")}]}),wp.element.createElement(L,{label:Object(y.__)("Text Vertical Alignment","getwid"),value:c||"center",onChange:function(e){return d({verticalAlign:e})},options:[{value:"top",label:Object(y.__)("Top","getwid")},{value:"center",label:Object(y.__)("Middle","getwid")},{value:"bottom",label:Object(y.__)("Bottom","getwid")}]}),wp.element.createElement(_.a,{label:Object(y.__)("Block Height","getwid"),value:a,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return d({minHeight:e})}}),wp.element.createElement(_.a,{label:Object(y.__)("Text Width","getwid"),value:l,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return d({contentMaxWidth:e})}}))}}]),t}(C)},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(8)),h=n.n(w),v=window,y=(v.jQuery,wp.data.select,wp.element),_=y.Component,k=y.Fragment,O=wp.blocks,E=(O.registerBlockType,O.createBlock,wp.blockEditor||wp.editor),C=E.RichText,j=E.getColorClassName,S="wp-block-getwid-banner",x=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.id,r=t.url,o=t.type,a=t.title,l=t.text,c=t.link,s=t.align,u=t.minHeight,p=t.contentMaxWidth,d=t.verticalAlign,m=t.horizontalAlign,g=t.rel,f=t.linkTarget,b=t.backgroundColor,w=t.textColor,v=t.customBackgroundColor,y=t.customTextColor,_=t.backgroundOpacity,O=t.blockAnimation,E=t.textAnimation,x=t.className,P=j("color",w),T=j("background-color",b),R={className:h()("".concat(S,"__wrapper"),i()({"has-background":b||v},T,T)),style:{backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor}},N={className:h()("".concat(S,"__caption"),i()({"has-text-color":w||y},P,P)),style:{color:void 0!==w?void 0:y,minHeight:u}},A={className:h()(x,(e={},i()(e,"has-animation-".concat(O),"none"!=O),i()(e,"has-text-animation-".concat(E),"none"!=E),i()(e,"has-foreground-".concat(_),35!=_),i()(e,"has-vertical-alignment-".concat(d),"center"!=d),i()(e,"has-horizontal-alignment-".concat(m),"center"!=m),e),s?"align".concat(s):null)};return wp.element.createElement("div",A,wp.element.createElement("a",{href:void 0!==c?c:"#",target:f,rel:g,className:"".concat(S,"__link")},!!r&&wp.element.createElement("div",R,"video"===o&&r?wp.element.createElement("video",{className:"".concat(S,"__video ").concat(S,"__source"),autoPlay:!0,muted:!0,loop:!0,src:r}):wp.element.createElement("img",{src:r,alt:"",className:"".concat(S,"__image ").concat(S,"__source ")+(n?"wp-image-".concat(n):"")}),wp.element.createElement(k,null,wp.element.createElement("div",N,wp.element.createElement("div",{style:{maxWidth:p},className:"".concat(S,"__caption-wrapper")},!C.isEmpty(a)&&wp.element.createElement(C.Content,{tagName:"span",className:"".concat(S,"__title"),value:a}),!C.isEmpty(l)&&wp.element.createElement(C.Content,{tagName:"p",className:"".concat(S,"__text"),value:l})))))))}}]),t}(_);t.a=x},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(8)),h=n.n(w),v=window,y=(v.jQuery,wp.data.select,wp.element),_=y.Component,k=y.Fragment,O=wp.blocks,E=(O.registerBlockType,O.createBlock,wp.blockEditor||wp.editor),C=E.RichText,j=E.getColorClassName,S="wp-block-getwid-banner",x=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.videoAutoplay,r=t.id,o=t.url,a=t.type,l=t.title,c=t.text,s=t.link,u=t.align,p=t.minHeight,d=t.contentMaxWidth,m=t.verticalAlign,g=t.horizontalAlign,f=t.rel,b=t.linkTarget,w=t.backgroundColor,v=t.textColor,y=t.customBackgroundColor,_=t.customTextColor,O=t.backgroundOpacity,E=t.blockAnimation,x=t.textAnimation,P=t.className,T=j("color",v),R=j("background-color",w),N={className:h()("".concat(S,"__wrapper"),i()({"has-background":w||y},R,R)),style:{backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor}},A={className:h()("".concat(S,"__caption"),i()({"has-text-color":v||_},T,T)),style:{color:void 0!==v?void 0:_,minHeight:p}},M={className:h()(P,(e={},i()(e,"has-animation-".concat(E),"none"!=E),i()(e,"has-text-animation-".concat(x),"none"!=x),i()(e,"has-foreground-".concat(O),35!=O),i()(e,"has-vertical-alignment-".concat(m),"center"!=m),i()(e,"has-horizontal-alignment-".concat(g),"center"!=g),e),u?"align".concat(u):null)};return wp.element.createElement("div",M,wp.element.createElement("a",{href:void 0!==s?s:"#",target:b,rel:f,className:"".concat(S,"__link")},!!o&&wp.element.createElement("div",N,"video"===a&&o?wp.element.createElement("video",{className:"".concat(S,"__video ").concat(S,"__source"),autoPlay:n,muted:!0,loop:!0,src:o}):wp.element.createElement("img",{src:o,alt:"",className:"".concat(S,"__image ").concat(S,"__source ")+(r?"wp-image-".concat(r):null)}),wp.element.createElement(k,null,wp.element.createElement("div",A,wp.element.createElement("div",{style:{maxWidth:d},className:"".concat(S,"__caption-wrapper")},!C.isEmpty(l)&&wp.element.createElement(C.Content,{tagName:"span",className:"".concat(S,"__title"),value:l}),!C.isEmpty(c)&&wp.element.createElement(C.Content,{tagName:"p",className:"".concat(S,"__text"),value:c})))))))}}]),t}(_);t.a=x},function(e,t,n){"use strict";n(188),n(195)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(1)),c=(n.n(l),n(61)),s=n(191),u=n(192),p=n(193),d=n(12),m=n(194),g=wp.components,f=(g.SVG,g.Path,wp.data.select),b=wp.blocks.createBlock,w=wp.blocks.registerBlockType,h="wp-block-getwid-tabs";w("getwid/tabs",o(o({title:Object(l.__)("Tabs","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M17,2H10V0H0V24H24V2ZM10,4h5V6H10ZM22,22H2V2H8V8H22ZM22,6H17V4h5Z"})),category:"getwid-blocks",supports:{align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/tabs")},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},deprecated:[{attributes:u.a,migrate:function(e,t){return[{align:e.align,active:e.active,type:e.iconPosition,headerTag:e.headerTag},e.items.map(function(t,n){return b("getwid/tabs-item",{title:e.titles[n].content},[b("core/paragraph",{placeholder:Object(l.__)("Write heading…","getwid"),content:t.content})])})]},save:function(e){return wp.element.createElement(p.a,o(o({},e),{},{baseClass:h}))}}],transforms:{to:[{type:"block",blocks:["getwid/toggle"],transform:function(){var e=f("core/editor"),t=e.getBlock,n=e.getSelectedBlockClientId,r=n(),o=t(r).attributes,i=t(r).innerBlocks;if(i.length)return b("getwid/toggle",{align:o.align,headerTag:o.headerTag},i.map(function(e,t){return b("getwid/toggle-item",{title:e.attributes.title,active:t==parseInt(o.active,10)},e.innerBlocks)}))}},{type:"block",blocks:["getwid/accordion"],transform:function(){var e=f("core/editor"),t=e.getBlock,n=e.getSelectedBlockClientId,r=n(),o=t(r).attributes,i=t(r).innerBlocks;if(i.length)return b("getwid/accordion",{align:o.align,active:o.active,headerTag:o.headerTag},i.map(function(e,t){return b("getwid/accordion-item",{title:e.attributes.title},e.innerBlocks)}))}}]},attributes:s.a},Object(d.b)("getwid/tabs",function(e){return wp.element.createElement(c.b,o(o({},e),{},{baseClass:h}))})),{},{save:function(e){return wp.element.createElement(m.a,o(o({},e),{},{baseClass:h}))}}))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),n(10)),b=(n.n(f),n(12)),w=wp.element.Component,h=wp.editor.InspectorControls,v=wp.components,y=v.PanelBody,_=v.SelectControl,k=(v.BaseControl,v.CheckboxControl,window),O=k.jQuery,E=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.active,n=e.headerTag,r=e.type,o=this.props,i=o.setAttributes,a=o.getState,l=(o.changeState,this.props),c=l.clientId,s=l.getBlock,u=(l.updateBlockAttributes,a("selectedTab"),s(c));if(u&&u.innerBlocks,!u)return wp.element.createElement(h,null);var p=[];O.each(u.innerBlocks,function(e,t){var n={};n.content=t.attributes.title,p.push(n)});var d=Object(b.d)(p);return wp.element.createElement(h,null,wp.element.createElement(y,{title:Object(g.__)("Settings","getwid")},wp.element.createElement(_,{label:Object(g.__)("Title Tag","getwid"),value:n,options:[{value:"span",label:Object(g.__)("Paragraph","getwid")},{value:"h2",label:Object(g.__)("Heading 2","getwid")},{value:"h3",label:Object(g.__)("Heading 3","getwid")},{value:"h4",label:Object(g.__)("Heading 4","getwid")},{value:"h5",label:Object(g.__)("Heading 5","getwid")},{value:"h6",label:Object(g.__)("Heading 6","getwid")}],onChange:function(e){return i({headerTag:e})}}),wp.element.createElement(_,{label:Object(g.__)("Layout","getwid"),value:r,options:[{value:"",label:Object(g.__)("Horizontal Left","getwid")},{value:"horizontal-center",label:Object(g.__)("Horizontal Center","getwid")},{value:"horizontal-right",label:Object(g.__)("Horizontal Right","getwid")},{value:"vertical-left",label:Object(g.__)("Vertical Left","getwid")},{value:"vertical-right",label:Object(g.__)("Vertical Right","getwid")}],onChange:function(e){return i({type:e})}}),wp.element.createElement(_,{label:Object(g.__)("Active by default","getwid"),value:t,options:Object(f.times)(u.innerBlocks.length,function(e){return{value:e,label:d[e].length>30?d[e].substr(0,30)+"...":d[e]}}),onChange:function(e){i({active:e})}})))}}]),t}(w);t.a=E},function(e,t){},function(e,t,n){"use strict";var r={align:{type:"string"},active:{type:"string",source:"attribute",selector:".wp-block-getwid-tabs",attribute:"data-active-tab"},type:{type:"string",default:""},headerTag:{type:"string",default:"span"}};t.a=r},function(e,t,n){"use strict";var r={align:{type:"string"},titles:{type:"array",selector:".wp-block-getwid-tabs__title",source:"query",query:{content:{type:"string",source:"html"}},default:[]},items:{type:"array",source:"query",selector:".wp-block-getwid-tabs__tab-content",query:{content:{type:"string",source:"html"}},default:[]},active:{type:"string",source:"attribute",selector:".wp-block-getwid-tabs",attribute:"data-active-tab"},type:{type:"string",default:""},headerTag:{type:"string",default:"span"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(8)),w=n.n(b),h=n(62),v=(n.n(h),n(1)),y=(n.n(v),window),_=(y.jQuery,wp.element),k=_.Component,O=(_.Fragment,wp.editor.RichText),E="wp-block-getwid-tabs",C=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.titles,n=e.items,r=e.type,o=e.active,a=e.headerTag,l=e.className,c=a;return wp.element.createElement("div",{className:w()(l,i()({},"has-layout-".concat(r),""!==r)),"data-active-tab":o},wp.element.createElement("ul",{className:"".concat(E,"__nav-links")},t.map(function(e,t){return wp.element.createElement("li",{className:"".concat(E,"__nav-link"),key:t},wp.element.createElement(c,{className:"".concat(E,"__title-wrapper")},wp.element.createElement("a",{href:"#tab-".concat(t)},wp.element.createElement(O.Content,{tagName:"span",className:"".concat(E,"__title"),value:e.content}))))})),n.map(function(e,t){return wp.element.createElement("div",{id:"tab-".concat(t),className:"".concat(E,"__tab-content"),key:t},wp.element.createElement(O.Content,{value:e.content}))}))}}]),t}(k);t.a=C},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(8)),w=n.n(b),h=n(62),v=(n.n(h),wp.blockEditor||wp.editor),y=v.InnerBlocks,_=wp.element.Component,k=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.align,r=t.active,o=t.type,a=e.baseClass,l=this.props.className;return wp.element.createElement("div",{className:w()(l,i()({},"has-layout-".concat(o),""!==o),n?"align".concat(n):null),"data-active-tab":void 0!=r?r:"0"},wp.element.createElement("ul",{className:"".concat(a,"__nav-links")}),wp.element.createElement(y.Content,null))}}]),t}(_);t.a=k},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(196)),c=n(198),s=n(199),u=n(61),p=n(1),d=(n.n(p),wp.blocks.registerBlockType);d("getwid/tabs-item",{title:Object(p.__)("Tabs Item","getwid"),category:"getwid-blocks",parent:["getwid/tabs"],supports:{multiple:!0,reusable:!1,html:!1},attributes:c.a,edit:function(e){return wp.element.createElement(u.a,null,function(t){var n=t.updateParentOptions,r=t.getState;return wp.element.createElement(l.a,o(o(o(o({},e),{updateParentOptions:n}),{getParentState:r}),{},{baseClass:"wp-block-getwid-tabs-item"}))})},save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:"wp-block-getwid-tabs-item"}))}})},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(1)),_=(n.n(y),n(8)),k=n.n(_),O=n(197),E=wp.compose.compose,C=wp.data.withSelect,j=wp.element,S=j.Component,x=j.Fragment,P=wp.blockEditor||wp.editor,T=P.InnerBlocks,R=(P.RichText,window),N=R.jQuery,A=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.state={rootClientId:e.setRootId()},e}f()(t,e);var n=i(t);return m()(t,[{key:"setRootId",value:function(){var e=this.props,t=e.clientId;return(0,e.getBlockRootClientId)(t)}},{key:"render",value:function(){var e=this.props,t=e.className,n=(e.baseClass,e.getBlock),r=(e.clientId,e.getParentState,this.state.rootClientId),i=(n(r).attributes.headerTag,{className:k()(t,{})});return wp.element.createElement(x,null,wp.element.createElement(O.a,l()({},o({},this.props),{key:"inspector"})),wp.element.createElement("div",i,wp.element.createElement("div",{className:"wp-block-getwid-tabs__content"},wp.element.createElement(T,{templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/paragraph",{placeholder:Object(y.__)("Write text…","getwid")}]]}))))}},{key:"componentDidUpdate",value:function(e,t){}},{key:"componentDidMount",value:function(){var e=this.props.updateParentOptions,t=this.props,n=t.getBlock,r=t.clientId,o=t.getParentState,i=this.state.rootClientId,a=n(i).innerBlocks;N("#block-".concat(r));n(i).innerBlocks[a.length-1].clientId==r?e("init"):o("initNavs")&&e("update")}},{key:"componentWillUnmount",value:function(){(0,this.props.updateParentOptions)("update")}}]),t}(S);t.a=E([C(function(e,t){var n=e("core/editor");return{getBlock:n.getBlock,getEditorSettings:n.getEditorSettings,getBlockRootClientId:n.getBlockRootClientId}})])(A)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),wp.element.Component),b=wp.blockEditor||wp.editor,w=b.InspectorControls,h=wp.components,v=h.Button,y=h.PanelBody,_=wp.data.dispatch,k=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=(e.setAttributes,e.clientId),n=e.getBlock,r=e.getBlockRootClientId,o=_("core/editor"),i=o.selectBlock;return n(t)?wp.element.createElement(w,null,wp.element.createElement(y,null,wp.element.createElement(v,{isPrimary:!0,onClick:function(e){i(r(t))}},Object(g.__)("Select Parent","getwid")))):wp.element.createElement(w,null)}}]),t}(f);t.a=k},function(e,t,n){"use strict";var r={outerParent:{type:"object"},title:{type:"string",source:"html",selector:".wp-block-getwid-tabs__title"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=n.n(g),b=wp.blockEditor||wp.editor,w=b.RichText,h=wp.blockEditor||wp.editor,v=h.InnerBlocks,y=wp.element,_=y.Component,k=y.Fragment,O=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=(e.baseClass,this.props.attributes),r=n.outerParent,o=n.title,i=(f()(t,{}),r?r.attributes.headerTag:"span");return wp.element.createElement(k,null,wp.element.createElement("li",{className:"wp-block-getwid-tabs__nav-link"},o&&wp.element.createElement(i,{className:"wp-block-getwid-tabs__title-wrapper"},wp.element.createElement("a",{href:"#"},wp.element.createElement(w.Content,{tagName:"span",className:"wp-block-getwid-tabs__title",value:o})))),wp.element.createElement("div",{className:"wp-block-getwid-tabs__tab-content"},wp.element.createElement(v.Content,null)))}}]),t}(_);t.a=O},function(e,t,n){"use strict";n(201),n(208)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(1)),c=(n.n(l),n(63)),s=n(204),u=n(205),p=n(206),d=n(12),m=n(207),g=wp.components,f=g.SVG,b=g.Path,w=wp.data.select,h=wp.blocks.createBlock,v=wp.blocks.registerBlockType,y="wp-block-getwid-accordion";v("getwid/accordion",o(o({title:Object(l.__)("Accordion","getwid"),icon:wp.element.createElement(f,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("g",null,wp.element.createElement(b,{d:"M0,0v6h24V0H0z M22,4H2V2h20V4z"})),wp.element.createElement("g",null,wp.element.createElement(b,{d:"M0,18v6h24v-6H0z M22,22H2v-2h20V22z"})),wp.element.createElement("g",null,wp.element.createElement(b,{d:"M0,8v8h24V8H0z M22,14H2v-4h20V14z"}))),category:"getwid-blocks",supports:{align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/accordion")},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},deprecated:[{attributes:u.a,migrate:function(e,t){return[{align:e.align,active:e.active,iconPosition:e.iconPosition,iconOpen:e.iconOpen,iconClose:e.iconClose,headerTag:e.headerTag},e.items.map(function(t,n){return h("getwid/accordion-item",{title:e.titles[n].content},[h("core/paragraph",{placeholder:Object(l.__)("Write heading…","getwid"),content:t.content})])})]},save:function(e){return wp.element.createElement(p.a,o(o({},e),{},{baseClass:y}))}}],transforms:{to:[{type:"block",blocks:["getwid/toggle"],transform:function(){var e=w("core/editor"),t=e.getBlock,n=e.getSelectedBlockClientId,r=n(),o=t(r).attributes,i=t(r).innerBlocks;if(i.length)return h("getwid/toggle",{align:o.align,iconPosition:o.iconPosition,iconOpen:o.iconOpen,iconClose:o.iconClose,headerTag:o.headerTag},i.map(function(e,t){return h("getwid/toggle-item",{title:e.attributes.title,active:t==parseInt(o.active,10)},e.innerBlocks)}))}},{type:"block",blocks:["getwid/tabs"],transform:function(){var e=w("core/editor"),t=e.getBlock,n=e.getSelectedBlockClientId,r=n(),o=t(r).attributes,i=t(r).innerBlocks;if(i.length)return h("getwid/tabs",{align:o.align,active:o.active,headerTag:o.headerTag},i.map(function(e,t){return h("getwid/tabs-item",{title:e.attributes.title},e.innerBlocks)}))}}]},attributes:s.a},Object(d.b)("getwid/accordion",function(e){return wp.element.createElement(c.b,o(o({},e),{},{baseClass:y}))})),{},{save:function(e){return wp.element.createElement(m.a,o(o({},e),{},{baseClass:y}))}}))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(10)),h=(n.n(w),n(18)),v=n(12),y=wp.element.Component,_=wp.editor.InspectorControls,k=wp.components,O=k.PanelBody,E=k.SelectControl,C=k.BaseControl,j=(k.CheckboxControl,window),S=j.jQuery,x=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.iconPosition,n=e.iconOpen,r=e.iconClose,o=e.active,a=e.headerTag,l=this.props.setAttributes,c=this.props,s=c.clientId,u=c.getBlock,p=u(s);if(!p)return wp.element.createElement(_,null);var d=[];S.each(p.innerBlocks,function(e,t){var n={};n.content=t.attributes.title,d.push(n)});var m=Object(v.d)(d);return wp.element.createElement(_,null,wp.element.createElement(O,{title:Object(b.__)("Settings","getwid")},wp.element.createElement(C,{label:Object(b.__)("Icon","getwid")},wp.element.createElement(h.a,{value:r,onChange:function(e){return l({iconClose:e})}})),wp.element.createElement(C,{label:Object(b.__)("Active Icon","getwid")},wp.element.createElement(h.a,{value:n,onChange:function(e){return l({iconOpen:e})}})),wp.element.createElement(E,{label:Object(b.__)("Icon Position","getwid"),value:t,options:[{value:"left",label:Object(b.__)("Left","getwid")},{value:"right",label:Object(b.__)("Right","getwid")}],onChange:function(e){return l({iconPosition:e})}}),wp.element.createElement(E,{label:Object(b.__)("Title Tag","getwid"),value:a,options:[{value:"span",label:Object(b.__)("Paragraph","getwid")},{value:"h2",label:Object(b.__)("Heading 2","getwid")},{value:"h3",label:Object(b.__)("Heading 3","getwid")},{value:"h4",label:Object(b.__)("Heading 4","getwid")},{value:"h5",label:Object(b.__)("Heading 5","getwid")},{value:"h6",label:Object(b.__)("Heading 6","getwid")}],onChange:function(e){return l({headerTag:e})}}),wp.element.createElement(E,{label:Object(b.__)("Active by default","getwid"),value:o,options:[{value:"none",label:Object(b.__)("None","getwid")}].concat(i()(Object(w.times)(p.innerBlocks.length,function(e){return{value:e,label:m[e].length>30?m[e].substr(0,30)+"...":m[e]}}))),onChange:function(e){l({active:e})}})))}}]),t}(y);t.a=x},function(e,t){},function(e,t,n){"use strict";var r={align:{type:"string"},active:{type:"string",source:"attribute",selector:".wp-block-getwid-accordion",attribute:"data-active-element",default:"none"},iconPosition:{type:"string",default:"left"},iconOpen:{type:"string",source:"attribute",selector:".wp-block-getwid-accordion__icon.is-passive i",attribute:"class",default:"fas fa-minus"},iconClose:{type:"string",source:"attribute",selector:".wp-block-getwid-accordion__icon.is-active i",attribute:"class",default:"fas fa-plus"},headerTag:{type:"string",default:"span"}};t.a=r},function(e,t,n){"use strict";var r={align:{type:"string"},titles:{type:"array",selector:".wp-block-getwid-accordion__header-title",source:"query",query:{content:{type:"string",source:"html"}},default:[]},items:{type:"array",source:"query",selector:".wp-block-getwid-accordion__content",query:{content:{type:"string",source:"html"}},default:[]},active:{type:"string",source:"attribute",selector:".wp-block-getwid-accordion",attribute:"data-active-element",default:"0"},iconPosition:{type:"string",default:"left"},iconOpen:{type:"string",source:"attribute",selector:".wp-block-getwid-accordion__icon.is-passive i",attribute:"class",default:"fas fa-minus"},iconClose:{type:"string",source:"attribute",selector:".wp-block-getwid-accordion__icon.is-active i",attribute:"class",default:"fas fa-plus"},headerTag:{type:"string",default:"span"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=n.n(g),b=n(64),w=(n.n(b),n(1)),h=(n.n(w),window),v=(h.jQuery,wp.element),y=v.Component,_=v.Fragment,k=wp.editor.RichText,O="wp-block-getwid-accordion",E=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.titles,n=e.items,r=e.iconPosition,o=e.iconOpen,i=e.iconClose,a=e.active,l=e.headerTag,c=e.className,s=l;return wp.element.createElement("div",{className:f()(c,{"has-icon-left":"left"===r}),"data-active-element":void 0!=a?a:"0"},t.map(function(e,t){return wp.element.createElement(_,null,wp.element.createElement("div",{className:"".concat(O,"__header-wrapper"),key:"header"},wp.element.createElement(s,{className:"".concat(O,"__header")},wp.element.createElement("a",{href:"#"},wp.element.createElement(k.Content,{tagName:"span",className:"".concat(O,"__header-title"),value:e.content}),wp.element.createElement("span",{className:"".concat(O,"__icon is-active")},wp.element.createElement("i",{className:i})),wp.element.createElement("span",{className:"".concat(O,"__icon is-passive")},wp.element.createElement("i",{className:o}))))),wp.element.createElement("div",{className:"".concat(O,"__content"),key:"content"},wp.element.createElement(k.Content,{value:n[t].content})))}))}}]),t}(y);t.a=E},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=n.n(g),b=n(64),w=(n.n(b),wp.blockEditor||wp.editor),h=w.InnerBlocks,v=wp.element.Component,y=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.iconPosition,r=e.active,o=this.props.className;return wp.element.createElement("div",{className:f()(o,{"has-icon-left":"left"===n},t?"align".concat(t):null),"data-active-element":void 0!=r?r:"none"},wp.element.createElement(h.Content,null))}}]),t}(v);t.a=y},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(209)),c=n(211),s=n(212),u=n(63),p=n(1),d=(n.n(p),wp.blocks.registerBlockType),m="wp-block-getwid-accordion-item";d("getwid/accordion-item",{title:Object(p.__)("Accordion Item","getwid"),category:"getwid-blocks",parent:["getwid/accordion"],supports:{multiple:!0,reusable:!1,html:!1},attributes:c.a,edit:function(e){return wp.element.createElement(u.a,null,function(t){var n=t.updateParentOptions;return wp.element.createElement(l.a,o(o(o({},e),{updateParentOptions:n}),{},{baseClass:m}))})},save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:m}))}})},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(1)),_=(n.n(y),n(8)),k=n.n(_),O=n(210),E=wp.compose.compose,C=wp.data.withSelect,j=wp.element,S=j.Component,x=j.Fragment,P=wp.blockEditor||wp.editor,T=P.InnerBlocks,R=P.RichText,N=window,A=N.jQuery,M=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],B=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.state={rootClientId:e.setRootId()},e}f()(t,e);var n=i(t);return m()(t,[{key:"setRootId",value:function(){var e=this.props,t=e.clientId;return(0,e.getBlockRootClientId)(t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=(t.baseClass,t.getBlock),i=this.state.rootClientId,a=r(i).attributes,c=a.headerTag,s=a.iconOpen,u=a.iconClose,p={className:k()(n,{})},d=c;return wp.element.createElement(x,null,wp.element.createElement(O.a,l()({},o({},this.props),{key:"inspector"})),wp.element.createElement("div",p,wp.element.createElement("div",{className:"wp-block-getwid-accordion__header-wrapper",key:"header"},wp.element.createElement(d,{className:"wp-block-getwid-accordion__header"},wp.element.createElement("a",{href:"#"},wp.element.createElement("div",{className:"wp-block-getwid-accordion__edit-area"},wp.element.createElement(R,{tagName:"span",className:"wp-block-getwid-accordion__header-title",placeholder:Object(y.__)("Write heading…","getwid"),value:this.props.attributes.title,onChange:function(t){return e.props.setAttributes({title:t})},keepPlaceholderOnFocus:!0,allowedFormats:M})),wp.element.createElement("span",{className:"wp-block-getwid-accordion__icon is-active"},wp.element.createElement("i",{className:u})),wp.element.createElement("span",{className:"wp-block-getwid-accordion__icon is-passive"},wp.element.createElement("i",{className:s}))))),wp.element.createElement("div",{className:"wp-block-getwid-accordion__content-wrapper"},wp.element.createElement("div",{className:"wp-block-getwid-accordion__content"},wp.element.createElement(T,{templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/paragraph",{placeholder:Object(y.__)("Write text…","getwid")}]]})))))}},{key:"componentDidMount",value:function(){var e=(this.props.updateParentOptions,this.props.getBlock,this.state.rootClientId,this.props.clientId);A("#block-".concat(e))}}]),t}(S);t.a=E([C(function(e,t){var n=e("core/editor");return{getBlock:n.getBlock,getEditorSettings:n.getEditorSettings,getBlockRootClientId:n.getBlockRootClientId}})])(B)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),wp.element.Component),b=wp.blockEditor||wp.editor,w=b.InspectorControls,h=wp.components,v=h.Button,y=h.PanelBody,_=wp.data.dispatch,k=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=(e.setAttributes,e.clientId),n=e.getBlock,r=e.getBlockRootClientId,o=_("core/editor"),i=o.selectBlock;return n(t)?wp.element.createElement(w,null,wp.element.createElement(y,null,wp.element.createElement(v,{isPrimary:!0,onClick:function(e){i(r(t))}},Object(g.__)("Select Parent","getwid")))):wp.element.createElement(w,null)}}]),t}(f);t.a=k},function(e,t,n){"use strict";var r={outerParent:{type:"object"},title:{type:"string",source:"html",selector:".wp-block-getwid-accordion__header-title"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=(n.n(g),wp.blockEditor||wp.editor),b=f.RichText,w=wp.blockEditor||wp.editor,h=w.InnerBlocks,v=wp.element,y=v.Component,_=v.Fragment,k=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=(e.className,e.baseClass,this.props.attributes),n=t.outerParent,r=t.title,o=n?n.attributes.headerTag:"span",i=n?n.attributes.iconOpen:"fas fa-minus",a=n?n.attributes.iconClose:"fas fa-plus";return wp.element.createElement(_,null,wp.element.createElement("div",{className:"wp-block-getwid-accordion__header-wrapper"},r&&wp.element.createElement(o,{className:"wp-block-getwid-accordion__header"},wp.element.createElement("a",{href:"#"},wp.element.createElement(b.Content,{tagName:"span",className:"wp-block-getwid-accordion__header-title",value:r}),wp.element.createElement("span",{className:"wp-block-getwid-accordion__icon is-active"},wp.element.createElement("i",{className:a})),wp.element.createElement("span",{className:"wp-block-getwid-accordion__icon is-passive"},wp.element.createElement("i",{className:i}))))),wp.element.createElement("div",{className:"wp-block-getwid-accordion__content-wrapper"},wp.element.createElement("div",{className:"wp-block-getwid-accordion__content"},wp.element.createElement(h.Content,null))))}}]),t}(y);t.a=k},function(e,t,n){"use strict";n(214),n(221)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(1)),c=(n.n(l),n(65)),s=n(217),u=n(218),p=n(219),d=n(12),m=n(220),g=wp.components,f=g.SVG,b=g.Path,w=wp.data.select,h=wp.blocks.createBlock,v=window,y=v.jQuery,_=wp.blocks.registerBlockType,k="wp-block-getwid-toggle";_("getwid/toggle",o(o({title:Object(l.__)("Toggle","getwid"),icon:wp.element.createElement(f,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("g",null,wp.element.createElement(b,{d:"M0,0v6h24V0H0z M22,4H2V2h20V4z"})),wp.element.createElement("g",null,wp.element.createElement(b,{d:"M0,18v6h24v-6H0z M22,22H2v-2h20V22z"})),wp.element.createElement("g",null,wp.element.createElement(b,{d:"M0,8v8h24V8H0z M22,14H2v-4h20V14z"}))),category:"getwid-blocks",supports:{align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/toggle")},deprecated:[{attributes:u.a,migrate:function(e,t){return[{align:e.align,active:e.active,iconPosition:e.iconPosition,iconOpen:e.iconOpen,iconClose:e.iconClose,headerTag:e.headerTag},e.items.map(function(t,n){return h("getwid/toggle-item",{title:e.titles[n].content},[h("core/paragraph",{placeholder:Object(l.__)("Write heading…","getwid"),content:t.content})])})]},save:function(e){return wp.element.createElement(p.a,o(o({},e),{},{baseClass:k}))}}],transforms:{to:[{type:"block",blocks:["getwid/accordion"],transform:function(){var e=w("core/editor"),t=e.getBlock,n=e.getSelectedBlockClientId,r=n(),o=t(r).attributes,i=t(r).innerBlocks;if(i.length){var a="none";return y.each(i,function(e,t){if(t.attributes.active)return a=e,!1}),h("getwid/accordion",{align:o.align,active:a,iconPosition:o.iconPosition,iconOpen:o.iconOpen,iconClose:o.iconClose,headerTag:o.headerTag},i.map(function(e,t){return h("getwid/accordion-item",{title:e.attributes.title},e.innerBlocks)}))}}},{type:"block",blocks:["getwid/tabs"],transform:function(){var e=w("core/editor"),t=e.getBlock,n=e.getSelectedBlockClientId,r=n(),o=t(r).attributes,i=t(r).innerBlocks;if(i.length){var a=0;return y.each(i,function(e,t){if(t.attributes.active)return a=e,!1}),h("getwid/tabs",{align:o.align,active:a},i.map(function(e,t){return h("getwid/tabs-item",{title:e.attributes.title},e.innerBlocks)}))}}}]},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},attributes:s.a},Object(d.b)("getwid/toggle",function(e){return wp.element.createElement(c.b,o(o({},e),{},{baseClass:k}))})),{},{save:function(e){return wp.element.createElement(m.a,o(o({},e),{},{baseClass:k}))}}))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),n(10)),b=(n.n(f),n(18)),w=wp.element.Component,h=wp.editor.InspectorControls,v=wp.components,y=v.PanelBody,_=v.SelectControl,k=v.BaseControl,O=(v.CheckboxControl,window),E=(O.jQuery,function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.iconPosition,n=e.iconOpen,r=e.iconClose,o=e.headerTag,i=this.props.setAttributes,a=this.props,l=a.clientId;return(0,a.getBlock)(l)?wp.element.createElement(h,null,wp.element.createElement(y,{title:Object(g.__)("Settings","getwid")},wp.element.createElement(k,{label:Object(g.__)("Icon","getwid")},wp.element.createElement(b.a,{value:r,onChange:function(e){return i({iconClose:e})}})),wp.element.createElement(k,{label:Object(g.__)("Active Icon","getwid")},wp.element.createElement(b.a,{value:n,onChange:function(e){return i({iconOpen:e})}})),wp.element.createElement(_,{label:Object(g.__)("Icon Position","getwid"),value:t,options:[{value:"left",label:Object(g.__)("Left","getwid")},{value:"right",label:Object(g.__)("Right","getwid")}],onChange:function(e){return i({iconPosition:e})}}),wp.element.createElement(_,{label:Object(g.__)("Title Tag","getwid"),value:o,options:[{value:"span",label:Object(g.__)("Paragraph","getwid")},{value:"h2",label:Object(g.__)("Heading 2","getwid")},{value:"h3",label:Object(g.__)("Heading 3","getwid")},{value:"h4",label:Object(g.__)("Heading 4","getwid")},{value:"h5",label:Object(g.__)("Heading 5","getwid")},{value:"h6",label:Object(g.__)("Heading 6","getwid")}],onChange:function(e){return i({headerTag:e})}}))):wp.element.createElement(h,null)}}]),t}(w));t.a=E},function(e,t){},function(e,t,n){"use strict";var r={align:{type:"string"},iconPosition:{type:"string",default:"left"},iconOpen:{type:"string",source:"attribute",selector:".wp-block-getwid-toggle__icon.is-passive i",attribute:"class",default:"fas fa-minus"},iconClose:{type:"string",source:"attribute",selector:".wp-block-getwid-toggle__icon.is-active i",attribute:"class",default:"fas fa-plus"},headerTag:{type:"string",default:"span"}};t.a=r},function(e,t,n){"use strict";var r={align:{type:"string"},titles:{type:"array",selector:".wp-block-getwid-toggle__header-title",source:"query",query:{content:{type:"string",source:"html"}},default:[]},items:{type:"array",source:"query",selector:".wp-block-getwid-toggle__content",query:{content:{type:"string",source:"html"}},default:[]},active:{type:"string",source:"attribute",selector:".wp-block-getwid-toggle",attribute:"data-active-element",default:"false"},iconPosition:{type:"string",default:"left"},iconOpen:{type:"string",source:"attribute",selector:".wp-block-getwid-toggle__icon.is-passive i",attribute:"class",default:"fas fa-minus"},iconClose:{type:"string",source:"attribute",selector:".wp-block-getwid-toggle__icon.is-active i",attribute:"class",default:"fas fa-plus"},headerTag:{type:"string",default:"span"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=n.n(g),b=n(66),w=(n.n(b),n(1)),h=(n.n(w),window),v=(h.jQuery,wp.element),y=v.Component,_=(v.Fragment,wp.editor.RichText),k="wp-block-getwid-toggle",O=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.titles,n=e.items,r=e.iconPosition,o=e.iconOpen,i=e.iconClose,a=e.active,l=e.headerTag,c=e.className,s=l;return wp.element.createElement("div",{className:f()(c,{"has-icon-left":"left"===r}),"data-active-element":a},t.map(function(e,t){return wp.element.createElement("div",{className:"".concat(k,"__row")},wp.element.createElement("div",{className:"".concat(k,"__header-wrapper")},wp.element.createElement(s,{className:"".concat(k,"__header")},wp.element.createElement("a",{href:"#"},wp.element.createElement(_.Content,{tagName:"span",className:"".concat(k,"__header-title"),value:e.content}),wp.element.createElement("span",{className:"".concat(k,"__icon is-active")},wp.element.createElement("i",{className:i})),wp.element.createElement("span",{className:"".concat(k,"__icon is-passive")},wp.element.createElement("i",{className:o}))))),wp.element.createElement("div",{className:"".concat(k,"__content")},wp.element.createElement(_.Content,{value:n[t].content})))}))}}]),t}(y);t.a=O},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=n.n(g),b=n(66),w=(n.n(b),wp.blockEditor||wp.editor),h=w.InnerBlocks,v=wp.element.Component,y=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes.iconPosition,t=this.props.className;return wp.element.createElement("div",{className:f()(t,{"has-icon-left":"left"===e})},wp.element.createElement(h.Content,null))}}]),t}(v);t.a=y},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(222)),c=n(224),s=n(225),u=n(65),p=n(1),d=(n.n(p),wp.blocks.registerBlockType);d("getwid/toggle-item",{title:Object(p.__)("Toggle Item","getwid"),category:"getwid-blocks",parent:["getwid/toggle"],supports:{multiple:!0,reusable:!1,html:!1},attributes:c.a,getEditWrapperProps:function(e){return{"toggle-active-default":e.active?"true":""}},edit:function(e){return wp.element.createElement(u.a,null,function(t){var n=t.updateParentOptions;return wp.element.createElement(l.a,o(o(o({},e),{updateParentOptions:n}),{},{baseClass:"wp-block-getwid-toggle-item"}))})},save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:"wp-block-getwid-toggle-item"}))}})},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(1)),_=(n.n(y),n(8)),k=n.n(_),O=n(223),E=wp.compose.compose,C=wp.data.withSelect,j=wp.element,S=j.Component,x=j.Fragment,P=wp.blockEditor||wp.editor,T=P.InnerBlocks,R=P.RichText,N=window,A=N.jQuery,M=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],B=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.state={rootClientId:e.setRootId()},e}f()(t,e);var n=i(t);return m()(t,[{key:"setRootId",value:function(){var e=this.props,t=e.clientId;return(0,e.getBlockRootClientId)(t)}},{key:"render",value:function(){var e=this,t=this.props,n=(t.className,t.baseClass,t.getBlock),r=this.state.rootClientId,i=n(r).attributes,a=i.headerTag,c=i.iconOpen,s=i.iconClose,u={className:k()("wp-block-getwid-toggle__row",{"is-active":this.props.attributes.active})},p=a;return wp.element.createElement(x,null,wp.element.createElement(O.a,l()({},o({},this.props),{key:"inspector"})),wp.element.createElement("div",u,wp.element.createElement("div",{className:"wp-block-getwid-toggle__header-wrapper",key:"header"},wp.element.createElement(p,{className:"wp-block-getwid-toggle__header"},wp.element.createElement("a",{href:"#"},wp.element.createElement("div",{className:"wp-block-getwid-toggle__edit-area"},wp.element.createElement(R,{tagName:"span",className:"wp-block-getwid-toggle__header-title",placeholder:Object(y.__)("Write heading…","getwid"),value:this.props.attributes.title,allowedFormats:M,onChange:function(t){return e.props.setAttributes({title:t})},keepPlaceholderOnFocus:!0})),wp.element.createElement("span",{className:"wp-block-getwid-toggle__icon is-active"},wp.element.createElement("i",{className:s})),wp.element.createElement("span",{className:"wp-block-getwid-toggle__icon is-passive"},wp.element.createElement("i",{className:c}))))),wp.element.createElement("div",{className:"wp-block-getwid-toggle__content-wrapper"},wp.element.createElement("div",{className:"wp-block-getwid-toggle__content"},wp.element.createElement(T,{templateLock:!1,templateInsertUpdatesSelection:!1,template:[["core/paragraph",{placeholder:Object(y.__)("Write text…","getwid")}]]})))))}},{key:"componentDidMount",value:function(){var e=(this.props.updateParentOptions,this.props.getBlock,this.state.rootClientId,this.props.clientId);A("#block-".concat(e))}}]),t}(S);t.a=E([C(function(e,t){var n=e("core/editor");return{getBlock:n.getBlock,getEditorSettings:n.getEditorSettings,getBlockRootClientId:n.getBlockRootClientId}})])(B)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),wp.element.Component),b=wp.blockEditor||wp.editor,w=b.InspectorControls,h=wp.components,v=h.Button,y=h.PanelBody,_=h.CheckboxControl,k=wp.data.dispatch,O=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes.active,t=this.props,n=t.setAttributes,r=t.clientId,o=t.getBlock,i=t.getBlockRootClientId,a=k("core/editor"),l=a.selectBlock;return o(r)?wp.element.createElement(w,null,wp.element.createElement(y,null,wp.element.createElement(v,{isPrimary:!0,onClick:function(e){l(i(r))}},Object(g.__)("Select Parent","getwid"))),wp.element.createElement(y,{title:Object(g.__)("Settings","getwid")},wp.element.createElement(_,{label:Object(g.__)("Active by default","getwid"),checked:e,onChange:function(e){n({active:e})}}))):wp.element.createElement(w,null)}}]),t}(f);t.a=O},function(e,t,n){"use strict";var r={outerParent:{type:"object"},title:{type:"string",source:"html",selector:".wp-block-getwid-toggle__header-title"},active:{type:"boolean",default:!1}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=n.n(g),b=wp.blockEditor||wp.editor,w=b.RichText,h=wp.blockEditor||wp.editor,v=h.InnerBlocks,y=wp.element,_=y.Component,k=(y.Fragment,function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=(e.className,e.baseClass,this.props.attributes),n=t.outerParent,r=t.title,o=t.active,i=n?n.attributes.headerTag:"span",a=n?n.attributes.iconOpen:"fas fa-minus",l=n?n.attributes.iconClose:"fas fa-plus";return wp.element.createElement("div",{className:f()("wp-block-getwid-toggle__row",{"is-active":o})},wp.element.createElement("div",{className:"wp-block-getwid-toggle__header-wrapper"},r&&wp.element.createElement(i,{className:"wp-block-getwid-toggle__header"},wp.element.createElement("a",{href:"#"},wp.element.createElement(w.Content,{tagName:"span",className:"wp-block-getwid-toggle__header-title",value:r}),wp.element.createElement("span",{className:"wp-block-getwid-toggle__icon is-active"},wp.element.createElement("i",{className:l})),wp.element.createElement("span",{className:"wp-block-getwid-toggle__icon is-passive"},wp.element.createElement("i",{className:a}))))),wp.element.createElement("div",{className:"wp-block-getwid-toggle__content-wrapper"},wp.element.createElement("div",{className:"wp-block-getwid-toggle__content"},wp.element.createElement(v.Content,null))))}}]),t}(_));t.a=k},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(227)),c=n(231),s=n(232),u=n(67),p=n(12),d=n(233),m=(n.n(d),n(10)),g=(n.n(m),n(1)),f=(n.n(g),window),b=(f.jQuery,wp.blocks),w=b.registerBlockType,h=b.createBlock,v=["center","wide","full"];w("getwid/images-stack",o(o({title:Object(g.__)("Image Stack Gallery","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M14,10h8V2H14Zm6-6V8H16V4Z"}),wp.element.createElement("path",{d:"M12,12V0H0V18H7v6H24V12ZM2,16V2h8V16H2Zm20,6H9V18h3V14H22Z"})),keywords:[Object(g.__)("photo","getwid")],supports:{html:!1,inserter:!Getwid.disabled_blocks.includes("getwid/images-stack")},deprecated:[{attributes:u.a,save:s.a}],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(m.every)(e,["align",t])?t:void 0;var n=Object(m.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return h("getwid/images-stack",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){return h("getwid/images-stack",e)}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){return h("core/gallery",e)}},{type:"block",blocks:["getwid/images-slider"],transform:function(e){return h("getwid/images-slider",e)}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,i=e.caption;return h("core/image",{id:t,url:r,alt:o,caption:i,align:n})}):h("core/image",{align:n})}}]},attributes:u.a,getEditWrapperProps:function(e){var t=e.align;if(-1!==v.indexOf(t))return{"data-align":t}}},Object(p.b)("getwid/images-stack",l.a)),{},{save:c.a}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){m()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=S()(e);if(t()){var o=S()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C()(this,n)}}var a=n(9),l=n.n(a),c=n(15),s=n.n(c),u=n(33),p=n.n(u),d=n(7),m=n.n(d),g=n(13),f=n.n(g),b=n(2),w=n.n(b),h=n(4),v=n.n(h),y=n(11),_=n.n(y),k=n(5),O=n.n(k),E=n(6),C=n.n(E),j=n(3),S=n.n(j),x=(n(0),n(1)),P=(n.n(x),n(8)),T=n.n(P),R=n(10),N=(n.n(R),n(67)),A=n(228),M=n(229),B=n(230),D=(n.n(B),wp.element),I=D.Component,L=D.Fragment,z=wp.components,V=z.IconButton,H=z.DropZone,F=z.Toolbar,W=wp.blockEditor||wp.editor,G=W.BlockControls,U=W.MediaUpload,q=W.MediaPlaceholder,Q=W.mediaUpload,K=W.BlockAlignmentToolbar,Y=wp.data.withSelect,J=wp.compose.compose,Z=window,$=(Z.jQuery,["wide","full"]),X=["image"],ee="wp-block-getwid-images-stack",te=function(e,t){var n=Object(R.pick)(e,["id","link","caption"]);return n.original_url=e.url||e.source_url,n.alt=e.alt||e.alt_text,n.url=Object(R.get)(e,["sizes",t,"url"])||Object(R.get)(e,["media_details","sizes",t,"source_url"])||e.url,n},ne=function(e){function t(){var e;return w()(this,t),e=n.apply(this,arguments),e.setImageAttributes=e.setImageAttributes.bind(_()(e)),e.uploadFromFiles=e.uploadFromFiles.bind(_()(e)),e.setAttributes=e.setAttributes.bind(_()(e)),e.addFiles=e.addFiles.bind(_()(e)),e.getState=e.getState.bind(_()(e)),e.onSelectImages=e.onSelectImages.bind(_()(e)),e}O()(t,e);var n=i(t);return v()(t,[{key:"changeState",value:function(e,t){"object"==f()(e)?this.setState(e):"string"==typeof e&&this.setState(m()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onRemoveImage",value:function(e){var t=Object(R.filter)(this.props.attributes.images,function(t,n){return e!=t.url});this.setAttributes({images:t})}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o(o({},e),{},{ids:Object(R.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"onSelectImages",value:function(e){var t=this.props.setAttributes,n=this.props.attributes.imageSize;["full","large","medium","thumbnail"].includes(n)||(p()("imageSize"),n=N.a.imageSize.default,t({imageSize:n})),this.setAttributes({images:e.map(function(e){return te(e,n)})})}},{key:"setImageAttributes",value:function(e,t){var n=this.setAttributes,r=this.props.attributes.images;r[e]&&n({images:[].concat(s()(r.slice(0,e)),[o(o({},r[e]),t)],s()(r.slice(e+1)))})}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this.props.attributes.images||[],n=this.setAttributes,r=this.props.attributes.imageSize;["full","large","medium","thumbnail"].includes(r)||(r=N.a.imageSize.default,n({imageSize:r})),Q({allowedTypes:X,filesList:e,onFileChange:function(e){if(void 0!==e[0].id){var o=e.map(function(e){return te(e,r)});n({images:t.concat(o)})}}})}},{key:"render",value:function(){var e=this,t=this.onSelectImages,n=this.addFiles,r=this.props,i=r.setAttributes,a=r.isSelected,c=r.className,s=this.props.attributes,u=s.align,p=s.images,d=s.stackStyle,g=wp.element.createElement(H,{onFilesDrop:n}),f=wp.element.createElement(L,null,wp.element.createElement(G,null,wp.element.createElement(K,{controls:$,value:u,onChange:function(e){return i({align:e})}}),!!p.length&&wp.element.createElement(F,null,wp.element.createElement(U,{onSelect:t,allowedTypes:X,multiple:!0,gallery:!0,value:p.map(function(e){return e.id}),render:function(e){var t=e.open;return wp.element.createElement(V,{className:"components-toolbar__control",label:Object(x.__)("Edit Gallery","getwid"),icon:"edit",onClick:t})}}))));if(0===p.length)return wp.element.createElement(L,null,f,wp.element.createElement(q,{icon:"format-gallery",className:c,labels:{title:Object(x.__)("Image Stack Gallery","getwid"),instructions:Object(x.__)("Drag images, upload new ones or select files from your library.","getwid")},onSelect:t,accept:"image/*",allowedTypes:X,multiple:!0}));var b=T()(c,m()({},"is-layout-".concat(d),"default"!=d),u?"align".concat(u):null),w=Object(R.chunk)(p,3),h=!!p.length,v=h&&Object(R.some)(p,function(e){return e.id});return wp.element.createElement(L,null,f,wp.element.createElement(A.a,l()({},o({pickRelevantMediaFiles:te},this.props),{key:"inspector"})),wp.element.createElement("div",{className:b},g,wp.element.createElement("div",{className:"".concat(ee,"__wrapper")},w.map(function(t){return wp.element.createElement("div",{className:"".concat(ee,"__chunk")},t.map(function(t,n){return wp.element.createElement("div",{className:"".concat(ee,"__media-wrapper"),key:t.id||t.url},wp.element.createElement("div",{className:"".concat(ee,"__media-inner-wrapper")},wp.element.createElement(M.a,{url:t.url,alt:t.alt,id:t.id,isSelected:a,setAttributes:function(t){return e.setImageAttributes(n,t)}})))}))})),a&&wp.element.createElement(q,{addToGallery:v,isAppender:h,className:"components-form-file-upload",disableMediaButtons:h&&!a,icon:!h&&wp.element.createElement(BlockIcon,{icon:icon}),labels:{title:!h&&Object(x.__)("Gallery"),instructions:!h&&Object(x.__)("Drag images, upload new ones or select files from your library.")},onSelect:t,accept:"image/*",allowedTypes:X,multiple:!0,value:v?p:void 0})))}}]),t}(I);t.a=J([Y(function(e,t){var n=e("core"),r=n.getMedia,o=t.attributes.ids;if(void 0!==o)return{imgObj:o?o.map(function(e){return r(e)}):null}})])(ne)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),window),b=(f.jQuery,wp.element.Component),w=wp.blockEditor||wp.editor,h=w.InspectorControls,v=wp.components,y=v.PanelBody,_=v.SelectControl,k=function(e){function t(e){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=(t.align,t.images,t.ids,t.linkTo),r=t.imageSize,o=t.stackStyle,i=(t.stackOverlap,e.setAttributes),a=e.pickRelevantMediaFiles,l=(e.isSelected,e.className,e.imgObj),c=function(e){l.some(function(e){return void 0===e})||i({imageSize:e,images:l.map(function(t){return a(t,e)})})};return wp.element.createElement(h,null,wp.element.createElement(y,{title:Object(g.__)("Settings","getwid"),initialOpen:!0},0!=l.length&&wp.element.createElement(_,{label:Object(g.__)("Image Size","getwid"),help:Object(g.__)("For images from Media Library only.","getwid"),value:r,onChange:c,options:Getwid.settings.image_sizes}),wp.element.createElement(_,{label:Object(g.__)("Style","getwid"),value:o,onChange:function(e){return i({stackStyle:e})},options:[{value:"default",label:Object(g.__)("Default","getwid")},{value:"alpha",label:Object(g.__)("Alpha","getwid")},{value:"beta",label:Object(g.__)("Beta","getwid")},{value:"gamma",label:Object(g.__)("Gamma","getwid")},{value:"delta",label:Object(g.__)("Delta","getwid")},{value:"epsilon",label:Object(g.__)("Epsilon","getwid")},{value:"zeta",label:Object(g.__)("Zeta","getwid")}]}),wp.element.createElement(_,{label:Object(g.__)("Link to","getwid"),value:n,onChange:function(e){return i({linkTo:e})},options:[{value:"none",label:Object(g.__)("None","getwid")},{value:"attachment",label:Object(g.__)("Attachment Page","getwid")},{value:"media",label:Object(g.__)("Media File","getwid")}]})))}}]),t}(b);t.a=k},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(11),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(10)),h=(n.n(w),wp.data.withSelect),v=wp.blob.isBlobURL,y=wp.components,_=y.Spinner,k=(y.IconButton,wp.element),O=k.Component,E=k.Fragment,C=function(e){function t(){var e;return i()(this,t),e=n.apply(this,arguments),e.bindContainer=e.bindContainer.bind(s()(e)),e}p()(t,e);var n=r(t);return l()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.image,n=e.url;t&&!n&&this.props.setAttributes({url:t.source_url,alt:t.alt_text})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.alt,r=e.id,o=e.linkTo,i=e.link,a=(e.isSelected,Object(w.isEqual)(o,"media")?t:Object(w.isEqual)(o,"attachment")?i:void 0),l=wp.element.createElement(E,null,wp.element.createElement("img",{className:"".concat("wp-block-getwid-images-stack","__media"),src:t,alt:n,"data-id":r,tabIndex:"0"}),v(t)&&wp.element.createElement(_,null));return wp.element.createElement(E,null,a?wp.element.createElement("a",{href:a},l):l)}}]),t}(O);t.a=h(function(e,t){var n=e("core"),r=n.getMedia,o=t.id;return{image:o?r(o):null}})(C)},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(10)),w=(n.n(b),n(1)),h=(n.n(w),n(8)),v=n.n(h),y=window,_=(y.jQuery,wp.element),k=_.Component,O=_.Fragment,E="wp-block-getwid-images-stack",C=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.images,r=(e.ids,e.linkTo),o=(e.imageSize,e.stackStyle),a=(e.stackOverlap,e.className),l=v()(a,i()({},"is-layout-".concat(o),"default"!=o),t?"align".concat(t):null),c=Object(b.chunk)(n,3);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:"".concat(E,"__wrapper")},c.map(function(e,t){return wp.element.createElement("div",{className:"".concat(E,"__chunk")},e.map(function(e){var t;switch(r){case"media":t=e.original_url;break;case"attachment":t=e.link}var n=v()("".concat(E,"__media"),e.id?"wp-image-".concat(e.id):""),o=wp.element.createElement("img",{className:n,src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return wp.element.createElement("div",{key:e.id||e.url,className:"".concat(E,"__media-wrapper")},wp.element.createElement("div",{className:"".concat(E,"__media-inner-wrapper")},wp.element.createElement(O,null,t?wp.element.createElement("a",{href:t},o):o)))}))})))}}]),t}(k);t.a=C},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(10)),w=(n.n(b),n(1)),h=(n.n(w),n(8)),v=n.n(h),y=window,_=(y.jQuery,wp.element),k=_.Component,O=_.Fragment,E="wp-block-getwid-images-stack",C=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.align,n=e.images,r=(e.ids,e.linkTo),o=(e.imageSize,e.stackStyle),a=(e.stackOverlap,e.className),l=v()(a,i()({},"is-layout-".concat(o),"default"!=o),t?"align".concat(t):null),c=Object(b.chunk)(n,3);return wp.element.createElement("div",{className:l},wp.element.createElement("div",{className:"".concat(E,"__wrapper")},c.map(function(e,t){return wp.element.createElement("div",{className:"".concat(E,"__chunk")},e.map(function(e){var t;switch(r){case"media":t=e.original_url;break;case"attachment":t=e.link}var n=v()("".concat(E,"__media"),e.id?"wp-image-".concat(e.id):null),o=wp.element.createElement("img",{className:n,src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link});return wp.element.createElement("div",{key:e.id||e.url,className:"".concat(E,"__media-wrapper")},wp.element.createElement("div",{className:"".concat(E,"__media-inner-wrapper")},wp.element.createElement(O,null,t?wp.element.createElement("a",{href:t},o):o)))}))})))}}]),t}(k);t.a=C},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(235)),c=n(236),s=n(238),u=n(12),p=n(1),d=(n.n(p),window),m=(d.jQuery,wp.blocks.registerBlockType);m("getwid/map",o(o({title:Object(p.__)("Google Maps","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M12,2C8.1,2,5,5.1,5,9c0,3.9,7,13,7,13s7-9.1,7-13C19,5.1,15.9,2,12,2z M6.9,9.1C6.9,6.3,9.2,4,12,4s5.1,2.3,5.1,5.1 c0,2.8-5.1,9.5-5.1,9.5S6.9,11.9,6.9,9.1z"}),wp.element.createElement("circle",{cx:"12",cy:"9",r:"3"})),category:"getwid-blocks",keywords:[],supports:{inserter:!Getwid.disabled_blocks.includes("getwid/map")},attributes:l.a,getEditWrapperProps:function(e){var t=e.blockAlignment;if("full"===t||"wide"===t)return{"data-align":t}}},Object(u.b)("getwid/map",c.a)),{},{save:s.a}))},function(e,t,n){"use strict";var r={mapHeight:{type:"number",default:600},mapCenter:{type:"object",default:{lat:37.9106161839889,lng:25.1221243506071}},mapZoom:{type:"number",default:2},interaction:{type:"string",source:"attribute",default:"cooperative",selector:".wp-block-getwid-map",attribute:"data-interaction"},zoomControl:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},mapStyle:{type:"string",source:"attribute",default:"default",selector:".wp-block-getwid-map",attribute:"data-map-style"},customStyle:{type:"string",source:"attribute",selector:".wp-block-getwid-map",attribute:"data-custom-style"},blockAlignment:{type:"string"},mapMarkers:{type:"string",source:"attribute",selector:".wp-block-getwid-map",attribute:"data-map-markers",default:""}};t.a=r},function(module,__webpack_exports__,__webpack_require__){"use strict";function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(n,!0).forEach(function(t){__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_defineProperty___default()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _createSuper(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_getPrototypeOf___default()(e);if(t()){var o=__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_getPrototypeOf___default()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return __WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_possibleConstructorReturn___default()(this,n)}}var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_extends__=__webpack_require__(9),__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_extends___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_extends__),__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_defineProperty__=__webpack_require__(7),__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_defineProperty___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_defineProperty__),__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_typeof__=__webpack_require__(13),__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_typeof___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_typeof__),__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_classCallCheck__=__webpack_require__(2),__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_classCallCheck___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_classCallCheck__),__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_createClass__=__webpack_require__(4),__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_createClass___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_createClass__),__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized__=__webpack_require__(11),__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized__),__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_inherits__=__webpack_require__(5),__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_inherits___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_inherits__),__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_possibleConstructorReturn__=__webpack_require__(6),__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_possibleConstructorReturn___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7__babel_runtime_helpers_possibleConstructorReturn__),__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_getPrototypeOf__=__webpack_require__(3),__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_getPrototypeOf___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8__babel_runtime_helpers_getPrototypeOf__),__WEBPACK_IMPORTED_MODULE_9__wordpress_element__=__webpack_require__(0),__WEBPACK_IMPORTED_MODULE_10_lodash__=__webpack_require__(10),__WEBPACK_IMPORTED_MODULE_10_lodash___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_lodash__),__WEBPACK_IMPORTED_MODULE_11_classnames__=__webpack_require__(8),__WEBPACK_IMPORTED_MODULE_11_classnames___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_classnames__),__WEBPACK_IMPORTED_MODULE_12__inspector__=__webpack_require__(237),__WEBPACK_IMPORTED_MODULE_13__editor_scss__=__webpack_require__(68),__WEBPACK_IMPORTED_MODULE_13__editor_scss___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_13__editor_scss__),__WEBPACK_IMPORTED_MODULE_14_wp_i18n__=__webpack_require__(1),__WEBPACK_IMPORTED_MODULE_14_wp_i18n___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__),_wp$element=wp.element,Component=_wp$element.Component,Fragment=_wp$element.Fragment,_ref=wp.blockEditor||wp.editor,BlockControls=_ref.BlockControls,BlockAlignmentToolbar=_ref.BlockAlignmentToolbar,_wp$components=wp.components,Button=_wp$components.Button,Toolbar=_wp$components.Toolbar,TextControl=_wp$components.TextControl,_window=window,$=_window.jQuery,baseClass="wp-block-getwid-map",Edit=function(_Component){function Edit(e){var t;return __WEBPACK_IMPORTED_MODULE_3__babel_runtime_helpers_classCallCheck___default()(this,Edit),t=_super.apply(this,arguments),t.changeState=t.changeState.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.getState=t.getState.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.updateArrValues=t.updateArrValues.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.initMapEvents=t.initMapEvents.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.initMarkers=t.initMarkers.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.mapStyles=t.mapStyles.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.cancelMarker=t.cancelMarker.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.onDeleteMarker=t.onDeleteMarker.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.manageGoogleAPIKey=t.manageGoogleAPIKey.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.removeGoogleAPIScript=t.removeGoogleAPIScript.bind(__WEBPACK_IMPORTED_MODULE_5__babel_runtime_helpers_assertThisInitialized___default()(t)),t.state={currentMarker:null,googleApiKey:""!=Getwid.settings.google_api_key?Getwid.settings.google_api_key:"",checkApiKey:""!=Getwid.settings.google_api_key?Getwid.settings.google_api_key:"",mapObj:{},markerArrTemp:[],action:!1,editModal:!1,firstInit:!0},t}__WEBPACK_IMPORTED_MODULE_6__babel_runtime_helpers_inherits___default()(Edit,_Component);var _super=_createSuper(Edit);return __WEBPACK_IMPORTED_MODULE_4__babel_runtime_helpers_createClass___default()(Edit,[{key:"updateArrValues",value:function(e,t){e=function e(t,n){var r={};return Object.keys(t).forEach(function(o){var i;i=null!==t[o]&&"object"===__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_typeof___default()(t[o])?e(t[o],n):n(t[o],o),r[o]=i}),r}(e,function(e,t){return void 0===e&&(e=""),e});var n=this.props,r=n.attributes,o=n.setAttributes,i=r.mapMarkers,a=""!=i?JSON.parse(i):[],l=a.map(function(n,r){return t===r&&(n=Object(__WEBPACK_IMPORTED_MODULE_10_lodash__.merge)(n,e)),n});o({mapMarkers:JSON.stringify(l)})}},{key:"addGoogleAPIScript",value:function(){function e(e){t("firstInit",!0)}var t=this.changeState;this.getState;$("#google_api_js").length?t("firstInit",!0):function(t,n){var r=document.createElement("script");r.type="text/javascript",r.src=t+n,r.id="google_api_js";var o=!1;document.getElementsByTagName("head")[0].appendChild(r),r.onload=r.onreadystatechange=function(){o||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(o=!0,r.onload=r.onreadystatechange=null,e(n))}}("https://maps.googleapis.com/maps/api/js?key=",Getwid.settings.google_api_key)}},{key:"removeGoogleAPIScript",value:function(){var e=$("#google_api_js");e.length&&e.remove();var t=$("script[src*='maps.googleapis.com']");t.length&&$.each(t,function(e,t){$(t).remove()}),window.google={}}},{key:"manageGoogleAPIKey",value:function(e,t){e.preventDefault();var n={action:"get_google_api_key",data:this.getState("checkApiKey"),option:t,nonce:Getwid.nonces.google_api_key};"set"==t?(Getwid.settings.google_api_key=this.getState("checkApiKey"),this.addGoogleAPIScript()):"delete"==t&&(Getwid.settings.google_api_key=""),jQuery.post(Getwid.ajax_url,n,function(e){})}},{key:"enterGoogleAPIKeyForm",value:function(){var e=this;return wp.element.createElement("form",{className:"".concat(baseClass,"__key-form"),onSubmit:function(t){return e.manageGoogleAPIKey(t,"set")}},wp.element.createElement("span",{className:"form-title"},Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Google Maps API key.","getwid")," ",wp.element.createElement("a",{href:"https://developers.google.com/maps/documentation/embed/get-api-key",target:"_blank"},Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Get your key.","getwid"))),wp.element.createElement("div",{className:"form-wrapper"},wp.element.createElement(TextControl,{placeholder:Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Google Maps API Key","getwid"),onChange:function(t){return e.changeState("checkApiKey",t)}}),wp.element.createElement(Button,{isPrimary:!0,type:"submit",disabled:""==this.getState("checkApiKey")||null},Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Save API Key","getwid"))))}},{key:"mapStyles",value:function mapStyles(){var _this$props$attribute=this.props.attributes,mapStyle=_this$props$attribute.mapStyle,customStyle=_this$props$attribute.customStyle;if("object"==__WEBPACK_IMPORTED_MODULE_2__babel_runtime_helpers_typeof___default()(mapStyle))return null;if("custom"!=mapStyle)return stylesArr[mapStyle];try{return eval(customStyle)}catch(e){if(!(e instanceof SyntaxError))throw e;console.error(e.message)}}},{key:"initMap",value:function(){var e,t=this,n=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],arguments.length>1?arguments[1]:void 0),r=this.props,o=r.attributes,i=o.mapCenter,a=o.mapZoom,l=(o.interaction,o.zoomControl),c=o.mapTypeControl,s=o.streetViewControl,u=o.fullscreenControl,p=o.mapMarkers,d=r.clientId,m=(r.className,r.setAttributes,""!=p?JSON.parse(p):[]),g=!Object(__WEBPACK_IMPORTED_MODULE_10_lodash__.isEqual)(this.props.attributes.mapCenter,n.attributes.mapCenter),f=this.initMapEvents,b=this.initMarkers,w=this.onDeleteMarker,h=(this.changeState,this.getState),v=this.mapStyles;1==this.getState("firstInit")?this.waitLoadGoogle=setInterval(function(){if("undefined"!=typeof google){var n=$("[data-block='".concat(d,"']")),r=$(".".concat(baseClass,"__container"),n)[0];n.on("keydown",function(e){46===e.keyCode&&null!==h("currentMarker")&&"drop"!=h("action")&&confirm(Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Delete Marker","getwid"))&&w(h("currentMarker"))}),e=new google.maps.Map(r,{center:i,styles:v(),gestureHandling:"cooperative",zoomControl:l,mapTypeControl:c,streetViewControl:s,fullscreenControl:u,zoom:a}),t.setState({mapObj:e,firstInit:!1}),m.length&&$.each(m,function(t,n){b(!0,!1,t,e)}),f(e),clearInterval(t.waitLoadGoogle)}},1):(e=this.getState("mapObj"),e.setOptions({styles:v(),zoomControl:l,mapTypeControl:c,streetViewControl:s,fullscreenControl:u}),g&&e.panTo(i))}},{key:"initMapEvents",value:function(e){var t=this.props.setAttributes,n=this.updateArrValues,r=this.changeState,o=this.getState,i=new google.maps.Geocoder;e.addListener("click",function(e){if("drop"==o("action")){var t={lat:e.latLng.lat(),lng:e.latLng.lng()};i.geocode({location:t},function(e,t){"OK"===t&&e[0]&&n({description:Object(__WEBPACK_IMPORTED_MODULE_10_lodash__.escape)(e[0].formatted_address)},o("currentMarker"))}),n({coords:t},o("currentMarker")),r("editModal",!0)}else r("currentMarker",null)}),e.addListener("zoom_changed",function(n){t({mapZoom:e.getZoom()})}),e.addListener("dragend",function(n){t({mapCenter:{lat:e.getCenter().lat(),lng:e.getCenter().lng()}})})}},{key:"cancelMarker",value:function(){var e=this.props,t=e.attributes.mapMarkers,n=e.setAttributes,r=""!=t?JSON.parse(t):[],o=this.getState,i=this.changeState,a=r.filter(function(e,t){return t!==o("currentMarker")});i("currentMarker",null),n({mapMarkers:JSON.stringify(a)})}},{key:"initMarkers",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.props,a=i.attributes.mapMarkers,l=(i.className,this.state.markerArrTemp),c=""!=a?JSON.parse(a):[],s=c[r].coords;0==n?(e=new google.maps.Marker({id:r,position:s,map:o,draggable:!0,animation:t?google.maps.Animation.DROP:null}),l.push(e),c[r].bounce&&setTimeout(function(){e.setAnimation(google.maps.Animation.BOUNCE)},2e3)):(e=l[r],e.setPosition(s));var u="";""!=Object(__WEBPACK_IMPORTED_MODULE_10_lodash__.unescape)(c[r].description)&&(u="\n\t\t\t\t<div class='getwid-poi-info-window'>\n\t\t\t\t\t".concat(Object(__WEBPACK_IMPORTED_MODULE_10_lodash__.unescape)(c[r].description),"\n\t\t\t\t</div>\n\t\t\t")),this.attachMessage(r,e,u,c[r].popUpOpen,c[r].popUpMaxWidth,n)}},{key:"attachMessage",value:function(e,t,n,r,o,i){var a,l=this.props,c=(l.className,l.setAttributes,this.getState,this.changeState),s=this.updateArrValues;0==i?(a=new google.maps.InfoWindow({content:n,maxWidth:o}),t.popUp=a):(a=t.popUp,a.setContent(n),a.setOptions({maxWidth:o})),i&&a.close(),r&&a.open(t.get("map"),t),t.addListener("click",function(){""!=a.content&&a.open(t.get("map"),t),c("currentMarker",t.id)}),t.addListener("rightclick",function(){null!==t.getAnimation()?(t.setAnimation(null),s({bounce:!1},t.id)):(t.setAnimation(google.maps.Animation.BOUNCE),s({bounce:!0},t.id))}),t.addListener("dragend",function(e){s({coords:{lat:e.latLng.lat(),lng:e.latLng.lng()}},t.id)})}},{key:"changeState",value:function(e,t){this.setState(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_defineProperty___default()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"componentWillUnmount",value:function(){clearInterval(this.waitLoadGoogle)}},{key:"componentDidMount",value:function(){""!=this.getState("googleApiKey")&&this.addGoogleAPIScript()}},{key:"componentDidUpdate",value:function(e,t){var n=e.attributes.mapMarkers,r=1==this.state.firstInit||!Object(__WEBPACK_IMPORTED_MODULE_10_lodash__.isEqual)(this.props.attributes,e.attributes);""!=Getwid.settings.google_api_key&&r&&this.initMap(!!n.length,e)}},{key:"onAddMarker",value:function(){var e=this.props,t=e.attributes.mapMarkers,n=e.setAttributes,r=""!=t?JSON.parse(t):[],o=r,i=this.changeState;o.push({name:"#"+(o.length+1),description:"",popUpOpen:!1,popUpMaxWidth:250,bounce:!1,coords:{lat:0,lng:0}}),n({mapMarkers:JSON.stringify(o)}),i("currentMarker",1==o.length?0:o.length-1)}},{key:"onDeleteMarker",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.props,n=t.attributes.mapMarkers,r=t.setAttributes,o=""!=n?JSON.parse(n):[],i=this.state.markerArrTemp,a=(this.getState,this.changeState),l=o.filter(function(t,n){return n!==e}),c=i.filter(function(t,n){return n!==e});$.each(c,function(e,t){c[e].id=e}),i[e].setMap(null),a("currentMarker",null),a("markerArrTemp",c),r({mapMarkers:JSON.stringify(l)})}},{key:"render",value:function(){var e=this;if(""==Getwid.settings.google_api_key)return this.enterGoogleAPIKeyForm();var t=this.props,n=t.attributes,r=n.mapHeight,o=(n.mapCenter,n.mapZoom,n.interaction,n.zoomControl,n.mapTypeControl,n.streetViewControl,n.fullscreenControl,n.mapStyle,n.customStyle,n.blockAlignment),i=(n.mapMarkers,t.className),a=t.setAttributes,l=this.initMarkers,c=this.cancelMarker,s=this.onDeleteMarker,u=this.updateArrValues,p=this.changeState,d=this.getState,m=this.manageGoogleAPIKey,g=this.removeGoogleAPIScript,f=__WEBPACK_IMPORTED_MODULE_11_classnames___default()(i,__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_defineProperty___default()({},"".concat(baseClass,"--dropMarker"),"drop"==d("action")));return wp.element.createElement(Fragment,null,wp.element.createElement(BlockControls,null,wp.element.createElement(BlockAlignmentToolbar,{value:o,controls:["wide","full"],onChange:function(e){return a({blockAlignment:e})}}),wp.element.createElement(Toolbar,{controls:[{icon:"location",title:Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Drop Marker","getwid"),isDisabled:null!=d("currentMarker"),isActive:"drop"==d("action"),onClick:function(){"drop"!=d("action")&&(e.onAddMarker(),p("action","drop"))}},{icon:"edit",title:Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Edit Marker","getwid"),isDisabled:null===d("currentMarker")||"drop"==d("action"),isActive:"edit"==d("action")&&1==d("editModal"),onClick:function(){p("action","edit"),p("editModal",!0)}},{icon:"trash",title:Object(__WEBPACK_IMPORTED_MODULE_14_wp_i18n__.__)("Delete Marker","getwid"),isDisabled:null===d("currentMarker")||"drop"==d("action"),onClick:function(){e.onDeleteMarker(d("currentMarker"))}}]})),wp.element.createElement(__WEBPACK_IMPORTED_MODULE_12__inspector__.a,__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_extends___default()({},_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({},this.props),{initMarkers:l}),{cancelMarker:c}),{onDeleteMarker:s}),{updateArrValues:u}),{changeState:p}),{getState:d}),{manageGoogleAPIKey:m}),{removeGoogleAPIScript:g}),{key:"inspector"})),wp.element.createElement("div",{className:f},wp.element.createElement("div",{style:{height:r+"px"},className:"".concat(baseClass,"__container")})))}}]),Edit}(Component);__webpack_exports__.a=Edit},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var o=n(13),i=n.n(o),a=n(15),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(10)),_=(n.n(y),n(44)),k=n(19),O=n(1),E=(n.n(O),window),C=(E.jQuery,wp.element),j=C.Component,S=C.Fragment,x=wp.blockEditor||wp.editor,P=x.InspectorControls,T=wp.components,R=T.Button,N=T.BaseControl,A=T.ButtonGroup,M=T.PanelBody,B=T.RangeControl,D=T.ToggleControl,I=T.SelectControl,L=T.Modal,z=T.TextControl,V=T.TextareaControl,H=T.ExternalLink,F=T.RadioControl,W=function(e){function t(e){var r;return p()(this,t),r=n.apply(this,arguments),r.state={tabName:"general"},r}f()(t,e);var n=r(t);return m()(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.mapHeight,o=n.mapCenter,a=n.mapZoom,c=n.mapStyle,u=n.interaction,p=n.zoomControl,d=n.mapTypeControl,m=n.streetViewControl,g=n.fullscreenControl,f=n.customStyle,b=n.mapMarkers,w=(n.blockAlignment,t.initMarkers),h=t.cancelMarker,v=t.onDeleteMarker,E=t.updateArrValues,C=t.changeState,j=t.getState,x=t.manageGoogleAPIKey,T=t.removeGoogleAPIScript,W=t.setAttributes,G=t.className,U=this.state.tabName,q=""!=b?JSON.parse(b):[],Q=function(e){if(void 0!==q[e])return wp.element.createElement(_.a,{title:Object(O.__)("Marker","getwid")+": "+q[e].name,initialOpen:!1,onOpen:function(){j("markerArrTemp")[e].setAnimation(google.maps.Animation.BOUNCE)},onClose:function(){j("markerArrTemp")[e].setAnimation(null)}},wp.element.createElement(z,{label:Object(O.__)("Name","getwid"),value:q[e].name,onChange:function(t){E({name:t},e)}}),wp.element.createElement(V,{label:Object(O.__)("Popup Content. Plain Text or HTML.","getwid"),rows:"5",value:Object(y.unescape)(q[e].description),onChange:function(t){E({description:Object(y.escape)(t)},e)}}),wp.element.createElement(D,{label:Object(O.__)("Opened by default","getwid"),checked:q[e].popUpOpen,onChange:function(t){E({popUpOpen:t},e)}}),wp.element.createElement(z,{label:Object(O.__)("Popup Width","getwid"),value:q[e].popUpMaxWidth,type:"number",onChange:function(t){E({popUpMaxWidth:t},e)}}),wp.element.createElement(z,{label:Object(O.__)("Latitude","getwid"),value:q[e].coords.lat,type:"number",onChange:function(t){E({coords:{lat:parseFloat(t),lng:q[e].coords.lng}},e)}}),wp.element.createElement(z,{label:Object(O.__)("Longitude","getwid"),value:q[e].coords.lng,type:"number",onChange:function(t){E({coords:{lat:q[e].coords.lat,lng:parseFloat(t)}},e)}}),wp.element.createElement(A,null,wp.element.createElement(R,{isPrimary:!0,onClick:function(){w(!1,!0,e,j("mapObj"))}},Object(O.__)("Update","getwid")),wp.element.createElement(R,{isDefault:!0,onClick:function(){v(e)}},Object(O.__)("Delete","getwid"))))};return wp.element.createElement(P,{key:"inspector"},wp.element.createElement(k.a,{state:U,stateName:"tabName",onChangeTab:function(t,n){e.setState(s()({},t,n))},tabs:["general","style"].concat(l()(q.length>0?["layout"]:[]))}),"general"===U&&wp.element.createElement(S,null,wp.element.createElement(M,{title:Object(O.__)("Settings","getwid"),initialOpen:!0},wp.element.createElement(F,{label:Object(O.__)("Zoom & Pan Interaction","getwid"),help:Object(O.__)("These options are applied on frontend only.","getwid"),selected:u,options:[{value:"cooperative",label:Object(O.__)("Prevent zoom on page scroll","getwid")},{value:"none",label:Object(O.__)("Disable zoom and pan","getwid")},{value:"greedy",label:Object(O.__)("Enable zoom and pan","getwid")}],onChange:function(e){return W({interaction:e})}})),wp.element.createElement(M,{title:Object(O.__)("Map Center & Zoom","getwid"),initialOpen:!1},wp.element.createElement(z,{label:Object(O.__)("Zoom","getwid"),help:Object(O.__)("Drag and zoom map in preview area to apply.","getwid"),value:a,type:"number",min:1,max:22,step:1,onChange:function(e){j("mapObj").setZoom(""==e||0==e?1:parseInt(e,10))}}),wp.element.createElement(z,{label:Object(O.__)("Center Latitude","getwid"),value:o.lat,type:"number",onChange:function(e){W({mapCenter:{lat:parseFloat(e),lng:o.lng}})}}),wp.element.createElement(z,{label:Object(O.__)("Center Longitude","getwid"),value:o.lng,type:"number",onChange:function(e){W({mapCenter:{lat:o.lat,lng:parseFloat(e)}})}})),wp.element.createElement(M,{title:Object(O.__)("Google Maps API Key","getwid"),initialOpen:!1},wp.element.createElement(z,{label:Object(O.__)("Google Maps API Key","getwid"),value:j("checkApiKey"),onChange:function(e){return C("checkApiKey",e)}}),wp.element.createElement(N,null,wp.element.createElement(A,null,wp.element.createElement(R,{isPrimary:!0,disabled:""==j("checkApiKey")||null,onClick:function(e){T(),x(e,"set")}},Object(O.__)("Update","getwid")),wp.element.createElement(R,{isDefault:!0,onClick:function(e){C("checkApiKey",""),C("googleApiKey",""),x(e,"delete"),T()}},Object(O.__)("Delete","getwid")))),wp.element.createElement(N,null,wp.element.createElement(H,{href:"https://developers.google.com/maps/documentation/embed/get-api-key"},Object(O.__)("Get your key.","getwid"))))),"style"===U&&wp.element.createElement(S,null,wp.element.createElement(M,{initialOpen:!0},wp.element.createElement(B,{label:Object(O.__)("Map Height","getwid"),value:r,onChange:function(e){void 0===e&&(e=600),W({mapHeight:e})},allowReset:!0,min:100,max:1080,step:1}),wp.element.createElement(D,{label:Object(O.__)("Show Zoom","getwid"),checked:p,onChange:function(e){W({zoomControl:e})}}),wp.element.createElement(D,{label:Object(O.__)("Show Map Type","getwid"),checked:d,onChange:function(e){W({mapTypeControl:e})}}),wp.element.createElement(D,{label:Object(O.__)("Show Street View","getwid"),checked:m,onChange:function(e){W({streetViewControl:e})}}),wp.element.createElement(D,{label:Object(O.__)("Show Full Screen","getwid"),checked:g,onChange:function(e){W({fullscreenControl:e})}}),wp.element.createElement(I,{label:Object(O.__)("Map Style","getwid"),value:c,onChange:function(e){return W({mapStyle:e})},options:[{value:"default",label:Object(O.__)("Default","getwid")},{value:"silver",label:Object(O.__)("Silver","getwid")},{value:"retro",label:Object(O.__)("Retro","getwid")},{value:"dark",label:Object(O.__)("Dark","getwid")},{value:"night",label:Object(O.__)("Night","getwid")},{value:"aubergine",label:Object(O.__)("Aubergine","getwid")},{value:"blue_water",label:Object(O.__)("Blue Water","getwid")},{value:"ultra_light",label:Object(O.__)("Ultra Light","getwid")},{value:"dark_silver",label:Object(O.__)("Dark Silver","getwid")},{value:"shades_of_grey",label:Object(O.__)("Shades of Grey","getwid")},{value:"no_labels",label:Object(O.__)("No Labels","getwid")},{value:"wild_west",label:Object(O.__)("Wild West","getwid")},{value:"vintage",label:Object(O.__)("Vintage","getwid")},{value:"wireframe",label:Object(O.__)("Wireframe","getwid")},{value:"light_dream",label:Object(O.__)("Light Dream","getwid")},{value:"custom",label:Object(O.__)("Custom","getwid")}]}),"object"!=i()(c)&&"custom"==c&&wp.element.createElement(S,null,wp.element.createElement(V,{label:Object(O.__)("Custom Style (JSON)","getwid"),rows:"8",value:f,onChange:function(e){W({customStyle:e})}}),wp.element.createElement(H,{href:"https://mapstyle.withgoogle.com/"},Object(O.__)("Google Maps Styling Wizard","getwid")),wp.element.createElement("br",null),wp.element.createElement(H,{href:"https://snazzymaps.com/explore"},Object(O.__)("Snazzy Maps","getwid"))))),function(e){if(void 0!==q[e])return wp.element.createElement(S,null,"edit"!=j("action")&&"drop"!=j("action")||1!=j("editModal")?null:wp.element.createElement(L,{className:"".concat(G,"__modal"),title:Object(O.__)("Edit Marker","getwid"),onRequestClose:function(){C("action",!1),C("editModal",!1),"drop"==j("action")?h():C("currentMarker",null)}},wp.element.createElement(S,null,wp.element.createElement(z,{label:Object(O.__)("Name","getwid"),value:q[e].name,onChange:function(t){E({name:t},e)}}),wp.element.createElement(V,{label:Object(O.__)("Popup Content. Plain Text or HTML.","getwid"),rows:"5",value:Object(y.unescape)(q[e].description),onChange:function(t){E({description:Object(y.escape)(t)},e)}}),wp.element.createElement(D,{label:Object(O.__)("Opened by default","getwid"),checked:q[e].popUpOpen,onChange:function(t){E({popUpOpen:t},e)}}),wp.element.createElement(z,{label:Object(O.__)("Popup Maximum Width, px.","getwid"),value:q[e].popUpMaxWidth,type:"number",onChange:function(t){E({popUpMaxWidth:t},e)}}),wp.element.createElement(z,{label:Object(O.__)("Latitude","getwid"),value:q[e].coords.lat,type:"number",onChange:function(t){E({coords:{lat:parseFloat(t),lng:q[e].coords.lng}},e)}}),wp.element.createElement(z,{label:Object(O.__)("Longitude","getwid"),value:q[e].coords.lng,type:"number",onChange:function(t){E({coords:{lat:q[e].coords.lat,lng:parseFloat(t)}},e)}}),wp.element.createElement(A,null,wp.element.createElement(R,{isPrimary:!0,onClick:function(){"drop"==j("action")?w(!1,!1,j("currentMarker"),j("mapObj")):"edit"==j("action")&&w(!1,!0,j("currentMarker"),j("mapObj")),C("currentMarker",null),C("action",!1),C("editModal",!1)}},"drop"==j("action")?Object(O.__)("Save","getwid"):Object(O.__)("Update","getwid")),"drop"==j("action")&&wp.element.createElement(R,{isDefault:!0,onClick:function(){C("action",!1),C("editModal",!1),h()}},Object(O.__)("Cancel","getwid"))))))}(j("currentMarker")),q.length>0&&wp.element.createElement(S,null,"layout"===U&&wp.element.createElement(S,null,wp.element.createElement(M,{title:Object(O.__)("Markers","getwid")},Object(y.times)(q.length,function(e){return Q(e)})))))}}]),t}(j);t.a=W},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(8)),w=n.n(b),h=n(10),v=(n.n(h),n(68)),y=(n.n(v),n(239)),_=(n.n(y),wp.element),k=_.Component,O=_.Fragment,E="wp-block-getwid-map",C=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"stripStringRender",value:function(e){return e.toLowerCase().replace(/[^0-9a-z-]/g,"")}},{key:"render",value:function(){var e=this.props.attributes,t=e.mapHeight,n=e.mapCenter,r=e.mapZoom,o=e.interaction,a=e.zoomControl,l=e.mapTypeControl,c=e.streetViewControl,s=e.fullscreenControl,u=e.mapStyle,p=e.customStyle,d=e.blockAlignment,m=e.mapMarkers,g=e.className,f=""!=m?JSON.parse(m):[],b=w()(E,g,d?"align".concat(d):null),v={"data-map-zoom":r,"data-interaction":o,"data-map-style":u,"data-custom-style":p},y={"data-map-center":JSON.stringify(n)},_={"data-zoom-control":a,"data-type-control":l,"data-street-view-control":c,"data-full-screen-control":s},k={"data-map-markers":Object(h.escape)(m)},C=function(e){if(void 0!==f[e])return wp.element.createElement(O,null,wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://maps.google.com/?q=".concat(f[e].coords.lat,",").concat(f[e].coords.lng,"&ll=").concat(f[e].coords.lat,",").concat(f[e].coords.lng,"&z=").concat(r)},"".concat(f[e].name))))};return wp.element.createElement(O,null,wp.element.createElement("div",i()({},v,y,_,k,{className:b}),wp.element.createElement("div",{style:{height:t+"px"},className:"".concat(E,"__container")}),0!=f.length&&wp.element.createElement(O,null,wp.element.createElement("ul",{className:"".concat(E,"__points")},Object(h.times)(f.length,function(e){return C(e)})))))}}]),t}(k);t.a=C},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(241)),c=n(242),s=n(12),u=n(245),p=(n.n(u),n(1)),d=(n.n(p),window),m=(d.jQuery,wp.blocks),g=m.registerBlockType,f=m.createBlock;g("getwid/recent-posts",o(o({title:Object(p.__)("Recent Posts","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M0,0v10h10V0H0z M8,8H2V2h6V8z"}),wp.element.createElement("rect",{x:"12",y:"2",width:"12",height:"2"}),wp.element.createElement("rect",{x:"12",y:"6",width:"8",height:"2"}),wp.element.createElement("path",{d:"M0,14v10h10V14H0z M8,22H2v-6h6V22z"}),wp.element.createElement("rect",{x:"12",y:"16",width:"12",height:"2"}),wp.element.createElement("rect",{x:"12",y:"20",width:"8",height:"2"})),category:"getwid-blocks",keywords:[Object(p.__)("latest","getwid")],supports:{inserter:!Getwid.disabled_blocks.includes("getwid/recent-posts")},transforms:{to:[{type:"block",blocks:["getwid/custom-post-type"],transform:function(e){return f("getwid/custom-post-type",{postType:"post",postsToShow:e.postsToShow,postLayout:e.postLayout,columns:e.columns,order:e.order,orderBy:e.orderBy,align:e.align})}},{type:"block",blocks:["getwid/post-carousel"],transform:function(e){return f("getwid/post-carousel",{titleTag:e.titleTag,imageSize:e.imageSize,cropImages:e.cropImages,postsToShow:e.postsToShow,showTitle:e.showTitle,showDate:e.showDate,showCategories:e.showCategories,showCommentsCount:e.showCommentsCount,showContent:1==e.showContent?"excerpt":"none",contentLength:e.contentLength,showFeaturedImage:e.showFeaturedImage,order:e.order,orderBy:e.orderBy})}},{type:"block",blocks:["getwid/post-slider"],transform:function(e){return f("getwid/post-slider",{titleTag:e.titleTag,imageSize:e.imageSize,cropImages:e.cropImages,postsToShow:e.postsToShow,showTitle:e.showTitle,showDate:e.showDate,showCategories:e.showCategories,showCommentsCount:e.showCommentsCount,showContent:1==e.showContent?"excerpt":"none",contentLength:e.contentLength,order:e.order,orderBy:e.orderBy})}}]},attributes:l.a,getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}}},Object(s.b)("getwid/recent-posts",c.a)),{},{save:function(){return null}}))},function(e,t,n){"use strict";var r={titleTag:{type:"string",default:"h3"},imageSize:{type:"string",default:"full"},cropImages:{type:"boolean",default:!0},categories:{type:"string"},postsToShow:{type:"number",default:5},showTitle:{type:"boolean",default:!0},showDate:{type:"boolean",default:!1},showCategories:{type:"boolean",default:!1},showCommentsCount:{type:"boolean",default:!1},showContent:{type:"boolean",default:!1},contentLength:{type:"number",default:55},showFeaturedImage:{type:"boolean",default:!1},postLayout:{type:"string",default:"list"},columns:{type:"number",default:3},align:{type:"string"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(10)),O=(n.n(k),n(243)),E=n(244),C=(n.n(E),n(1)),j=(n.n(C),wp.element),S=j.Component,x=j.Fragment,P=wp.components,T=P.Placeholder,R=P.Spinner,N=P.ServerSideRender,A=P.Disabled,M=P.Toolbar,B=wp.apiFetch,D=wp.url.addQueryArgs,I=window,L=(I.jQuery,wp.blockEditor||wp.editor),z=L.BlockAlignmentToolbar,V=L.BlockControls,H=wp.data.withSelect,F={per_page:-1},W=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.state={categoriesList:[]},e.changeState=e.changeState.bind(f()(e)),e.getState=e.getState.bind(f()(e)),e}w()(t,e);var n=i(t);return m()(t,[{key:"changeState",value:function(e,t){this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.fetchRequest=B({path:D("/wp/v2/categories",F)}).then(function(t){e.isStillMounted&&e.setState({categoriesList:t})}).catch(function(){e.isStillMounted&&e.setState({categoriesList:[]})})}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.align,r=t.postLayout,i=e.setAttributes,a=e.recentPosts,c=(e.className,this.changeState),s=this.getState,u=Array.isArray(a)&&a.length;return u?wp.element.createElement(x,null,wp.element.createElement(O.a,l()({},o(o(o(o({},this.props),{changeState:c}),{getState:s}),{hasPosts:u}),{key:"inspector"})),wp.element.createElement(V,null,wp.element.createElement(z,{value:n,controls:["wide","full"],onChange:function(e){i({align:e})}}),wp.element.createElement(M,{controls:[{icon:"list-view",title:Object(C.__)("List View","getwid"),onClick:function(){return i({postLayout:"list"})},isActive:"list"===r},{icon:"grid-view",title:Object(C.__)("Grid View","getwid"),onClick:function(){return i({postLayout:"grid"})},isActive:"grid"===r}]})),wp.element.createElement(A,null,wp.element.createElement(N,{block:"getwid/recent-posts",attributes:this.props.attributes}))):wp.element.createElement(x,null,wp.element.createElement(O.a,l()({},o(o(o(o({},this.props),{changeState:c}),{getState:s}),{hasPosts:u}),{key:"inspector"})),wp.element.createElement(T,{icon:"admin-post",label:Object(C.__)("Recent Posts","getwid")},Array.isArray(a)?Object(C.__)("No posts found.","getwid"):wp.element.createElement(R,null)))}}]),t}(S);t.a=H(function(e,t){var n=t.attributes,r=n.postsToShow,o=n.order,i=n.orderBy,a=n.categories,l=e("core"),c=l.getEntityRecords;l.getMedia;return{recentPosts:c("postType","post",Object(k.pickBy)({categories:a,order:o,orderby:i,per_page:r},function(e){return!Object(k.isUndefined)(e)}))}})(W)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return P});var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),window),h=(w.jQuery,wp.element),v=h.Component,y=h.Fragment,_=wp.blockEditor||wp.editor,k=_.InspectorControls,O=wp.components,E=O.SelectControl,C=O.PanelBody,j=O.QueryControls,S=O.RangeControl,x=O.ToggleControl,P=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.imageSize,r=t.titleTag,o=t.showContent,a=t.showTitle,l=t.showDate,c=t.showCategories,s=t.showCommentsCount,u=t.showFeaturedImage,p=(t.align,t.postLayout),d=t.columns,m=t.order,g=t.orderBy,f=t.categories,w=t.postsToShow,h=t.contentLength,v=t.cropImages,_=e.setAttributes,O=e.recentPosts,P=e.hasPosts,T=(e.changeState,e.getState);return wp.element.createElement(k,null,wp.element.createElement(C,{title:Object(b.__)("Settings","getwid")},wp.element.createElement(E,{label:Object(b.__)("Layout","getwid"),value:p,onChange:function(e){return _({postLayout:e})},options:[{value:"list",label:Object(b.__)("List","getwid")},{value:"grid",label:Object(b.__)("Grid","getwid")}]}),"grid"===p&&wp.element.createElement(S,{label:Object(b.__)("Columns","getwid"),value:d,onChange:function(e){return _({columns:e})},min:1,max:P?Math.min(6,O.length):6}),wp.element.createElement(x,{label:Object(b.__)("Display Title","getwid"),checked:a,onChange:function(){_({showTitle:!a})}}),a&&wp.element.createElement(E,{label:Object(b.__)("Title Tag","getwid"),value:r,options:[{value:"p",label:Object(b.__)("Paragraph","getwid")},{value:"h2",label:Object(b.__)("Heading 2","getwid")},{value:"h3",label:Object(b.__)("Heading 3","getwid")},{value:"h4",label:Object(b.__)("Heading 4","getwid")},{value:"h5",label:Object(b.__)("Heading 5","getwid")},{value:"h6",label:Object(b.__)("Heading 6","getwid")}],onChange:function(e){return _({titleTag:e})}}),wp.element.createElement(x,{label:Object(b.__)("Display Featured Image","getwid"),checked:u,onChange:function(){_({showFeaturedImage:!u})}}),u&&wp.element.createElement(y,null,wp.element.createElement(E,{label:Object(b.__)("Image Size","getwid"),help:Object(b.__)("For images from Media Library only.","getwid"),value:n,onChange:function(e){_({imageSize:e})},options:Getwid.settings.image_sizes}),wp.element.createElement(x,{label:Object(b.__)("Crop Images","getwid"),checked:v,onChange:function(){_({cropImages:!v})}})),wp.element.createElement(x,{label:Object(b.__)("Display Excerpt","getwid"),checked:o,onChange:function(){_({showContent:!o})}}),o&&wp.element.createElement(S,{label:Object(b.__)("Number of words","getwid"),value:h,onChange:function(e){return _({contentLength:e})},min:5,max:Getwid.settings.excerpt_length}),wp.element.createElement(x,{label:Object(b.__)("Display Date","getwid"),checked:l,onChange:function(){_({showDate:!l})}}),wp.element.createElement(x,{label:Object(b.__)("Display Categories","getwid"),checked:c,onChange:function(){_({showCategories:!c})}}),wp.element.createElement(x,{label:Object(b.__)("Display Comments","getwid"),checked:s,onChange:function(){_({showCommentsCount:!s})}}),wp.element.createElement(j,i()({order:m,orderBy:g},{numberOfItems:w,categoriesList:T("categoriesList"),selectedCategoryId:f,onOrderChange:function(e){return _({order:e})},onOrderByChange:function(e){return _({orderBy:e})},onCategoryChange:function(e){return _({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return _({postsToShow:e})}}))))}}]),t}(v)},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(247)),c=n(248),s=n(255),u=n(12),p=n(256),d=n(1),m=(n.n(d),window),g=(m.jQuery,wp.blocks),f=g.registerBlockType,b=g.createBlock;f("getwid/advanced-heading",o(o({title:Object(d.__)("Advanced Heading","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M5.22,12.67h1.87v6.01c0,0.53-0.06,1.07-0.18,1.58c-0.1,0.45-0.29,0.87-0.55,1.25c-0.24,0.34-0.56,0.62-0.94,0.81\tc-0.42,0.2-0.89,0.3-1.36,0.29c-0.23,0.01-0.45-0.03-0.66-0.11c-0.17-0.07-0.32-0.16-0.46-0.28c-0.12-0.11-0.22-0.23-0.31-0.36\tc-0.08-0.13-0.15-0.25-0.21-0.36c-0.05-0.1-0.11-0.2-0.18-0.29c-0.04-0.07-0.12-0.11-0.2-0.11c-0.12,0-0.24,0.03-0.33,0.1\tc-0.1,0.07-0.18,0.16-0.25,0.26c-0.07,0.11-0.12,0.22-0.15,0.34c-0.03,0.12-0.05,0.25-0.05,0.37c0.01,0.18,0.09,0.34,0.22,0.46\tc0.17,0.16,0.37,0.28,0.59,0.36c0.27,0.11,0.56,0.19,0.85,0.24c0.33,0.06,0.66,0.09,1,0.09c0.86,0.01,1.73-0.11,2.56-0.34\tc0.75-0.2,1.46-0.55,2.08-1.03c0.59-0.46,1.06-1.05,1.39-1.73c0.35-0.76,0.53-1.59,0.51-2.43v-5.11h3.77v5.83\tc0,0.26,0.03,0.52,0.08,0.77c0.05,0.25,0.16,0.48,0.31,0.68c0.18,0.22,0.41,0.38,0.67,0.49c0.36,0.14,0.74,0.2,1.13,0.18\tc0.29,0,0.58-0.03,0.87-0.1c0.27-0.06,0.53-0.14,0.78-0.25c0.23-0.09,0.45-0.2,0.67-0.32c0.2-0.11,0.38-0.22,0.53-0.32l-0.17-0.38\tc-0.12,0.06-0.27,0.13-0.43,0.19c-0.17,0.07-0.35,0.1-0.53,0.1c-0.15,0.01-0.3-0.06-0.4-0.18c-0.09-0.14-0.14-0.31-0.13-0.48v-6.23\th2.06v-0.9h-2.06V6.48c0-0.85,0.02-1.6,0.06-2.26c0.02-0.56,0.11-1.11,0.25-1.65c0.1-0.38,0.29-0.72,0.56-1\tc0.27-0.24,0.63-0.36,1-0.34c0.16,0,0.32,0.04,0.46,0.11c0.13,0.08,0.25,0.17,0.35,0.28c0.1,0.11,0.2,0.24,0.28,0.37\tc0.08,0.13,0.17,0.26,0.25,0.37c0.08,0.11,0.17,0.2,0.27,0.28c0.09,0.07,0.21,0.11,0.33,0.11c0.08,0,0.15-0.02,0.22-0.07\tc0.07-0.05,0.14-0.11,0.19-0.18c0.11-0.16,0.17-0.35,0.17-0.54c0-0.23-0.08-0.44-0.24-0.61c-0.18-0.19-0.39-0.34-0.63-0.44\tc-0.3-0.13-0.61-0.21-0.92-0.26c-0.37-0.06-0.74-0.09-1.11-0.09c-0.59,0-1.17,0.12-1.71,0.34c-0.6,0.24-1.13,0.62-1.56,1.1\tc-0.5,0.57-0.89,1.23-1.14,1.94c-0.32,0.93-0.46,1.9-0.44,2.88v4.93h-3.77V5.72c0-0.14-0.02-0.27-0.04-0.41\tc-0.04-0.18-0.13-0.35-0.26-0.47c-0.2-0.18-0.43-0.31-0.69-0.38C9.03,4.33,8.59,4.28,8.15,4.3c-0.51,0-1.02,0.04-1.52,0.12\tC6.14,4.49,5.65,4.61,5.18,4.77c-0.45,0.15-0.89,0.35-1.3,0.59c-0.39,0.22-0.74,0.5-1.05,0.82C2.54,6.5,2.3,6.86,2.13,7.25\tC1.96,7.66,1.87,8.1,1.87,8.55c0,0.29,0.05,0.58,0.14,0.85c0.09,0.26,0.23,0.5,0.42,0.7c0.19,0.2,0.42,0.36,0.67,0.47\tc0.49,0.2,1.03,0.22,1.53,0.07c0.21-0.06,0.4-0.16,0.57-0.3c0.17-0.14,0.31-0.31,0.41-0.5c0.11-0.22,0.17-0.46,0.16-0.71\tC5.79,8.96,5.76,8.79,5.7,8.64C5.65,8.52,5.59,8.41,5.5,8.31C5.43,8.24,5.34,8.18,5.24,8.14C5.16,8.1,5.07,8.08,4.98,8.08\tc-0.1,0-0.19,0.03-0.27,0.09L4.46,8.35c-0.1,0.07-0.2,0.13-0.3,0.19C4.03,8.6,3.88,8.63,3.74,8.62c-0.06,0-0.11-0.01-0.17-0.02\tC3.49,8.58,3.41,8.54,3.34,8.48C3.25,8.4,3.19,8.3,3.14,8.19C3.08,8.02,3.05,7.84,3.05,7.66c0-0.25,0.06-0.49,0.18-0.71\tc0.13-0.22,0.29-0.42,0.48-0.6c0.2-0.18,0.43-0.35,0.67-0.48c0.24-0.14,0.49-0.25,0.74-0.35c0.23-0.09,0.46-0.16,0.7-0.22\tC6.01,5.27,6.2,5.24,6.38,5.24c0.09,0,0.19,0.01,0.28,0.03c0.08,0.01,0.16,0.05,0.22,0.1C6.95,5.42,7,5.49,7.03,5.57\tc0.04,0.12,0.06,0.24,0.05,0.36v5.83H5.22V12.67L5.22,12.67z"})),category:"getwid-blocks",keywords:[Object(d.__)("Title","getwid")],supports:{anchor:!0,alignWide:!0,align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/advanced-heading")},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},deprecated:[{attributes:l.a,save:p.a}],transforms:{from:[{type:"block",blocks:["core/heading"],transform:function(e){return b("getwid/advanced-heading",e)}},{type:"block",blocks:["core/paragraph"],transform:function(e){return b("getwid/advanced-heading",e)}}],to:[{type:"block",blocks:["core/heading"],transform:function(e){return b("core/heading",{content:e.content})}},{type:"block",blocks:["core/paragraph"],transform:function(e){return b("core/paragraph",{content:e.content})}}]},attributes:l.a},Object(u.b)("getwid/advanced-heading",c.a)),{},{save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:"wp-block-getwid-advanced-heading"}))}}))},function(e,t,n){"use strict";var r={content:{type:"string",source:"html",selector:".wp-block-getwid-advanced-heading__content",default:""},backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},titleTag:{type:"string",default:"span"},fontFamily:{type:"string",default:""},fontSize:{type:"string"},fontSizeTablet:{type:"string",default:"fs-tablet-100"},fontSizeMobile:{type:"string",default:"fs-mobile-100"},fontWeight:{type:"string"},fontStyle:{type:"string"},textTransform:{type:"string"},lineHeight:{type:"string"},letterSpacing:{type:"string"},align:{type:"string"},textAlignment:{type:"string"},paddingTop:{type:"string"},paddingBottom:{type:"string"},paddingLeft:{type:"string"},paddingRight:{type:"string"},marginTop:{type:"string"},marginBottom:{type:"string"},marginLeft:{type:"string"},marginRight:{type:"string"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(249)),C=n(70),j=n.n(C),S=n(254),x=(n.n(S),n(1)),P=(n.n(x),n(8)),T=n.n(P),R=window,N=R.jQuery,A=wp.compose.compose,M=wp.element,B=M.Component,D=M.Fragment,I=wp.blockEditor||wp.editor,L=I.RichText,z=I.BlockControls,V=I.AlignmentToolbar,H=I.withColors,F=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],W=function(e){function t(e){var r;return m()(this,t),r=n.apply(this,arguments),r.changeState=r.changeState.bind(w()(r)),r.state={isLockedMargins:!1,isLockedPaddings:!1},r}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"componentDidMount",value:function(){var e=this.props.clientId;this.textWrapper=N("[data-block='".concat(e,"'] .wp-block-getwid-advanced-heading"))}},{key:"render",value:function(){var e,t,n=this.props,r=n.className,i=n.backgroundColor,a=n.textColor,c=n.setAttributes,u=this.props.attributes,p=u.content,d=u.titleTag,m=u.fontFamily,g=u.fontWeight,f=u.fontStyle,b=u.textTransform,w=u.lineHeight,h=u.letterSpacing,v=this.props.attributes,y=v.paddingLeft,_=v.paddingRight,k=v.marginTop,O=v.marginBottom,C=v.marginLeft,S=v.marginRight,P=v.customTextColor,R=this.props.attributes,N=R.fontSize,A=R.fontSizeTablet,M=R.fontSizeMobile,B=R.align,I=R.textAlignment,H=R.paddingTop,W=R.paddingBottom,G=this.changeState,U={className:T()(r,(e={alignfull:"full"===B,alignwide:"wide"===B},s()(e,"has-custom-font-size",void 0!=N),s()(e,"".concat(A),A&&"fs-tablet-100"!=A?A:void 0),s()(e,"".concat(M),M&&"fs-mobile-100"!=M?M:void 0),e)),style:{fontSize:void 0!=N?N:void 0,marginBottom:O,marginTop:k}},q=T()("".concat("wp-block-getwid-advanced-heading","__content"),(t={"has-text-color":a.color},s()(t,a.class,a.class),s()(t,"has-background",i.color),s()(t,i.class,i.class),t)),Q=this.state,K=Q.isLockedMargins,Y=Q.isLockedPaddings;return wp.element.createElement(D,null,m&&wp.element.createElement(j.a,{fonts:[{font:m,weights:[g]}]}),wp.element.createElement(z,null,wp.element.createElement(V,{value:I,onChange:function(e){c({textAlignment:e})}})),wp.element.createElement(E.a,l()({},o(o({},this.props),{},{isLockedMargins:K,isLockedPaddings:Y,changeState:G}),{key:"inspector"})),wp.element.createElement("div",U,wp.element.createElement(L,{className:q,tagName:d,value:p,onChange:function(e){return c({content:e})},style:{textAlign:I,fontFamily:m?'"'.concat(m,'"'):"",fontWeight:g&&""!=g?g:void 0,fontStyle:"normal"!=f?f:void 0,textTransform:b,lineHeight:w,letterSpacing:h,paddingTop:H,paddingBottom:W,paddingLeft:y,paddingRight:_,marginLeft:C,marginRight:S,color:void 0!==this.props.attributes.textColor&&void 0===this.props.attributes.textColor.class?this.props.textColor.color:P||void 0,backgroundColor:this.props.backgroundColor.color?this.props.backgroundColor.color:this.props.attributes.customBackgroundColor},placeholder:Object(x.__)("Write heading…","getwid"),allowedFormats:F})))}}]),t}(B);t.a=A([H("backgroundColor",{textColor:"color"})])(W)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var o=n(7),i=n.n(o),a=n(13),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(11),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(19)),_=n(17),k=n(69),O=n(14),E=n(1),C=(n.n(E),wp.element),j=C.Component,S=C.Fragment,x=wp.components,P=x.PanelBody,T=x.SelectControl,R=wp.blockEditor||wp.editor,N=R.InspectorControls,A=R.PanelColorSettings,M=function(e){function t(e){var r;return s()(this,t),r=n.apply(this,arguments),r.changeState=r.changeState.bind(m()(r)),r.state={tabName:"general"},r}f()(t,e);var n=r(t);return p()(t,[{key:"changeState",value:function(e,t){"object"==l()(e)?this.setState(e):"string"==typeof e&&this.setState(i()({},e,t))}},{key:"render",value:function(){var e=this.state.tabName,t=this.changeState;return wp.element.createElement(N,{key:"inspector"},wp.element.createElement(y.a,{state:e,stateName:"tabName",onChangeTab:t,tabs:["general","style"]}),"general"===e&&wp.element.createElement(S,null,this.renderGeneralSettings()),"style"===e&&wp.element.createElement(S,null,this.renderStyleSettings()))}},{key:"renderGeneralSettings",value:function(){var e=this.props.attributes,t=e.fontFamily,n=e.fontWeight,r=e.fontStyle,o=e.textTransform,i=e.lineHeight,a=e.letterSpacing,l=this.props.setAttributes,c=this.props.attributes.titleTag;return wp.element.createElement(S,null,wp.element.createElement(P,{initialOpen:!0},wp.element.createElement(k.a,{label:Object(E.__)("Font Family","getwid"),value:t,onChangeFontFamily:function(e){l({fontFamily:e,fontWeight:"normal"})},valueWeight:n,onChangeFontWeight:function(e){l({fontWeight:e})}}),Object(O.b)(this),wp.element.createElement(T,{label:Object(E.__)("Font Style","getwid"),value:r,options:[{value:"normal",label:Object(E.__)("Normal","getwid")},{value:"italic",label:Object(E.__)("Italic","getwid")},{value:"inherit",label:Object(E.__)("Inherit","getwid")}],onChange:function(e){return l({fontStyle:e})}}),wp.element.createElement(T,{label:Object(E.__)("Text Transform","getwid"),value:o,options:[{value:"none",label:Object(E.__)("None","getwid")},{value:"capitalize",label:Object(E.__)("Capitalize","getwid")},{value:"lowercase",label:Object(E.__)("Lowercase","getwid")},{value:"uppercase",label:Object(E.__)("Uppercase","getwid")},{value:"inherit",label:Object(E.__)("Inherit","getwid")}],onChange:function(e){return l({textTransform:e})}}),wp.element.createElement(_.a,{label:Object(E.__)("Line Height","getwid"),value:i,onChange:function(e){l({lineHeight:e})}}),wp.element.createElement(_.a,{label:Object(E.__)("Letter Spacing","getwid"),value:a,allowNegative:!0,units:[{label:"px",value:"px"},{label:"em",value:"em"},{label:"pt",value:"pt"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],onChange:function(e){l({letterSpacing:e})}})),wp.element.createElement(P,{title:Object(E.__)("Html Attributes","getwid"),initialOpen:!0},wp.element.createElement(T,{label:Object(E.__)("Title Tag","getwid"),value:c,options:[{value:"span",label:Object(E.__)("Span","getwid")},{value:"p",label:Object(E.__)("Paragraph","getwid")},{value:"h1",label:Object(E.__)("Heading 1","getwid")},{value:"h2",label:Object(E.__)("Heading 2","getwid")},{value:"h3",label:Object(E.__)("Heading 3","getwid")},{value:"h4",label:Object(E.__)("Heading 4","getwid")},{value:"h5",label:Object(E.__)("Heading 5","getwid")},{value:"h6",label:Object(E.__)("Heading 6","getwid")}],onChange:function(e){return l({titleTag:e})}})))}},{key:"renderStyleSettings",value:function(){var e=this.props,t=e.setBackgroundColor,n=e.setTextColor,r=e.backgroundColor,o=e.textColor;return wp.element.createElement(S,null,wp.element.createElement(A,{title:Object(E.__)("Colors","getwid"),initialOpen:!0,colorSettings:[{value:o.color,onChange:n,label:Object(E.__)("Text Color","getwid")},{value:r.color,onChange:t,label:Object(E.__)("Background Color","getwid")}]}),wp.element.createElement(P,{title:Object(E.__)("Padding","getwid"),initialOpen:!1},Object(O.f)(this)),wp.element.createElement(P,{title:Object(E.__)("Margin","getwid"),initialOpen:!1},Object(O.c)(this)))}}]),t}(j);t.a=M},function(e,t,n){e.exports=n(251)},function(e,t,n){var r=function(e){"use strict";function t(e,t,n,o){var i=t&&t.prototype instanceof r?t:r,a=Object.create(i.prototype),l=new d(o||[]);return a._invoke=c(e,n,l),a}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function r(){}function o(){}function i(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){function t(r,o,i,a){var l=n(e[r],e,o);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"==typeof s&&w.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(s).then(function(e){c.value=e,i(c)},function(e){return t("throw",e,i,a)})}a(l.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=r}function c(e,t,r){var o=k;return function(i,a){if(o===E)throw new Error("Generator is already running");if(o===C){if("throw"===i)throw a;return g()}for(r.method=i,r.arg=a;;){var l=r.delegate;if(l){var c=s(l,r);if(c){if(c===j)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===k)throw o=C,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=E;var u=n(e,t,r);if("normal"===u.type){if(o=r.done?C:O,u.arg===j)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=C,r.method="throw",r.arg=u.arg)}}}function s(e,t){var r=e.iterator[t.method];if(r===f){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=f,s(e,t),"throw"===t.method))return j;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return j}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,j;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=f),t.delegate=null,j):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,j)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function m(e){if(e){var t=e[v];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(w.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=f,t.done=!0,t};return r.next=r}}return{next:g}}function g(){return{value:f,done:!0}}var f,b=Object.prototype,w=b.hasOwnProperty,h="function"==typeof Symbol?Symbol:{},v=h.iterator||"@@iterator",y=h.asyncIterator||"@@asyncIterator",_=h.toStringTag||"@@toStringTag";e.wrap=t;var k="suspendedStart",O="suspendedYield",E="executing",C="completed",j={},S={};S[v]=function(){return this};var x=Object.getPrototypeOf,P=x&&x(x(m([])));P&&P!==b&&w.call(P,v)&&(S=P);var T=i.prototype=r.prototype=Object.create(S);return o.prototype=T.constructor=i,i.constructor=o,i[_]=o.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,_ in e||(e[_]="GeneratorFunction")),e.prototype=Object.create(T),e},e.awrap=function(e){return{__await:e}},a(l.prototype),l.prototype[y]=function(){return this},e.AsyncIterator=l,e.async=function(n,r,o,i){var a=new l(t(n,r,o,i));return e.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},a(T),T[_]="Generator",T[v]=function(){return this},T.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=m,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=f,this.done=!1,this.delegate=null,this.method="next",this.arg=f,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&w.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=f)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=f),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=w.call(o,"catchLoc"),l=w.call(o,"finallyLoc");if(a&&l){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&w.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,j):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),j},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),j}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:m(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=f),j}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){function a(e){n(c,o,i,a,l,"next",e)}function l(e){n(c,o,i,a,l,"throw",e)}var c=e.apply(t,r);a(void 0)})}}e.exports=r},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(71)),w=(n.n(b),n(8)),h=n.n(w),v=wp.element.Component,y=wp.blockEditor||wp.editor,_=y.RichText,k=y.getColorClassName,O=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.className,o=n.baseClass,a=this.props.attributes,l=a.paddingLeft,c=a.paddingRight,s=a.marginTop,u=a.marginBottom,p=a.marginLeft,d=this.props.attributes,m=d.marginRight,g=d.backgroundColor,f=d.textColor,b=d.customBackgroundColor,w=d.customTextColor,v=this.props.attributes,y=v.textTransform,O=v.lineHeight,E=v.letterSpacing,C=v.align,j=v.textAlignment,S=v.paddingTop,x=v.paddingBottom,P=this.props.attributes,T=P.content,R=P.titleTag,N=P.fontFamily,A=P.fontSize,M=P.fontSizeTablet,B=P.fontSizeMobile,D=P.fontWeight,I=P.fontStyle,L=k("color",f),z=k("background-color",g),V={className:h()(r,(e={alignfull:"full"==C,alignwide:"wide"==C},i()(e,"has-custom-font-size",void 0!=A),i()(e,"".concat(M),M&&"fs-tablet-100"!=M?M:void 0),i()(e,"".concat(B),B&&"fs-mobile-100"!=B?B:void 0),e)),style:{fontSize:void 0!=A?A:void 0,marginBottom:u,marginTop:s}},H=h()("".concat(o,"__content"),(t={"has-text-color":f||w},i()(t,L,L),i()(t,"has-background",g||b),i()(t,z,z),t));return wp.element.createElement("div",V,wp.element.createElement(_.Content,{className:H,tagName:R,value:T,style:{textAlign:j,fontFamily:N?'"'.concat(N,'"'):void 0,fontWeight:D&&""!=D?D:void 0,fontStyle:"normal"!=I?I:void 0,textTransform:y,lineHeight:O,letterSpacing:E,paddingTop:S,paddingBottom:x,paddingLeft:l,paddingRight:c,marginLeft:p,marginRight:m,color:void 0!==f?void 0:w,backgroundColor:g?void 0:b}}))}}]),t}(v);t.a=O},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(71)),w=(n.n(b),n(8)),h=n.n(w),v=wp.element.Component,y=wp.blockEditor||wp.editor,_=y.RichText,k=y.getColorClassName,O=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.content,r=t.titleTag,o=t.fontFamily,a=t.fontSize,l=t.fontWeight,c=t.fontStyle,s=t.textTransform,u=t.lineHeight,p=t.letterSpacing,d=t.align,m=t.textAlignment,g=t.paddingTop,f=t.paddingBottom,b=t.paddingLeft,w=t.paddingRight,v=t.marginTop,y=t.marginBottom,O=t.marginLeft,E=t.marginRight,C=t.backgroundColor,j=t.textColor,S=t.customBackgroundColor,x=t.customTextColor,P=t.className,T=k("color",j),R=k("background-color",C),N=h()(P,{alignfull:"full"===d,alignwide:"wide"===d}),A=h()("".concat("wp-block-getwid-advanced-heading","__content"),(e={"has-text-color":j||x},i()(e,T,T),i()(e,"has-background",C||S),i()(e,R,R),e));return wp.element.createElement("div",{className:N,style:{marginTop:v,marginBottom:y}},wp.element.createElement(_.Content,{className:A,tagName:r,value:n,style:{textAlign:m,fontFamily:o?'"'.concat(o,'"'):void 0,fontSize:a,fontWeight:l&&""!=l?l:void 0,fontStyle:c,textTransform:s,lineHeight:u,letterSpacing:p,paddingTop:g,paddingBottom:f,paddingLeft:b,paddingRight:w,marginLeft:O,marginRight:E,color:void 0!==j?void 0:x,backgroundColor:C?void 0:S}}))}}]),t}(v);t.a=O},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){c()(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}var i=n(9),a=n.n(i),l=n(7),c=n.n(l),s=(n(0),n(258)),u=n(261),p=n(262),d=n(263),m=n(12),g=n(72),f=(n.n(g),n(1)),b=(n.n(f),n(10)),w=(n.n(b),window),h=(w.jQuery,wp.data.select),v=wp.element.Fragment,y=wp.components,_=y.Toolbar,k=y.IconButton,O=wp.blocks,E=O.registerBlockType,C=O.createBlock,j=wp.blockEditor||wp.editor,S=j.BlockControls,x=j.AlignmentToolbar,P=(j.InnerBlocks,j.MediaPlaceholder),T=j.MediaUpload,R=j.MediaUploadCheck,N=["image"];E("getwid/image-box",o(o({title:Object(f.__)("Image Box","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("rect",{y:"18",width:"24",height:"2"}),wp.element.createElement("rect",{y:"22",width:"17.6",height:"2"}),wp.element.createElement("path",{d:"M0,0v16h24V0H0z M22,2v6.59l-2.5-2.5L16,9.59l-6-6l-8,8V2H22z M2.41,14L10,6.41l6,6l3.5-3.5l2.5,2.5V14H2.41z"})),keywords:[Object(f.__)("feature","getwid"),Object(f.__)("service","getwid")],supports:{alignWide:!0,align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/image-box")},deprecated:[{attributes:d.a,save:p.a}],transforms:{to:[{type:"block",blocks:["core/image"],transform:function(e){var t=h("core/editor").getSelectedBlockClientId(),n=h("core/editor").getBlock(t).innerBlocks,r={heading:"",text:""};return n.length&&jQuery.each(n,function(e,t){"core/heading"==t.name&&(r.heading=t.attributes.content),"core/paragraph"==t.name&&(r.text=t.attributes.content)}),C("core/image",{id:e.id,url:e.url,caption:r.heading?r.heading:r.text?r.text:""})}},{type:"block",blocks:["getwid/banner"],transform:function(e){var t=h("core/editor").getSelectedBlockClientId(),n=h("core/editor").getBlock(t).innerBlocks,r={heading:"",text:""};return n.length&&jQuery.each(n,function(e,t){"core/heading"==t.name&&(r.heading=t.attributes.content),"core/paragraph"==t.name&&(r.text=t.attributes.content)}),C("getwid/banner",{id:e.id,url:e.url,title:r.heading,text:r.text})}},{type:"block",blocks:["getwid/video-popup"],transform:function(e){var t=h("core/editor").getSelectedBlockClientId(),n=h("core/editor").getBlock(t).innerBlocks,r={heading:"",text:""};return n.length&&jQuery.each(n,function(e,t){"core/heading"==t.name&&(r.heading=t.attributes.content),"core/paragraph"==t.name&&(r.text=t.attributes.content)}),C("getwid/video-popup",{id:e.id,url:e.url,title:r.heading,text:r.text})}},{type:"block",blocks:["getwid/icon-box"],transform:function(e){var t=h("core/editor").getSelectedBlockClientId(),n=h("core/editor").getBlock(t).innerBlocks;return C("getwid/icon-box",e,n)}},{type:"block",blocks:["core/heading"],transform:function(e){var t,n=h("core/editor").getSelectedBlockClientId(),r=h("core/editor").getBlock(n).innerBlocks;return r.length&&jQuery.each(r,function(e,n){"core/heading"==n.name&&(t=n.attributes.content)}),C("core/heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t,n=h("core/editor").getSelectedBlockClientId(),r=h("core/editor").getBlock(n).innerBlocks;return r.length&&jQuery.each(r,function(e,n){"core/paragraph"==n.name&&(t=n.attributes.content)}),C("core/paragraph",{content:t})}}]},attributes:d.a},Object(m.b)("getwid/image-box",function(e){var t=e.attributes,n=t.textAlignment,r=t.id,i=t.url,l=t.layout,c=e.setAttributes,u=function(e){c(void 0!==e?{textAlignment:e}:{textAlignment:"center"})},p=[{icon:"align-left",title:Object(f.__)("Align Image Left","getwid"),isActive:"left"==l,onClick:function(){return c({layout:"left"==l?null:"left"})}},{icon:"align-right",title:Object(f.__)("Align Image Right","getwid"),isActive:"right"==l,onClick:function(){return c({layout:"right"==l?null:"right"})}}],m=function(e,t){if(!e)return void c({url:void 0,id:void 0});c({id:e.id,alt:e.alt,url:Object(b.get)(e,["sizes",t,"url"])||Object(b.get)(e,["media_details","sizes",t,"source_url"])||e.url})},g=function(t){var n=e.attributes.imageSize;["full","large","medium","thumbnail"].includes(n)||(n=d.a.imageSize.default,c({imageSize:n})),m(t,n)},w=wp.element.createElement(v,null,!i&&wp.element.createElement(P,{icon:"format-image",className:"wp-block-getwid-image-box",labels:{title:Object(f.__)("Image Box","getwid")},onSelect:g,accept:"image/*",allowedTypes:N}),wp.element.createElement(S,null,!!i&&wp.element.createElement(v,null,wp.element.createElement(R,null,wp.element.createElement(_,null,wp.element.createElement(T,{onSelect:g,allowedTypes:N,value:r,render:function(e){var t=e.open;return wp.element.createElement(k,{className:"components-toolbar__control",label:Object(f.__)("Edit Media","getwid"),icon:"edit",onClick:t})}}))))));return wp.element.createElement(v,null,w,wp.element.createElement(s.a,a()({},o(o({setAttributes:c},e),{},{changeImageSize:m,onSelectMedia:g}),{key:"edit"})),wp.element.createElement(v,null,wp.element.createElement(S,null,wp.element.createElement(_,{controls:p})),wp.element.createElement(S,null,wp.element.createElement(x,{value:n,onChange:u}))))})),{},{save:u.a}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(8)),C=n.n(E),j=n(259),S=(n.n(j),n(72)),x=(n.n(S),n(260)),P=n(20),T=n(1),R=(n.n(T),window),N=R.jQuery,A=wp.compose.compose,M=wp.blockEditor||wp.editor,B=M.InnerBlocks,D=wp.data.withSelect,I=wp.element,L=I.Component,z=I.Fragment,V=[["core/heading",{level:3,placeholder:Object(T.__)("Write heading…","getwid")}],["core/paragraph",{placeholder:Object(T.__)("Write text…","getwid")}]],H="wp-block-getwid-image-box",F=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(w()(e)),e.state={isLockedMargins:!1},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.attributes,i=(r.imageSize,r.id,r.url),a=r.alt,c=r.marginTop,u=r.marginBottom,p=r.marginLeft,d=r.marginRight,m=r.textAlignment,g=r.layout,f=r.imagePosition,b=r.link,w=r.hoverAnimation,h=r.mobileLayout,v=r.mobileAlignment,y=n.className,_=n.isSelected,k=n.setAttributes,O=n.changeImageSize,E=n.onSelectMedia,j={className:C()(y,(e={"getwid-animation":!!w},s()(e,"has-image-left","left"===g),s()(e,"has-image-right","right"===g),s()(e,"has-text-left","left"===m),s()(e,"has-text-center","center"===m),s()(e,"has-text-right","right"===m),s()(e,"is-selected",_),e),"has-mobile-layout-".concat(h),"has-mobile-alignment-".concat(v)),"data-animation":w||void 0,onMouseEnter:function(e){return t.onimageHoverIn()}},S=C()("".concat(H,"__image-container"),{"is-position-top":"top"===f,"is-position-middle":"middle"===f,"is-position-bottom":"bottom"===f}),P=i?wp.element.createElement("img",{src:i,alt:void 0!==a?a:null,className:"".concat(H,"__image")}):null,T={marginTop:c,marginBottom:u,marginLeft:p,marginRight:d},R={className:C()("".concat(H,"__image-wrapper"))},N=this.changeState,A=this.state.isLockedMargins;return wp.element.createElement(z,null,!!i&&wp.element.createElement(x.a,l()({},o(o({setAttributes:k},this.props),{},{changeState:N,changeImageSize:O,isLockedMargins:A,onSelectMedia:E}),{key:"inspector"})),wp.element.createElement("div",j,wp.element.createElement("div",{style:T,className:S},b&&wp.element.createElement("a",l()({href:b},R,{onClick:function(e){return e.preventDefault()}}),P),!b&&wp.element.createElement("div",R,P)),wp.element.createElement("div",{className:"".concat(H,"__content")},wp.element.createElement(B,{template:V,templateInsertUpdatesSelection:!1,templateLock:!1}))))}},{key:"setupimageWrapper",value:function(){var e=this.props.clientId;this.imageWrapper=N("[data-block='".concat(e,"'] .wp-block-getwid-image-box__image-wrapper"))}},{key:"componentDidMount",value:function(){this.setupimageWrapper()}},{key:"componentDidUpdate",value:function(e){this.setupimageWrapper()}},{key:"onimageHoverIn",value:function(){var e=this.props.attributes.hoverAnimation;e&&Object(P.a)(this.imageWrapper,{animation:e})}}]),t}(L);t.a=A([D(function(e,t){var n=e("core"),r=n.getMedia,o=t.attributes.id;if(void 0!==o)return{imgObj:o?r(o):null}})])(F)},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(19)),y=n(24),_=n(14),k=wp.element,O=k.Component,E=k.Fragment,C=wp.blockEditor||wp.editor,j=C.InspectorControls,S=C.URLInput,x=wp.components,P=x.PanelBody,T=x.BaseControl,R=x.SelectControl,N=x.ToggleControl,A=x.TextControl,M=x.RadioControl,B=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.onSetNewTab=e.onSetNewTab.bind(p()(e)),e.onSetLinkRel=e.onSetLinkRel.bind(p()(e)),e.changeTab=e.changeTab.bind(p()(e)),e.state={tabName:"general"},e}m()(t,e);var n=r(t);return s()(t,[{key:"changeTab",value:function(e,t){this.setState(i()({},e,t))}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.id,n=e.url,r=e.imageSize,o=e.layout,i=e.imagePosition,a=e.link,l=e.linkTarget,c=e.rel,s=e.hoverAnimation,u=e.mobileLayout,p=e.mobileAlignment,d=this.props,m=d.setAttributes,g=d.changeImageSize,f=d.onSelectMedia,b=d.imgObj,w=this.state.tabName,k=this.changeTab,O=function(e){void 0!==b&&(m({imageSize:e}),g(b,e))};return wp.element.createElement(j,null,wp.element.createElement(v.a,{state:w,stateName:"tabName",onChangeTab:k,tabs:["general","style","advanced"]}),"general"===w&&wp.element.createElement(E,null,wp.element.createElement(P,null,wp.element.createElement(M,{label:Object(h.__)("Layout","getwid"),selected:o||"",options:[{value:"",label:Object(h.__)("Default","getwid")},{value:"left",label:Object(h.__)("Align Image Left","getwid")},{value:"right",label:Object(h.__)("Align Image Right","getwid")}],onChange:function(e){return m({layout:e})}}),("left"==o||"right"==o)&&wp.element.createElement(R,{label:Object(h.__)("Image Vertical Alignment","getwid"),value:i,options:[{value:"top",label:Object(h.__)("Top","getwid")},{value:"middle",label:Object(h.__)("Middle","getwid")},{value:"bottom",label:Object(h.__)("Bottom","getwid")}],onChange:function(e){return m({imagePosition:e})}}),wp.element.createElement(R,{label:Object(h.__)("Mobile Layout","getwid"),value:u,options:[{value:"default",label:Object(h.__)("Default","getwid")},{value:"column",label:Object(h.__)("Column","getwid")},{value:"column-reverse",label:Object(h.__)("Column Reverse Order","getwid")}],onChange:function(e){return m({mobileLayout:e})}}),wp.element.createElement(R,{label:Object(h.__)("Mobile Alignment","getwid"),value:p,options:[{value:"default",label:Object(h.__)("Default","getwid")},{value:"left",label:Object(h.__)("Left","getwid")},{value:"center",label:Object(h.__)("Center","getwid")},{value:"right",label:Object(h.__)("Right","getwid")}],onChange:function(e){return m({mobileAlignment:e})}}),wp.element.createElement(y.a,{label:Object(h.__)("Image Hover Animation","getwid"),value:void 0!==s?s:"",onChange:function(e){return m({hoverAnimation:e})},allowAnimation:["Seeker","Icon"]}),wp.element.createElement(_.e,{label:Object(h.__)("Image","getwid"),removeButton:!1,url:n,id:t,onSelectMedia:f,onRemoveMedia:function(){return m({url:void 0,id:void 0})}}),b&&wp.element.createElement(R,{label:Object(h.__)("Image Size","getwid"),help:Object(h.__)("For images from Media Library only.","getwid"),value:r,onChange:O,options:Getwid.settings.image_sizes}))),"style"===w&&wp.element.createElement(E,null,wp.element.createElement(P,null,Object(_.c)(this))),"advanced"===w&&wp.element.createElement(E,null,wp.element.createElement(P,null,wp.element.createElement(T,{label:Object(h.__)("Image Link","getwid"),className:"getwid-editor-url-input"},wp.element.createElement(S,{autoFocus:!1,value:a,onChange:function(e){return m({link:e})}})),wp.element.createElement(T,null,wp.element.createElement(N,{label:Object(h.__)("Open in New Tab","getwid"),checked:"_blank"===l,onChange:this.onSetNewTab})),wp.element.createElement(A,{label:Object(h.__)("Link Rel","getwid"),value:c||"",onChange:this.onSetLinkRel}))))}}]),t}(O);t.a=B},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,k=(_.jQuery,wp.element.Component),O=wp.blockEditor||wp.editor,E=O.InnerBlocks,C="wp-block-getwid-image-box",j=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.id,r=t.url,o=t.alt,a=t.textAlignment,c=t.layout,s=t.imagePosition,u=t.link,p=t.hoverAnimation,d=t.marginTop,m=t.marginBottom,g=t.marginLeft,f=t.marginRight,b=t.mobileLayout,w=t.mobileAlignment,h=t.rel,v=t.linkTarget,_=t.className,k={className:y()(_,(e={"getwid-animation":!!p},l()(e,"has-image-left","left"===c),l()(e,"has-image-right","right"===c),l()(e,"has-text-left","left"===a),l()(e,"has-text-center","center"===a),l()(e,"has-text-right","right"===a),e),"has-mobile-layout-".concat(b),"has-mobile-alignment-".concat(w)),"data-animation":p||void 0},O=y()("".concat(C,"__image-container"),{"is-position-top":"top"===s,"is-position-middle":"middle"===s,"is-position-bottom":"bottom"===s}),j=r?wp.element.createElement("img",{src:r,alt:void 0!==o?o:null,className:"".concat(C,"__image")+(n?" wp-image-".concat(n):"")}):null,S={marginTop:d,marginBottom:m,marginLeft:g,marginRight:f},x={className:y()("".concat(C,"__image-wrapper"))};return wp.element.createElement("div",k,wp.element.createElement("div",{style:S,className:O},u&&wp.element.createElement("a",i()({href:u,target:v,rel:h},x),j),!u&&wp.element.createElement("div",x,j)),wp.element.createElement("div",{className:"".concat(C,"__content")},wp.element.createElement(E.Content,null)))}}]),t}(k);t.a=j},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,k=(_.jQuery,wp.element.Component),O=wp.blockEditor||wp.editor,E=O.InnerBlocks,C="wp-block-getwid-image-box",j=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.id,r=t.url,o=t.alt,a=t.textAlignment,c=t.layout,s=t.imagePosition,u=t.link,p=t.hoverAnimation,d=t.marginTop,m=t.marginBottom,g=t.marginLeft,f=t.marginRight,b=t.mobileLayout,w=t.mobileAlignment,h=t.rel,v=t.linkTarget,_=t.className,k={className:y()(_,(e={"getwid-animation":!!p},l()(e,"has-image-left","left"===c),l()(e,"has-image-right","right"===c),l()(e,"has-text-left","left"===a),l()(e,"has-text-center","center"===a),l()(e,"has-text-right","right"===a),e),"has-mobile-layout-".concat(b),"has-mobile-alignment-".concat(w)),"data-animation":p||void 0},O=y()("".concat(C,"__image-container"),{"is-position-top":"top"===s,"is-position-middle":"middle"===s,"is-position-bottom":"bottom"===s}),j=r?wp.element.createElement("img",{src:r,alt:void 0!==o?o:null,className:"".concat(C,"__image")+" wp-image-".concat(n)}):null,S={marginTop:d,marginBottom:m,marginLeft:g,marginRight:f},x={className:y()("".concat(C,"__image-wrapper"))};return wp.element.createElement("div",k,wp.element.createElement("div",{style:S,className:O},u&&wp.element.createElement("a",i()({href:u,target:v,rel:h},x),j),!u&&wp.element.createElement("div",x,j)),wp.element.createElement("div",{className:"".concat(C,"__content")},wp.element.createElement(E.Content,null)))}}]),t}(k);t.a=j},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-image-box__image-wrapper img",attribute:"src"},alt:{type:"string",source:"attribute",selector:".wp-block-getwid-image-box__image-wrapper img",attribute:"alt"},textAlignment:{type:"string",default:"center"},layout:{type:"string"},imagePosition:{type:"string",default:"top"},marginTop:{type:"string"},marginBottom:{type:"string"},marginLeft:{type:"string"},marginRight:{type:"string"},link:{type:"string",source:"attribute",selector:"a.wp-block-getwid-image-box__image-wrapper",attribute:"href"},align:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-box",attribute:"data-animation"},mobileLayout:{type:"string",default:"default"},mobileAlignment:{type:"string",default:"default"},linkTarget:{type:"string",source:"attribute",selector:"a.wp-block-getwid-image-box__image-wrapper",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a.wp-block-getwid-image-box__image-wrapper",attribute:"rel"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(265)),c=n(268),s=n(270),u=n(12),p=n(1),d=(n.n(p),window),m=(d.jQuery,wp.blocks),g=m.registerBlockType,f=m.createBlock;g("getwid/advanced-spacer",o(o({title:Object(p.__)("Advanced Spacer","getwid"),category:"getwid-blocks",supports:{inserter:!Getwid.disabled_blocks.includes("getwid/advanced-spacer")},icon:wp.element.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",null,wp.element.createElement("path",{d:"M13 4v2h3.59L6 16.59V13H4v7h7v-2H7.41L18 7.41V11h2V4h-7"}))),transforms:{to:[{type:"block",blocks:["core/spacer"],transform:function(e){return f("core/spacer",{height:parseInt(e.height,10)})}}]},attributes:s.a},Object(u.b)("getwid/advanced-spacer",l.a)),{},{save:c.a}))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(266)),f=n(8),b=n.n(f),w=n(267),h=(n.n(w),n(1)),v=(n.n(h),window),y=(v.jQuery,wp.element),_=y.Component,k=y.Fragment,O=wp.components.ResizableBox,E=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.height,r=t.isHideDesktop,o=t.isHideTablet,i=t.isHideMobile,a=e.isSelected,l=e.className,c=e.setAttributes,s=e.toggleSelection,u=/\d+(\w+)/g.exec(n)[1];return wp.element.createElement(k,null,wp.element.createElement(g.a,this.props),wp.element.createElement(O,{className:b()(l,{"is-selected":a,"getwid-hide-desktop":r,"getwid-hide-tablet":o,"getwid-hide-mobile":i}),size:{height:n},minHeight:"20",enable:{top:!1,right:!1,bottom:"px"==u,left:!1,topRight:!1,bottomRight:!1,bottomLeft:!1,topLeft:!1},onResizeStop:function(e,t,r,o){var i=parseInt(n,10)+o.height;c({height:i+u}),s(!0)},onResizeStart:function(){s(!1)}}))}}]),t}(_);t.a=E},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(17)),f=n(1),b=(n.n(f),window),w=(b.jQuery,wp.element.Component),h=wp.blockEditor||wp.editor,v=h.InspectorControls,y=wp.components,_=y.PanelBody,k=y.CheckboxControl,O=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.height,r=t.isHideDesktop,o=t.isHideTablet,i=t.isHideMobile,a=e.setAttributes;return wp.element.createElement(v,null,wp.element.createElement(_,{title:Object(f.__)("Settings","getwid")},wp.element.createElement(g.a,{label:Object(f.__)("Height","getwid"),value:n,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],onChange:function(e){void 0!==e&&a({height:e})}}),wp.element.createElement(k,{label:Object(f.__)("Hide on Desktop","getwid"),checked:r,onChange:function(e){a({isHideDesktop:e})}}),wp.element.createElement(k,{label:Object(f.__)("Hide on Tablet","getwid"),checked:o,onChange:function(e){a({isHideTablet:e})}}),wp.element.createElement(k,{label:Object(f.__)("Hide on Mobile","getwid"),checked:i,onChange:function(e){a({isHideMobile:e})}})))}}]),t}(w);t.a=O},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(8)),f=n.n(g),b=n(269),w=(n.n(b),n(1)),h=(n.n(w),window),v=(h.jQuery,wp.element.Component),y=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.height,n=e.isHideDesktop,r=e.isHideTablet,o=e.isHideMobile,i=e.className;return wp.element.createElement("div",{className:f()(i,{"getwid-hide-desktop":n,"getwid-hide-tablet":r,"getwid-hide-mobile":o}),style:{height:t},"aria-hidden":!0})}}]),t}(v);t.a=y},function(e,t){},function(e,t,n){"use strict";var r={height:{type:"string",default:"100px"},isHideDesktop:{type:"boolean",default:!1},isHideTablet:{type:"boolean",default:!1},isHideMobile:{type:"boolean",default:!1}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(272)),c=n(273),s=n(277),u=n(12),p=n(278),d=(n.n(p),n(1)),m=(n.n(d),window),g=(m.jQuery,wp.blocks.registerBlockType);g("getwid/social-links",o(o({title:Object(d.__)("Social Links","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M18,16c-1,0-1.9,0.4-2.6,1l-6.6-3.8C8.9,12.8,9,12.4,9,12s-0.1-0.8-0.2-1.2L15.4,7C16.1,7.6,17,8,18,8c2.2,0,4-1.8,4-4 s-1.8-4-4-4s-4,1.8-4,4c0,0.5,0.1,0.9,0.3,1.4L7.8,9.1C7,8.4,6.1,8,5,8c-2.2,0-4,1.8-4,4s1.8,4,4,4c1.1,0,2-0.4,2.8-1.1l6.5,3.7\tC14.1,19.1,14,19.5,14,20c0,2.2,1.8,4,4,4s4-1.8,4-4S20.2,16,18,16z M18,2c1.1,0,2,0.9,2,2s-0.9,2-2,2s-2-0.9-2-2S16.9,2,18,2z M5,14c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S6.1,14,5,14z M18,22c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S19.1,22,18,22z"})),category:"getwid-blocks",keywords:[Object(d.__)("facebook","getwid"),Object(d.__)("twitter","getwid"),Object(d.__)("share","getwid")],supports:{align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/social-links")},attributes:l.a},Object(u.b)("getwid/social-links",c.a)),{},{save:s.a}))},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},align:{type:"string"},textAlignmentDesktop:{type:"string"},textAlignmentTablet:{type:"string"},textAlignmentMobile:{type:"string"},icons:{type:"array",default:[{icon:"fab fa-facebook-f",link:"https://www.facebook.com/",linkTarget:void 0,rel:""},{icon:"fab fa-twitter",link:"https://twitter.com/",linkTarget:void 0,rel:""},{icon:"fab fa-instagram",link:"https://www.instagram.com/",linkTarget:void 0,rel:""},{icon:"fab fa-youtube",link:"https://www.youtube.com/",linkTarget:void 0,rel:""}],source:"query",selector:".wp-block-getwid-social-links__link",query:{icon:{source:"attribute",selector:"i",attribute:"class"},title:{type:"string",source:"html",selector:".wp-block-getwid-social-links__label"},link:{source:"attribute",attribute:"href",type:"string",default:"#"},linkTarget:{source:"attribute",attribute:"target"},rel:{source:"attribute",attribute:"rel"}}},iconsStyle:{type:"string",default:"default"},iconsSize:{type:"number"},iconsSpacing:{type:"string",default:"default"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){p()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=C()(e);if(t()){var o=C()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}var a=n(15),l=n.n(a),c=n(9),s=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),g=n(2),f=n.n(g),b=n(4),w=n.n(b),h=n(11),v=n.n(h),y=n(5),_=n.n(y),k=n(6),O=n.n(k),E=n(3),C=n.n(E),j=(n(0),n(8)),S=n.n(j),x=n(274),P=n(275),T=n.n(P),R=n(276),N=(n.n(R),n(18)),A=n(1),M=(n.n(A),window),B=M.jQuery,D=wp.element,I=D.Component,L=D.Fragment,z=wp.blockEditor||wp.editor,V=z.BlockControls,H=z.withColors,F=wp.compose.compose,W=wp.components,G=W.TextControl,U=W.Toolbar,q=W.IconButton,Q=W.Popover,K=W.BaseControl,Y=W.ToggleControl,J="wp-block-getwid-social-links",Z=function(e){function t(){var e;return f()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(v()(e)),e.getState=e.getState.bind(v()(e)),e.updateArrValues=e.updateArrValues.bind(v()(e)),e.onDeleteIcon=e.onDeleteIcon.bind(v()(e)),e.moveIcon=e.moveIcon.bind(v()(e)),e.onMoveIconLeft=e.onMoveIconLeft.bind(v()(e)),e.onMoveIconRight=e.onMoveIconRight.bind(v()(e)),e.onDuplicate=e.onDuplicate.bind(v()(e)),e.insertIcon=e.insertIcon.bind(v()(e)),e.onInsertIconBefore=e.onInsertIconBefore.bind(v()(e)),e.onInsertIconAfter=e.onInsertIconAfter.bind(v()(e)),e.onSelectIcon=e.onSelectIcon.bind(v()(e)),e.activateIcon=e.activateIcon.bind(v()(e)),e.onAddIcon=e.onAddIcon.bind(v()(e)),e.icon_render=e.icon_render.bind(v()(e)),e.renderIconSettings=e.renderIconSettings.bind(v()(e)),e.icon_block=e.icon_block.bind(v()(e)),e.state={selectedIcon:void 0,openPopUp:!1},e}_()(t,e);var n=i(t);return w()(t,[{key:"updateArrValues",value:function(e,t){e=function e(t,n){var r={};return Object.keys(t).forEach(function(o){var i;i=null!==t[o]&&"object"===m()(t[o])?e(t[o],n):n(t[o],o),r[o]=i}),r}(e,function(e,t){return void 0===e&&(e=""),e});var n=this.props,r=n.attributes;(0,n.setAttributes)({icons:r.icons.map(function(n,r){return t===r&&(n=o(o({},n),e)),n})})}},{key:"changeState",value:function(e,t){this.setState(p()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"getIcosDropdown",value:function(){var e=this.state.selectedIcon,t=this.props.attributes.icons;return[{icon:"table-col-before",title:Object(A.__)("Add Item Before","getwid"),isDisabled:null===e,onClick:this.onInsertIconBefore},{icon:"table-col-after",title:Object(A.__)("Add Item After","getwid"),isDisabled:null===e,onClick:this.onInsertIconAfter},{icon:"arrow-left-alt2",title:Object(A.__)("Move Item Left","getwid"),isDisabled:null===e||0===e||void 0==e,onClick:this.onMoveIconLeft},{icon:"arrow-right-alt2",title:Object(A.__)("Move Item Right","getwid"),isDisabled:null===e||e===t.length-1||void 0==e,onClick:this.onMoveIconRight},{icon:"admin-page",title:Object(A.__)("Duplicate Item","getwid"),isDisabled:null===e||void 0==e,onClick:this.onDuplicate},{icon:"trash",title:Object(A.__)("Delete Item","getwid"),isDisabled:null===e||void 0==e,onClick:this.onDeleteIcon}]}},{key:"renderIconSettings",value:function(e){var t=this,n=this.props.attributes.icons,r=this.updateArrValues;if(void 0!==n[e])return wp.element.createElement(L,null,wp.element.createElement("div",{class:"wp-block-getwid-social-links__popover-close"},wp.element.createElement(q,{icon:"no-alt",className:"alignright",onClick:function(e){e.preventDefault(),e.stopPropagation(),t.setState({openPopUp:!1})}})),wp.element.createElement(K,{label:Object(A.__)("Icon","getwid")},wp.element.createElement(N.a,{value:n[e].icon,onChange:function(t){r({icon:t},e)}})),wp.element.createElement(G,{label:Object(A.__)("Link","getwid"),value:n[e].link,onChange:function(t){r({link:t},e)}}),wp.element.createElement(Y,{label:Object(A.__)("Open in New Tab","getwid"),checked:"_blank"===n[e].linkTarget,onChange:function(t){var o=n[e].rel,i=t?"_blank":void 0,a=o;i&&!o?a="noreferrer noopener":i||"noreferrer noopener"!==o||(a=void 0),r({linkTarget:i,rel:a},e)}}),wp.element.createElement(G,{label:Object(A.__)("Link Rel","getwid"),value:n[e].rel||"",onChange:function(t){r({rel:t},e)}}))}},{key:"icon_block",value:function(e){var t,n=this.props,r=n.attributes.iconsStyle,o=(n.className,n.backgroundColor),i=n.textColor;return wp.element.createElement(L,null,wp.element.createElement("span",{className:S()("".concat(J,"__wrapper"),(t={"has-background":o.color&&"stacked"==r},p()(t,o.class,o.class&&"stacked"==r),p()(t,"has-text-color",i.color),p()(t,i.class,i.class),t)),style:{color:i.color?i.color:void 0,backgroundColor:"stacked"==r&&o.color?o.color:void 0}},wp.element.createElement("i",{className:e.icon})))}},{key:"icon_render",value:function(e,t){var n=(this.props.className,this.state),r=n.selectedIcon,o=n.openPopUp;return wp.element.createElement(L,null,r==t&&o&&wp.element.createElement(Q,{className:"".concat(J,"__popover"),focusOnMount:"container",position:"bottom left"},this.renderIconSettings(r)),wp.element.createElement("a",{className:"".concat(J,"__link"),href:""!=e.link?e.link:"#",target:"_blank"==e.linkTarget?e.linkTarget:void 0,rel:e.rel?e.rel:void 0,onClick:function(e){e.preventDefault()}},this.icon_block(e)))}},{key:"render",value:function(){var e,t,n=this,r=this.props,i=r.attributes,a=(i.align,i.textAlignmentDesktop),l=i.textAlignmentTablet,c=i.textAlignmentMobile,u=i.icons,d=i.iconsStyle,m=i.iconsSize,g=i.iconsSpacing,f=r.className,b=(r.setAttributes,r.isSelected),w=(r.setBackgroundColor,r.setTextColor,r.backgroundColor,r.textColor,this.getState),h=this.changeState,v=this.updateArrValues,y=this.state.selectedIcon;return[wp.element.createElement(V,{key:"toolbar"},wp.element.createElement(U,{controls:this.getIcosDropdown()})),wp.element.createElement(x.a,s()({},o(o(o(o({},this.props),{changeState:h}),{getState:w}),{updateArrValues:v}),{key:"inspector"})),wp.element.createElement("div",{className:S()(f,"has-".concat(g,"-spacing"),(e={},p()(e,"has-icons-stacked","stacked"===d),p()(e,"has-icons-framed","framed"===d),e)),key:"edit",style:{fontSize:m}},wp.element.createElement("ul",{className:S()("".concat(J,"__list"),(t={},p()(t,"getwid-justify-content-flex-start","left"===a),p()(t,"getwid-justify-content-center","center"===a),p()(t,"getwid-justify-content-flex-end","right"===a),p()(t,"getwid-justify-content-tablet-flex-start","left"===l),p()(t,"getwid-justify-content-tablet-center","center"===l),p()(t,"getwid-justify-content-tablet-flex-end","right"===l),p()(t,"getwid-justify-content-mobile-flex-start","left"===c),p()(t,"getwid-justify-content-mobile-center","center"===c),p()(t,"getwid-justify-content-mobile-flex-end","right"===c),t))},u.map(function(e,t){var r=S()("".concat(J,"__item"),{"icon-selected":y==t});return wp.element.createElement("li",{className:r,onClick:function(){n.onSelectIcon(t)}},n.icon_render(e,t))}),b&&wp.element.createElement("span",{className:"".concat(J,"__link ").concat(J,"__add-icon")},wp.element.createElement(q,{icon:"insert",onClick:this.onAddIcon,label:Object(A.__)("Add Icon","getwid")}))))]}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,o=r.clientId,i=r.isSelected,a=this.state.selectedIcon;if(i&&null!=a){var l=B("[data-block='".concat(o,"']")),c=B(".".concat(J,"__popover .components-popover__content"));B(l).off(),B(document).off("keydown",".".concat(J,"__popover")),B(document).on("keydown",".".concat(J,"__popover"),function(e){"Delete"==e.key&&e.target==c[0]&&n.onDeleteIcon()}),B(l).on("keydown",function(e){"Delete"==e.key&&n.onDeleteIcon()})}i||"object"==m()(a)||this.setState({selectedIcon:null})}},{key:"activateIcon",value:function(e){this.setState({selectedIcon:e})}},{key:"onSelectIcon",value:function(e){this.state.selectedIcon;this.setState({selectedIcon:e,openPopUp:!0})}},{key:"onDeleteIcon",value:function(){var e=this.state.selectedIcon;if(null!==e){var t=this.props,n=t.attributes.icons;(0,t.setAttributes)({icons:n.filter(function(t,n){return n!==e})}),this.setState({selectedIcon:null})}}},{key:"onAddIcon",value:function(){var e=this.props.attributes.icons;this.insertIcon({index:e.length})}},{key:"onInsertIconBefore",value:function(){var e=this.state.selectedIcon;null!==e&&this.insertIcon({index:e})}},{key:"onInsertIconAfter",value:function(){var e=this.state.selectedIcon;null!==e&&this.insertIcon({index:e+1})}},{key:"onDuplicate",value:function(){var e=this.state.selectedIcon,t=this.props,n=t.attributes.icons,r=t.setAttributes;null!==e&&(r({icons:[].concat(l()(n.slice(0,e)),[n[e]],l()(n.slice(e)))}),this.activateIcon(e+1))}},{key:"insertIcon",value:function(e){var t=e.index,n=this.props,r=n.attributes.icons,o=n.setAttributes,i={icon:"fab fa-wordpress",link:"#",linkTarget:void 0,rel:""};o({icons:[].concat(l()(r.slice(0,t)),[i],l()(r.slice(t)))})}},{key:"onMoveIconLeft",value:function(){var e=this.state.selectedIcon;null!==e&&this.moveIcon({from:e,to:e-1})}},{key:"onMoveIconRight",value:function(){var e=this.state.selectedIcon;null!==e&&this.moveIcon({from:e,to:e+1})}},{key:"moveIcon",value:function(e){var t=e.from,n=e.to,r=this.props,o=r.attributes.icons;(0,r.setAttributes)({icons:T()(o,t,n)}),this.activateIcon(n)}}]),t}(I);t.a=F([H("backgroundColor",{textColor:"color"})])(Z)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return P});var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(16)),h=wp.element,v=h.Component,y=h.Fragment,_=wp.blockEditor||wp.editor,k=_.InspectorControls,O=wp.components,E=O.PanelBody,C=O.SelectControl,j=O.RadioControl,S=O.TextControl,x=O.TabPanel,P=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"renderResponsiveAlignmentTabs",value:function(e){var t=this.props.attributes,n=t.textAlignmentDesktop,r=t.textAlignmentTablet,o=t.textAlignmentMobile,i=this.props.setAttributes;switch(e.name){case"desktop":return wp.element.createElement(y,null,wp.element.createElement(j,{label:Object(b.__)("Horizontal Alignment","getwid"),selected:void 0!==n?n:"left",options:[{value:"left",label:Object(b.__)("Left","getwid")},{value:"center",label:Object(b.__)("Center","getwid")},{value:"right",label:Object(b.__)("Right","getwid")}],onChange:function(e){return i({textAlignmentDesktop:e})}}));case"tablet":return wp.element.createElement(y,null,wp.element.createElement(j,{label:Object(b.__)("Horizontal Alignment","getwid"),selected:void 0!==r?r:"left",options:[{value:"left",label:Object(b.__)("Left","getwid")},{value:"center",label:Object(b.__)("Center","getwid")},{value:"right",label:Object(b.__)("Right","getwid")}],onChange:function(e){return i({textAlignmentTablet:e})}}));case"mobile":return wp.element.createElement(y,null,wp.element.createElement(j,{label:Object(b.__)("Horizontal Alignment","getwid"),selected:void 0!==o?o:"left",options:[{value:"left",label:Object(b.__)("Left","getwid")},{value:"center",label:Object(b.__)("Center","getwid")},{value:"right",label:Object(b.__)("Right","getwid")}],onChange:function(e){return i({textAlignmentMobile:e})}}))}}},{key:"render",value:function(){var e=this,t=this.props,n=t.setAttributes,r=t.customTextColor,o=t.customBackgroundColor,a=t.setBackgroundColor,l=t.setTextColor,c=t.backgroundColor,s=t.textColor,u=this.props.attributes,p=u.iconsStyle,d=u.iconsSize,m=u.iconsSpacing,g="stacked"===p||"framed"===p;return wp.element.createElement(k,null,wp.element.createElement(E,{title:Object(b.__)("Settings","getwid")},wp.element.createElement(x,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(b.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(b.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(b.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return e.renderResponsiveAlignmentTabs(t)}),wp.element.createElement(w.a,{colorSettings:[{title:Object(b.__)("Icon Color","getwid"),colors:{customColor:r,defaultColor:s},changeColor:l}].concat(i()(g&&"stacked"==p?[{title:Object(b.__)("Background Color","getwid"),colors:{customColor:o,defaultColor:c},changeColor:a}]:[]))}),wp.element.createElement(j,{label:Object(b.__)("Layout","getwid"),selected:void 0!==p?p:"default",options:[{value:"default",label:Object(b.__)("Icon","getwid")},{value:"stacked",label:Object(b.__)("Background","getwid")},{value:"framed",label:Object(b.__)("Outline","getwid")}],onChange:function(e){return n({iconsStyle:e})}}),wp.element.createElement(S,{type:"number",label:Object(b.__)("Icon Size","getwid"),value:d,onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),n({iconsSize:e})},min:0,step:1}),wp.element.createElement(C,{label:Object(b.__)("Space between icons","getwid"),value:m,options:[{value:"none",label:Object(b.__)("None","getwid")},{value:"default",label:Object(b.__)("Default","getwid")},{value:"small",label:Object(b.__)("Small","getwid")},{value:"medium",label:Object(b.__)("Medium","getwid")},{value:"large",label:Object(b.__)("Large","getwid")}],onChange:function(e){return n({iconsSpacing:e})}})))}}]),t}(v)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t,n){var o=e[t],i=e.length,a=t-n;return a>0?[].concat(r(e.slice(0,n)),[o],r(e.slice(n,t)),r(e.slice(t+1,i))):a<0?[].concat(r(e.slice(0,t)),r(e.slice(t+1,n+1)),[o],r(e.slice(n+1,i))):e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}n.d(t,"a",function(){return x});var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(8)),v=n.n(h),y=n(1),_=(n.n(y),window),k=(_.jQuery,wp.element),O=k.Component,E=k.Fragment,C=wp.blockEditor||wp.editor,j=C.getColorClassName,S="wp-block-getwid-social-links",x=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.icon_render=e.icon_render.bind(p()(e)),e.icon_block=e.icon_block.bind(p()(e)),e}m()(t,e);var n=r(t);return s()(t,[{key:"icon_block",value:function(e){var t,n=this.props.attributes,r=n.iconsStyle,o=n.backgroundColor,a=n.textColor,l=n.customBackgroundColor,c=n.customTextColor,s=j("color",a),u=j("background-color",o);return wp.element.createElement(E,null,wp.element.createElement("span",{className:v()("".concat(S,"__wrapper"),(t={"has-text-color":a||c},i()(t,s,s),i()(t,"has-background",(o||l)&&"stacked"==r),i()(t,u,u&&"stacked"==r),t)),style:{color:c||void 0,backgroundColor:"stacked"==r?l||void 0:void 0}},wp.element.createElement("i",{className:e.icon})))}},{key:"icon_render",value:function(e,t){return wp.element.createElement(E,null,wp.element.createElement("a",{className:"".concat(S,"__link"),href:""!=e.link?e.link:"#",target:"_blank"==e.linkTarget?e.linkTarget:void 0,rel:e.rel?e.rel:void 0},this.icon_block(e)))}},{key:"render",value:function(){var e,t,n=this,r=this.props.attributes,o=r.textAlignmentDesktop,a=r.textAlignmentTablet,l=r.textAlignmentMobile,c=r.icons,s=r.iconsStyle,u=r.iconsSize,p=r.iconsSpacing,d=r.className;return wp.element.createElement("div",{className:v()(d,"has-".concat(p,"-spacing"),(e={},i()(e,"has-icons-stacked","stacked"===s),i()(e,"has-icons-framed","framed"===s),e)),style:{fontSize:u}},wp.element.createElement("ul",{className:v()("".concat(S,"__list"),(t={},i()(t,"getwid-justify-content-flex-start","left"===o),i()(t,"getwid-justify-content-center","center"===o),i()(t,"getwid-justify-content-flex-end","right"===o),i()(t,"getwid-justify-content-tablet-flex-start","left"===a),i()(t,"getwid-justify-content-tablet-center","center"===a),i()(t,"getwid-justify-content-tablet-flex-end","right"===a),i()(t,"getwid-justify-content-mobile-flex-start","left"===l),i()(t,"getwid-justify-content-mobile-center","center"===l),i()(t,"getwid-justify-content-mobile-flex-end","right"===l),t))},c.map(function(e,t){var r=v()("".concat(S,"__item"));return wp.element.createElement("li",{className:r},n.icon_render(e,t))})))}}]),t}(O)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(280)),c=n(281),s=n(284),u=n(12),p=n(285),d=(n.n(p),n(1)),m=(n.n(d),window),g=(m.jQuery,wp.blocks),f=g.registerBlockType,b=g.createBlock,w=wp.data.select;f("getwid/button-group",o(o({title:Object(d.__)("Button Group","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M22,3v6H2V3H22 M24,1H0v10h24V1L24,1z"}),wp.element.createElement("g",null,wp.element.createElement("rect",{x:"4",y:"5",width:"16",height:"2"})),wp.element.createElement("path",{d:"M22,15v6H2v-6H22 M24,13H0v10h24V13L24,13z"}),wp.element.createElement("g",null,wp.element.createElement("rect",{x:"4",y:"17",width:"16",height:"2"}))),category:"getwid-blocks",keywords:[],supports:{inserter:!Getwid.disabled_blocks.includes("getwid/button-group")},transforms:{to:[{type:"block",blocks:["core/button"],transform:function(e){var t=w("core/editor").getSelectedBlockClientId(),n=w("core/editor").getBlock(t).innerBlocks,r=[];return n.length&&jQuery.each(n,function(e,t){""!=t.attributes.text&&r.push({text:t.attributes.text,url:t.attributes.url})}),r.map(function(e){var t=e.text,n=e.url;return b("core/button",{text:t,url:n})})}}]},attributes:l.a},Object(u.b)("getwid/button-group",c.a)),{},{save:s.a}))},function(e,t,n){"use strict";var r={spacing:{type:"string",default:""},alignment:{type:"string",default:"left"},alignmentTablet:{type:"string",default:""},alignmentMobile:{type:"string",default:""},direction:{type:"string",default:"row"},directionTablet:{type:"string",default:""},directionMobile:{type:"string",default:""},width:{type:"string",default:"auto"},widthTablet:{type:"string",default:"auto"},widthMobile:{type:"string",default:"auto"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(8)),v=n.n(h),y=n(282),_=n(283),k=(n.n(_),n(1)),O=(n.n(k),window),E=(O.jQuery,wp.element),C=E.Fragment,j=E.Component,S=wp.blockEditor||wp.editor,x=S.InnerBlocks,P=[["core/button",{text:Object(k.__)("Button","getwid")}],["core/button",{text:Object(k.__)("Button","getwid")}]],T=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",valu
|
3 |
Licensed under the MIT License (MIT), see
|
4 |
http://jedwatson.github.io/classnames
|
5 |
*/
|
6 |
+
!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=window.lodash}()},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){"use strict";function r(e){var t=/(?:https?:\/\/)?(?:www\.)?(?:youtube(?:-nocookie)?\.com\/\S*(?:(?:\/e(?:mbed))?\/v?|(?:watch\?)?(?:\S*?&?vi?\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/;return!!e.match(t)&&RegExp.$1}function o(e,t){return{edit:Getwid.disabled_blocks.includes(e)?function(){var t=Object(p.sprintf)(Object(p.__)('%s block is disabled in plugin settings. <a href="%s">Manage Blocks</a>',"getwid"),e,Getwid.options_writing_url);return wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:t}})}:t}}function i(e,t){var n=document.createElement("script");n.type="text/javascript",n.src=e;var r=!1;document.getElementsByTagName("head")[0].appendChild(n),n.onload=n.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,n.onload=n.onreadystatechange=null,t(n))}}function a(e){return e.offset().top-m(window).scrollTop()-m(window).height()<0}function l(e,t,n){var r=this;m(e).on("scroll",{element:t},function(e){a(e.data.element)&&(n(),m(r).off(e))})}function c(){var e;return e=m(".edit-post-layout__content"),e.length?e[0].className:(e=m(".block-editor-editor-skeleton__content"),e.length?e[0].className:(e=m(".interface-interface-skeleton__content"),!!e.length&&e[0].className))}function s(e,t,n){var r=document.createElement("iframe");r.style.pointerEvents="none",r.style.position="absolute",r.style.display="block",r.style.height="100%",r.style.width="100%",r.style.top="0",r.style.bottom="0",r.style.left="0",r.style.backgroundColor="transparent",r.className="".concat(t,"__resize-observer"),m(r).load(function(){m(r.contentWindow).resize(function(){n()})}),e.append(r)}function u(e){var t=function(e){return null!==e&&void 0!==e&&""!==e&&(e=e.toString(),e.replace(/<[^>]*>/g,""))};return e.map(function(e,n){return t(e.content)})}t.f=r,t.b=o,t.a=i,t.g=a,t.h=l,t.e=c,t.c=s,t.d=u;var p=(n(0),n(1)),d=(n.n(p),window),m=d.jQuery},function(e,t){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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t,n){"use strict";n.d(t,"g",function(){return N}),n.d(t,"d",function(){return B}),n.d(t,"b",function(){return L}),n.d(t,"i",function(){return V}),n.d(t,"c",function(){return F}),n.d(t,"f",function(){return W}),n.d(t,"e",function(){return G}),n.d(t,"h",function(){return U}),n.d(t,"a",function(){return q});var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(17)),c=n(16),s=n(44),u=n(18),p=n(120),d=(n.n(p),window),m=d.jQuery,g=wp.blockEditor||wp.editor,f=g.MediaPlaceholder,b=g.MediaUpload,w=wp.element.Fragment,h=wp.components,v=h.SelectControl,y=h.TabPanel,_=h.BaseControl,k=h.TextControl,O=h.ToggleControl,E=h.Button,C=h.IconButton,j=h.RangeControl,S=h.TextareaControl,x=h.RadioControl,P=h.CheckboxControl,T=h.ButtonGroup,R=["image"],N=function(e){var t=e.props.attributes,n=t.paddingTop,o=t.paddingRight,i=t.paddingBottom,a=t.paddingLeft,l=e.props.attributes,c=l.paddingTopValue,u=l.paddingRightValue,p=l.paddingBottomValue,d=l.paddingLeftValue,m=function(){(0,e.props.setAttributes)({paddingTopValue:void 0,paddingBottomValue:void 0,paddingLeftValue:void 0,paddingRightValue:void 0,paddingTop:"",paddingBottom:"",paddingLeft:"",paddingRight:"",paddingTopTablet:"",paddingBottomTablet:"",paddingLeftTablet:"",paddingRightTablet:"",paddingTopMobile:"",paddingBottomMobile:"",paddingLeftMobile:"",paddingRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Padding","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return M(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!A(e)},Object(r.__)("Reset All","getwid"))))},A=function(e){var t=e.props.attributes,n=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,a=e.props.attributes,l=a.paddingTopValue,c=a.paddingRightValue,s=a.paddingBottomValue,u=a.paddingLeftValue,p=e.props.attributes,d=p.paddingTopTablet,m=p.paddingRightTablet,g=p.paddingBottomTablet,f=p.paddingLeftTablet,b=e.props.attributes,w=b.paddingTopMobile,h=b.paddingRightMobile,v=b.paddingBottomMobile,y=b.paddingLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},M=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.paddingTop,a=o.paddingRight,c=o.paddingBottom,s=o.paddingLeft,u=e.props.attributes,p=u.paddingTopValue,d=u.paddingRightValue,m=u.paddingBottomValue,g=u.paddingLeftValue,f=e.props.attributes,b=f.paddingTopTablet,h=f.paddingRightTablet,y=f.paddingBottomTablet,_=f.paddingLeftTablet,k=e.props.attributes,O=k.paddingTopMobile,E=k.paddingRightMobile,j=k.paddingBottomMobile,S=k.paddingLeftMobile,x=e.props,P=x.changeState,T=x.isLockedPaddingsOnDesktop,R=x.isLockedPaddingsOnTablet,N=x.isLockedPaddingsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedPaddingsOnDesktop",!1):function(){P("isLockedPaddingsOnDesktop",!0);"custom"==i?function(){n({paddingBottom:i,paddingRight:i,paddingLeft:i,paddingBottomValue:p,paddingRightValue:p,paddingLeftValue:p})}():function(){n({paddingBottom:i,paddingLeft:i,paddingRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{value:p,onChange:function(e){T?function(){n({paddingBottomValue:e,paddingRightValue:e,paddingLeftValue:e,paddingTopValue:e})}():n({paddingTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({paddingBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{value:m,isLocked:T,onChange:function(e){return n({paddingBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({paddingLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{value:g,isLocked:T,onChange:function(e){return n({paddingLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({paddingRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{value:d,isLocked:T,onChange:function(e){return n({paddingRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({paddingBottomTablet:e,paddingRightTablet:e,paddingLeftTablet:e,paddingTopTablet:e})}():n({paddingTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedPaddingsOnTablet",!1):function(){P("isLockedPaddingsOnTablet",!0),n({paddingBottomTablet:b,paddingRightTablet:b,paddingLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({paddingBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({paddingLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({paddingRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==O?O:"",onChange:function(e){N?function(){n({paddingBottomMobile:e,paddingLeftMobile:e,paddingRightMobile:e,paddingTopMobile:e})}():n({paddingTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedPaddingsOnMobile",!1):function(){P("isLockedPaddingsOnMobile",!0),n({paddingBottomMobile:O,paddingLeftMobile:O,paddingRightMobile:O})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!N||null,value:void 0!==j?j:"",onChange:function(e){return n({paddingBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!N||null,value:void 0!==S?S:"",onChange:function(e){return n({paddingLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!N||null,value:void 0!==E?E:"",onChange:function(e){return n({paddingRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},B=function(e){var t=e.props.attributes,n=t.marginTop,o=t.marginRight,i=t.marginBottom,a=t.marginLeft,l=e.props.attributes,c=l.marginTopValue,u=l.marginRightValue,p=l.marginBottomValue,d=l.marginLeftValue,m=function(){(0,e.props.setAttributes)({marginTopValue:void 0,marginBottomValue:void 0,marginLeftValue:void 0,marginRightValue:void 0,marginTop:"",marginBottom:"",marginLeft:"",marginRight:"",marginTopTablet:"",marginBottomTablet:"",marginLeftTablet:"",marginRightTablet:"",marginTopMobile:"",marginBottomMobile:"",marginLeftMobile:"",marginRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Margin","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return I(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!D(e)},Object(r.__)("Reset All","getwid"))))},D=function(e){var t=e.props.attributes,n=t.marginTop,r=t.marginRight,o=t.marginBottom,i=t.marginLeft,a=e.props.attributes,l=a.marginTopValue,c=a.marginRightValue,s=a.marginBottomValue,u=a.marginLeftValue,p=e.props.attributes,d=p.marginTopTablet,m=p.marginRightTablet,g=p.marginBottomTablet,f=p.marginLeftTablet,b=e.props.attributes,w=b.marginTopMobile,h=b.marginRightMobile,v=b.marginBottomMobile,y=b.marginLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},I=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.marginTop,a=o.marginRight,c=o.marginBottom,s=o.marginLeft,u=e.props.attributes,p=u.marginTopValue,d=u.marginRightValue,m=u.marginBottomValue,g=u.marginLeftValue,f=e.props.attributes,b=f.marginTopTablet,h=f.marginRightTablet,y=f.marginBottomTablet,_=f.marginLeftTablet,k=e.props.attributes,O=k.marginTopMobile,E=k.marginRightMobile,j=k.marginBottomMobile,S=k.marginLeftMobile,x=e.props,P=x.changeState,T=x.isLockedMarginsOnDesktop,R=x.isLockedMarginsOnTablet,N=x.isLockedMarginsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({marginBottom:e,marginLeft:e,marginRight:e,marginTop:e,marginTopValue:p})}():n({marginTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedMarginsOnDesktop",!1):function(){P("isLockedMarginsOnDesktop",!0);"custom"==i?function(){n({marginBottom:i,marginRight:i,marginLeft:i,marginBottomValue:p,marginRightValue:p,marginLeftValue:p})}():function(){n({marginBottom:i,marginLeft:i,marginRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{allowNegative:!0,value:p,onChange:function(e){T?function(){n({marginBottomValue:e,marginRightValue:e,marginLeftValue:e,marginTopValue:e})}():n({marginTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({marginBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{allowNegative:!0,value:m,isLocked:T,onChange:function(e){return n({marginBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({marginLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{allowNegative:!0,value:g,isLocked:T,onChange:function(e){n({marginLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({marginRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{allowNegative:!0,value:d,isLocked:T,onChange:function(e){return n({marginRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({marginBottomTablet:e,marginRightTablet:e,marginLeftTablet:e,marginTopTablet:e})}():n({marginTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedMarginsOnTablet",!1):function(){P("isLockedMarginsOnTablet",!0),n({marginBottomTablet:b,marginRightTablet:b,marginLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({marginBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({marginLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({marginRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==O?O:"",onChange:function(e){N?function(){n({marginBottomMobile:e,marginRightMobile:e,marginLeftMobile:e,marginTopMobile:e})}():n({marginTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedMarginsOnMobile",!1):function(){P("isLockedMarginsOnMobile",!0),n({marginBottomMobile:O,marginRightMobile:O,marginLeftMobile:O})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),value:void 0!==j?j:"",disabled:!!N||null,onChange:function(e){return n({marginBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),value:void 0!==S?S:"",disabled:!!N||null,onChange:function(e){return n({marginLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),value:void 0!==E?E:"",disabled:!!N||null,onChange:function(e){return n({marginRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},L=function(e){var t=e.props.attributes,n=t.fontSize,o=t.fontSizeTablet,i=t.fontSizeMobile,a=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return z(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:function(){return a({fontSizeTablet:"fs-tablet-100",fontSizeMobile:"fs-mobile-100",fontSize:void 0})},disabled:!("fs-tablet-100"!=o||"fs-mobile-100"!=i||void 0!=n)},Object(r.__)("Reset All","getwid"))))},z=function(e,t){var n=e.props.attributes,o=n.fontSize,i=n.fontSizeTablet,a=n.fontSizeMobile,c=e.props.setAttributes;switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Font Size","getwid"),value:o,onChange:function(e){return c({fontSize:e})}});case"tablet":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:i,onChange:function(e){return c({fontSizeTablet:e})},options:[{value:"fs-tablet-50",label:Object(r.__)("50%","getwid")},{value:"fs-tablet-60",label:Object(r.__)("60%","getwid")},{value:"fs-tablet-70",label:Object(r.__)("70%","getwid")},{value:"fs-tablet-80",label:Object(r.__)("80%","getwid")},{value:"fs-tablet-90",label:Object(r.__)("90%","getwid")},{value:"fs-tablet-100",label:Object(r.__)("100%","getwid")},{value:"fs-tablet-110",label:Object(r.__)("110%","getwid")},{value:"fs-tablet-120",label:Object(r.__)("120%","getwid")}]});case"mobile":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:a,onChange:function(e){return c({fontSizeMobile:e})},options:[{value:"fs-mobile-50",label:Object(r.__)("50%","getwid")},{value:"fs-mobile-60",label:Object(r.__)("60%","getwid")},{value:"fs-mobile-70",label:Object(r.__)("70%","getwid")},{value:"fs-mobile-80",label:Object(r.__)("80%","getwid")},{value:"fs-mobile-90",label:Object(r.__)("90%","getwid")},{value:"fs-mobile-100",label:Object(r.__)("100%","getwid")},{value:"fs-mobile-110",label:Object(r.__)("110%","getwid")},{value:"fs-mobile-120",label:Object(r.__)("120%","getwid")}]})}},V=function(e){var t=e.props.attributes.slideHeight,n=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(_,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),disabled:!0,className:"components-button is-link is-small"}]},function(t){return H(e,t)}),wp.element.createElement(E,{isLink:!0,onClick:function(){return n({slideHeight:""})},disabled:!(""!=t&&void 0!==t)},Object(r.__)("Reset All","getwid"))))},H=function(e,t){var n=e.props.attributes,o=n.slideHeight,i=n.resetHeightOnTablet,a=n.resetHeightOnMobile,c=e.props.setAttributes,s=function(e,t){var n=e.find("button[tabindex='-1']");m.each(n,function(e,n){m(n).attr("disabled",t)})},u=setInterval(function(){var e=m(".getwid-editor-tabs");e.length&&(o?s(e,!1):s(e,!0),clearInterval(u))},1);switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Slider Height","getwid"),value:o,units:[{label:"px",value:"px"},{label:"vh",value:"vh"}],onChange:function(e){var t=m(".getwid-editor-tabs");e?(s(t,!1),c({slideHeight:e})):(s(t,!0),c({slideHeight:e,resetHeightOnTablet:!1,resetHeightOnMobile:!1}))}});case"tablet":return wp.element.createElement(P,{label:"Reset height on tablet",checked:i,onChange:function(e){c({resetHeightOnTablet:e})}});case"mobile":return wp.element.createElement(P,{label:"Reset height on mobile",checked:a,onChange:function(e){c({resetHeightOnMobile:e})}})}},F=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedMargins,i=t.changeState,a=e.props.attributes,c=a.marginTop,s=a.marginBottom,u=a.marginLeft,p=a.marginRight,d=function(){return n({marginBottom:void 0,marginRight:void 0,marginLeft:void 0,marginTop:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Margin Top","getwid"),value:c,onChange:function(e){o?function(){n({marginBottom:e,marginRight:e,marginLeft:e,marginTop:e})}():n({marginTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedMargins",!1):function(){i("isLockedMargins",!0),n({marginBottom:c,marginRight:c,marginLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Margin Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({marginBottom:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({marginLeft:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({marginRight:e})},allowNegative:!0}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,isLocked:!function(){return void 0!==s||void 0!==p||void 0!==u||void 0!==c}()},Object(r.__)("Reset","getwid"))))},W=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedPaddings,i=t.changeState,a=e.props.attributes,c=a.paddingTop,s=a.paddingBottom,u=a.paddingLeft,p=a.paddingRight,d=function(){return n({paddingTop:void 0,paddingBottom:void 0,paddingLeft:void 0,paddingRight:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Padding Top","getwid"),value:c,onChange:function(e){o?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedPaddings",!1):function(){i("isLockedPaddings",!0),n({paddingBottom:c,paddingRight:c,paddingLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Padding Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({paddingBottom:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({paddingLeft:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({paddingRight:e})}}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,disabled:!function(){return void 0!==c||void 0!==s||void 0!==p||void 0!==u}()},Object(r.__)("Reset","getwid"))))},G=function(e){var t=e.id,n=e.url,o=e.onSelectMedia,i=e.onRemoveMedia,a=void 0===i?null:i,l=e.removeButton,c=void 0===l||l,s=(e.video,e.label),u=void 0===s?Object(r.__)("Background Image","getwid"):s,p=c?"ButtonGroup":"Fragment";return wp.element.createElement(w,null,wp.element.createElement(_,{label:u},wp.element.createElement(w,null,!n&&wp.element.createElement(f,{icon:"format-image",labels:{title:Object(r.__)("Image","getwid"),instructions:Object(r.__)("Upload an image file, pick one from your media library, or add one with a URL.","getwid")},onSelect:o,accept:"image/*",allowedTypes:R}),n&&wp.element.createElement(b,{onSelect:o,allowedTypes:R,value:t,render:function(e){var o=e.open;return wp.element.createElement(_,null,!!n&&wp.element.createElement("div",{onClick:o,className:"getwid-background-image-wrapper"},wp.element.createElement("img",{src:n})),wp.element.createElement(p,null,wp.element.createElement(E,{isPrimary:!0,onClick:o},!t&&Object(r.__)("Select Image","getwid"),!!t&&Object(r.__)("Replace Image","getwid")),!!t&&c&&wp.element.createElement(E,{isDefault:!0,onClick:a},Object(r.__)("Remove Image","getwid"))))}}))))},U=function(e){var t=e.props.getState;if(!Object(a.isEqual)(t("currentPoint"),null)){var n=e.props.attributes.imagePoints,o=e.props,i=o.updateArrValues,l=o.changeState,s=n?JSON.parse(n):[],p=t("currentPoint");return wp.element.createElement(w,null,wp.element.createElement(k,{label:Object(r.__)("Title","getwid"),value:s[p].title,onChange:function(e){i({title:e},p),l("updatePoints",!0)}}),wp.element.createElement(k,{placeholder:Object(r.__)("Enter URL","getwid"),value:s[p].link,onChange:function(e){i({link:e},p)}}),wp.element.createElement(O,{label:Object(r.__)("Open in New Tab","getwid"),checked:s[p].newTab,onChange:function(e){i({newTab:e},p)}}),wp.element.createElement(S,{label:Object(r.__)("Popup Content. Plain Text or HTML.","getwid"),rows:"5",value:unescape(s[p].content),onChange:function(e){i({content:e},p),l("updatePoints",!0)}}),wp.element.createElement(O,{label:Object(r.__)("Opened by default","getwid"),checked:s[p].popUpOpen,onChange:function(e){i({popUpOpen:e},p)}}),wp.element.createElement(j,{label:Object(r.__)("X Coord (%)","getwid"),value:parseFloat(s[p].position.x),onChange:function(e){void 0===e&&(e=50),i({position:{x:parseFloat(e)+"%",y:s[p].position.y}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(j,{label:Object(r.__)("Y Coord (%)","getwid"),value:parseFloat(s[p].position.y),onChange:function(e){void 0===e&&(e=50),i({position:{x:s[p].position.x,y:parseFloat(e)+"%"}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(c.a,{colorSettings:[{title:Object(r.__)("Point Background","getwid"),colors:{customColor:s[p].backgroundColor},changeColor:function(e){i({backgroundColor:e},p),l({updatePoints:!0,highlightDot:!0})}},{title:Object(r.__)("Icon Color","getwid"),colors:{customColor:s[p].color},changeColor:function(e){i({color:e},p),l({updatePoints:!0,highlightDot:!0})}}]}),wp.element.createElement(x,{label:Object(r.__)("Tooltip Position","getwid"),selected:s[p].placement,options:[{value:"top",label:Object(r.__)("Top","getwid")},{value:"right",label:Object(r.__)("Right","getwid")},{value:"bottom",label:Object(r.__)("Bottom","getwid")},{value:"left",label:Object(r.__)("Left","getwid")}],onChange:function(e){i({placement:e},p),l({updatePoints:!0,highlightDot:!0})}}),wp.element.createElement(k,{label:Object(r.__)("Popup Maximum Width, px.","getwid"),value:s[p].popUpWidth,type:"number",onChange:function(e){i({popUpWidth:e},p)}}),wp.element.createElement(_,{label:Object(r.__)("Point Icon","getwid")},wp.element.createElement(u.a,{value:s[p].icon,onChange:function(e){i({icon:e},p),l({updatePoints:!0,highlightDot:!0})}})))}},q=function(e){var t=e.props,n=t.updateCellsStyles,o=t.getSelectedCell,a=e.props,l=a.isRangeSelected,c=a.isMultiSelected,s=o(),u=l(),p=c();return wp.element.createElement(_,{label:"Borders",className:"components-getwid-border-control"},wp.element.createElement(T,{className:"components-getwid-border-group"},wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zm0-8h2v-2H7v2zm4 0h2v-2h-2v2zm0 8h2v-2h-2v2zm-8-4h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2v-2H3v2zm0-4h2V7H3v2zm8 8h2v-2h-2v2zm8-8h2V7h-2v2zm0 4h2v-2h-2v2zM3 3v2h18V3H3zm16 14h2v-2h-2v2zm-4 4h2v-2h-2v2zM11 9h2V7h-2v2zm8 12h2v-2h-2v2zm-4-8h2v-2h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Top Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"top"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h2v-2h-2v2zm4-10v18h2V3h-2zm-4 18h2v-2h-2v2zm0-16h2V3h-2v2zm-4 8h2v-2h-2v2zm0-8h2V3h-2v2zm0 4h2V7h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Right Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"right"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M9 11H7v2h2v-2zm4 4h-2v2h2v-2zM9 3H7v2h2V3zm4 8h-2v2h2v-2zM5 3H3v2h2V3zm8 4h-2v2h2V7zm4 4h-2v2h2v-2zm-4-8h-2v2h2V3zm4 0h-2v2h2V3zm2 10h2v-2h-2v2zm0 4h2v-2h-2v2zM5 7H3v2h2V7zm14-4v2h2V3h-2zm0 6h2V7h-2v2zM5 11H3v2h2v-2zM3 21h18v-2H3v2zm2-6H3v2h2v-2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Bottom Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"bottom"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M11 21h2v-2h-2v2zm0-4h2v-2h-2v2zm0-12h2V3h-2v2zm0 4h2V7h-2v2zm0 4h2v-2h-2v2zm-4 8h2v-2H7v2zM7 5h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2V3H3v18zM19 9h2V7h-2v2zm-4 12h2v-2h-2v2zm4-4h2v-2h-2v2zm0-14v2h2V3h-2zm0 10h2v-2h-2v2zm0 8h2v-2h-2v2zm-4-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Left Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"left"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("All","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"all"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v-2h-2v2zm8 4h2v-2h-2v2zm0-4h2v-2h-2v2zm0 8h2v-2h-2v2zm0-12h2V7h-2v2zm-8 0h2V7h-2v2zm8-6v2h2V3h-2zm-8 2h2V3h-2v2zm4 16h2v-2h-2v2zm0-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("None","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"none"})}}))))}},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(122),i=n(30),a=n(123);e.exports=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(106)),c=(n.n(l),wp.element.Fragment),s=wp.components,u=s.BaseControl,p=s.ColorPalette,d=s.ColorIndicator,m=wp.data.withSelect,g=wp.compose.compose,f=function(e){var t=e.props,n=e.getEditorSettings,r=t.colorSettings,o=Object(a.get)(n(),["colors"],[]);return wp.element.createElement(c,null,wp.element.createElement(u,{className:"components-getwid-color-palette-control"},r.map(function(e,t){var n=Object(a.has)(e,["colors","defaultColor"])?e.colors.defaultColor.color:void 0;return wp.element.createElement(c,null,wp.element.createElement(u.VisualLabel,null,e.title,(e.colors.customColor||n)&&wp.element.createElement(d,{colorValue:e.colors.customColor?e.colors.customColor:n})),wp.element.createElement(p,{colors:o,value:n||e.colors.customColor,onChange:e.changeColor}))})))};Object(a.has)(u,["VisualLabel"])||(u.VisualLabel=function(e){var t=e.className,n=e.children;return t=i()("components-base-control__label",t),wp.element.createElement("span",{className:t},n)}),t.a=g([m(function(e,t){return{getEditorSettings:e("core/editor").getEditorSettings,props:t}})])(f)},function(e,t,n){"use strict";function r(e){function t(e,t){var r=void 0;return"unit"===t?h=e:w=e,h=void 0!==h?h:"",w=void 0!==w?w:"","auto"===h?r=n?e:"":void 0!==w&&""!==w&&(r=w+h),m(r)}var n=e.allowAuto,r=e.allowNegative,o=e.units,l=void 0===o?[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}]:o,s=e.value,u=e.label,m=e.onChange,g=e.isLocked,f=void 0!==g&&g,b="components-base-control components-getwid-style-length-control",w="",h="";if(n&&l.push({value:"auto",label:Object(c.__)("Auto","getwid")}),n&&"auto"===s&&(w="",h="auto"),void 0!==s){var v,y=Object(a.map)(l,"value").join("|"),_=r?"[-]?":"";(v=new RegExp("^(".concat(_,"[0-9]*\\.?[0-9]*)(").concat(y,"){0,1}$")).exec(s))?(w=v&&v[1]?v[1]:"",h=v&&v[2]?v[2]:""):(w="",h="")}return h||(h=l[0].value),wp.element.createElement("div",{className:b},wp.element.createElement(p,i()({className:["".concat(b,"__value_input")],name:"length",type:"number",label:u,value:w,onChange:function(e){return t(e,"length")},disabled:"auto"===h,min:r?void 0:0},"disabled",!!f||null)),wp.element.createElement(d,{className:["".concat(b,"__unit_select")],name:"unit",options:l,value:h,onChange:function(e){return t(e,"unit")},disabled:!!f||null}))}t.a=r;var o=n(7),i=n.n(o),a=(n(0),n(10)),l=(n.n(a),n(105)),c=(n.n(l),n(1)),s=(n.n(c),window),u=(s.jQuery,wp.components),p=u.TextControl,d=u.SelectControl},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return y});var a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=n(108),w=n.n(b),h=n(119),v=(n.n(h),Getwid.settings.iconList),y=function(e){function t(){return s()(this,t),n.apply(this,arguments)}p()(t,e);var n=i(t);return t}(w.a);y.defaultProps=o(o({},y.defaultProps),{},{icons:v||[],theme:"getwid",iconsPerPage:12})},function(e,t,n){"use strict";function r(e){var t=e.state,n=e.stateName,r=e.onChangeTab,o=e.tabs,i=void 0===o?["general","style","layout","advanced"]:o;return wp.element.createElement(m,null,wp.element.createElement(d,{className:"components-getwid-tabs-control"},i.includes("general")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"general"===t}),onClick:function(){r(n,"general")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-settings"}),Object(l.__)("General","getwid")))),i.includes("style")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"style"===t}),onClick:function(){r(n,"style")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-appearance"}),Object(l.__)("Style","getwid")))),i.includes("layout")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"layout"===t}),onClick:function(){r(n,"layout")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"layout"}),Object(l.__)("Layout","getwid")))),i.includes("advanced")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"advanced"===t}),onClick:function(){r(n,"advanced")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-generic"}),Object(l.__)("Advanced","getwid"))))))}t.a=r;var o=(n(0),n(124)),i=(n.n(o),n(8)),a=n.n(i),l=n(1),c=(n.n(l),window),s=(c.jQuery,wp.components),u=s.Dashicon,p=s.Button,d=s.PanelBody,m=wp.element.Fragment},function(e,t,n){"use strict";function r(e,t,n){var r=function(e){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var n in t)if(void 0!==e.style[n])return t[n]}(document.createElement("div")),o=void 0!==t.animation?t.animation:"",i=void 0!==t.duration?t.duration:"1s",a=void 0!==t.delay?t.delay:"0s";return e.css({"animation-duration":i,"animation-delay":a,"-webkit-animation-delay":a}),e.addClass("animated "+o).one(r,function(){jQuery(this).removeClass("animated "+o),"function"==typeof n&&n()}),this}t.a=r},function(e,t){!function(){e.exports=window.React}()},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(13),o=n.n(r),i=n(2),a=n.n(i),l=n(4),c=n.n(l),s=n(10),u=(n.n(s),n(42)),p=(n.n(u),n(43)),d=(n.n(p),wp.components.__experimentalGradientPicker),m=function(e,t){return e[t].value.toString()},g=function(e){var t=u.parse(e)[0],n=t.colorStops;if(Object(s.isEqual)(n[0].type,"hex")){var r=p(m(n,0)).toString(),o=p(m(n,1)).toString(),i=n[0].length.value,a=n[1].length.value,l=t.type,c=t.orientation?t.orientation.value:void 0;return Object(s.isEqual)(l,"linear-gradient")?"".concat(l,"(").concat(c,"deg,rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)"):"".concat(l,"(rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)")}return e},f=function(){function e(){a()(this,e)}return c()(e,null,[{key:"prepareMultiGradientStyle",value:function(t,n){var r=n.attributes,o=r.backgroundGradientFirstColor,i=r.foregroundGradientFirstColor,a=n.attributes,l=a.backgroundGradient,c=a.foregroundGradient;if(d){if("background"==t)return l||(o?(l=e.prepareGradientStyle("background",n),l=l.backgroundImage,l&&(l=l.replace(/, /g,function(){return","}),l=g(l)),l):void 0);if("foreground"==t)return c||(i?(c=e.prepareGradientStyle("foreground",n),c=c.backgroundImage,c&&(c=c.replace(/, /g,function(){return","}),c=g(c)),c):void 0)}else{if("background"==t)return o?(l=e.prepareGradientStyle("background",n),l=l.backgroundImage):void 0;if("foreground"==t)return i?(c=e.prepareGradientStyle("foreground",n),c=c.backgroundImage):void 0}}},{key:"prepareBackgroundImageStyles",value:function(e,t){var n=t.attributes;if(!n["".concat(e,"Image")])return{};var r=n["".concat(e,"Image")];return"object"===o()(r)&&(r=r.url),{backgroundImage:"url('".concat(r,"')"),backgroundPosition:""!=n["".concat(e,"ImagePosition")]?"custom"==n["".concat(e,"ImagePosition")]&&n["".concat(e,"CustomImagePosition")]?"".concat(100*n["".concat(e,"CustomImagePosition")].x,"% ").concat(100*n["".concat(e,"CustomImagePosition")].y,"%"):n["".concat(e,"ImagePosition")]:null,backgroundRepeat:""!=n["".concat(e,"ImageRepeat")]?n["".concat(e,"ImageRepeat")]:null,backgroundAttachment:""!=n["".concat(e,"ImageAttachment")]?n["".concat(e,"ImageAttachment")]:null,backgroundSize:""!=n["".concat(e,"ImageSize")]?n["".concat(e,"ImageSize")]:null}}},{key:"prepareGradientStyle",value:function(e,t){var n=t.attributes["".concat(e,"GradientType")],r=t.attributes["".concat(e,"GradientAngle")],o=t.attributes["".concat(e,"GradientFirstColor")],i=t.attributes["".concat(e,"GradientSecondColor")],a=t.attributes["".concat(e,"GradientFirstColorLocation")],l=t.attributes["".concat(e,"GradientSecondColorLocation")];r=void 0!==r?"".concat(r,"deg"):"180deg",o=void 0!==o?o:"rgba(0,0,0,0)",a=void 0!==a?"".concat(a,"%"):"0%",i=void 0!==i?i:"rgba(0,0,0,0)",l=void 0!==l?"".concat(l,"%"):"100%";var c={};switch(n){case"linear":c.backgroundImage="linear-gradient(".concat(r,", ").concat(o," ").concat(a,", ").concat(i," ").concat(l,")");break;case"radial":c.backgroundImage="radial-gradient(".concat(o," ").concat(a,", ").concat(i," ").concat(l,")")}return c}},{key:"convertVerticalAlignToStyle",value:function(e){var t=void 0;switch(e){case"top":t="flex-start";break;case"bottom":t="flex-end";break;case"center":t="center"}return t}},{key:"convertHorizontalAlignToStyle",value:function(e){var t=void 0;switch(e){case"left":t="flex-start";break;case"right":t="flex-end";break;case"center":t="center"}return t}}]),e}()},function(e,t,n){e.exports=n(109)()},function(e,t,n){"use strict";function r(e){var t=e.onChange,n=e.label,r=e.help,o=e.value,l=e.allowAnimation,s=void 0===l?["Entrance","Exit","Seeker"]:l,u=[{value:"",label:Object(a.__)("None","getwid")}],p=[{value:"bounceIn",label:Object(a.__)("Bounce In","getwid")},{value:"bounceInDown",label:Object(a.__)("Bounce In Down","getwid")},{value:"bounceInDownShort",label:Object(a.__)("Bounce In Down Short","getwid")},{value:"bounceInLeft",label:Object(a.__)("Bounce In Left","getwid")},{value:"bounceInLeftShort",label:Object(a.__)("Bounce In Left Short","getwid")},{value:"bounceInRight",label:Object(a.__)("Bounce In Right","getwid")},{value:"bounceInRightShort",label:Object(a.__)("Bounce In Right Short","getwid")},{value:"bounceInUp",label:Object(a.__)("Bounce In Up","getwid")},{value:"bounceInUpShort",label:Object(a.__)("Bounce In Up Short","getwid")},{value:"fadeIn",label:Object(a.__)("Fade In","getwid")},{value:"fadeInDown",label:Object(a.__)("Fade In Down","getwid")},{value:"fadeInDownShort",label:Object(a.__)("Fade In Down Short","getwid")},{value:"fadeInDownBig",label:Object(a.__)("Fade In Down Big","getwid")},{value:"fadeInLeft",label:Object(a.__)("Fade In Left","getwid")},{value:"fadeInLeftShort",label:Object(a.__)("Fade In Left Short","getwid")},{value:"fadeInLeftBig",label:Object(a.__)("Fade In Left Big","getwid")},{value:"fadeInRight",label:Object(a.__)("Fade In Right","getwid")},{value:"fadeInRightShort",label:Object(a.__)("Fade In Right Short","getwid")},{value:"fadeInRightBig",label:Object(a.__)("Fade In Right Big","getwid")},{value:"fadeInUp",label:Object(a.__)("Fade In Up","getwid")},{value:"fadeInUpShort",label:Object(a.__)("Fade In Up Short","getwid")},{value:"fadeInUpBig",label:Object(a.__)("Fade In Up Big","getwid")},{value:"flipInX",label:Object(a.__)("Flip In X","getwid")},{value:"flipInY",label:Object(a.__)("Flip In Y","getwid")},{value:"lightSpeedIn",label:Object(a.__)("Light Speed In","getwid")},{value:"lightSpeedInShort",label:Object(a.__)("Light Speed In Short","getwid")},{value:"rotateIn",label:Object(a.__)("Rotate In","getwid")},{value:"rotateInDownLeft",label:Object(a.__)("Rotate In Down Left","getwid")},{value:"rotateInDownRight",label:Object(a.__)("Rotate In Down Right","getwid")},{value:"rotateInUpLeft",label:Object(a.__)("Rotate In Up Left","getwid")},{value:"rotateInUpRight",label:Object(a.__)("Rotate In Up Right","getwid")},{value:"zoomIn",label:Object(a.__)("Zoom In","getwid")},{value:"zoomInDown",label:Object(a.__)("Zoom In Down","getwid")},{value:"zoomInLeft",label:Object(a.__)("Zoom In Left","getwid")},{value:"zoomInRight",label:Object(a.__)("Zoom In Right","getwid")},{value:"zoomInUp",label:Object(a.__)("Zoom In Up","getwid")},{value:"slideInDown",label:Object(a.__)("Slide In Down","getwid")},{value:"slideInDownShort",label:Object(a.__)("Slide In Down Short","getwid")},{value:"slideInLeft",label:Object(a.__)("Slide In Left","getwid")},{value:"slideInLeftShort",label:Object(a.__)("Slide In Left Short","getwid")},{value:"slideInRight",label:Object(a.__)("Slide In Right","getwid")},{value:"slideInRightShort",label:Object(a.__)("Slide In Right Short","getwid")},{value:"slideInUp",label:Object(a.__)("Slide In Up","getwid")},{value:"slideInUpShort",label:Object(a.__)("Slide In Up Short","getwid")},{value:"rollIn",label:Object(a.__)("Roll In","getwid")}],d=[{value:"bounceOut",label:Object(a.__)("Bounce Out","getwid")},{value:"bounceOutDown",label:Object(a.__)("Bounce Out Down","getwid")},{value:"bounceOutLeft",label:Object(a.__)("Bounce Out Left","getwid")},{value:"bounceOutRight",label:Object(a.__)("Bounce Out Right","getwid")},{value:"bounceOutUp",label:Object(a.__)("Bounce Out Up","getwid")},{value:"fadeOut",label:Object(a.__)("Fade Out","getwid")},{value:"fadeOutDown",label:Object(a.__)("Fade Out Down","getwid")},{value:"fadeOutDownBig",label:Object(a.__)("Fade Out Down Big","getwid")},{value:"fadeOutLeft",label:Object(a.__)("Fade Out Left","getwid")},{value:"fadeOutLeftBig",label:Object(a.__)("Fade Out Left Big","getwid")},{value:"fadeOutRight",label:Object(a.__)("Fade Out Right","getwid")},{value:"fadeOutRightBig",label:Object(a.__)("Fade Out Right Big","getwid")},{value:"fadeOutUp",label:Object(a.__)("Fade Out Up","getwid")},{value:"fadeOutUpBig",label:Object(a.__)("Fade Out Up Big","getwid")},{value:"flipOutX",label:Object(a.__)("Flip Out X","getwid")},{value:"flipOutY",label:Object(a.__)("Flip Out Y","getwid")},{value:"lightSpeedOut",label:Object(a.__)("Light Speed Out","getwid")},{value:"rotateOut",label:Object(a.__)("Rotate Out","getwid")},{value:"rotateOutDownLeft",label:Object(a.__)("Rotate Out Down Left","getwid")},{value:"rotateOutDownRight",label:Object(a.__)("Rotate Out Down Right","getwid")},{value:"rotateOutUpLeft",label:Object(a.__)("Rotate Out Up Left","getwid")},{value:"rotateOutUpRight",label:Object(a.__)("Rotate Out Up Right","getwid")},{value:"zoomOut",label:Object(a.__)("Zoom Out","getwid")},{value:"zoomOutDown",label:Object(a.__)("Zoom Out Down","getwid")},{value:"zoomOutLeft",label:Object(a.__)("Zoom Out Left","getwid")},{value:"zoomOutRight",label:Object(a.__)("Zoom Out Right","getwid")},{value:"zoomOutUp",label:Object(a.__)("Zoom Out Up","getwid")},{value:"slideOutDown",label:Object(a.__)("Slide Out Down","getwid")},{value:"slideOutLeft",label:Object(a.__)("Slide Out Left","getwid")},{value:"slideOutRight",label:Object(a.__)("Slide Out Right","getwid")},{value:"slideOutUp",label:Object(a.__)("Slide Out Up","getwid")},{value:"heartBeat",label:Object(a.__)("Heart Beat","getwid")},{value:"hinge",label:Object(a.__)("Hinge","getwid")},{value:"rollOut",label:Object(a.__)("Roll Out","getwid")}],m=[{value:"bounce",label:Object(a.__)("Bounce","getwid")},{value:"flash",label:Object(a.__)("Flash","getwid")},{value:"pulse",label:Object(a.__)("Pulse","getwid")},{value:"rubberBand",label:Object(a.__)("Rubber Band","getwid")},{value:"shake",label:Object(a.__)("Shake","getwid")},{value:"headShake",label:Object(a.__)("Head Shake","getwid")},{value:"swing",label:Object(a.__)("Swing","getwid")},{value:"tada",label:Object(a.__)("Tada","getwid")},{value:"wobble",label:Object(a.__)("Wobble","getwid")},{value:"jello",label:Object(a.__)("Jello","getwid")},{value:"jackInTheBox",label:Object(a.__)("Jack In The Box","getwid")}],g=[{value:"slideTop",label:Object(a.__)("Slide Top","getwid")},{value:"slideBottom",label:Object(a.__)("Slide Bottom","getwid")},{value:"slideLeft",label:Object(a.__)("Slide Left","getwid")},{value:"slideRight",label:Object(a.__)("Slide Right","getwid")},{value:"zoomSmall",label:Object(a.__)("Zoom Small","getwid")},{value:"zoomBig",label:Object(a.__)("Zoom Big","getwid")}];return s.includes("Entrance")&&(u=[].concat(i()(u),p)),s.includes("Exit")&&(u=[].concat(i()(u),d)),s.includes("Seeker")&&(u=[].concat(i()(u),m)),s.includes("Icon")&&(u=[].concat(i()(u),g)),wp.element.createElement(c,{label:n,help:r,value:o,onChange:t,options:u})}t.a=r;var o=n(15),i=n.n(o),a=(n(0),n(1)),l=(n.n(a),window),c=(l.jQuery,wp.components.SelectControl)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return h});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(99)),f=wp.element,b=f.Component,w=f.Fragment,h=(f.RawHTML,function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.dividerTop,r=t.dividersTopHeight,o=t.dividerTopColor,i=t.dividerBottom,a=t.dividersBottomHeight,l=t.dividerBottomColor,c=e.baseClass;return wp.element.createElement(w,null,n&&wp.element.createElement("div",{className:"".concat(c,"__divider is-top-divider")},this.renderSVG(n,o,r)),i&&wp.element.createElement("div",{className:"".concat(c,"__divider is-bottom-divider")},this.renderSVG(i,l,a)))}},{key:"renderSVG",value:function(e,t,n){return void 0===t&&(t="white"),g.a.hasOwnProperty(e)?g.a[e](t,n):""}}]),t}(b))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"b",function(){return _}),n.d(t,"a",function(){return k});var o=n(103),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=window,y=v.jQuery,_=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.sliderImages,n=e.sliderAnimationEffect,r=e.sliderAnimationDuration,o=e.sliderAnimationSpeed,i=this.props.baseClass;return wp.element.createElement(h,null,wp.element.createElement("div",{className:"".concat(i,"__background-slider"),"data-autoplay":"true","data-autoplay-speed":o,"data-slide-effect":n,"data-slide-speed":r,"data-infinite":"true"},t.map(function(e){return wp.element.createElement("div",{className:"".concat(i,"__background-slider-item"),key:e.id||e.url},wp.element.createElement("img",{src:e.url,className:e.id?"wp-image-".concat(e.id):null,alt:e.alt,"data-id":e.id}))})))}}]),t}(w),k=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){return this.destroySlider(),i()(f()(t.prototype),"render",this).call(this)}},{key:"destroySlider",value:function(){var e=this.props.clientId,t=y("#block-".concat(e," .").concat(this.props.baseClass,"__background-slider")).first();t.hasClass("slick-initialized")&&t.slick("unslick")}},{key:"initSlider",value:function(){var e=this.props.attributes,t=e.sliderAnimationEffect,n=e.sliderAnimationDuration,r=e.sliderAnimationSpeed,o=this.props.clientId;y("#block-".concat(o," .").concat(this.props.baseClass,"__background-slider")).first().slick({rows:0,slidesToShow:1,slidesToScroll:1,autoplay:!0,infinite:!0,arrows:!1,dots:!1,fade:"fade"===t,autoplaySpeed:r?parseInt(r):100,speed:n?parseInt(n):100})}},{key:"componentDidMount",value:function(){this.initSlider()}},{key:"componentDidUpdate",value:function(){this.initSlider()}},{key:"componentWillUnmount",value:function(){this.destroySlider()}}]),t}(_)},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(31),i=n(30),a=n(32);e.exports=r},function(e,t){!function(){e.exports=window.ReactDOM}()},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return v});var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.backgroundVideoUrl,r=(t.backgroundVideoMute,t.backgroundVideoLoop),o=(t.backgroundVideoAutoplay,t.backgroundVideoPoster),a=e.baseClass,l={autoPlay:this.props.videoAutoplay,muted:this.props.videoMute,loop:r,poster:o||void 0};return wp.element.createElement(h,null,n.url&&wp.element.createElement("video",i()({className:"".concat(a,"__background-video source-media-library")},l,{ref:this.props.videoElemRef,onEnded:this.props.onVideoEnd}),wp.element.createElement("source",{src:n.url,type:"video/mp4"})))}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(){}}]),t}(w)},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.exports=n},function(e,t){function n(e){throw new Error('"'+e+'" is read-only')}e.exports=n},function(e,t,n){"use strict";var r=(n(35),n(36),n(21)),o=(n.n(r),n(10));n.n(o);n.o(r,"createContext")&&n.d(t,"c",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"d",function(){return r.createElement}),n.o(r,"Fragment")&&n.d(t,"a",function(){return r.Fragment}),n.o(r,"StrictMode")&&n.d(t,"b",function(){return r.StrictMode})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Object(o.a)(e,t,n[t])})}return e}t.a=r;var o=n(89)},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}t.a=r;var o=n(90)},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__item",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"img",attribute:"data-original-link"},link:{source:"attribute",selector:"img",attribute:"data-link"},custom_link:{source:"attribute",selector:"img",attribute:"data-custom-link"},custom_link_target:{source:"attribute",selector:"img",attribute:"data-link-target"},custom_link_rel:{source:"attribute",selector:"img",attribute:"data-link-rel"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},imageCrop:{type:"boolean",default:!0},showCaption:{type:"boolean",default:!1},captionStyle:{type:"string",default:"light"},captionPosition:{type:"string",default:"bottom-center"},linkTo:{type:"string",default:"none"},imageAlignment:{type:"string",default:"center"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-effect",default:"slide"},sliderSlidesToShow:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show",default:"1"},sliderSlidesToShowLaptop:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-laptop",default:"1"},sliderSlidesToShowTablet:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-tablet",default:"1"},sliderSlidesToShowMobile:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-mobile",default:"1"},sliderSlidesToScroll:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-scroll",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-autoplay-speed",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-animation-speed",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderVariableWidth:{type:"boolean",default:!1},sliderSpacing:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-spacing",default:"none"},sliderArrows:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-arrows",default:"inside"},sliderDots:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-dots",default:"inside"},slideHeight:{type:"string"},resetHeightOnTablet:{type:"bool"},resetHeightOnMobile:{type:"bool"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(344)),w=(n.n(b),n(345)),h=n(10),v=(n.n(h),n(8)),y=n.n(v),_=n(1),k=(n.n(_),window),O=(k.jQuery,wp.element),E=O.Component,C=O.Fragment,j=(wp.compose.withInstanceId,wp.apiFetch),S=wp.url.addQueryArgs,x=wp.components,P=x.SelectControl,T=x.RangeControl,R=x.RadioControl,N=x.ToggleControl,A=x.Spinner,M=x.TextControl,B=x.PanelBody,D=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.firstCheckTaxonomy=!0,e.firstCheckTerms=!0,e.state={postTypeList:null,taxonomyList:null,termsList:null},e}p()(t,e);var n=r(t);return s()(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.waitLoadPostTypes=!0,this.fetchRequest=j({path:S("/wp/v2/types")}).then(function(t){e.waitLoadPostTypes=!1,e.isStillMounted&&e.setState({postTypeList:t})}).catch(function(){e.waitLoadPostTypes=!1})}},{key:"getTaxonomyFromCustomPostType",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTaxonomy=!0,this.firstCheckTaxonomy=!1,this.fetchRequest=j({path:S("/getwid/v1/taxonomies",{post_type_name:e})}).then(function(e){t.waitLoadTaxonomy=!1,t.isStillMounted&&Array.isArray(e)&&e.length?t.setState({taxonomyList:e}):t.setState({taxonomyList:null})}).catch(function(){t.waitLoadTaxonomy=!1}))}},{key:"getTermsFromTaxonomy",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTerms=!0,this.firstCheckTerms=!1,this.fetchRequest=j({path:S("/getwid/v1/terms",{taxonomy_name:e})}).then(function(e){t.waitLoadTerms=!1,t.isStillMounted&&e instanceof Object&&!Object(h.isEmpty)(e)?t.setState({termsList:e}):t.setState({termsList:null})}).catch(function(){t.waitLoadTerms=!1}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t="components-getwid-custom-query-control",n=[];if(this.state.postTypeList)for(var r in this.state.postTypeList)if(!["attachment","wp_block","getwid_template_part","getwid_template"].includes(r)){var o={};o.value=this.state.postTypeList[r].slug,o.label=this.state.postTypeList[r].name,n.push(o)}return wp.element.createElement("div",{className:y()("components-base-control",t)},function(){return null==e.state.taxonomyList&&e.props.values.postType&&e.firstCheckTaxonomy&&e.getTaxonomyFromCustomPostType(e.props.values.postType),wp.element.createElement(C,null,e.waitLoadPostTypes?wp.element.createElement(A,null):void 0,wp.element.createElement(P,{label:Object(_.__)("Choose what to display","getwid"),className:["".concat(t,"__post-type")],value:e.props.values.postType?e.props.values.postType:"",onChange:function(t){e.setState({taxonomyList:null,termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("postType")?e.props.onChangeCallback(t,"postType"):""==t?e.props.setValues({postType:void 0,taxonomy:void 0,terms:void 0}):e.props.setValues({postType:t,taxonomy:void 0,terms:void 0}),e.getTaxonomyFromCustomPostType(t)},options:i()(n||[{value:"",label:"-"}]),disabled:null==e.state.postTypeList}))}(),wp.element.createElement(T,{label:this.props.options&&this.props.options.includes("page")&&this.props.values.pagination?Object(_.__)("Number of items per page","getwid"):Object(_.__)("Number of items","getwid"),value:this.props.values.postsToShow,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postsToShow")?e.props.onChangeCallback(t,"postsToShow"):e.props.setValues({postsToShow:t})},min:-1,max:100,step:1}),wp.element.createElement(T,{label:Object(_.__)("Number of posts to pass over","getwid"),value:this.props.values.offset,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("offset")?e.props.onChangeCallback(t,"offset"):e.props.setValues({offset:t})},min:0,max:100,step:1}),function(){if(e.props.options&&e.props.options.includes("page"))return wp.element.createElement(C,null,wp.element.createElement(N,{label:Object(_.__)("Use pagination","getwid"),checked:!!e.props.values.pagination&&e.props.values.pagination,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("pagination")?e.props.onChangeCallback(t,"pagination"):e.props.setValues({pagination:!e.props.values.pagination})}}))}(),wp.element.createElement(B,{title:Object(_.__)("Sorting and Filtering","getwid"),initialOpen:!1},wp.element.createElement(P,{label:Object(_.__)("Order","getwid"),className:["".concat(t,"__order")],value:this.props.values.order?this.props.values.order:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("order")?e.props.onChangeCallback(t,"order"):e.props.setValues({order:t})},options:[{value:"desc",label:Object(_.__)("Z → A, 9 → 1","getwid")},{value:"asc",label:Object(_.__)("A → Z, 1 → 9","getwid")}]}),wp.element.createElement(P,{label:Object(_.__)("Order by","getwid"),className:["".concat(t,"__order-by")],value:this.props.values.orderBy?this.props.values.orderBy:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("orderBy")?e.props.onChangeCallback(t,"orderBy"):e.props.setValues({orderBy:t})},options:[{value:"title",label:Object(_.__)("Title","getwid")},{value:"date",label:Object(_.__)("Date","getwid")},{value:"rand",label:Object(_.__)("Random","getwid")},{value:"author",label:Object(_.__)("Author","getwid")},{value:"modified",label:Object(_.__)("Last modified date","getwid")},{value:"menu_order",label:Object(_.__)("Menu order","getwid")}]}),"page"!=this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("sticky"))return wp.element.createElement(C,null,wp.element.createElement(N,{label:Object(_.__)("Ignore Sticky posts","getwid"),checked:!!e.props.values.ignoreSticky&&e.props.values.ignoreSticky,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("ignoreSticky")?e.props.onChangeCallback(t,"ignoreSticky"):e.props.setValues({ignoreSticky:!e.props.values.ignoreSticky})}}))}(),wp.element.createElement(M,{label:Object(_.__)("Display only the specific posts","getwid"),help:Object(_.__)("Comma-separated IDs","getwid"),value:this.props.values.filterById?this.props.values.filterById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("filterById")?e.props.onChangeCallback(t,"filterById"):e.props.setValues({filterById:t})}}),wp.element.createElement(M,{label:Object(_.__)("Display all posts but NOT the specified ones","getwid"),help:Object(_.__)("Comma-separated IDs","getwid"),value:this.props.values.excludeById?this.props.values.excludeById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeById")?e.props.onChangeCallback(t,"excludeById"):e.props.setValues({excludeById:t})}}),wp.element.createElement(N,{label:Object(_.__)("Exclude Current Post","getwid"),checked:!!this.props.values.excludeCurrentPost&&this.props.values.excludeCurrentPost,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeCurrentPost")?e.props.onChangeCallback(t,"excludeCurrentPost"):e.props.setValues({excludeCurrentPost:!e.props.values.excludeCurrentPost})}}),"page"==this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("parentFilter"))return wp.element.createElement(C,null,wp.element.createElement(N,{label:Object(_.__)("Display child pages of current page","getwid"),checked:!!e.props.values.childPagesCurrentPage&&e.props.values.childPagesCurrentPage,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("childPagesCurrentPage")?e.props.onChangeCallback(t,"childPagesCurrentPage"):e.props.setValues({childPagesCurrentPage:!e.props.values.childPagesCurrentPage})}}),0==e.props.values.childPagesCurrentPage&&wp.element.createElement(M,{label:Object(_.__)("Enter page ID to display its child pages","getwid"),help:Object(_.__)("Parent page ID","getwid"),value:e.props.values.parentPageId?e.props.values.parentPageId:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("parentPageId")?e.props.onChangeCallback(t,"parentPageId"):e.props.setValues({parentPageId:t})}}))}(),"page"!=this.props.values.postType&&function(){return null==e.state.termsList&&e.props.values.taxonomy&&e.firstCheckTerms&&e.getTermsFromTaxonomy(e.props.values.taxonomy),wp.element.createElement(C,null,e.waitLoadTaxonomy?wp.element.createElement(A,null):void 0,wp.element.createElement(P,{label:Object(_.__)("Taxonomies","getwid"),help:Object(_.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__taxonomy")],value:e.props.values.taxonomy?e.props.values.taxonomy:"",onChange:function(t){e.setState({termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("taxonomy")?e.props.onChangeCallback(t,"taxonomy"):""==t?e.props.setValues({taxonomy:void 0,terms:void 0}):e.props.setValues({taxonomy:t,terms:void 0}),e.getTermsFromTaxonomy(t)},multiple:!0,size:5,options:e.state.taxonomyList?e.state.taxonomyList:[{value:"",label:""}],disabled:null==e.state.taxonomyList}))}(),"page"!=this.props.values.postType&&function(){return wp.element.createElement(C,null,e.waitLoadTerms?wp.element.createElement(A,null):void 0,wp.element.createElement(w.a,{label:Object(_.__)("Terms","getwid"),help:Object(_.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__terms")],multiple:!0,groups:!0,size:5,value:e.props.values.terms?e.props.values.terms:[],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("terms")?e.props.onChangeCallback(t,"terms"):t.length?e.props.setValues({terms:t}):e.props.setValues({terms:void 0})},options:e.state.termsList?e.state.termsList:{"":{group_name:"",group_value:[{value:"",label:""}]}},disabled:null==e.state.termsList}))}(),"page"!=this.props.values.postType&&wp.element.createElement(R,{label:Object(_.__)("Terms Relation","getwid"),selected:this.props.values.relation?this.props.values.relation:"",options:[{value:"AND",label:Object(_.__)("Item should have all of selected terms.","getwid")},{value:"OR",label:Object(_.__)("Item should have at least one of selected terms.","getwid")}],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("relation")?e.props.onChangeCallback(t,"relation"):e.props.setValues({relation:t})}})))}}]),t}(E);t.a=D},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(349)),w=(n.n(b),n(8)),h=n.n(w),v=n(1),y=(n.n(v),window),_=(y.jQuery,wp.element),k=_.Component,O=_.Fragment,E=wp.apiFetch,C=wp.url.addQueryArgs,j=wp.components,S=j.SelectControl,x=j.BaseControl,P=j.ButtonGroup,T=j.Button,R=j.Spinner,N=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.state={postTemplates:null,waitLoadTemplates:!1},e}p()(t,e);var n=r(t);return s()(t,[{key:"componentWillMount",value:function(){this.isStillMounted=!0,this.updateTemplates()}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"updateTemplates",value:function(){var e=this;this.fetchRequest=E({path:C("/getwid/v1/templates",{template_name:"getwid_template_part"})}).then(function(t){e.waitLoadTemplates=!1,e.isStillMounted&&t instanceof Object?e.setState({postTemplates:t,waitLoadTemplates:!1}):e.setState({postTemplates:null,waitLoadTemplates:!1})}).catch(function(){e.setState({waitLoadTemplates:!1})})}},{key:"resetTemplates",value:function(){this.props.setValues({postTemplate:null})}},{key:"render",value:function(){var e=this,t=[];this.state.postTemplates&&(t=this.state.postTemplates);return wp.element.createElement("div",{className:h()("components-base-control","components-getwid-custom-post-template-control")},function(){return wp.element.createElement(O,null,e.state.waitLoadTemplates?wp.element.createElement(R,null):void 0,wp.element.createElement(S,{label:Object(v.__)("Post Template","getwid"),className:["".concat("components-getwid-custom-post-template-control","__post-template")],value:e.props.values.postTemplate?e.props.values.postTemplate:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postTemplate")?e.props.onChangeCallback(t,"postTemplate"):e.props.setValues({postTemplate:t})},options:[{value:"",label:"Default"}].concat(i()(t||[]))}),wp.element.createElement(P,null,e.props.values.postTemplate&&wp.element.createElement("a",{href:"".concat(Getwid.templates.edit).concat(e.props.values.postTemplate,"&action=edit"),className:"components-button is-button is-default",target:"_blank"},Object(v.__)("Edit","getwid")),wp.element.createElement("a",{href:Getwid.templates.new,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("New","getwid")),wp.element.createElement("a",{href:Getwid.templates.view,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("View All","getwid")),wp.element.createElement(T,{isDefault:!0,onClick:function(t){e.setState({waitLoadTemplates:!0}),e.updateTemplates()}},Object(v.__)("Update","getwid"))),e.props.values.postTemplate&&wp.element.createElement(x,null,wp.element.createElement(T,{isLink:!0,onClick:function(t){e.resetTemplates()}},Object(v.__)("Reset to default","getwid"))))}())}}]),t}(k);t.a=N},function(e,t,n){"use strict";function r(e){var t=e.children,n=Object(i.a)(e,["children"]);return Object(a.d)("div",Object(o.a)({dangerouslySetInnerHTML:{__html:t}},n))}t.a=r;var o=n(35),i=n(36),a=n(34)},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradient:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string"},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},foregroundGradient:{type:"string"},foregroundGradientFirstColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColor:{type:"string"},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientType:{type:"string"},foregroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundCustomImagePosition:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoType:{type:"string",default:"self"},youTubeVideoUrl:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-url"},youTubeVideoScale:{type:"string",default:"medium"},youTubeVideoMute:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-muted",default:"false"},youTubeVideoLoop:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-loop",default:"false"},youTubeVideoAutoplay:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-autoplay",default:"false"},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundCustomImagePosition:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t){var n={};n.parse=function(){function e(e){var t=new Error(N+": "+e);throw t.source=N,t}function t(){var t=n();return N.length>0&&e("Invalid input not EOF"),t}function n(){return w(r)}function r(){return o("linear-gradient",R.linearGradient,a)||o("repeating-linear-gradient",R.repeatingLinearGradient,a)||o("radial-gradient",R.radialGradient,s)||o("repeating-radial-gradient",R.repeatingRadialGradient,s)}function o(t,n,r){return i(n,function(n){var o=r();return o&&(P(R.comma)||e("Missing comma before color stops")),{type:t,orientation:o,colorStops:w(h)}})}function i(t,n){var r=P(t);if(r)return P(R.startCall)||e("Missing ("),result=n(r),P(R.endCall)||e("Missing )"),result}function a(){return l()||c()}function l(){return x("directional",R.sideOrCorner,1)}function c(){return x("angular",R.angleValue,1)}function s(){var e,t,n=u();return n&&(e=[],e.push(n),t=N,P(R.comma)&&(n=u(),n?e.push(n):N=t)),e}function u(){var e=p()||d();if(e)e.at=g();else{var t=f();t&&(e={type:"default-radial",at:t})}return e}function p(){var e=x("shape",/^(circle)/i,0);return e&&(e.style=S()||m()),e}function d(){var e=x("shape",/^(ellipse)/i,0);return e&&(e.style=C()||m()),e}function m(){return x("extent-keyword",R.extentKeywords,1)}function g(){if(x("position",/^at/,0)){var t=f();return t||e("Missing positioning value"),t}}function f(){var e=b();if(e.x||e.y)return{type:"position",value:e}}function b(){return{x:C(),y:C()}}function w(t){var n=t(),r=[];if(n)for(r.push(n);P(R.comma);)n=t(),n?r.push(n):e("One extra comma");return r}function h(){var t=v();return t||e("Expected color definition"),t.length=C(),t}function v(){return _()||O()||k()||y()}function y(){return x("literal",R.literalColor,0)}function _(){return x("hex",R.hexColor,1)}function k(){return i(R.rgbColor,function(){return{type:"rgb",value:w(E)}})}function O(){return i(R.rgbaColor,function(){return{type:"rgba",value:w(E)}})}function E(){return P(R.number)[1]}function C(){return x("%",R.percentageValue,1)||j()||S()}function j(){return x("position-keyword",R.positionKeywords,1)}function S(){return x("px",R.pixelValue,1)||x("em",R.emValue,1)}function x(e,t,n){var r=P(t);if(r)return{type:e,value:r[n]}}function P(e){var t,n;return n=/^[\n\r\t\s]+/.exec(N),n&&T(n[0].length),t=e.exec(N),t&&T(t[0].length),t}function T(e){N=N.substr(e)}var R={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},N="";return function(e){return N=e.toString(),t()}}(),t.parse=(n||{}).parse},function(e,t){function n(e){var t=e.split("");return t.shift(),t.join("")}function r(e){return e.split("").reduce(function(e,t){return e.concat([t,t])},[]).join("")}e.exports=function(e){e.charAt&&"#"===e.charAt(0)&&(e=n(e)),3===e.length&&(e=r(e));var t=parseInt(e,16);return[t>>16&255,t>>8&255,255&t]}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(107)),v=(n.n(h),n(8)),y=n.n(v),_=wp.element,k=_.Component,O=_.Fragment,E=_.forwardRef,C=wp.components,j=C.Button,S=C.SVG,x=C.Path,P=C.G,T=function(e){function t(e){var r;return l()(this,t),r=n.apply(this,arguments),r.state={opened:void 0===e.initialOpen||e.initialOpen,onOpen:void 0===e.onOpen?void 0:e.onOpen,onClose:void 0===e.onClose?void 0:e.onClose},r.toggle=r.toggle.bind(p()(r)),r}m()(t,e);var n=r(t);return s()(t,[{key:"toggle",value:function(e){e.preventDefault(),this.state.opened?void 0!==this.state.onClose&&this.state.onClose():void 0!==this.state.onOpen&&this.state.onOpen(),void 0===this.props.opened&&this.setState(function(e){return{opened:!e.opened}}),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,l=e.hints,c=void 0===r?this.state.opened:r,s=y()("components-panel__body","components-getwid-panel-body",o,{"is-opened":c});return wp.element.createElement("div",{className:s,ref:a},!!t&&wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement(j,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":c},wp.element.createElement("span",{"aria-hidden":"true"},c?wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),l?c?t:wp.element.createElement(O,null,wp.element.createElement("span",null,t),wp.element.createElement("div",{className:"components-getwid-panel-body-row"},l.map(function(e,t){return wp.element.createElement("div",{className:"components-getwid-panel-body-columns"},wp.element.createElement("span",null,""!=e.value&&e.label," "),""!=e.value&&e.value)}))):t,i&&wp.element.createElement(Icon,{icon:i,className:"components-panel__icon",size:20}))),c&&n)}}]),t}(k),R=function(e,t){return wp.element.createElement(T,i()({},e,{forwardedRef:t}))};R.displayName="PanelBody",t.a=E(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(23)),c=r(n(21)),s=r(n(28)),u=n(46),p=(n(47),"unmounted");t.UNMOUNTED=p;var d="exited";t.EXITED=d;var m="entering";t.ENTERING=m;var g="entered";t.ENTERED=g;t.EXITING="exiting";var f=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=m):o=g:o=t.unmountOnExit||t.mountOnEnter?p:d,r.state={status:o},r.nextCallback=null,r}i(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=s.default.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;if(!t&&!r)return void this.safeSetState({status:g},function(){n.props.onEntered(e)});this.props.onEnter(e,o),this.safeSetState({status:m},function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,function(){n.safeSetState({status:g},function(){n.props.onEntered(e,o)})})})},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:d},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;if(!e||r)return void setTimeout(this.nextCallback,0);this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=o(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var i=c.default.Children.only(n);return c.default.cloneElement(i,r)},t}(c.default.Component);f.contextTypes={transitionGroup:l.object},f.childContextTypes={transitionGroup:function(){}},f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:a,onEntering:a,onEntered:a,onExit:a,onExiting:a,onExited:a},f.UNMOUNTED=0,f.EXITED=1,f.ENTERING=2,f.ENTERED=3,f.EXITING=4;var b=(0,u.polyfill)(f);t.default=b},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==l){var c=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;!function(e){e&&e.__esModule}(n(23));t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var c=r(n(23)),s=r(n(21)),u=n(46),p=n(118),d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m={component:"div",childFactory:function(e){return e}},g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o=r.handleExited.bind(l(l(r)));return r.state={handleExited:o,firstRender:!0},r}a(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0,this.mounted=!0},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,r):(0,p.getNextChildMapping)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=i({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=d(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:s.default.createElement(t,r,i)},t}(s.default.Component);g.childContextTypes={transitionGroup:c.default.object.isRequired},g.propTypes={},g.defaultProps=m;var f=(0,u.polyfill)(g);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}n.d(t,"a",function(){return H});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(1)),O=(n.n(k),n(142)),E=n.n(O),C=n(8),j=n.n(C),S=n(10),x=(n.n(S),n(143)),P=n(144),T=(n.n(P),wp.components.IconButton),R=wp.element,N=R.Component,A=R.Fragment,M=R.createContext,B=wp.blockEditor||wp.editor,D=B.InnerBlocks,I=B.RichText,L=window,z=L.jQuery,V=M(),H=V.Consumer,F=V.Provider,W=["getwid/media-text-slider-slide"],G=E()(function(e){return Object(S.times)(e,function(e){return["getwid/media-text-slider-slide",{slideId:++e}]})}),U=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(f()(e)),e.addNewSlide=e.addNewSlide.bind(f()(e)),e.getState=e.getState.bind(f()(e)),e.updateContentAttributes=e.updateContentAttributes.bind(f()(e)),e.setInnerBlocksAttributes=e.setInnerBlocksAttributes.bind(f()(e)),e.state={currentSlide:1,selectedSlide:0,isLockedPaddings:!1},e}w()(t,e);var n=i(t);return m()(t,[{key:"changeState",value:function(e,t){this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"setInnerBlocksAttributes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mount",t=arguments.length>1?arguments[1]:void 0,n=(arguments.length>2&&arguments[2],window.wp.data),r=n.select,o=n.dispatch,i=this.props.attributes,a=i.paddingRight,l=i.textColor,c=i.overlayColor,s=i.overlayOpacity,u=i.imageSize,p=this.props.attributes,d=p.contentMaxWidth,m=p.minHeight,g=p.verticalAlign,f=p.horizontalAlign,b=p.paddingTop,w=p.paddingBottom,h=p.paddingLeft,v={attributes:{contentMaxWidth:d,minHeight:m,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:a,textColor:l,overlayColor:c,overlayOpacity:s,imageSize:u}};if("Update"!=e||!Object(S.isEqual)(this.props.attributes,t.attributes)){var y,_=r("core/editor"),k=_.getBlock,O=k(this.props.clientId);O&&(y=O.innerBlocks),y&&y.length&&jQuery.each(y,function(t,n){("Mount"==e&&Object(S.isEmpty)(n.attributes.outerParent)||"Update"==e)&&(o("core/editor").updateBlockAttributes(n.clientId,{outerParent:v}),void 0!==n.clientId&&n.innerBlocks.length&&o("core/editor").updateBlockAttributes(n.innerBlocks[0].clientId,{innerParent:v}))})}}},{key:"updateContentAttributes",value:function(e){var t=window.wp.data,n=t.dispatch,r=t.select,o=this.props.clientId,i=r("core/editor").getBlock(o).innerBlocks,a=this.props.attributes,l=a.contentMaxWidth,c=a.minHeight,s=a.textColor,u=a.overlayColor,p=a.overlayOpacity,d=a.imageSize,m=this.props.attributes,g=m.verticalAlign,f=m.horizontalAlign,b=m.paddingTop,w=m.paddingBottom,h=m.paddingLeft,v=m.paddingRight,y={attributes:{contentMaxWidth:l,minHeight:c,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:v,textColor:s,overlayColor:u,overlayOpacity:p,imageSize:d}};z.each(i,function(t,r){Object(S.isEqual)(e,r.innerBlocks[0].clientId)&&n("core/editor").updateBlockAttributes(e,{innerParent:y})})}},{key:"addNewSlide",value:function(e){var t=this.props.setAttributes,n=this.props.attributes.sliderArrays,r=JSON.parse(n),o=this.changeState,i=this.getState;if(r.length<e){var a=Math.abs(e-r.length);Object(S.times)(a,function(t){var n=e-t;r.push(sprintf(Object(k.__)("Slide %d","getwid"),n))}),t({sliderArrays:JSON.stringify(r),slideCount:e})}else e-1<i("selectedSlide")&&(o("selectedSlide",e-1),o("currentSlide",e)),t({sliderArrays:JSON.stringify(r.slice(0,e)),slideCount:e})}},{key:"componentDidMount",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.sliderArrows,r=t.sliderDots;n&&r||e({sliderArrows:"outside",sliderDots:"outside"}),this.setInnerBlocksAttributes("Mount")}},{key:"componentDidUpdate",value:function(e,t){this.setInnerBlocksAttributes("Update",e,t)}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props.attributes,a=i.slideCount,c=i.align,u=i.sliderArrays,p=this.props,d=p.className,m=p.baseClass,g=JSON.parse(u),f=j()(d,(e={},s()(e,"".concat(m,"--current-slide-").concat(r("currentSlide")),!0),s()(e,"alignfull","full"===c),s()(e,"alignwide","wide"===c),e)),b=function(e,n){var r=t.props.setAttributes,o=JSON.parse(u);o[n]=e,r({sliderArrays:JSON.stringify(o)})},w=function(e){if(void 0!==g[e])return wp.element.createElement(A,null,wp.element.createElement("li",{className:"".concat(m,"__title-wrapper ").concat(m,"__title-wrapper-").concat(e," ").concat(m,"__title-wrapper--").concat(1+e===r("currentSlide")?"active":"inactive")},wp.element.createElement("span",{className:"".concat(m,"__title ").concat(m,"__title-").concat(1+e),onClick:function(){n("currentSlide",1+e),n("selectedSlide",e)}},wp.element.createElement(I,{tagName:"div",className:"".concat(m,"__title_text"),placeholder:Object(k.__)("Slide","getwid"),value:g[e]?void 0!==g[e].text?g[e].text:g[e]:Object(k.__)("Slide","getwid"),unstableOnFocus:function(){return n("currentSlide",1+e)},onChange:function(t){b(t,e)},allowedFormats:U}))))},h=this.addNewSlide,v=this.state.isLockedPaddings;return wp.element.createElement(A,null,wp.element.createElement(x.a,l()({},o(o({},this.props),{},{isLockedPaddings:v,changeState:n,addNewSlide:h,getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"".concat(m,"__slides-wrapper")},wp.element.createElement("ul",{className:"".concat(m,"__titles")},wp.element.createElement(A,null,Object(S.times)(a,function(e){return w(e)}),wp.element.createElement("li",{className:"".concat(m,"__add-item")},wp.element.createElement(T,{icon:"insert",onClick:function(){return h(a+1)},label:Object(k.__)("Add Item","getwid")})))),wp.element.createElement("div",{className:"".concat(m,"__content")},wp.element.createElement(F,{value:this},wp.element.createElement(D,{template:G(a),templateLock:"all",templateInsertUpdatesSelection:!1,allowedBlocks:W}))))))}}]),t}(N);t.b=q},function(e,t,n){"use strict";var r={slideCount:{type:"number",default:3},imageSize:{type:"string",default:"full"},align:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},verticalAlign:{type:"string"},horizontalAlign:{type:"string"},paddingTop:{type:"string"},paddingBottom:{type:"string"},paddingLeft:{type:"string"},paddingRight:{type:"string"},textColor:{type:"string"},overlayColor:{type:"string"},overlayOpacity:{type:"number",default:"30"},contentAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-animation",default:"fadeIn"},contentAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-duration",default:"1500ms"},contentAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-delay",default:"0ms"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-effect"},sliderAutoplay:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-autoplay-speed",default:5e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"slide-speed",default:1e3},sliderArrays:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-labels",default:'["Slide 1","Slide 2","Slide 3"]'},sliderArrows:{type:"string"},sliderDots:{type:"string"}};t.a=r},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return m});var r=n(7),o=n.n(r),i=n(1),a=(n.n(i),n(10)),l=(n.n(a),n(53)),c=window,s=c.jQuery,u=wp.data.select,p=wp.blocks.createBlock,d=function(e){var t=s.isPlainObject(e)?e.images:e,n=JSON.stringify(Object(a.times)(t.length,function(e){return"Slide ".concat(e+1)})),r=function(e){return[p("core/heading",{placeholder:Object(i.__)("Write heading…","getwid"),content:e.caption}),p("core/paragraph",{placeholder:Object(i.__)("Write text…","getwid")})]};return p("getwid/media-text-slider",{slideCount:t.length,sliderArrays:n},t.map(function(e,t){return p("getwid/media-text-slider-slide",{slideId:++t},[p("getwid/media-text-slider-slide-content",{mediaId:e.id,mediaUrl:e.url},r(e))])}))},m=function(e,t,n){var r=[],i=u("core/editor").getSelectedBlockClientId(),c=u("core/editor").getBlock(i).innerBlocks;if(c.length&&s.each(c,function(e,t){if(void 0!==t.innerBlocks[0].attributes.mediaUrl){var i;if(n&&n.push(t.innerBlocks[0].attributes.mediaId),r.push((i={},o()(i,!n&&"caption",""),o()(i,"id",t.innerBlocks[0].attributes.mediaId),o()(i,"url",t.innerBlocks[0].attributes.mediaUrl),i)),!n){var a=t.innerBlocks[0].innerBlocks[0];""!=a.attributes.content&&(r[r.length-1].caption=a.attributes.content)}}}),"image"==t.split("/").pop())return r.length?r.map(function(e){var n=e.id,r=e.url,o=e.caption;return p(t,{id:n,url:r,caption:o})}):p(t,{});if(Object(a.isEqual)(t,"getwid/content-timeline"))return Object(l.a)(r);var d;return p(t,(d={},o()(d,n&&"imageSize",e.imageSize),o()(d,"images",r.length?r.map(function(e){return{id:e.id,url:e.url,caption:e.caption}}):[]),o()(d,n&&"ids",n?n.length?n:[]:null),d))}},function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f});var r=n(54),o=n.n(r),i=n(15),a=n.n(i),l=n(1),c=(n.n(l),n(10)),s=(n.n(c),n(52)),u=wp.data.select,p=wp.blocks.createBlock,d=window,m=d.jQuery,g=function(e){var t=m.isPlainObject(e)?a()(e.images):a()(e);return p("getwid/content-timeline",{},t.map(function(t,n){return p("getwid/content-timeline-item",{id:t.id,alt:t.alt,url:t.url,imageSize:e.imageSize},[p("core/heading",{placeholder:Object(l.__)("Write heading…","getwid"),content:t.caption}),p("core/paragraph",{placeholder:Object(l.__)("Write heading…","getwid")})])}))},f=function(e){var t=u("core/editor"),n=t.getBlock,r=t.getSelectedBlockClientId,i=r(),a=n(i).innerBlocks,l=[];return a.length&&m.each(a,function(e,t){var n=o()(t.innerBlocks,1),r=n[0];void 0!==t.attributes.url&&l.push({id:t.attributes.id,url:t.attributes.url,alt:t.attributes.alt,caption:r.attributes.content})}),Object(c.isEqual)(e,"core/image")?l.length?l.map(function(t){var n=t.id,r=t.url,o=t.alt,i=t.caption;return p(e,{id:n,url:r,alt:o,caption:i})}):p(e,{}):Object(c.isEqual)(e,"getwid/media-text-slider")?Object(s.b)(l):p(e,{imageSize:a[0].attributes.imageSize,images:l.length?l.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}):[],ids:l.map(function(e){return e.id})})}},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a()}var o=n(31),i=n(147),a=n(32);e.exports=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return C});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=wp.blockEditor||wp.editor,v=h.InnerBlocks,y=wp.element,_=y.Component,k=y.Fragment,O=y.createContext,E=O(),C=E.Consumer,j=E.Provider,S=["getwid/media-text-slider-slide-content"],x=[["getwid/media-text-slider-slide-content"]],P=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e,t,n,r,o,i,a,l,c=this.props.className,s=this.props.attributes,u=s.slideId,p=s.outerParent;if(void 0!==p.attributes){var d=p.attributes;e=d.paddingTop,t=d.paddingBottom,n=d.paddingLeft,r=d.paddingRight,o=d.minHeight,i=d.horizontalAlign,a=d.verticalAlign,l=d.contentMaxWidth}var m={};void 0!==p.attributes&&(m={paddingTop:e||null,paddingBottom:t||null,paddingLeft:n||null,paddingRight:r||null,minHeight:o||null,justifyContent:i?b(i):null,alignItems:a?w(a):null});var g;void 0!==p.attributes&&(g=void 0!==p&&void 0!==l?l:"80%");var f={maxWidth:g||null,width:"100%"};return wp.element.createElement(k,null,wp.element.createElement("div",{className:"".concat(c,"__content-wrapper slide-").concat(u)},wp.element.createElement("div",{style:m,className:"".concat(c,"__content")},wp.element.createElement("div",{style:f},wp.element.createElement(j,{value:this.props},wp.element.createElement(v,{templateLock:"all",template:x,templateInsertUpdatesSelection:!1,allowedBlocks:S}))))))}}]),t}(_);t.b=P},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__source",attribute:"src"},type:{type:"string",default:"image"},title:{type:"string",source:"html",selector:"span"},text:{type:"string",source:"html",selector:"p"},link:{type:"string",source:"attribute",selector:".wp-block-getwid-banner a",attribute:"href"},align:{type:"string"},minHeight:{type:"string"},contentMaxWidth:{type:"string"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},backgroundOpacity:{type:"number",default:35},blockAnimation:{type:"string",default:"style4"},textAnimation:{type:"string",default:"opacity-bottom"},linkTarget:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"target"},rel:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"rel"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return ee});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(189)),S=n(8),x=n.n(S),P=n(190),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.InnerBlocks,D=M.RichText,I=M.BlockControls,L=wp.element,z=L.Component,V=L.Fragment,H=L.createContext,F=wp.components,W=F.IconButton,G=F.TextControl,U=F.Button,q=F.Toolbar,Q=wp.blocks,K=Q.createBlock,Y=Q.cloneBlock,J=window,Z=J.jQuery,$=["getwid/tabs-item"],X=H(),ee=X.Consumer,te=X.Provider,ne=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],re=function(e){function t(){var e;m()(this,t),e=n.apply(this,arguments);var r=e.props.attributes.active;return e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addTab=e.addTab.bind(w()(e)),e.moveTabLeft=e.moveTabLeft.bind(w()(e)),e.moveTabRight=e.moveTabRight.bind(w()(e)),e.duplicateTab=e.duplicateTab.bind(w()(e)),e.deleteTab=e.deleteTab.bind(w()(e)),e.state={selectedTab:void 0!==r?parseInt(r):0,initTabs:!1,initNavs:!1,updateNavs:!1,initialTabsCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initTabs:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialTabsCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(G,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialTabsCount:t})},value:t,min:"1"}),wp.element.createElement(U,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes,c=a.align,u=a.active,p=a.type,d=a.headerTag,m=i.className,g=i.baseClass,f=i.getBlock,b=i.clientId,w=i.isSelected,h=i.updateBlockAttributes,v=this.state,y=v.selectedTab,_=v.initialTabsCount,k=v.initTabs,O=f(b);if(e=O.innerBlocks,!e.length&&0==k)return this.renderConstructorForm();var S=d;return wp.element.createElement(V,null,wp.element.createElement(I,{key:"toolbar"},wp.element.createElement(q,{controls:this.getTabsDropdown()})),wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,"".concat(g,"--current-tab-").concat(y+1),s()({},"has-layout-".concat(p),""!==p),c?"align".concat(c):null),"data-active-tab":void 0!=u?u:"0"},wp.element.createElement("ul",{className:"".concat(g,"__nav-links")},e.map(function(e,n){return wp.element.createElement(V,null,wp.element.createElement("li",{className:x()("".concat(g,"__nav-link"),{"active-tab":y==n}),onClick:function(e){t.selectTab(n)}},wp.element.createElement(S,{className:"".concat(g,"__title-wrapper")},wp.element.createElement("a",{href:"#"},wp.element.createElement("div",{className:"".concat(g,"__edit-area")},wp.element.createElement(D,{tagName:"span",className:"".concat(g,"__title"),placeholder:Object(E.__)("Write heading…","getwid"),value:e.attributes.title,allowedFormats:ne,onChange:function(t){h(e.clientId,{title:t})},keepPlaceholderOnFocus:!0}))))))}),w&&wp.element.createElement("div",{className:"".concat(g,"__add-tab")},wp.element.createElement(W,{icon:"insert",onClick:function(n){t.addTab(e.length)},label:Object(E.__)("Add Tab","getwid")}))),wp.element.createElement("div",{className:"".concat(g,"__tabs-wrapper-editor")},wp.element.createElement("div",{className:"".concat(g,"__tab-content")},wp.element.createElement(te,{value:this},wp.element.createElement(B,{__experimentalUIParts:{hasSelectedUI:!1,hasMovers:!1},templateInsertUpdatesSelection:!1,allowedBlocks:$,template:Object(C.times)(_,function(e){return["getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return""}}))))))}},{key:"getTabsDropdown",value:function(){var e=this,t=this.state.selectedTab,n=this.props,r=n.getBlock,o=n.clientId,i=r(o),a=i.innerBlocks;return[{icon:"table-col-before",title:Object(E.__)("Add Item Before","getwid"),isDisabled:null===t,onClick:function(){e.addTab(0==t?0:t-1)}},{icon:"table-col-after",title:Object(E.__)("Add Item After","getwid"),isDisabled:null===t,onClick:function(){e.addTab(t+1)}},{icon:"arrow-left-alt2",title:Object(E.__)("Move Item Left","getwid"),isDisabled:null===t||0===t,onClick:this.moveTabLeft},{icon:"arrow-right-alt2",title:Object(E.__)("Move Item Right","getwid"),isDisabled:null===t||t===a.length-1,onClick:this.moveTabRight},{icon:"admin-page",title:Object(E.__)("Duplicate Item","getwid"),isDisabled:null===t,onClick:this.duplicateTab},{icon:"trash",title:Object(E.__)("Delete Item","getwid"),isDisabled:null===t||1==a.length,onClick:this.deleteTab}]}},{key:"moveTabLeft",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e-1),this.selectTab(e-1)}},{key:"moveTabRight",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e+1),this.selectTab(e+1)}},{key:"duplicateTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;if(a.length&&void 0!==a[e]){var l=Y(r(a[e].clientId));l.attributes.title="".concat(l.attributes.title," ").concat(Object(E.__)("Copy","getwid")),n(l,e+1,o)}}}},{key:"deleteTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.removeBlocks,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;a.length&&void 0!==a[e]&&(n(a[e].clientId),this.selectTab(0))}}},{key:"selectTab",value:function(e){this.setState({selectedTab:e})}},{key:"addTab",value:function(e){var t,n=this.props,r=n.insertBlock,o=n.selectBlock,i=n.getBlock,a=n.clientId,l=i(a);if(l){t=l.innerBlocks;r(K("getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),t.length+1)}),e,a),this.selectTab(e),o(a)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.state,o=(r.selectedTab,r.initNavs,this.props.clientId),i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=(Z("#block-".concat(o)),this.props.attributes.headerTag);Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&Z.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{headerTag:s}}})})}},{key:"updateParentOptions",value:function(e){var t=this.state.updateNavs;"init"==e?this.changeState({initNavs:!0}):"update"==e&&this.changeState({updateNavs:!t})}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,moveBlockToPosition:n.moveBlockToPosition,removeBlocks:n.removeBlocks,updateBlockAttributes:r,selectBlock:n.selectBlock}})])(re)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return Y});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(202)),S=n(8),x=n.n(S),P=n(203),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.InnerBlocks,D=wp.element,I=D.Component,L=D.Fragment,z=D.createContext,V=wp.components,H=V.IconButton,F=V.TextControl,W=V.Button,G=wp.blocks.createBlock,U=window,q=U.jQuery,Q=["getwid/accordion-item"],K=z(),Y=K.Consumer,J=K.Provider,Z=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initAccordions:!1,initialAccCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initAccordions:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialAccCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialAccCount:t})},value:t,min:"1"}),wp.element.createElement(W,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t,n=this,r=this.changeState,i=this.getState,a=this.props,c=a.attributes,u=c.align,p=c.iconPosition,d=c.active,m=a.className,g=a.baseClass,f=a.getBlock,b=a.clientId,w=a.isSelected,h=this.state,v=h.initialAccCount,y=h.initAccordions;return t=f(b).innerBlocks,t.length||0!=y?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:r}),{getState:i}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,(e={},s()(e,"".concat(g,"--current-item-").concat(parseInt(d,10)+1),"none"!=d),s()(e,"has-icon-left","left"===p),e),u?"align".concat(u):null),"data-active-element":void 0!=d?d:"0"},wp.element.createElement(J,{value:this},wp.element.createElement(B,{templateInsertUpdatesSelection:!1,allowedBlocks:Q,template:Object(C.times)(v,function(e){return["getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return w?wp.element.createElement("div",{className:"".concat(g,"__add-accordion")},wp.element.createElement(H,{icon:"insert",onClick:n.addItem,label:Object(E.__)("Add Accordion","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(q("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.active,m=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&q.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,active:d,headerTag:m}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;q("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(Z)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return Y});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(215)),S=n(8),x=n.n(S),P=n(216),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.InnerBlocks,D=wp.element,I=D.Component,L=D.Fragment,z=D.createContext,V=wp.components,H=V.IconButton,F=V.TextControl,W=V.Button,G=wp.blocks.createBlock,U=window,q=U.jQuery,Q=["getwid/toggle-item"],K=z(),Y=K.Consumer,J=K.Provider,Z=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructToggle=e.onConstructToggle.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initToggle:!1,initialToggleCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructToggle",value:function(e){e.preventDefault(),this.changeState({initToggle:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialToggleCount;return wp.element.createElement("form",{onSubmit:this.onConstructToggle},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialToggleCount:t})},value:t,min:"1"}),wp.element.createElement(W,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes.iconPosition,c=i.className,s=i.baseClass,u=i.getBlock,p=i.clientId,d=i.isSelected,m=this.state,g=m.initialToggleCount,f=m.initToggle;return e=u(p).innerBlocks,e.length||0!=f?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(c,{"has-icon-left":"left"===a})},wp.element.createElement(J,{value:this},wp.element.createElement(B,{templateInsertUpdatesSelection:!1,allowedBlocks:Q,template:Object(C.times)(g,function(e){return["getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return d?wp.element.createElement("div",{className:"".concat(s,"__add-toggle")},wp.element.createElement(H,{icon:"insert",onClick:t.addItem,label:Object(E.__)("Add Toggle","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(q("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&q.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,headerTag:d}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;q("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(Z)},function(e,t){},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-stack .wp-block-getwid-images-stack__media-wrapper",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"a",attribute:"href"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},linkTo:{type:"string",default:"none"},stackStyle:{type:"string",default:"default"},stackOverlap:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(250),i=n.n(o),a=n(252),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(8)),v=n.n(h),y=n(1),_=(n.n(y),n(253)),k=(n.n(_),lodash),O=k.startCase,E=k.toLower,C=window,j=(C.jQuery,wp.compose.withInstanceId),S=wp.components,x=S.Button,P=S.BaseControl,T=S.Dropdown,R=S.MenuGroup,N=S.MenuItem,A=S.SelectControl,M=S.TextControl,B=wp.element.Component,D=function(e){function t(){var e;return s()(this,t),e=n.apply(this,arguments),e.search=React.createRef(),e.state={fonts:null,font:[],variants:null,search:""},e}m()(t,e);var n=r(t);return p()(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=l()(i.a.mark(function e(){var t=this;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyAWN8pd8HMruaR92oVbykdg-Q2HpgsikKU").then(function(e){return e.json()}).then(function(e){t.setState({fonts:e.items}),t.props.value&&e.items.find(function(e){if(t.props.value===e.family){var n=e.variants.filter(function(e){return!1===e.includes("italic")}).map(function(e){return e={label:"regular"==E(e)?"400":O(E(e)),value:"regular"==e?"normal":e}});return t.setState({variants:n})}})});case 2:case"end":return e.stop()}},e)}));return e}()},{key:"render",value:function(){var e=this,t="inspector-google-fonts-control-".concat(this.props.instanceId);return wp.element.createElement("div",{className:"components-getwid-google-fonts-control"},wp.element.createElement(P,{label:this.props.label,id:t},null!==this.state.fonts?wp.element.createElement(T,{contentClassName:"components-getwid-google-fonts-popover",position:"bottom center",renderToggle:function(n){var r=n.isOpen,o=n.onToggle;return wp.element.createElement(x,{isLarge:!0,className:"components-getwid-google-fonts-button",id:t,onClick:o,"aria-expanded":r},e.props.value?e.props.value:Object(y.__)("Select Font Family","getwid"))},renderContent:function(t){var n=t.onToggle;return wp.element.createElement(R,{label:Object(y.__)("Google Fonts","getwid")},wp.element.createElement(M,{value:e.state.search,onChange:function(t){return e.setState({search:t})}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(N,{onClick:function(){n(),e.props.onChangeFontFamily(""),e.props.onChangeFontWeight(""),e.setState({font:[],variants:null,search:""})}},Object(y.__)("Default","getwid")),e.state.fonts.map(function(t){if(!e.state.search||t.family.toLowerCase().includes(e.state.search.toLowerCase()))return wp.element.createElement(N,{className:v()({"is-selected":t.family===e.props.value}),onClick:function(){n(),e.props.onChangeFontFamily(t.family),e.props.onChangeFontWeight("normal");var r=t.variants.filter(function(e){return!1===e.includes("italic")}).map(function(e){return e={label:"regular"==E(e)?"400":O(E(e)),value:"regular"==e?"normal":e}});e.setState({font:t,variants:r,search:""})}},t.family)})))}}):Object(y.__)("Loading…","getwid")),wp.element.createElement(A,{label:Object(y.__)("Font Weight","getwid"),value:this.props.valueWeight||"",options:this.state.variants?this.state.variants:[{value:"",label:Object(y.__)("Default","getwid")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"normal",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}],onChange:this.props.onChangeFontWeight}))}}]),t}(B);t.a=j(D)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(21),s=r(c),u=n(23),p=r(u),d=function(e){function t(){var e,n,r,a;o(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.link=null,r.createLink=function(){var e=r.props,t=e.fonts,n=e.subsets,o=t.reduce(function(e,t){var n=t.font.replace(/ +/g,"+"),r=(t.weights||[]).join(",");return e.push(n+(r&&":"+r)),e},[]).join("|"),i=document.createElement("link");return i.rel="stylesheet",i.href="https://fonts.googleapis.com/css?family="+o,n&&Array.isArray(n)&&n.length>0&&(i.href+="&subset="+n.join(",")),i},r.appendLink=function(){return document.head.appendChild(r.link)},r.removeLink=function(){return document.head.removeChild(r.link)},r.replaceLink=function(){r.removeLink(),r.link=r.createLink(),r.appendLink()},r.render=function(){return null},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){this.link=this.createLink(),this.appendLink()}},{key:"componentDidUpdate",value:function(e){JSON.stringify(e.fonts)!==JSON.stringify(this.props.fonts)&&this.replaceLink()}},{key:"componentWillUnmount",value:function(){this.removeLink()}}]),t}(s.default.PureComponent);d.propTypes={fonts:p.default.arrayOf(p.default.shape({font:p.default.string.isRequired,weights:p.default.arrayOf(p.default.oneOfType([p.default.string,p.default.number]))})).isRequired,subsets:p.default.arrayOf(p.default.string)},t.default=d},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},imageCrop:{type:"boolean",default:!0},title:{type:"string",source:"html",selector:".wp-block-getwid-person__title"},subtitle:{type:"string",source:"html",selector:".wp-block-getwid-person__subtitle"},content:{type:"string",source:"html",selector:".wp-block-getwid-person__content"},imgId:{type:"number"},imgUrl:{type:"string",source:"attribute",attribute:"src",selector:".wp-block-getwid-person__image img"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:".wp-block-getwid-person__image img"}};t.a=r},function(e,t,n){"use strict";var r={photoCount:{type:"number",default:6},gridColumns:{type:"number",default:3},spacing:{type:"string",default:"default"},align:{type:"string"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),window),i=(o.jQuery,wp.blockEditor||wp.editor),a=i.PlainText,l=wp.components.ToggleControl,c="getwid-field-label",s=function(e){var t=e.setAttributes,n=e.label,o=e.isSelected,i=e.required,s=e.requiredDefault;return wp.element.createElement("div",{className:"".concat(c)},wp.element.createElement(a,{value:n,className:"".concat(c,"__input"),onChange:function(e){return t({label:e})},placeholder:Object(r.__)("Write label…","getwid")}),o&&!s&&wp.element.createElement(l,{label:Object(r.__)("Required","getwid"),className:"".concat(c,"__required"),checked:i,onChange:function(e){return t({required:e})}}),!o&&i&&!s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")),s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")))};t.a=s},function(e,t,n){"use strict";var r=(n(0),n(75)),o=n(1),i=(n.n(o),window),a=(i.jQuery,wp.element.Fragment),l=wp.blockEditor||wp.editor,c=l.InspectorControls,s=wp.components,u=s.TextControl,p=s.PanelBody,d=function(e){var t=e.type,n=e.className,i=e.setAttributes,l=e.label,s=e.isSelected,d=e.required,m=e.requiredDefault,g=e.placeholder,f=e.id;return wp.element.createElement(a,null,wp.element.createElement("div",{className:"".concat(n)},wp.element.createElement(u,{type:t,label:wp.element.createElement(r.a,{label:l,required:d,isSelected:s,setAttributes:i,requiredDefault:m}),value:g,onChange:function(e){return i({placeholder:e})},title:Object(o.__)("Set the placeholder text","getwid")})),wp.element.createElement(c,null,wp.element.createElement(p,{title:Object(o.__)("Settings","getwid")},wp.element.createElement(u,{label:Object(o.__)("ID","getwid"),value:f,onChange:function(e){return i({id:e})}}))))};t.a=d},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];o("getwid/".concat(e),t),n.length&&n.forEach(function(e){o("getwid/".concat(e.name),e.settings)})}t.a=r;var o=wp.blocks.registerBlockType},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},align:{type:"string"},sliderSlidesToShowDesktop:{type:"string",default:"2"},sliderSlidesToShowLaptop:{type:"string",default:"1"},sliderSlidesToShowTablet:{type:"string",default:"1"},sliderSlidesToShowMobile:{type:"string",default:"1"},sliderSlidesToScroll:{type:"string",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderSpacing:{type:"string",default:"small"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"outside"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},minHeight:{type:"string"},align:{type:"string"},textAlignment:{type:"string",default:"left"},sliderAnimationEffect:{type:"string",default:"slide"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:"6000"},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:"800"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"inside"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r={titleColor:{type:"string"},customTitleColor:{type:"string"},iconColor:{type:"string"},customIconColor:{type:"string"},buttonColorHEX:{type:"string"},buttonColor:{type:"string"},customButtonColor:{type:"string"},overlayColor:{type:"string"},customOverlayColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-video-popup__source",attribute:"src"},title:{type:"string",source:"html",selector:".wp-block-getwid-video-popup__title"},link:{type:"string"},align:{type:"string"},minHeight:{type:"string"},buttonMaxWidth:{type:"string"},overlayOpacity:{type:"number",default:35},imageAnimation:{type:"string",default:"none"},buttonStyle:{type:"string",default:"default"},buttonAnimation:{type:"string",default:"none"},buttonSize:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"src"},alt:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"alt"},tooltipTrigger:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-trigger",default:"click"},tooltipTheme:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-theme",default:"light"},tooltipArrow:{type:"boolean",default:!0},tooltipAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-tooltip-animation",default:"shift-toward"},dotIcon:{type:"string",default:"fas fa-plus"},dotSize:{type:"number",default:16},dotPaddings:{type:"number",default:6},dotColor:{type:"string"},dotBackground:{type:"string"},dotOpacity:{type:"number",default:100},dotPulse:{type:"string",default:"pulse"},dotAppearanceAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-appearance-animation",default:"none"},align:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-animation",default:""},imagePoints:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-image-points",default:""}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){p()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=C()(e);if(t()){var o=C()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}n.d(t,"a",function(){return K});var a=n(27),l=n.n(a),c=n(9),s=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),g=n(2),f=n.n(g),b=n(4),w=n.n(b),h=n(11),v=n.n(h),y=n(5),_=n.n(y),k=n(6),O=n.n(k),E=n(3),C=n.n(E),j=(n(0),n(1)),S=(n.n(j),n(10)),x=(n.n(S),n(469)),P=n(470),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,M=wp.blockEditor||wp.editor,B=M.withColors,D=M.InnerBlocks,I=M.getColorObjectByAttributeValues,L=wp.element,z=L.Component,V=L.Fragment,H=L.createContext,F=wp.components.IconButton,W=wp.blocks.createBlock,G=window,U=G.jQuery,q=["getwid/content-timeline-item"],Q=H(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return f()(this,t),e=n.apply(this,arguments),e.updateLineHeight=e.updateLineHeight.bind(v()(e)),e.updateBarHeight=e.updateBarHeight.bind(v()(e)),e.setColorByScroll=e.setColorByScroll.bind(v()(e)),e.changeState=e.changeState.bind(v()(e)),e.addItem=e.addItem.bind(v()(e)),e.state={isLockedPaddings:!1},e}_()(t,e);var n=i(t);return w()(t,[{key:"changeState",value:function(e,t){"object"==m()(e)?this.setState(e):"string"==typeof e&&this.setState(p()({},e,t))}},{key:"getColor",value:function(){var e=this.props.getEditorSettings,t=this.props.attributes,n=t.fillColor,r=t.customFillColor;if(n){var o=Object(S.get)(e(),["colors"],[]);return I(o,n).color}if(r)return r}},{key:"render",value:function(){var e=this,t=this.changeState,n=this.state.isLockedPaddings,r=this.props,i=r.className,a=r.baseClass,l=this.getColor(),c={style:{backgroundColor:l||void 0}};return wp.element.createElement(V,null,wp.element.createElement(x.a,s()({},o(o(o({},this.props),{isLockedPaddings:n}),{changeState:t}),{key:"inspector"})),wp.element.createElement("div",{className:"".concat(i)},wp.element.createElement("div",{className:"".concat(a,"__line")},wp.element.createElement("div",s()({className:"".concat(a,"__bar")},c))),wp.element.createElement(Y,{value:this},wp.element.createElement(D,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:[["getwid/content-timeline-item"]],templateLock:!1,renderAppender:function(){return wp.element.createElement("div",{className:"".concat(a,"__add-item")},wp.element.createElement(F,{icon:"insert",onClick:e.addItem,label:Object(j.__)("Add Item","getwid")}))}}))))}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=W("getwid/content-timeline-item");e=i.innerBlocks,n(a,e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this,o=this.props.clientId,i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=U("#block-".concat(o)),u=this.props.attributes,p=u.backgroundColor,d=u.customBackgroundColor,m=this.props.attributes,g=m.paddingTop,f=m.paddingBottom,b=m.paddingLeft,w=m.paddingRight,h=m.animation,v=this.props.attributes,y=v.horizontalSpace,_=v.marginBottom,k=this.getColor();n&&n.length&&U.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{backgroundColor:p,customBackgroundColor:d,paddingTop:g,paddingBottom:f,paddingLeft:b,paddingRight:w,horizontalSpace:y,marginBottom:_,pointColor:k,animation:h}}})});var O=this.props.attributes.filling;if(!Object(S.isEqual)(e.attributes.filling,O)){var E=U(".edit-post-layout").find("div[class$=__content]");if(U.parseJSON(O)){var C=function(){r.setColorByScroll(s),r.updateBarHeight(s)};C(),E.scroll(function(){C()})}else E.off(),this.disableFilling(s)}var j=this.props.attributes,x=j.fillColor,P=j.customFillColor;if(!Object(S.isEqual)(e.attributes.fillColor,x)||!Object(S.isEqual)(e.attributes.customFillColor,P)){var T=s.find("div[class$=__point]"),R=this.getColor();U.each(T,function(e,t){U(t).offset().top<=U(window).height()/2&&U(t).find(":first-child").css({borderColor:R||""})})}}},{key:"updateLineHeight",value:function(){var e=this.props.clientId,t=U("#block-".concat(e)),n=t.find("div[class$=__point]"),r=0;U.each(n,function(e,t){n[e+1]&&(r+=U(n[e+1]).offset().top-U(t).offset().top)});var o=t.find("div[class$=__line]"),i=t.find("div[class*=__wrapper]")[0],a=parseFloat(U(i).css("height"))/2;o.css({height:r,top:a})}},{key:"updateBarHeight",value:function(e){var t=e.find("div[class$=__point]"),n=e.find("div[class$=__line]").find("div[class$=__bar]"),r=n.offset().top,o=U(window).height()/2,i=t.toArray(),a=l()(i),c=a[0],s=a.slice(1);if(c){var u=o-U(c).offset().top;if(s.length){var p=s.slice(-1).pop(),d=U(p).offset().top;r<=o&&d>=o&&n.css({height:u}),r>=o&&n.css({height:0}),d<=o&&(this.updateLineHeight(),n.css({height:"100%"}))}}}},{key:"setColorByScroll",value:function(e){var t=this,n=this.props.baseClass,r=e.find("div[class$=__point]"),o=r.get(),i=l()(o),a=(i[0],i.slice(1));a.length&&U.each(r,function(e,r){var o=U(r).offset().top,i=U(r).parents(".".concat(n,"-item"))[0],a=t.getColor(),l=U(r).height()/2;o<=U(window).height()/2+l?(U(i).hasClass("is-active")||U(i).addClass("is-active"),U(r).find(":first-child").css({borderColor:a||""})):(U(i).hasClass("is-active")&&U(i).removeClass("is-active"),U(r).find(":first-child").css({borderColor:""}))}),a.length||this.disableFilling(e)}},{key:"disableFilling",value:function(e){e.find("div[class$=__bar]").css({height:0})}},{key:"componentDidMount",value:function(){var e=this,t=this.props.clientId,n=U("#block-".concat(t)),r=this.props.attributes.filling;U.parseJSON(r)&&(this.waitLoadMarkup=setInterval(function(){n.find("div[class*=__wrapper]").length&&(U(".edit-post-layout").find("div[class$=__content]").scroll(function(){e.setColorByScroll(n),e.updateBarHeight(n)}),clearInterval(e.waitLoadMarkup))},1)),this.waitLoadContent=setInterval(function(){if("complete"==document.readyState){e.updateLineHeight();var t=e.props.className,r=n.find(".".concat(t)),o=e.props.attributes.filling;U.parseJSON(o)&&(e.setColorByScroll(n),e.updateBarHeight(n)),e.mutationObserver=new MutationObserver(function(t){U.each(t,function(t,r){if("childList"==r.type&&(r.addedNodes.length||r.removedNodes.length)){var o,i=r.addedNodes.length?r.addedNodes[0]:r.removedNodes[0],a=e.props,l=a.getBlock,c=a.clientId,s=l(c);if(s&&(o=s.innerBlocks),o&&o.length&&(U(i).is("div[class*=__block]")||U(i).is("div[class*=__image-wrapper]"))){e.updateLineHeight();var u=e.props.attributes.filling;U.parseJSON(u)&&(e.setColorByScroll(n),e.updateBarHeight(n))}}})}),e.mutationObserver.observe(r.get(0),{childList:!0,subtree:!0}),clearInterval(e.waitLoadContent)}},1)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.className,n=e.clientId,r=U("#block-".concat(n)),o=r.find(".".concat(t));this.mutationObserver.disconnect(o.get(0)),U(".edit-post-layout").find("div[class$=__content]").off()}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}}),B("fillColor","backgroundColor")])(J)},function(e,t){function n(e){if(null==e)throw new TypeError("Cannot destructure undefined")}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(87),n(506),n(507)),o=(n.n(r),n(508));n.n(o)},function(e,t,n){"use strict";n(88),n(140),n(161),n(170),n(176),n(181),n(187),n(200),n(213),n(226),n(234),n(240),n(246),n(257),n(264),n(271),n(279),n(286),n(294),n(301),n(306),n(313),n(319),n(327),n(335),n(341),n(352),n(357),n(363),n(371),n(444),n(449),n(455),n(461),n(467),n(480),n(486),n(494),n(499)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){c()(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}var i=n(9),a=n.n(i),l=n(7),c=n.n(l),s=(n(0),n(1)),u=(n.n(s),n(97)),p=n(131),d=n(22),m=n(12),g=n(132),f=n(133),b=n(135),w=n(41),h=n(136),v=n(137),y=n(138),_=(n.n(y),n(139)),k=(n.n(_),wp.blocks.registerBlockType),O=d.a.prepareMultiGradientStyle,E=d.a.prepareBackgroundImageStyles,C=d.a.convertHorizontalAlignToStyle,j=d.a.convertVerticalAlignToStyle;k("getwid/section",o(o({title:Object(s.__)("Section","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M13,0v24h11V0H13z M22,22h-7V2h7V22z"}),wp.element.createElement("path",{d:"M0,0v11h11V0H0z M9,9H2V2h7V9z"}),wp.element.createElement("path",{d:"M0,13v11h11V13H0z M9,22H2v-7h7V22z"})),category:"getwid-blocks",keywords:[Object(s.__)("container","getwid"),Object(s.__)("wrapper","getwid"),Object(s.__)("row","getwid")],supports:{anchor:!0,inserter:!Getwid.disabled_blocks.includes("getwid/section")},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},deprecated:[{attributes:o(o({},w.a),{},{foregroundImage:{type:"string"}}),isEligible:function(e,t){return!0},migrate:function(e){return o(o({},e),e.foregroundImage?[{foregroundImage:{id:void 0,alt:void 0,url:e.foregroundImage}}]:[])},save:g.a},{attributes:o(o({},h.a),{},{backgroundVideoType:{type:"string",default:"self"}}),save:f.a},{attributes:v.a,save:b.a}],attributes:w.a},Object(m.b)("getwid/section",function(e){return wp.element.createElement(u.a,a()({},o(o({},e),{},{baseClass:"wp-block-getwid-section",prepareMultiGradientStyle:O,prepareBackgroundImageStyles:E,convertHorizontalAlignToStyle:C,convertVerticalAlignToStyle:j}),{key:"edit"}))})),{},{save:function(e){return wp.element.createElement(p.a,o(o({},e),{},{prepareMultiGradientStyle:O,prepareBackgroundImageStyles:E}))}}))},function(e,t,n){"use strict";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}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t.a=r},function(e,t,n){"use strict";var r=n(28);n.n(r)},function(e,t,n){"use strict";var r=n(10);n.n(r)},function(e,t,n){"use strict";var r=(n(35),n(36),n(94),n(10)),o=(n.n(r),n(95),n(34)),i=(n(40),Object(o.c)());i.Provider,i.Consumer,new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return(r="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 o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}t.a=o},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&")}function o(e){return e.replace(/"/g,""")}function i(e){return e.replace(/</g,"<")}function a(e){return Object(s.a)(o(r(e)))}function l(e){return i(r(e))}function c(e){return!u.test(e)}t.a=a,t.b=l,t.c=c;var s=n(96),u=/[\u007F-\u009F "'>\/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,">")}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(8)),j=n.n(C),S=n(10),x=(n.n(S),n(41)),P=n(42),T=(n.n(P),n(43)),R=(n.n(T),n(25)),N=n(29),A=n(100),M=n(101),B=n(26),D=n(14),I=n(12),L=n(121),z=wp.hooks.addFilter,V=wp.element,H=V.Component,F=V.Fragment,W=wp.data,G=W.select,U=W.withSelect,q=wp.components,Q=q.Button,K=q.IconButton,Y=q.SelectControl,J=(q.ButtonGroup,q.BaseControl,q.Dashicon),Z=q.Tooltip,$=q.Toolbar,X=q.DropdownMenu,ee=q.Path,te=q.SVG,ne=q.FocalPointPicker,re=(q.__experimentalGradientPicker,wp.blockEditor||wp.editor),oe=re.InnerBlocks,ie=re.withColors,ae=re.BlockControls,le=re.BlockAlignmentToolbar,ce=(re.MediaPlaceholder,re.MediaUpload,re.PanelColorSettings),se=wp.compose.compose,ue=window,pe=ue.jQuery,de=[],me="wp-block-getwid-section",ge=!1;window.onYouTubeIframeAPIReady=function(){ge=!0};z("blocks.getSaveElement","getwid/set-skip-layout-attribute",function(e,t,n){return"getwid/section"==t.name&&(t.attributes.skipLayout={type:"boolean",default:!1},n.skipLayout=!0),e});var fe=function(e){function t(e){var r;m()(this,t),r=n.call(this,e);var o=r.props.attributes,i=o.youTubeVideoMute;o.youTubeVideoAutoplay;return r.videoRef=null,r.videoButtonRef=null,r.state={draggablesObj:{},showRullers:!0,videoPlayState:"paused",videoMuteState:!0,YTvideoPlayState:"paused",YTvideoMuteState:"true"==i,isLockedPaddingsOnDesktop:!1,isLockedPaddingsOnTablet:!1,isLockedPaddingsOnMobile:!1,isLockedMarginsOnDesktop:!1,isLockedMarginsOnTablet:!1,isLockedMarginsOnMobile:!1},r.playBackgroundVideo=r.playBackgroundVideo.bind(w()(r)),r.onBackgroundVideoEnd=r.onBackgroundVideoEnd.bind(w()(r)),r.muteBackgroundVideo=r.muteBackgroundVideo.bind(w()(r)),r.changeState=r.changeState.bind(w()(r)),r}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"render",value:function(){var e,t,n=this,r=this.props.attributes,i=r.align,a=r.minHeight,c=r.gapSize,u=r.anchor,p=r.customBackgroundColor,d=r.youTubeVideoUrl,m=r.youTubeVideoScale,g=r.backgroundVideoType,f=this.props.attributes,b=f.resetMinHeightTablet,w=f.resetMinHeightMobile,h=f.sliderImages,v=f.backgroundVideoUrl,y=this.props.attributes,_=y.backgroundVideoControlsPosition,k=y.foregroundOpacity,O=y.foregroundColor,C=y.foregroundFilter,P=y.dividersBringTop,T=this.props.attributes,I=T.contentMaxWidth,z=T.contentMaxWidthPreset,V=T.entranceAnimation,H=T.entranceAnimationDuration,W=T.entranceAnimationDelay,U=this.props.attributes,q=U.backgroundImage,re=U.backgroundImagePosition,ie=U.backgroundCustomImagePosition,se=U.backgroundImageAttachment,ue=U.backgroundImageRepeat,ge=U.backgroundImageSize,fe=this.props.attributes,be=fe.paddingTopValue,we=fe.paddingBottomValue,he=fe.paddingLeftValue,ve=fe.paddingRightValue,ye=fe.marginTopValue,_e=fe.marginBottomValue,ke=fe.marginLeftValue,Oe=fe.marginRightValue,Ee=this.props.attributes,Ce=Ee.paddingTop,je=Ee.paddingRight,Se=Ee.paddingBottom,xe=Ee.paddingLeft,Pe=this.props.attributes,Te=Pe.paddingTopTablet,Re=Pe.paddingRightTablet,Ne=Pe.paddingBottomTablet,Ae=Pe.paddingLeftTablet,Me=this.props.attributes,Be=Me.paddingTopMobile,De=Me.paddingRightMobile,Ie=Me.paddingBottomMobile,Le=Me.paddingLeftMobile,ze=this.props.attributes,Ve=ze.marginTop,He=ze.marginRight,Fe=ze.marginBottom,We=ze.marginLeft,Ge=this.props.attributes,Ue=Ge.marginTopTablet,qe=Ge.marginRightTablet,Qe=Ge.marginBottomTablet,Ke=Ge.marginLeftTablet,Ye=this.props.attributes,Je=Ye.verticalAlign,Ze=Ye.verticalAlignTablet,$e=Ye.verticalAlignMobile,Xe=Ye.horizontalAlign,et=Ye.horizontalAlignTablet,tt=Ye.horizontalAlignMobile,nt=this.props.attributes,rt=nt.marginTopMobile,ot=nt.marginRightMobile,it=nt.marginBottomMobile,at=nt.marginLeftMobile,lt=this.props,ct=lt.className,st=lt.backgroundColor,ut=lt.setBackgroundColor,pt=lt.prepareMultiGradientStyle,dt=lt.prepareBackgroundImageStyles,mt=lt.setAttributes,gt=lt.isSelected,ft=this.state.showRullers,bt=this.state,wt=bt.isLockedPaddingsOnDesktop,ht=bt.isLockedPaddingsOnTablet,vt=bt.isLockedPaddingsOnMobile,yt=this.state,_t=yt.isLockedMarginsOnDesktop,kt=yt.isLockedMarginsOnTablet,Ot=yt.isLockedMarginsOnMobile,Et=this.changeState,Ct=this.props.clientId,jt=o(o({},"custom"===Ve?{marginTop:ye}:[]),"custom"===Fe?{marginBottom:_e}:[]),St=o(o(o(o(o(o({minHeight:a},"custom"===We?{marginLeft:ke}:[]),"custom"===He?{marginRight:Oe}:[]),"custom"===Ce?{paddingTop:be}:[]),"custom"===Se?{paddingBottom:we}:[]),"custom"===xe?{paddingLeft:he}:[]),"custom"===je?{paddingRight:ve}:[]),xt=j()("".concat(me,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(Ce),"custom"!==Ce&&""!==Ce),s()(e,"getwid-padding-bottom-".concat(Se),"custom"!==Se&&""!==Se),s()(e,"getwid-padding-left-".concat(xe),"custom"!==xe&&""!==xe),s()(e,"getwid-padding-right-".concat(je),"custom"!==je&&""!==je),s()(e,"getwid-padding-tablet-top-".concat(Te),""!==Te),s()(e,"getwid-padding-tablet-bottom-".concat(Ne),""!==Ne),s()(e,"getwid-padding-tablet-left-".concat(Ae),""!==Ae),s()(e,"getwid-padding-tablet-right-".concat(Re),""!==Re),s()(e,"getwid-padding-mobile-top-".concat(Be),""!==Be),s()(e,"getwid-padding-mobile-bottom-".concat(Ie),""!==Ie),s()(e,"getwid-padding-mobile-left-".concat(Le),""!==Le),s()(e,"getwid-padding-mobile-right-".concat(De),""!==De),s()(e,"getwid-margin-left-".concat(We),"custom"!==We&&""!==We),s()(e,"getwid-margin-right-".concat(He),"custom"!==He&&""!==He),s()(e,"getwid-margin-tablet-left-".concat(Ke),""!==Ke),s()(e,"getwid-margin-tablet-right-".concat(qe),""!==qe),s()(e,"getwid-margin-mobile-left-".concat(at),""!==at),s()(e,"getwid-margin-mobile-right-".concat(ot),""!==ot),s()(e,"getwid-align-items-".concat(Je),"center"!==Je),s()(e,"getwid-align-items-tablet-".concat(Ze),""!==Ze),s()(e,"getwid-align-items-mobile-".concat($e),""!==$e),s()(e,"getwid-justify-content-".concat(Xe),"center"!==Xe),s()(e,"getwid-justify-content-tablet-".concat(et),""!==et),s()(e,"getwid-justify-content-mobile-".concat(tt),""!==tt),s()(e,"getwid-reset-min-height-tablet",!1!==b),s()(e,"getwid-reset-min-height-mobile",!1!==w),e)),Pt=this.props.attributes,Tt=Pt.backgroundGradient,Rt=Pt.foregroundGradient;Tt=pt("background",this.props),Rt=pt("foreground",this.props);var Nt=o({backgroundColor:st.color?st.color:p,backgroundImage:Tt},dt("background",this.props)),At=j()("".concat(me,"__background"),s()({"has-background":st.color},st.class,st.class)),Mt=o(o({opacity:void 0!==k?k/100:void 0,backgroundColor:O,backgroundImage:Rt},dt("foreground",this.props)),{},{mixBlendMode:C}),Bt={maxWidth:I&&"custom"===z?"".concat(I,"px"):void 0},Dt=V?{"data-wow-duration":void 0!==H?H:"2000ms","data-wow-delay":void 0!==W?W:"500ms"}:{},It=j()(ct,"".concat(me,"-").concat(Ct),(t={},s()(t,"has-inner-blocks-gap-".concat(c),void 0!==c&&""!==c),s()(t,"getwid-margin-top-".concat(Ve),"custom"!==Ve&&""!==Ve),s()(t,"getwid-anim ".concat(V),!!V),s()(t,"getwid-margin-bottom-".concat(Fe),"custom"!==Fe&&""!==Fe),s()(t,"getwid-margin-tablet-top-".concat(Ue),"custom"!==Ue&&""!==Ue),s()(t,"getwid-margin-tablet-bottom-".concat(Qe),"custom"!==Qe&&""!==Qe),s()(t,"getwid-margin-mobile-top-".concat(rt),"custom"!==rt&&""!==rt),s()(t,"getwid-margin-mobile-bottom-".concat(it),"custom"!==it&&""!==it),s()(t,"getwid-section-content-full-width","full"===z),s()(t,"getwid-section-content-custom-width","custom"===z),t)),Lt=u||void 0,zt=[{title:Object(E.__)("Wide Screen. Section full width, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71v-3.53v-0.71v-3.53v-0.71v-3.53v-0.71v-2.42c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0\tc-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71H33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01\tC7.9,13,7,13.9,7,15.01v2.48v0.71v3.53v0.71v3.53v0.71v3.53v0.71v2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0\tc0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43v-0.42\tc0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15v0.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l4-4H38.99z\t M13,26.99L13.01,21h21.98v6L13,26.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z M26.45,15l-4,4h-3.53l4-4\tH26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M9.01,15h0.48l-0.48,0.48L9.01,15z M9.01,16.19L10.2,15h3.53l-4.72,4.72L9.01,16.19z\t M9.01,20.43L14.44,15h3.53l-4,4h-0.96C11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z\t M9,28.92l2-2v0.07c0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9.17,32.99L13.16,29h3.53l-3.99,3.99L9.17,32.99z M13.41,32.99\tL17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99L25.9,29h3.53l-4,4\tL21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L33.91,33\tL30.38,33z M34.62,33l4.37-4.37v3.53L38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){mt({align:"full",skipLayout:!0})}},{title:Object(E.__)("Full Width. Section and content full width.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71V29V19v-3.99c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0c-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71\tH33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01C7.9,13,7,13.9,7,15.01v2.48v0.71V19v10v1.21v0.71\tv2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0c0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55\th0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M9.01,21h29.98v6H9L9.01,21z M38.99,19\tH35.9l3.09-3.09V19z M38.99,15v0.2l-3.8,3.8h-3.53l4-4H38.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z\t M26.45,15l-4,4h-3.53l4-4H26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M17.97,15l-4,4h-3.53l4-4H17.97z M9.01,15h0.48l-0.48,0.48\tL9.01,15z M9.01,16.19L10.2,15h3.53l-4,4H9.01L9.01,16.19z M9,29h3.45L9,32.45L9,29z M9.17,32.99L13.16,29h3.53l-3.99,3.99\tL9.17,32.99z M13.41,32.99L17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99\tL25.9,29h3.53l-4,4L21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h3.53l-4,4L30.38,33z M34.62,33l4-4h0.37v3.16\tL38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){mt({align:"full",contentMaxWidthPreset:"full",skipLayout:!0})}},{title:Object(E.__)("Full Screen. Section full screen, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"}),wp.element.createElement("path",{d:"M39.38,40.96c0.8-0.16,1.42-0.78,1.58-1.58l0,0c0.02-0.13,0.04-0.26,0.04-0.39v-0.36V35.1v-0.71v-3.53v-0.71v-3.53v-0.71\tv-3.53v-0.71v-3.53v-0.71V13.9v-0.71V9.66V9.01c0-0.02-0.01-0.04-0.01-0.06l0,0C40.97,8,40.28,7.21,39.36,7.04l0,0\tC39.24,7.01,39.12,7,38.99,7h-0.3h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H18.2h-0.71h-3.53h-0.71H9.01C7.9,7,7,7.9,7,9.01\tv4.24v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.3c0,0.13,0.01,0.25,0.04,0.37l0,0\tc0.17,0.91,0.96,1.6,1.92,1.63l0,0c0.02,0,0.04,0.01,0.06,0.01h0.65h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.36C39.12,41,39.25,40.99,39.38,40.96L39.38,40.96z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43\tv-0.42c0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l7.33-7.33V15.2z\t M13,26.99L13.01,21h21.98v6L13,26.99z M38.99,9v1.96L30.95,19H27.4l10-10H38.99z M36.69,9l-10,10h-3.53l10-10H36.69z M32.45,9\tl-10,10h-3.53l10-10H32.45z M28.21,9l-10,10h-3.53l10-10H28.21z M9.01,9h2.24l-2.24,2.24L9.01,9z M9.01,11.95L11.96,9h3.53\tl-6.48,6.48L9.01,11.95z M9.01,16.19L16.2,9h3.53L9.01,19.72L9.01,16.19z M9.01,20.43L20.44,9h3.53l-10,10h-0.96\tC11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z M9,28.92l2-2v0.07\tc0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9,33.16L13.16,29h3.53L9,36.69L9,33.16z M9,38.99l0-1.59l8.4-8.4h3.55l-9.99,9.99\tL9,38.99z M11.66,38.99L21.66,29h3.53l-9.99,9.99L11.66,38.99z M15.9,38.99L25.9,29h3.53l-9.99,9.99L15.9,38.99z M20.14,38.99\tL30.14,29h3.53l-9.99,9.99L20.14,38.99z M24.38,39l10-10h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L27.91,39L24.38,39z\t M28.62,39l10.37-10.37v3.53L32.15,39L28.62,39z M32.86,39l6.13-6.13v3.53l-2.6,2.6L32.86,39z M37.1,39l1.89-1.89V39L37.1,39z"})),layout:function(){mt({align:"full",minHeight:"100vh",skipLayout:!0})}}],Vt=["flex-start","center","flex-end"],Ht={"flex-start":{title:Object(E.__)("Top","getwid"),icon:wp.element.createElement(te,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(ee,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(ee,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"}))},center:{title:Object(E.__)("Middle","getwid"),icon:wp.element.createElement(te,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(ee,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(ee,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}))},"flex-end":{title:Object(E.__)("Bottom","getwid"),icon:wp.element.createElement(te,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(ee,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(ee,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"}))}},Ft=["flex-start","center","flex-end"],Wt={"flex-start":{title:Object(E.__)("Left","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M2,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C2.45,16,2,15.55,2,15z"}),wp.element.createElement("path",{d:"M6,10l3,3v-2h8c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1H9V7L6,10z"}))},center:{title:Object(E.__)("Center","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M9,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C9.45,16,9,15.55,9,15z"}),wp.element.createElement("path",{d:"M12,10l3,3v-2h2c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1h-2V7L12,10z"}),wp.element.createElement("path",{d:"M8,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h2V7L8,10z"}))},"flex-end":{title:Object(E.__)("Right","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M16,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C16.45,16,16,15.55,16,15z"}),wp.element.createElement("path",{d:"M14,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h8V7L14,10z"}))}},Gt=G("core/block-editor"),Ut=Gt.getBlockRootClientId,qt=!1,Qt=Ut(Ct);Qt&&(qt=Qt.length>0);var Kt=G("core/block-editor").getBlocks(Ct).length>0,Yt=!1;pe.each(this.props.attributes,function(e,t){if(Object(S.has)(x.a,[e,"default"])&&!Object(S.isEqual)(t,x.a[e].default))return Yt=!0,!1});var Jt=this.props.attributes.skipLayout,Zt=q?q.url:void 0,$t=q?q.id:void 0,Xt=void 0==Qt||null==Qt||Jt;return wp.element.createElement(F,null,Kt||0!=Xt||Yt||qt||!Getwid.settings.wide_support?wp.element.createElement(F,null,wp.element.createElement(ae,null,wp.element.createElement(le,{value:i,isCollapsed:!1,controls:["wide","full"],onChange:function(e){return mt({align:e})}}),wp.element.createElement(X,{icon:Ht[Je].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(E.__)("Content Area Vertical Alignment","getwid"),controls:Vt.map(function(e){return o(o({},Ht[e]),{},{isActive:Je===e,onClick:function(){mt({verticalAlign:e})}})})}),wp.element.createElement(X,{icon:Wt[Xe].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(E.__)("Content Area Horizontal Alignment","getwid"),controls:Ft.map(function(e){return o(o({},Wt[e]),{},{isActive:Xe===e,onClick:function(){mt({horizontalAlign:e})}})})}),wp.element.createElement(M.a,{className:"components-dropdown-menu components-toolbar",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(K,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("path",{d:"M3,16h14c0.55,0,1,0.45,1,1v0c0,0.55-0.45,1-1,1H3c-0.55,0-1-0.45-1-1v0C2,16.45,2.45,16,3,16z"}),wp.element.createElement("path",{d:"M9.05,13.95L13.3,9.7c0.39-0.39,0.39-1.02,0-1.41L9.05,4.05L8.34,3.34L7.63,2.63c-0.39-0.39-1.02-0.39-1.41,0L6.22,2.64\tc-0.39,0.39-0.39,1.02,0,1.41l0.7,0.7L3.39,8.3C3,8.69,3,9.31,3.39,9.7l4.24,4.25C8.02,14.34,8.66,14.34,9.05,13.95z M9.04,6.87\tL11.17,9H5.51l2.13-2.13C8.02,6.49,8.66,6.49,9.04,6.87z"}),wp.element.createElement("path",{d:"M13,13c0,0.55,0.45,1,1,1s1-0.45,1-1s-1-3-1-3S13,12.45,13,13z"})),onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(F,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(K,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(ce,{title:Object(E.__)("Colors","getwid"),initialOpen:!0,className:"getwid-custom-pallete",colorSettings:[{value:st.color,onChange:ut,label:Object(E.__)("Background Color","getwid")}]}))}}),wp.element.createElement(M.a,{className:"components-dropdown-menu components-toolbar",contentClassName:"getwid-popover-wrapper",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(K,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:"format-image",onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(F,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(K,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(D.e,{label:Object(E.__)("Background Image","getwid"),url:Zt,id:$t,onSelectMedia:function(e){mt({backgroundImage:void 0!==e?Object(S.pick)(e,["alt","id","url"]):{}}),t(!0)},onRemoveMedia:function(){return mt({backgroundImage:void 0})}}),!!q&&wp.element.createElement(F,null,wp.element.createElement(Y,{label:Object(E.__)("Position","getwid"),value:void 0!==re?re:"",onChange:function(e){return mt({backgroundImagePosition:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"custom",label:Object(E.__)("Custom","getwid")},{value:"top left",label:Object(E.__)("Top Left","getwid")},{value:"top center",label:Object(E.__)("Top Center","getwid")},{value:"top right",label:Object(E.__)("Top Right","getwid")},{value:"center left",label:Object(E.__)("Center Left ","getwid")},{value:"center center",label:Object(E.__)("Center Center","getwid")},{value:"center right",label:Object(E.__)("Center Right","getwid")},{value:"bottom left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(E.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(E.__)("Bottom Right","getwid")}]}),"custom"==re&&wp.element.createElement(ne,{url:Zt,value:ie,onChange:function(e){mt({backgroundCustomImagePosition:e})}}),wp.element.createElement(Y,{label:Object(E.__)("Attachment","getwid"),value:void 0!==se?se:"",onChange:function(e){return mt({backgroundImageAttachment:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"scroll",label:Object(E.__)("Scroll","getwid")},{value:"fixed",label:Object(E.__)("Fixed","getwid")}]}),wp.element.createElement(Y,{label:Object(E.__)("Repeat","getwid"),value:void 0!==ue?ue:"",onChange:function(e){return mt({backgroundImageRepeat:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"no-repeat",label:Object(E.__)("No Repeat","getwid")},{value:"repeat",label:Object(E.__)("Repeat","getwid")},{value:"repeat-x",label:Object(E.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(E.__)("Repeat Y","getwid")},{value:"space",label:Object(E.__)("Space","getwid")},{value:"round",label:Object(E.__)("Round","getwid")}]}),wp.element.createElement(Y,{label:Object(E.__)("Size","getwid"),value:void 0!==ge?ge:"",onChange:function(e){return mt({backgroundImageSize:e})},options:[{value:"",label:Object(E.__)("Cover","getwid")},{value:"contain",label:Object(E.__)("Contain","getwid")},{value:"auto",label:Object(E.__)("Auto","getwid")}]})))}}),wp.element.createElement($,{controls:[{icon:wp.element.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{d:"M24.4003906,22.5996094H7.5996094c-0.5527344,0-1-0.4472656-1-1V10.4003906c0-0.5527344,0.4472656-1,1-1h16.8007813 c0.5527344,0,1,0.4472656,1,1v11.1992188C25.4003906,22.1523438,24.953125,22.5996094,24.4003906,22.5996094z M8.5996094,20.5996094h14.8007813v-9.1992188H8.5996094V20.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2,11.5996094c-0.5527344,0-1-0.4472656-1-1V5c0-0.5527344,0.4472656-1,1-1h5.5996094c0.5527344,0,1,0.4472656,1,1 s-0.4472656,1-1,1H3v4.5996094C3,11.1523438,2.5527344,11.5996094,2,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,11.5996094c-0.5527344,0-1-0.4472656-1-1V6h-4.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H30 c0.5527344,0,1,0.4472656,1,1v5.5996094C31,11.1523438,30.5527344,11.5996094,30,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M7.5996094,28H2c-0.5527344,0-1-0.4472656-1-1v-5.5996094c0-0.5527344,0.4472656-1,1-1s1,0.4472656,1,1V26h4.5996094 c0.5527344,0,1,0.4472656,1,1S8.1523438,28,7.5996094,28z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,28h-5.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H29v-4.5996094c0-0.5527344,0.4472656-1,1-1 s1,0.4472656,1,1V27C31,27.5527344,30.5527344,28,30,28z"})))),title:Object(E.__)("Show Guides","getwid"),isActive:ft,onClick:function(){n.setState({showRullers:!ft})}}]})),wp.element.createElement(L.a,l()({},o(o(o(o({},this.props),{isLockedPaddingsOnDesktop:wt,isLockedPaddingsOnTablet:ht,isLockedPaddingsOnMobile:vt}),{isLockedMarginsOnDesktop:_t,isLockedMarginsOnTablet:kt,isLockedMarginsOnMobile:Ot}),{},{baseClass:me,changeState:Et}),{key:"inspector"})),wp.element.createElement("div",l()({id:Lt,className:It,style:jt},Dt),wp.element.createElement(A.a,o(o(o(o(o({},{paddingBottom:Se,paddingRight:je,paddingLeft:xe,paddingTop:Ce}),{paddingBottomValue:we,paddingRightValue:ve,paddingLeftValue:he,paddingTopValue:be}),{marginBottom:Fe,marginRight:He,marginLeft:We,marginTop:Ve}),{marginBottomValue:_e,marginRightValue:Oe,marginLeftValue:ke,marginTopValue:ye}),{},{changeState:Et,setAttributes:mt,showRullers:ft,isSelected:gt,baseClass:me,clientId:Ct,isLayoutSet:Kt||Jt||Yt||qt||!Getwid.settings.wide_support}),wp.element.createElement("div",{className:xt,style:St},wp.element.createElement(R.a,o(o({},this.props),{},{baseClass:me})),(!!v||!!d)&&"none"!==_&&wp.element.createElement("div",{className:j()("getwid-background-video-controls",s()({},"is-position-".concat(_),"top-right"!==_))},wp.element.createElement("button",{onClick:this.playBackgroundVideo,className:"getwid-background-video-play",ref:function(e){return n.videoButtonRef=e}},("self"==g&&"paused"===this.state.videoPlayState||"youtube"==g&&"paused"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-play"}),("self"==g&&"playing"===this.state.videoPlayState||"youtube"==g&&"playing"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{onClick:this.muteBackgroundVideo,className:"getwid-background-video-mute"},("self"==g&&!0===this.state.videoMuteState||"youtube"==g&&!0===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}),("self"==g&&!1===this.state.videoMuteState||"youtube"==g&&!1===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-volume-up"}))),wp.element.createElement("div",{className:j()("".concat(me,"__inner-wrapper"),s()({},"has-dividers-over",P)),style:Bt},wp.element.createElement("div",{className:"".concat(me,"__background-holder")},wp.element.createElement("div",{className:At,style:Nt},!!q&&wp.element.createElement("div",{className:"".concat(me,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(me,"__background-image"),src:q.url,alt:q.alt,"data-id":q.id})),!!h.length&&wp.element.createElement("div",{className:"".concat(me,"__background-slider-wrapper")},wp.element.createElement(B.a,o(o({},this.props),{},{baseClass:me}))),(!!v||!!d)&&wp.element.createElement("div",{className:"".concat(me,"__background-video-wrapper")},!!d&&"youtube"==g&&wp.element.createElement("div",{className:j()("".concat(me,"__background-video"),"source-youtube",s()({},"scale-youtube-".concat(m),""!=m))},wp.element.createElement("div",{className:"".concat(me,"__background-video-youtube"),id:"ytplayer-".concat(Ct)})),!!v&&"self"==g&&wp.element.createElement(N.a,l()({},o(o({},this.props),{},{baseClass:me}),{onVideoEnd:this.onBackgroundVideoEnd,videoAutoplay:!1,videoMute:this.state.videoMuteState,videoElemRef:function(e){return n.videoRef=e}})))),wp.element.createElement("div",{className:"".concat(me,"__foreground"),style:Mt})),wp.element.createElement("div",{className:"".concat(me,"__content")},wp.element.createElement("div",{className:"".concat(me,"__inner-content")},wp.element.createElement(oe,{renderAppender:function(){return wp.element.createElement(oe.ButtonBlockAppender,null)},defaultBlock:!1,template:de,templateInsertUpdatesSelection:!1,templateLock:!1})))))))):wp.element.createElement("div",{className:"components-placeholder block-editor-inner-blocks__template-picker has-many-options"},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement(J,{icon:"layout"}),Object(E.__)("Choose Section Layout","getwid")),wp.element.createElement("div",{className:"components-placeholder__instructions"},Object(E.__)("Select a layout to start with, or make one yourself.","getwid")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement("ul",{className:"block-editor-inner-blocks__template-picker-options"},zt.map(function(e,t){return wp.element.createElement("li",null,wp.element.createElement(Z,{text:e.title},wp.element.createElement(Q,{className:"components-icon-button block-editor-inner-blocks__template-picker-option is-button is-default is-large",key:t,onClick:function(){return e.layout()}},e.icon)))})),wp.element.createElement("div",{class:"block-editor-inner-blocks__template-picker-skip"},wp.element.createElement(Q,{className:"components-button is-link",onClick:function(){return mt({skipLayout:!0})}},Object(E.__)("Skip","getwid"))))))}},{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.youTubeVideoUrl;t&&this.animate(),n&&""!=n&&this.initYouTubeVideo()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.attributes,r=n.entranceAnimation,o=n.entranceAnimationDuration,i=n.youTubeVideoUrl,a=n.backgroundVideoType,l=n.youTubeVideoMute,c=n.youTubeVideoLoop,s=n.youTubeVideoAutoplay,u=this.props,p=u.baseClass,d=u.clientId,m=(u.isSelected,e.attributes.entranceAnimation),g=e.attributes.entranceAnimationDuration,f=e.attributes.youTubeVideoUrl,b=e.attributes.backgroundVideoType,w=e.attributes.youTubeVideoMute,h=e.attributes.youTubeVideoLoop,v=e.attributes.youTubeVideoAutoplay;!r||m===r&&g===o||(pe(".".concat(p,"-").concat(d)).css("animation-name",""),this.animate()),(f!==i||b!==a&&"youtube"==a||w!==l||h!==c||v!==s)&&this.initYouTubeVideo()}},{key:"initYouTubeVideo",value:function(){var e,t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],this.props.clientId),n=this.changeState,r=this.props.attributes,o=r.youTubeVideoUrl,i=r.youTubeVideoMute,a=r.youTubeVideoLoop;r.youTubeVideoAutoplay;pe("#youtube_video_api_js").length||function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://www.youtube.com/iframe_api",e.id="youtube_video_api_js";var t=!1;document.getElementsByTagName("head")[0].appendChild(e),e.onload=e.onreadystatechange=function(){t||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(t=!0,e.onload=e.onreadystatechange=null)}}(),function(){var r=setInterval(function(){ge&&(clearInterval(r),YT.get("ytplayer-".concat(t))&&YT.get("ytplayer-".concat(t)).destroy(),o&&""!=o&&(e=new YT.Player("ytplayer-".concat(t),{playerVars:{autoplay:0,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,loop:"true"==a?1:0,playlist:"true"==a?Object(I.f)(o):"",modestbranding:1,rel:0,showinfo:0,enablejsapi:1,mute:"true"==i?1:0,autohide:1},height:"100%",width:"100%",videoId:Object(I.f)(o),events:{onReady:function(e){},onStateChange:function(e){0==e.data&&"false"==a&&(e.target.f.contentWindow.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"),n({YTvideoPlayState:"paused"}))}}})))},1)}()}},{key:"animate",value:function(){var e=this.props,t=e.baseClass,n=e.clientId,r=Object(I.e)();r&&new WOW({boxClass:"".concat(t,"-").concat(n),scrollContainer:"."+r,live:!1,mobile:!1}).init()}},{key:"playBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoPlayState;if("self"==e){var r=this.videoRef;r.paused?(r.play(),this.setState({videoPlayState:"playing"})):(r.pause(),this.setState({videoPlayState:"paused"}))}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));"paused"==n?(o.f.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"),this.setState({YTvideoPlayState:"playing"})):"playing"==n&&(o.f.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*"),this.setState({YTvideoPlayState:"paused"}))}}},{key:"onBackgroundVideoEnd",value:function(){this.setState({videoPlayState:"paused"})}},{key:"muteBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoMuteState;if("self"==e){var r=this.videoRef;r.muted=!r.muted,this.setState({videoMuteState:r.muted})}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));1==n?(o.f.contentWindow.postMessage('{"event":"command","func":"unMute","args":""}',"*"),this.setState({YTvideoMuteState:!1})):0==n&&(o.f.contentWindow.postMessage('{"event":"command","func":"mute","args":""}',"*"),this.setState({YTvideoMuteState:!0}))}}}]),t}(H);t.a=se([U(function(e,t){return{getBlock:e("core/editor").getBlock}}),ie("backgroundColor")])(fe)},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n(0);t.a={"zigzag-ice-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,points:"893,50.7 879,75.9 790,63.3 764,81.8 671,69.2 627,81.8 565,66.2 501.5,83.3 456,69.6 353,84 290,63.3 245.5,73.3 209,58.8 123.5,69.9 111.3,42.6 54.8,49.2 34.7,26.3 11.8,31.8 0,10 0,100 1000,100 1000,37.4 960,56.3 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"893,40.7 879,65.9 790,53.3 764,71.8 671,59.2 627,71.8 565,56.2 501.5,73.3 456,59.6 353,74 290,53.3 245.5,63.3 209,48.8 123.5,59.9 111.3,32.6 54.8,39.2 34.7,16.3 11.8,21.8 0.2,0 0,0 0,100 1000,100 1000,27.4 960,46.3 "}))},"zigzag-ice":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,points:"0.2,0 11.8,21.8 34.7,16.3 54.8,39.2 111.3,32.6 123.5,59.9 209,48.8 245.5,63.3 290,53.3 353,74 456,59.6 501.5,73.3 565,56.2 627,71.8 671,59.2 764,71.8 790,53.3 879,65.9 893,40.7 960,46.3 1000,27.4 1000,0 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,10 11.8,31.8 34.7,26.3 54.8,49.2 111.3,42.6 123.5,69.9 209,58.8 245.5,73.3 290,63.3 353,84 456,69.6 501.5,83.3 565,66.2 627,81.8 671,69.2 764,81.8 790,63.3 879,75.9 893,50.7 960,56.3 1000,37.4 1000,0"}))},"zigzag-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1800 6",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,1 3.5,5.4 7,1 10.5,5.4 14,1 17.5,5.4 21,1 24.5,5.4 28,1 31.5,5.4 35,1 38.5,5.4 42,1 45.5,5.4 49,1 52.5,5.4 56,1 59.5,5.4 63,1 66.5,5.4 70,1 73.5,5.4 77,1 80.5,5.4 84,1 87.5,5.4 91,1 94.5,5.4 98,1 101.5,5.4 105,1 108.5,5.4 112,1 115.5,5.4 119,1 122.5,5.4 126,1 129.5,5.4 133,1 136.5,5.4 140,1 143.5,5.4 147,1 150.5,5.4 154,1 157.5,5.4 161,1 164.5,5.4 168,1 171.5,5.4 175,1 178.5,5.4 182,1 185.5,5.4 189,1 192.5,5.4 196,1 199.5,5.4 203,1 206.5,5.4 210,1 213.5,5.4 217,1 220.5,5.4 224,1 227.5,5.4 231,1 234.5,5.4 238,1 241.5,5.4 245,1 248.5,5.4 252,1 255.5,5.4 259,1 262.5,5.4 266,1 269.5,5.4 273,1 276.5,5.4 280,1 283.5,5.4 287,1 290.5,5.4 294,1 297.5,5.4 301,1 304.5,5.4 308,1 311.5,5.4 315,1 318.5,5.4 322,1 325.5,5.4 329,1 332.5,5.4 336,1 339.5,5.4 343,1 346.5,5.4 350,1 353.5,5.4 357,1 360.5,5.4 364,1 367.5,5.4 371,1 374.5,5.4 378,1 381.5,5.4 385,1 388.5,5.4 392,1 395.5,5.4 399,1 402.5,5.4 406,1 409.5,5.4 413,1 416.5,5.4 420,1 423.5,5.4 427,1 430.5,5.4 434,1 437.5,5.4 441,1 444.5,5.4 448,1 451.5,5.4 455,1 458.5,5.4 462,1 465.5,5.4 469,1 472.5,5.4 476,1 479.5,5.4 483,1 486.5,5.4 490,1 493.5,5.4 497,1 500.5,5.4 504,1 507.5,5.4 511,1 514.5,5.4 518,1 521.5,5.4 525,1 528.5,5.4 532,1 535.5,5.4 539,1 542.5,5.4 546,1 549.5,5.4 553,1 556.5,5.4 560,1 563.5,5.4 567,1 570.5,5.4 574,1 577.5,5.4 581,1 584.5,5.4 588,1 591.5,5.4 595,1 598.5,5.4 602,1 605.5,5.4 609,1 612.5,5.4 616,1 619.5,5.4 623,1 626.5,5.4 630,1 633.5,5.4 637,1 640.5,5.4 644,1 647.5,5.4 651,1 654.5,5.4 658,1 661.5,5.4 665,1 668.5,5.4 672,1 675.5,5.4 679,1 682.5,5.4 686,1 689.5,5.4 693,1 696.5,5.4 700,1 703.5,5.4 707,1 710.5,5.4 714,1 717.5,5.4 721,1 724.5,5.4 728,1 731.5,5.4 735,1 738.5,5.4 742,1 745.5,5.4 749,1 752.5,5.4 756,1 759.5,5.4 763,1 766.5,5.4 770,1 773.5,5.4 777,1 780.5,5.4 784,1 787.5,5.4 791,1 794.5,5.4 798,1 801.5,5.4 805,1 808.5,5.4 812,1 815.5,5.4 819,1 822.5,5.4 826,1 829.5,5.4 833,1 836.5,5.4 840,1 843.5,5.4 847,1 850.5,5.4 854,1 857.5,5.4 861,1 864.5,5.4 868,1 871.5,5.4 875,1 878.5,5.4 882,1 885.5,5.4 889,1 892.5,5.4 896,1 899.5,5.4 903,1 906.5,5.4 910,1 913.5,5.4 917,1 920.5,5.4 924,1 927.5,5.4 931,1 934.5,5.4 938,1 941.5,5.4 945,1 948.5,5.4 952,1 955.5,5.4 959,1 962.5,5.4 966,1 969.5,5.4 973,1 976.5,5.4 980,1 983.5,5.4 987,1 990.5,5.4 994,1 997.5,5.4 1001,1 1004.5,5.4 1008,1 1011.5,5.4 1015,1 1018.5,5.4 1022,1 1025.5,5.4 1029,1 1032.5,5.4 1036,1 1039.5,5.4 1043,1 1046.5,5.4 1050,1 1053.5,5.4 1057,1 1060.5,5.4 1064,1 1067.5,5.4 1071,1 1074.5,5.4 1078,1 1081.5,5.4 1085,1 1088.5,5.4 1092,1 1095.5,5.4 1099,1 1102.5,5.4 1106,1 1109.5,5.4 1113,1 1116.5,5.4 1120,1 1123.5,5.4 1127,1 1130.5,5.4 1134,1 1137.5,5.4 1141,1 1144.5,5.4 1148,1 1151.5,5.4 1155,1 1158.5,5.4 1162,1 1165.5,5.4 1169,1 1172.5,5.4 1176,1 1179.5,5.4 1183,1 1186.5,5.4 1190,1 1193.5,5.4 1197,1 1200.5,5.4 1204,1 1207.5,5.4 1211,1 1214.5,5.4 1218,1 1221.5,5.4 1225,1 1228.5,5.4 1232,1 1235.5,5.4 1239,1 1242.5,5.4 1246,1 1249.5,5.4 1253,1 1256.5,5.4 1260,1 1263.5,5.4 1267,1 1270.5,5.4 1274,1 1277.5,5.4 1281,1 1284.5,5.4 1288,1 1291.5,5.4 1295,1 1298.5,5.4 1302,1 1305.5,5.4 1309,1 1312.5,5.4 1316,1 1319.5,5.4 1323,1 1326.5,5.4 1330,1 1333.5,5.4 1337,1 1340.5,5.4 1344,1 1347.5,5.4 1351,1 1354.5,5.4 1358,1 1361.5,5.4 1365,1 1368.5,5.4 1372,1 1375.5,5.4 1379,1 1382.5,5.4 1386,1 1389.5,5.4 1393,1 1396.5,5.4 1400,1 1403.5,5.4 1407,1 1410.5,5.4 1414,1 1417.5,5.4 1421,1 1424.5,5.4 1428,1 1431.5,5.4 1435,1 1438.5,5.4 1442,1 1445.5,5.4 1449,1 1452.5,5.4 1456,1 1459.5,5.4 1463,1 1466.5,5.4 1470,1 1473.5,5.4 1477,1 1480.5,5.4 1484,1 1487.5,5.4 1491,1 1494.5,5.4 1498,1 1501.5,5.4 1505,1 1508.5,5.4 1512,1 1515.5,5.4 1519,1 1522.5,5.4 1526,1 1529.5,5.4 1533,1 1536.5,5.4 1540,1 1543.5,5.4 1547,1 1550.5,5.4 1554,1 1557.5,5.4 1561,1 1564.5,5.4 1568,1 1571.5,5.4 1575,1 1578.5,5.4 1582,1 1585.5,5.4 1589,1 1592.5,5.4 1596,1 1599.5,5.4 1603,1 1606.5,5.4 1610,1 1613.5,5.4 1617,1 1620.5,5.4 1624,1 1627.5,5.4 1631,1 1634.5,5.4 1638,1 1641.5,5.4 1645,1 1648.5,5.4 1652,1 1655.5,5.4 1659,1 1662.5,5.4 1666,1 1669.5,5.4 1673,1 1676.5,5.4 1680,1 1683.5,5.4 1687,1 1690.5,5.4 1694,1 1697.5,5.4 1701,1 1704.5,5.4 1708,1 1711.5,5.4 1715,1 1718.5,5.4 1722,1 1725.5,5.4 1729,1 1732.5,5.4 1736,1 1739.5,5.4 1743,1 1746.5,5.4 1750,1 1753.5,5.4 1757,1 1760.5,5.4 1764,1 1767.5,5.4 1771,1 1774.5,5.4 1778,1 1781.5,5.4 1785,1 1788.5,5.4 1792,1 1795.5,5.4 1799,1 1800,2.3 1800,0 "}))},"waves-layered":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 120",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,69c-50.96-10.13-166.19-39.07-313-13C85.7,67.6,33.79,86.59,0,100.9V120h1000V1 C748.08,88.13,576.28,91.31,464,69z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,89c-50.96-10.13-166.19-59.07-313-33C85.7,67.6,33.79,86.59,0,100.9V120h1000V67C748.08,154.13,576.28,111.31,464,89z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,79c-50.96-10.13-166.19-49.07-313-23C85.7,67.6,33.79,86.59,0,100.9V120h1000V34 C748.08,121.13,576.28,101.31,464,79z"}))},"waves-large-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M902.8,47.5c-76.9-1-113-55.3-174.5-36.5c-22.9,7-31.6,18.6-58.3,19c-34.2,0.5-43.6-18.3-69-21c-55.8-6-70.7,78.2-127.4,82.3C418.5,95.2,366.5,10.7,300.1,10c-1.5,0-2.7,0-2.7,0c-40,0.5-66,23.8-87.6,36.7c-36,21.4-73.3,22-89,22.1C63.3,69.1,19.4,36.1,0,19v81h1000V20.4C959.3,43.3,926.1,47.8,902.8,47.5z"}))},"waves-large":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,19c19.4,17.1,63.3,50.1,120.8,49.8c15.7-0.1,53-0.7,89-22.1c21.6-12.9,47.6-36.2,87.6-36.7c0,0,1.2,0,2.7,0c66.4,0.7,118.4,85.2,173.5,81.3C530.3,87.2,545.2,3,601,9c25.4,2.7,34.8,21.5,69,21c26.7-0.4,35.4-12,58.3-19c61.5-18.8,97.6,35.5,174.5,36.5c23.3,0.3,56.6-4.2,97.3-27.2V0H0V19z"}))},"waves-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 996 4",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,1c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2C9.2,3,8.8,1,6,1C3.2,1,2.8,3,0,3v1h996V3C993.2,3,992.8,1,990,1z"}))},"waves-light":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,60c-50.96-10.13-166.19-39.07-313-13C85.7,58.6,33.79,77.59,0,91.9v8.1h1000V0C748.08,87.13,576.28,82.31,464,60z"}))},waves:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v19c33.17,17.01,84.77,38.06,149,41c96.07,4.4,128.39-35.91,211-52c157.72-30.72,212.84,82.55,404,85c54.27,0.7,135.59-7.33,236-53.7V0H0z"}))},"triangle-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M492,97.3L0,1.1V100h1000V1.1L508,97.3C502.7,98.4,497.3,98.4,492,97.3z"}))},"triangle-asymmetrical-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M689,96L0,1.1V100h1000V1.1l-269.9,91C716.9,96.6,702.8,97.9,689,96z"}))},"triangle-asymmetrical-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M730.1,92.1c-13.2,4.5-27.3,5.8-41.1,3.9L0,1.1V0h1000v1.1L730.1,92.1z"}))},"triangle-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M508,97.3c-5.3,1-10.7,1-16,0L0,1.1V0h1000v1.1L508,97.3z"}))},"triangle-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 500,98.9 "}))},"triangle-asymmetrical-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 710,98.9 "}))},"triangle-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}))},triangle:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M500,98.9L0,1.1V0h1000v1.1L500,98.9z"}))},tilt:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0h1000v100L0,0z"}))},"tilt-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0H0v100L1000,0z"}))},"split-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M516,3c-8.8,0-16,7.2-16,16c0-8.8-7.2-16-16-16H0v16v1h1000v-1V3H516z"}))},split:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3h484c8.8,0,16,7.2,16,16c0-8.8,7.2-16,16-16h484V0H0z"}))},"drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M975,56.8c-8.3,0-15,6.8-15,15v3c0,8.3-6.8,15-15,15s-15-6.8-15-15v-45c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V80c0,8.3-6.8,15-15,15s-15-6.8-15-15v2c0-8.3-6.8-15-15-15s-15,6.8-15,15v-3.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15v-8.4c0-8.3-6.8-15-15-15s-15,6.8-15,15V74c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v12.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V32c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V81c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v2.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V19c0-8.3-6.8-15-15-15s-15,6.8-15,15v34c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V100h990V71.8C990,63.6,983.3,56.8,975,56.8z"}))},"tilted-drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,38.6c-0.8,0.4-1.5,1-2.2,1.6l-38.9,38.9c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l26.1-26.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L898,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-55.8,55.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-24.8,24.8c-3.9,3.6-10,3.5-13.8-0.3c-3.7-3.7-3.9-9.8,12.2-26.3l20.7-20.7c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-48.7,48.7c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1h0c-3.9-3.9-10.3-3.9-14.1,0l-6.3,6.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L617.3,72c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-34.5,34.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-62.8,62.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-8.9-1.1-12.8l21.3-21.3c3.9-3.9,3.9-10.3,0-14.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-41.6,41.6c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l19-19c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L109.3,72c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0L51.3,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l33.1-33.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L0,68.3V100h990V38.6z"}))},"tilted-drips":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v68.3l56.4-56.4c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L37.4,59.2c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l67.2-67.2c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-19,19c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l41.6-41.6c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L341,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.9,3.9,3.9,10.3,0,14.1L361,74.4c-2.7,3.9-2.3,9.3,1.1,12.8c3.7,3.7,9.7,3.9,13.6,0.5l62.8-62.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L510.3,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l60.1-60.1c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L679.6,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l6.3-6.3c3.9-3.9,10.3-3.9,14.1,0h0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-20.7,20.7c-16.1,16.5-15.9,22.6-12.2,26.3c3.8,3.8,9.9,3.9,13.8,0.3l24.8-24.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l55.8-55.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L934.8,65c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l38.9-38.9c0.7-0.7,1.4-1.2,2.2-1.6V0H0z"}))},drips:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V19c0-8.3,6.8-15,15-15s15,6.8,15,15v13.2c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.4c0-8.3,6.8-15,15-15s15,6.8,15,15V81c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V32c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v33.4c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V74c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v8.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15v27.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15v-2c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v29.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15v45c0,8.3,6.8,15,15,15s15-6.8,15-15v-3c0-8.3,6.8-15,15-15s15,6.8,15,15V0H0z"}))},"pyramids-round-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M790.8,50.4l-146.3-28c-4.9-1-10-0.9-14.8,0.3l-302.2,72c-6.3,1.5-12.8,1.3-18.9-0.5L0,3v97h1000V20.6L807.3,50.7C801.9,51.5,796.3,51.4,790.8,50.4z"}))},"pyramids-round":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,3l308.6,91.2c6.1,1.8,12.6,2,18.9,0.5l302.2-72c4.8-1.2,9.9-1.3,14.8-0.3l146.3,28c5.5,1,11.1,1.1,16.5,0.3L1000,20.6V0H0V3z"}))},"pyramids-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"637,21 318,97 0,3 0,100 1000,100 1000,20.6 799,52 "}))},pyramids:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,97 637,21 799,52 1000,20.6 1000,0 0,0 "}))},"triangle-layered-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,78.9L0,1.1V0h1000v1.1L710,78.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,58.9L0,1.1V0h1000v1.1L710,58.9z"}))},"tilt-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 2600 130",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"2600,65 0,1 0,0 2600,0 "}),wp.element.createElement("rect",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,width:"2600",height:"65"}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"2600,65 0,129 0,0 2600,0 "}))},"tilt-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M0,6V0h1000v100L0,6z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,6V0H0v100L1000,6z"}))},"tilt-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 20",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"300,1 150,3 0,1 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,6 150,3 0,6 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,16 150,3 0,16 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,11 150,3 0,11 0,0 300,0 "}))},"opacity-pyramids":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,77 637,21 799,52 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,23 318,77 637,41 799,62 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,53 318,77 637,61 799,82 1000,20.6 1000,0 0,0 "}))},mountains:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M96.75,42.51c41.73,3.17,56.48-13.82,97.52-23.11C303.06-5.25,340.46,82.24,438.1,54.44c33.81-9.63,53.36-26.96,113.28-37.89c6.98-1.27,32.05-6.68,62.62-6.55c102.24,0.44,122.48,45.95,222,41.5c70.08-3.13,126.55-28.66,164-50.4V0H0v0.9C21.95,18.65,54.96,39.33,96.75,42.51z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M62.31,65.11C104.87,60.84,123.89,39.78,176.9,37c13.38-0.7,23.39-0.29,29.97,0.57C241.3,42.12,263.58,59.94,337.9,73C446,92,461,28,587.8,30c108.8,1.8,125.5,49.4,235,46C901.4,73.6,986,46.2,1000,26.1V0H0v58.3C27.02,66.57,48.28,66.52,62.31,65.11z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M142.1,74c55.77-2.72,60.02-21.75,116.4-28c71.3-7.9,95.2,23.8,167.8,36C539.1,101,554.8,37,687,39c113.5,1.8,131,49.4,245.1,46c22.7-0.7,45.9-3.3,67.9-7.1V0H0v29C33.03,51.37,82.74,76.89,142.1,74z"}))},"drops-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M292,12c-1.2-1.2,0.4-3.4-1-5c-1.5-1.9-5.8-1.7-7,0c-1,1.5,0,5,0,6s-0.5,2-2.8,2s-2.3-2-1.3-3s2.6-5.5,2-8c-0.6-2.6-4.2-3.8-6-3c-1.4,0.6-3,4-2,7s1,6-0.6,6c-3,0-3.4-1-3.4-3s2.4-5-0.1-8C268,1,265,2,265,3s1,3-2,3s-2-4-5-4s-1,3-3,3s-1-3-3-4s-4,2-4,3s2,3-1,3s-1-5-4-5s-5,2-5,5s3,7-1,6s-1-3-1-7s-3.8-4.2-5-4c-0.8,0.1-4,1-4,4s2,6-1,6s-3-4-3-7s-2.9-4.4-5-4c-2.1,0.3-2.4,4-4,4c-1.8,0-2-4-4-4s-1.8,2.6-2,4c-0.4,2.9,3,7-2,7s-4-4-3-5s2.8-6,0.4-6S199,1,198,5s3.5,7-0.3,8s-3.8-2-3.8-5s2-7-2-7s-2,4-2,7s0,5-3,5s0.2-4-2-8c-0.1-0.2-1-3-3-3s0,6-2,6s-2-2-2-3s1-3-1-3s-2,5-2,7s1,6-3,5s2.9-9.6-0.6-12c-2-1.4-6.2-1.7-8.4,1c-3.4,4.2,3,11-2,11s0.9-5.8-2-10c-2.5-3.5-9.3-3-11.1-2S145,5,145,6s1,5,1,6s-3.7,3.4-5,1c-1.3-2.5,0-6,0-8s-2-4-4.5-4S135,4,133,4s-1.3-2-3-3s-3,0-3,2s5,9-2,10s-4.4-9-6-11s-3.9-1.5-6,1c-2.4,2.9,1.9,5.1-1,9c-1.1,1.5-2,4-4,2s0.3-4.1-1-9c-0.6-2.2-1-4-3-4s0,6-4,6s-4-1-4-2c0-4-3.4-3.9-5-4c-1.6-0.1-3.5,1.4-4,3c-0.6,1.9,0,6-2,6s-2-1-2-3s-1-4-2.5-5S76.7,1,76,3c-0.6,1.6-0.6,2.6,0,7c0.3,2.2-1,5-5,4s-2-5-2-7c0-4-3-6-5.5-5S60,5,60,7s3.3,6,0.6,7S57,13,57,11s0-5.9-2-8c-0.2-0.2-4-2-5,1s7,9,2,10s-4.9-2.5-5-6c-0.1-2.4,1.8-4.1,1-5c-0.6-0.7-2-0.5-3,0c-1.3,0.7-1.1,1.7-2,2c-1.8,0.6-4-4-5-3s-0.2,2.8,0,4c0.9,4.3,4,6,2,7s-3-1-3-2s0.9-6.9-1-9c-1.2-1.3-3.7-1-4-1c-2.6,0.3-3.4,2.4-5,2c-1.6-0.4-1.6-1.8-2.9-2c-1.5-0.2-3.2,1.6-4.1,4c-1.5,4-0.1,6.2-2,8c-1.1,1-3,1.7-4,1c-1.5-1.1,0.6-4.4-1-9c-0.7-2.2-1-4-3-4S9.2,3.7,8,4C6.9,4.3,6,2.6,5,3C4.3,3.2,4.1,4.2,4,5c-0.8,4.6,2,6.8-1,7S0.4,8.3,0,3.5V16h300V9.7C297.9,12.3,293.5,13.4,292,12z"}))},drops:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3.5c0.4,4.8,0,8.8,3,8.5s0.2-2.4,1-7c0.1-0.8,0.3-1.8,1-2c1-0.4,1.9,1.3,3,1c1.2-0.3,0-3,2-3s2.3,1.8,3,4c1.6,4.6-0.5,7.9,1,9c1,0.7,2.9,0,4-1c1.9-1.8,0.5-4,2-8c0.9-2.4,2.7-4.2,4.1-4c1.3,0.2,1.2,1.6,2.9,2c1.6,0.4,2.4-1.7,5-2c0.3,0,2.8-0.3,4,1c1.9,2.1,1,8,1,9s1,3,3,2s-1.1-2.7-2-7c-0.2-1.2-1-3,0-4s3.2,3.6,5,3c0.9-0.3,0.7-1.3,2-2c1-0.5,2.4-0.7,3,0c0.8,0.9-1.1,2.6-1,5c0.1,3.5,0,7,5,6s-3-7-2-10s4.8-1.2,5-1c2,2.1,2,6,2,8s1,4,3.6,3S60,9,60,7s1-4,3.5-5S69,3,69,7c0,2-2,6,2,7s5.3-1.8,5-4c-0.6-4.4-0.6-5.4,0-7c0.7-2,3-2,4.5-1S83,5,83,7s0,3,2,3s1.4-4.1,2-6c0.5-1.6,2.4-3.1,4-3c1.6,0.1,5,0,5,4c0,1,0,2,4,2s2-6,4-6s2.4,1.8,3,4c1.3,4.9-1,7,1,9s2.9-0.5,4-2c2.9-3.9-1.4-6.1,1-9c2.1-2.5,4.4-3,6-1s-1,12,6,11s2-8,2-10s1.3-3,3-2s1,3,3,3s1-3,3.5-3s4.5,2,4.5,4s-1.3,5.5,0,8c1.3,2.4,5,0,5-1s-1-5-1-6s1-3,2.9-4s8.6-1.5,11.1,2c2.9,4.2-3,10,2,10s-1.4-6.8,2-11c2.2-2.7,6.4-2.4,8.4-1c3.6,2.4-3.4,11,0.6,12s3-3,3-5s0-7,2-7s1,2,1,3s0,3,2,3s0-6,2-6s2.9,2.8,3,3c2.2,4-1,8,2,8s3-2,3-5s-2-7,2-7s2,4,2,7s0,6,3.8,5S197,9,198,5s3-4,5.4-4s0.6,5-0.4,6s-2,5,3,5s1.6-4.1,2-7c0.2-1.4,0-4,2-4s2.2,4,4,4c1.6,0,1.9-3.7,4-4c2.1-0.4,5,1,5,4s0,7,3,7s1-3,1-6s3.2-3.9,4-4c1.2-0.2,5,0,5,4s-3,6,1,7s1-3,1-6s2-5,5-5s1,5,4,5s1-2,1-3s2-4,4-3s1,4,3,4s0-3,3-3s2,4,5,4s2-2,2-3s3-2,4.9,0c2.5,3,0.1,6,0.1,8s0.3,3,3.4,3c1.6,0,1.6-3,0.6-6s0.6-6.4,2-7c1.8-0.8,5.4,0.4,6,3c0.6,2.5-1,7-2,8s-1,3,1.3,3s2.8-1,2.8-2s-1-4.5,0-6c1.2-1.7,5.5-1.9,7,0c1.4,1.6-0.2,3.8,1,5c1.5,1.4,5.9,0.3,8-2.3V0H0z"}))},"curve-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v60c29.7,29.7,977.4,40,999.6,40H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v30c59.5,59.5,985.3,70,999.8,70H1000z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0.1l0,0c89,89.1,971.7,100,999.3,100H1000L1000,100z"}))},"curve-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.4,100c22.2,0,969.9-10.3,999.6-40V0H0v100H0.4z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.2,100c14.5,0,940.3-10.5,999.8-70V0H0v100H0.2z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h0.6c27.6,0,910.3-10.9,999.3-100l0,0H0V100L0,100z"}))},"curve-layered-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,30.1,9.9,0,40V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,90.5,9.5,0,100V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,60,10,0,70V0H1000z"}))},"curve-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,969.9,9.9,1000,40V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,909.5,9.5,1000,100V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,940,10,1000,70V0H0z"}))},"curve-6":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M630,99C266,99,0,1,0,1v99h1000V1C1000,1,994,99,630,99z"}))},"curve-8":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M370,99c364,0,630-98,630-98v99H0V1C0,1,6,99,370,99z"}))},"curve-7":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1c0,0,6,98,370,98s630-98,630-98V0H0V1z"}))},"curve-5":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-6,98-370,98S0,1,0,1V0h1000V1z"}))},curve:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-136,98-500,98S0,1,0,1V0h1000V1z"}))},"curve-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1v99h1000V1c0,0-136,98-500,98S0,1,0,1z"}))},"curve-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h1000V0C1000,0,1000,100,0,100z"}))},"curve-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100H0V0C0,0,0,100,1000,100z"}))},"curve-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100C0,100,0,0,0,0s666.7,0,1000,0V100z"}))},"curve-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100C1000,100,1000,0,1000,0S333.3,0,0,0V100z"}))},"clouds-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M273.5,16.2c-2.2-1.6-4.8-2.6-7.7-2.6c0-0.2,0-0.5,0-0.7c0-4.6-3.8-8.4-8.4-8.4c-2.5,0-4.8,1.1-6.3,2.9c-1.7-0.7-3.5-1.2-5.4-1.2c-7.2,0-13.1,5.7-13.3,12.8c-0.2,0-0.4,0-0.7,0c-2.4,0-4.8,0.6-6.8,1.7c-1.1-2.2-3.3-3.7-5.8-3.7c-3.6,0-6.5,2.9-6.5,6.5c0,0.5,0.1,1,0.2,1.5c-0.2,0-0.3,0-0.5,0c-3.4,0-6.4,1.7-8.2,4.4c-2.6-2.7-6.2-4.4-10.2-4.4c-1.8,0-3.6,0.4-5.2,1c-0.4-4.5-4.2-8-8.8-8c-0.3,0-0.7,0-1,0.1c-3.9-5.8-10.6-9.6-18.1-9.6c-4.9,0-9.3,1.6-13,4.3c-0.8-0.3-1.7-0.5-2.6-0.5c-3.8,0-6.9,3-7,6.8c-0.1,0-0.1,0-0.2,0c-4.1,0-8,1.4-11,3.8c-1.1-2.6-3.7-4.4-6.7-4.4c-0.5,0-1.1,0.1-1.6,0.2c-1-1.3-2.5-2.2-4.3-2.2c-1.5,0-2.9,0.7-3.9,1.7c-0.8-1.2-1.9-2.2-3.2-2.8c0.4-0.7,0.7-1.5,0.7-2.4c0-2.7-2.2-4.9-4.9-4.9c-1.9,0-3.5,1.1-4.3,2.6c-0.8-0.4-1.6-0.6-2.5-0.6c-2.9,0-5.4,2.2-5.6,5.1c-0.5-0.1-1-0.1-1.6-0.1c-4.2,0-7.6,2.8-8.8,6.6c-1.9-1.3-4.3-2-6.8-2c-5.2,0-9.6,3.2-11.5,7.7c-0.9-0.1-1.7-0.2-2.6-0.2c-0.2,0-0.3,0-0.5,0c0-5.2-4.3-9.5-9.5-9.5c-0.1,0-0.2,0-0.2,0C48.4,16,46.9,15,45,15c-2.7,0-4.9,2.2-4.9,4.9c0,0.4,0,0.7,0.1,1.1C39.2,20.3,38,20,36.7,20c-2.7,0-5.1,1.5-6.3,3.7c-0.4-0.1-0.8-0.1-1.2-0.1c-1.5,0-2.8,0.3-4,0.9c-3.4-4.1-8.6-6.8-14.4-6.8C6.7,17.8,3,19,0,21.1V30h280V13.1c-0.6-0.2-1.2-0.4-1.9-0.4C275.9,12.7,274.1,14.2,273.5,16.2z"}))},clouds:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M10.7,17.8c5.8,0,11,2.6,14.4,6.8c1.2-0.6,2.6-0.9,4-0.9c0.4,0,0.8,0,1.2,0.1c1.3-2.2,3.6-3.7,6.3-3.7c1.3,0,2.5,0.3,3.6,0.9c-0.1-0.3-0.1-0.7-0.1-1.1c0-2.7,2.2-4.9,4.9-4.9c1.9,0,3.4,1,4.3,2.6c0.1,0,0.2,0,0.2,0c5.2,0,9.5,4.2,9.5,9.5c0.2,0,0.3,0,0.5,0c0.9,0,1.8,0.1,2.6,0.2c1.9-4.5,6.3-7.7,11.5-7.7c2.5,0,4.8,0.7,6.8,2c1.1-3.8,4.6-6.6,8.8-6.6c0.5,0,1.1,0.1,1.6,0.1c0.3-2.9,2.7-5.1,5.6-5.1c0.9,0,1.7,0.2,2.5,0.6c0.8-1.5,2.4-2.6,4.3-2.6c2.7,0,4.9,2.2,4.9,4.9c0,0.9-0.3,1.7-0.7,2.4c1.3,0.7,2.4,1.7,3.2,2.8c1-1.1,2.3-1.7,3.9-1.7c1.8,0,3.3,0.9,4.3,2.2c0.5-0.1,1-0.2,1.6-0.2c3,0,5.6,1.8,6.7,4.4c3-2.4,6.9-3.8,11-3.8c0.1,0,0.1,0,0.2,0c0.1-3.8,3.2-6.8,7-6.8c0.9,0,1.8,0.2,2.6,0.5c3.6-2.7,8.1-4.3,13-4.3c7.5,0,14.2,3.8,18.1,9.6c0.3,0,0.6-0.1,1-0.1c4.6,0,8.4,3.5,8.8,8c1.6-0.6,3.3-1,5.2-1c4,0,7.6,1.7,10.2,4.4c1.8-2.6,4.8-4.4,8.2-4.4c0.2,0,0.3,0,0.5,0c-0.1-0.5-0.2-1-0.2-1.5c0-3.6,2.9-6.5,6.5-6.5c2.6,0,4.8,1.5,5.8,3.7c2-1.1,4.3-1.7,6.8-1.7c0.2,0,0.4,0,0.7,0c0.3-7.1,6.1-12.8,13.3-12.8c1.9,0,3.8,0.4,5.4,1.2c1.5-1.8,3.8-2.9,6.3-2.9c4.6,0,8.4,3.8,8.4,8.4c0,0.3,0,0.5,0,0.7c2.9,0.1,5.5,1,7.7,2.6c0.6-2,2.4-3.5,4.7-3.5c0.7,0,1.3,0.1,1.9,0.4V0H0v21.1C3,19,6.7,17.8,10.7,17.8z"}))},"book-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M627.7,68.5C504.4,29.9,500,1,500,1s-4.4,28.9-127.7,67.5C249,107.1,0,98.1,0,98.1v1.9h1000v-1.9C1000,98.1,751,107.1,627.7,68.5z"}))},book:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v1v97.1c0,0,249,9.1,372.3-29.6C495.6,29.9,500,1,500,1s4.4,28.9,127.7,67.5C751,107.1,1000,98.1,1000,98.1V1V0H0z"}))},"arrow-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"359,0 350,9 341,0 0,0 0,10 700,10 700,0 "}))},arrow:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"350,9 341,0 359,0 "}))}}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=n(10),k=(n.n(_),n(12)),O=wp.element,E=O.Component,C=O.Fragment,j=window,S=j.jQuery,x=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.draggies={},e.state={needRender:!1},e.marginSizes={},e.paddingSizes={},e.sizesIsFilled=!1,e.initDragRullers=e.initDragRullers.bind(p()(e)),e}m()(t,e);var n=r(t);return s()(t,[{key:"getPaddingRight",value:function(){var e=this.props,t=e.paddingRight,n=e.paddingRightValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingLeft",value:function(){var e=this.props,t=e.paddingLeft,n=e.paddingLeftValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingTop",value:function(){var e=this.props,t=e.paddingTop,n=e.paddingTopValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingBottom",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingBottomValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getMarginRight",value:function(){var e=this.props,t=e.marginRight,n=e.marginRightValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginLeft",value:function(){var e=this.props,t=e.marginLeft,n=e.marginLeftValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginTop",value:function(){var e=this.props,t=e.marginTop,n=e.marginTopValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginBottom",value:function(){var e=this.props,t=e.marginBottom,n=e.marginBottomValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getOffset",value:function(e){var t,n=this.props,r=n.clientId,o=n.baseClass,i=S("#block-".concat(r)),a=i.find(".".concat(o)).first(),l=0;return"left"==e?(t=this.getPaddingLeft(),l=this.getMarginLeft()):"right"==e&&(t=this.getPaddingRight(),l=this.getMarginRight()),isNaN(l)&&(l=0),a.outerWidth()-t-l}},{key:"calculateAllowedWidth",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"margin",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",o=parseFloat(t.css("margin-left")),i=parseFloat(t.css("margin-right")),a=parseFloat(t.css("padding-left")),l=parseFloat(t.css("padding-right"));return"margin"==n&&("left"==r&&(o=this.getMarginLeft()),"right"==r&&(i=this.getMarginRight())),"padding"==n&&("left"==r&&(a=this.getPaddingLeft()),"right"==r&&(l=this.getPaddingRight())),e-(o+i+a+l)-this.minWidth-10}},{key:"initDragRullers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"margin",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"down",o=this.props,a=o.clientId,l=o.baseClass,c=o.setAttributes,s=o.changeState,u=t.charAt(0).toUpperCase()+t.slice(1),p=n.charAt(0).toUpperCase()+n.slice(1),d=S("#block-".concat(a)),m=d.find(".".concat(l)).first(),g=m.children(".".concat(l,"__wrapper")),f=m.children(".".concat(l,"__").concat(t,"-").concat(n,"-area")),b=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-label")),w=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-drag-zone"));if(0!=w.length&&0!=f.length){if(Object.keys(this.draggies).length){var h=!0,v=Object(_.get)(this.draggies,[n,t]);if(v&&v.element.className==w[0].className&&(h=!1),!h)return}Object(_.set)(this.draggies,[n,t],new Draggabilly(w[0],{containment:f,axis:"top"==t||"bottom"==t?"y":"x"}));var y,k,O,E,C=Object(_.get)(this.draggies,[n,t]);C.on("dragStart",function(e){f.addClass("active-drag-area"),f.removeClass("empty-ruller"),b.removeClass("empty-label"),s({isLockedPaddingsOnDesktop:!1,isLockedMarginsOnDesktop:!1}),"top"==t||"bottom"==t?y=f.height():k=f.width()}),C.on("dragMove",function(o,a,c){var s=e.props,d=s.marginRightValue,w=s.marginLeftValue;if(O!=Math.floor(c.y)){var h,v,C,j;j=f.width(),"down"==r?C=Math.abs(y-Math.floor(c.y)):"up"==r&&(C=Math.abs(y+Math.floor(c.y)));var x=function(){f.height(C),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(C,"px"))},P=g.innerWidth(),T=m.outerWidth(),R=function(t,n){var r=Object(_.get)(e.draggies,[t,n]);return r?r.$element.parent():void 0},N=R("padding","top"),A=R("padding","left"),M=R("padding","right"),B=R("padding","bottom"),D=R("margin","top"),I=R("margin","bottom"),L=e.calculateAllowedWidth(T,g,n,t),z=Math.abs(Math.floor(c.x));if(void 0===E&&(E=Math.floor(c.x)),"padding"==n)if("top"==t)x(),M&&M.css({top:C}),A&&A.css({top:C});else if("right"==t){var V=e.getPaddingLeft(),H=P-e.minWidth-V,F=Math.abs(k-Math.floor(c.x));if(!(F<=H))return;j=F;var W=0;Object(_.has)(e.draggies,["margin","right"])&&""!=d&&void 0!=d&&(W=Object(_.get)(e.draggies,["margin","right"]).$element.width()),h=T-j-W,M.css({right:W}),M.css({left:h})}else if("bottom"==t)x(),M&&M.css({bottom:C}),A&&A.css({bottom:C});else if("left"==t){var G=e.getPaddingRight(),U=P-e.minWidth-G,q=Math.abs(k+Math.floor(c.x));if(!(q<=U))return;j=q;var Q=0;Object(_.has)(e.draggies,["margin","left"])&&""!=w&&void 0!=w&&(Q=Object(_.get)(e.draggies,["margin","left"]).$element.width()),v=T-j-Q,A.css({left:Q}),A.css({right:v})}if("margin"==n)if("top"==t)x();else if("right"==t){var K=e.getMarginRight(),Y=Math.abs(k-Math.floor(c.x)),J=function(){j=Y;var t=T-e.getPaddingRight()-j;S.each([N,M,B,D,I],function(e,t){t&&t.css({right:j})}),M&&M.css({left:t})};if(E>Math.floor(c.x)){if(!(z<=L))return;J()}else Y<L+K&&J();E=Math.floor(c.x),f.width(j)}else if("bottom"==t)x();else if("left"==t){var Z=e.getMarginLeft(),$=Math.abs(k+Math.floor(c.x)),X=function(){j=$;var t=T-e.getPaddingLeft()-j;S.each([N,A,B,D,I],function(e,t){t&&t.css({left:j})}),A&&A.css({right:t})};if(E<Math.floor(c.x)){if(!(z<=L))return;X()}else $<L+Z&&X();E=Math.floor(c.x),f.width(j)}"right"!=t&&"left"!=t||(j<100?b.addClass("label-corner"):b.removeClass("label-corner"),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(j,"px"))),g.css(i()({},n+u,"top"==t||"bottom"==t?"margin"!=n?C:"":j))}"top"!=t&&"bottom"!=t||(O=Math.floor(c.y))}),C.on("dragEnd",function(){var e;f.removeClass("active-drag-area"),c((e={},i()(e,n+u,"custom"),i()(e,n+u+"Value","top"==t||"bottom"==t?f.height()+"px":f.width()+"px"),e))})}}},{key:"initDraggies",value:function(){if(this.props.isLayoutSet){var e=this.initDragRullers;e("top","margin","up"),e("top","padding","up"),e("right","margin","left"),e("right","padding","left"),e("bottom","margin","up"),e("bottom","padding","up"),e("left","margin","right"),e("left","padding","right")}}},{key:"dropDraggies",value:function(){var e=this,t=["margin","padding"],n=["top","right","bottom","left"];S.each(t,function(t,r){S.each(n,function(t,n){var o=Object(_.get)(e.draggies,[r,n]);o&&o.destroy()})}),this.draggies={}}},{key:"checkDisabledRuller",value:function(){var e=this,t=this.props,n=t.paddingTop,r=t.paddingBottom,o=t.paddingLeft,i=t.paddingRight,a=this.props,l=a.marginTop,c=a.marginBottom,s=a.marginLeft,u=a.marginRight,p={paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i},d={marginTop:l,marginBottom:c,marginLeft:s,marginRight:u},m=function(t,n){S.each(t,function(t,r){if("none"==r){var o=t.replace(n,"").toLowerCase(),i=Object(_.get)(e.draggies,[n,o]);i&&i.destroy(),Object(_.unset)(e.draggies,[n,o])}})};m(p,"padding"),m(d,"margin")}},{key:"initSizes",value:function(){var e=this,t=this.props,n=t.baseClass,r=t.clientId,o=S("#block-".concat(r)),i=o.find(".".concat(n)).first(),a=i.children(".".concat(n,"__wrapper")),l=["padding","margin"],c=["top","right","bottom","left"],s=["small","medium","normal","large"],u=function(){e.setState({needRender:!e.state.needRender})};S.each(l,function(t,n){S.each(c,function(t,r){S.each(s,function(t,o){var l="getwid-".concat(n,"-").concat(r,"-").concat(o),c=function(e){if(!Object(_.has)(e,[o])){var t=S(".".concat(l)).css("".concat(n,"-").concat(r));Object(_.set)(e,[o],t),u()}};"padding"==n?a.hasClass(l)&&c(e.paddingSizes):"margin"==n&&(["top","bottom"].includes(r)?i.hasClass(l)&&c(e.marginSizes):["left","right"].includes(r)&&a.hasClass(l)&&c(e.marginSizes))})})}),this.initDefaultSizes(i,a,u);var p=!0;S.each(s,function(t,n){Object(_.has)(e.paddingSizes,[n])&&Object(_.has)(e.marginSizes,[n])||(p=!1)}),p&&(this.sizesIsFilled=!0)}},{key:"initDefaultSizes",value:function(e,t,n){var r=this,o=this.props,i=o.paddingRight,a=o.paddingLeft,l=o.paddingTop,c=o.paddingBottom,s=this.props,u=s.marginRight,p=s.marginLeft,d=s.marginTop,m=s.marginBottom,g={paddingRight:i,paddingLeft:a,paddingTop:l,paddingBottom:c,marginRight:u,marginLeft:p,marginTop:d,marginBottom:m};S.each(Object.keys(g),function(o,i){if(""==g[i]){var a=Object(_.head)(i.split(Object(_.head)(i.match(/[A-Z]/g)))),l=i.replace(a,"").toLowerCase(),c=function(e,t){Object(_.has)(e,["default"])||(Object(_.set)(e,["default"],t.css("".concat(a,"-").concat(l))),n())};if("padding"==a)c(r.paddingSizes,t);else if("margin"==a)switch(l){case"top":case"bottom":c(r.marginSizes,e);break;case"left":case"right":c(r.marginSizes,t)}}})}},{key:"componentDidUpdate",value:function(e,t){var n=this;this.sizesIsFilled||(this.waitLoadContent=setInterval(function(){"complete"==document.readyState&&(clearInterval(n.waitLoadContent),n.initSizes())},1));var r=this.props,o=r.isLayoutSet,i=r.clientId,a=r.baseClass;if(o){var l=S("#block-".concat(i)),c=l.find(".".concat(a)).first();this.minWidth=parseFloat(c.children(".".concat(a,"__wrapper")).css("min-width"))}var s=this.props,u=s.isSelected,p=s.showRullers;Object(_.isEqual)(u,e.isSelected)&&Object(_.isEqual)(p,e.showRullers)||u&&p||this.dropDraggies(),Object(_.isEmpty)(this.draggies)||this.checkDisabledRuller(),this.initDraggies()}},{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.clientId,r=t.baseClass,o=S("#block-".concat(n)),i=o.find(".".concat(r)).first();this.sizesIsFilled||(this.waitLoadContent=setInterval(function(){"complete"==document.readyState&&(clearInterval(e.waitLoadContent),e.initSizes())},1)),this.initDraggies(),Object(k.c)(i,r,function(){if(Object(_.has)(e.draggies,["padding","right"])){var t=e.getOffset("right");Object(_.get)(e.draggies,["padding","right"]).$element.parent().css({left:t})}if(Object(_.has)(e.draggies,["padding","left"])){var n=e.getOffset("left");Object(_.get)(e.draggies,["padding","left"]).$element.parent().css({right:n})}})}},{key:"componentWillUnmount",value:function(){this.dropDraggies()}},{key:"render",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingRight,r=e.paddingLeft,o=e.paddingTop,i=this.props,a=i.marginBottom,l=i.marginRight,c=i.marginLeft,s=i.marginTop,u=this.props,p=u.paddingBottomValue,d=u.paddingRightValue,m=u.paddingLeftValue,g=u.paddingTopValue,f=this.props,b=f.marginBottomValue,w=f.marginRightValue,v=f.marginLeftValue,_=f.marginTopValue,k=this.props,O=k.baseClass,E=k.showRullers,j=k.isSelected;return wp.element.createElement(C,null,E&&j&&"none"!=s&&wp.element.createElement("div",{className:y()("".concat(O,"__top-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==s&&("0px"==_||""==_||!_)||0==this.getMarginTop(),"hide-ruller":"custom"==s&&(parseFloat(_)<0||""==_||!_)}),style:{height:this.getMarginTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__top-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==s&&("0px"==_||""==_||!_||0==this.getMarginTop())})},Object(h.__)("Margin Top: ","getwid")+("custom"==s?_:""==s?this.getMarginTop()+"px":this.marginSizes[s])),wp.element.createElement("div",{className:"".concat(O,"__top-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=l&&wp.element.createElement("div",{className:y()("".concat(O,"__right-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==l&&("0px"==w||""==w||!w)||0==this.getMarginRight(),"hide-ruller":"custom"==l&&(parseFloat(w)<0||""==w||!w)}),style:{width:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__right-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==l&&("0px"==w||""==w||!w||0==this.getMarginRight()),"label-corner":this.getMarginRight()<100})},Object(h.__)("Margin Right: ","getwid")+("custom"==l?w:""==l?this.getMarginRight()+"px":this.marginSizes[l])),wp.element.createElement("div",{className:"".concat(O,"__right-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=a&&wp.element.createElement("div",{className:y()("".concat(O,"__bottom-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==a&&("0px"==b||""==b||!b)||0==this.getMarginBottom(),"hide-ruller":"custom"==a&&(parseFloat(b)<0||""==b||!b)}),style:{height:this.getMarginBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__bottom-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==a&&("0px"==b||""==b||!b||0==this.getMarginBottom())})},Object(h.__)("Margin Bottom: ","getwid")+("custom"==a&&""!=b?b:""==a?this.getMarginBottom()+"px":""!=b?this.marginSizes[a]:"")),wp.element.createElement("div",{className:"".concat(O,"__bottom-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=c&&wp.element.createElement("div",{className:y()("".concat(O,"__left-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==c&&("0px"==v||""==v||!v)||0==this.getMarginLeft(),"hide-ruller":"custom"==c&&(parseFloat(v)<0||""==v||!v)}),style:{width:"custom"!=c||v?this.getMarginLeft():void 0}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__left-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==c&&("0px"==v||""==v||!v||0==this.getMarginLeft()),"label-corner":this.getMarginLeft()<100})},Object(h.__)("Margin Left: ","getwid")+("custom"==c?v:""==c?this.getMarginLeft()+"px":this.marginSizes[c])),wp.element.createElement("div",{className:"".concat(O,"__left-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),this.props.children,E&&j&&"none"!=o&&wp.element.createElement("div",{className:y()("".concat(O,"__top-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==o&&("0px"==g||""==g||!g)||0==this.getPaddingTop(),"hide-ruller":"custom"==o&&(parseFloat(g)<0||""==g||!g)}),style:{height:this.getPaddingTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__top-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==o&&("0px"==g||""==g||!g||0==this.getPaddingTop())})},Object(h.__)("Padding Top: ","getwid")+("custom"==o?g:""==o?this.getPaddingTop()+"px":this.paddingSizes[o])),wp.element.createElement("div",{className:"".concat(O,"__top-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=n&&wp.element.createElement("div",{className:y()("".concat(O,"__right-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==n&&("0px"==d||""==d||!d)||0==this.getPaddingRight(),"hide-ruller":"custom"==n&&(parseFloat(d)<0||""==d||!d)}),style:{left:this.getOffset("right"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),right:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__right-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==n&&("0px"==d||""==d||!d||0==this.getPaddingRight()),"label-corner":this.getPaddingRight()<100})},Object(h.__)("Padding Right: ","getwid")+("custom"==n?d:""==n?this.getPaddingRight()+"px":this.paddingSizes[n])),wp.element.createElement("div",{className:"".concat(O,"__right-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=t&&wp.element.createElement("div",{className:y()("".concat(O,"__bottom-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==t&&("0px"==p||""==p||!p)||0==this.getPaddingBottom(),"hide-ruller":"custom"==t&&(parseFloat(p)<0||""==p||!p)}),style:{height:this.getPaddingBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__bottom-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==t&&("0px"==p||""==p||!p||0==this.getPaddingBottom())})},Object(h.__)("Padding Bottom: ","getwid")+("custom"==t?p:""==t?this.getPaddingBottom()+"px":this.paddingSizes[t])),wp.element.createElement("div",{className:"".concat(O,"__bottom-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=r&&wp.element.createElement("div",{className:y()("".concat(O,"__left-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==r&&("0px"==m||""==m||!m)||0==this.getPaddingLeft(),"hide-ruller":"custom"==r&&(parseFloat(m)<0||""==m||!m)}),style:{right:this.getOffset("left"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__left-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==r&&("0px"==m||""==m||!m||0==this.getPaddingLeft()),"label-corner":this.getPaddingLeft()<100})},Object(h.__)("Padding Left: ","getwid")+("custom"==r?m:""==r?this.getPaddingLeft()+"px":this.paddingSizes[r])),wp.element.createElement("div",{className:"".concat(O,"__left-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))))}}]),t}(E);t.a=x},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(102)),v=(n.n(h),n(8)),y=n.n(v),_=n(1),k=(n.n(_),window),O=(k.jQuery,wp.components.Popover),E=wp.element,C=E.Component,j=(E.Fragment,E.createRef),S=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.toggle=e.toggle.bind(p()(e)),e.close=e.close.bind(p()(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(p()(e)),e.containerRef=j(),e.state={isOpen:!1},e}m()(t,e);var n=r(t);return s()(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(e){this.props.onClose&&this.props.onClose(),(!0===e||this.props.onClickOutside)&&this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this,t=this.state.isOpen,n=this.props,r=n.renderContent,o=n.renderToggle,a=n.position,l=void 0===a?"bottom":a,c=n.className,s=n.contentClassName,u=n.expandOnMobile,p=n.headerTitle,d=n.focusOnMount,m=n.popoverProps,g={isOpen:t,onToggle:this.toggle,onClose:this.close};return wp.element.createElement("div",{className:y()("components-dropdown",c),ref:this.containerRef},o(g),t&&wp.element.createElement(O,i()({onClick:function(e){e.stopPropagation()},className:s,position:l,onClose:function(){e.close()},onFocusOutside:this.closeIfFocusOutside,expandOnMobile:u,headerTitle:p,focusOnMount:d},m),r(g)))}}]),t}(C);t.a=S},function(e,t){},function(e,t,n){function r(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=r=Reflect.get:e.exports=r=function(e,t,n){var r=o(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},r(t,n,i||t)}var o=(n(3),n(104));e.exports=r},function(e,t,n){function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}var o=n(3);e.exports=r},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){/*!
|
7 |
*
|
8 |
* React FontIconPicker
|
9 |
*
|
20 |
* https://opensource.org/licenses/MIT
|
21 |
*
|
22 |
*/
|
|