Version Description
- New: Redesigned responsive toggles to make them easier to use and discover
- New: Added deactivation notice when the Gutenberg plugin is detected to be activated
- New: Added settings and Go Premium links to the plugins page
- Fixed: Possible error when you previously installed the beta version and updated to the released version
- Fixed: Global colors can possibly show a warning if a theme has invalid colors
- Fixed: Footer text was in the middle of the screen in the Stackable accounts page
Download this release
Release Info
Developer | bfintal |
Plugin | Stackable – Page Builder Gutenberg Blocks |
Version | 2.11.4 |
Comparing to | |
See all releases |
Code changes from version 2.11.2 to 2.11.4
- dist/admin_welcome.css +1 -1
- dist/admin_welcome.js +2 -2
dist/admin_welcome.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";body[class*=page_stackable] #wpcontent{padding-left:0}body[class*=page_stackable] #wpbody-content>.wrap{margin:0;padding:0 50px}.s-header{padding:50px}.s-header .nav-tab-wrapper{display:none}.s-header{background:#fff;padding-bottom:80px}.s-header h1{padding:0;display:flex;align-items:center}.s-header h1:not(:last-child){margin-bottom:24px}.s-header.s-logo-icon img{height:34px;margin-right:15px}.s-header.s-logo-logo h1{justify-content:center}.s-header.s-logo-logo img{height:50px}.s-header.s-logo-logo h1~*{display:none!important}.s-header,.s-separator{margin-left:-50px;margin-right:-50px}.s-settings-subtitle{width:75%;margin-bottom:2em}.s-settings-field{margin-bottom:16px}.s-settings-field label .s-settings-field__title{width:200px;display:inline-block;font-weight:700;color:#666;padding-right:15px;box-sizing:border-box}.s-settings-field label .s-settings-field__status{width:40px;display:inline-block;vertical-align:middle}.s-settings-field label .s-settings-field__status svg{width:18px;height:18px;margin:5px 11px 0}.s-settings-field label .s-settings-field__status .s-settings-field__status--check{color:#27de6c}.s-settings-field label .s-settings-field__status .s-settings-field__status--cross{color:#ff5a7f}.s-settings-field [type=text]{padding:.5em 1em;width:calc(100% - 300px);box-shadow:0 5px 30px -10px rgba(18,63,82,.1);border:1px solid rgba(0,0,0,.1);margin:0}.s-settings-field.s-settings-field-small [type=text]{width:300px}.s-settings-field p{margin-left:200px;font-style:italic;margin-top:4px}.s-icon-settings .s-settings-field p{margin-left:240px}.s-settings-error{color:#ff5a7f}.s-notice-good{padding:30px;border-radius:12px;background:linear-gradient(270deg,#e4f5ef,#ccf3cd);margin-bottom:1em}.s-notice-bad{color:#ff5a7f}.s-notice--with-icon{margin:2em 0;padding-left:60px;position:relative}.s-notice--with-icon>svg{height:36px;width:36px;position:absolute;left:0;top:0}.s-notice--with-icon path{fill:#f5305c;opacity:1}.s-notice--with-icon path:first-child{fill:#ffda00;opacity:.6}.s-notice-em{color:#888;margin-bottom:1em}.s-button-set{display:flex;justify-content:flex-start;align-items:center}.s-button-set .s-button{margin-right:16px!important}.s-button-set .components-spinner{margin-top:0}.s-tabs{transform:translateY(-100%);padding:0;display:flex;justify-content:flex-start}.s-tabs .s-tab{padding:14px 18px;list-style:none;margin:0!important;display:inline-block;cursor:pointer;color:#444!important;text-decoration:none!important}.s-tabs .s-tab.s-active,.s-tabs .s-tab[aria-selected=true]{position:relative;font-weight:700}.s-tabs .s-tab.s-active:before,.s-tabs .s-tab[aria-selected=true]:before{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#8c33da -100%,#f34957 200%)}.s-tabs .s-tab:hover{background:#eee;color:#444}.s-tabs .s-tab.s-tab-premium{color:#bd2f9a!important}.s-logo-logo+*>.s-tabs{justify-content:center}body.settings_page_stackable-getting-started .s-body-container .updated,body.settings_page_stackable-getting-started .s-header>:not(h1):not(img),body.settings_page_stackable .s-body-container .updated,body.settings_page_stackable .s-header>:not(h1):not(img){display:none!important}body.settings_page_stackable-getting-started img,body.settings_page_stackable img{max-width:100%}body.settings_page_stackable-getting-started ul,body.settings_page_stackable ul{padding-left:2em;list-style-type:circle}body.settings_page_stackable-getting-started .s-box,body.settings_page_stackable .s-box{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;overflow:visible;box-shadow:0 18px 35px -15px rgba(18,63,82,.25);border:0;margin-bottom:30px;transition:all .3s ease}body.settings_page_stackable-getting-started .s-box.s-is-disabled:not(:hover),body.settings_page_stackable .s-box.s-is-disabled:not(:hover){opacity:.6}body.settings_page_stackable-getting-started .s-box.s-box-spaced,body.settings_page_stackable .s-box.s-box-spaced{padding-left:4vw;padding-right:4vw}body.settings_page_stackable-getting-started .s-box.s-box-small,body.settings_page_stackable .s-box.s-box-small{padding-left:15px;padding-right:15px;box-shadow:0 25px 15px -15px rgba(18,63,82,.15),0 2px 7px 0 rgba(18,63,82,.15)}body.settings_page_stackable-getting-started .s-box.s-box-small h3,body.settings_page_stackable .s-box.s-box-small h3{color:#f34957}body.settings_page_stackable-getting-started .s-button,body.settings_page_stackable .s-button{border:none;border-radius:35px;cursor:pointer;opacity:1;background:#8c33da;background:linear-gradient(90deg,#8c33da -100%,#f34957 200%);transition:opacity .2s ease-in-out;box-shadow:none!important;color:#fff;text-decoration:none;padding:.75em 1.25em;display:block;margin:0 auto;max-width:200px;text-align:center;outline:none}body.settings_page_stackable-getting-started .s-button:hover,body.settings_page_stackable .s-button:hover{opacity:.85;box-shadow:none!important}body.settings_page_stackable-getting-started .s-button:disabled,body.settings_page_stackable .s-button:disabled{background:#888;opacity:.4}body.settings_page_stackable-getting-started .s-button.s-button-left,body.settings_page_stackable .s-button.s-button-left{margin-left:0}body.settings_page_stackable-getting-started .s-body-container,body.settings_page_stackable .s-body-container{padding-top:0}body.settings_page_stackable-getting-started .s-body-container.s-narrow,body.settings_page_stackable .s-body-container.s-narrow{max-width:1200px;margin-left:auto;margin-right:auto}body.settings_page_stackable-getting-started .s-body-container.s-body-container-center,body.settings_page_stackable .s-body-container.s-body-container-center{align-items:center;display:flex;flex-direction:column}body.settings_page_stackable-getting-started .s-body-container :first-child,body.settings_page_stackable .s-body-container :first-child{margin-top:0!important}body.settings_page_stackable-getting-started .s-body-container :last-child,body.settings_page_stackable .s-body-container :last-child{margin-bottom:0!important}body.settings_page_stackable-getting-started .s-body-container li,body.settings_page_stackable-getting-started .s-body-container p,body.settings_page_stackable .s-body-container li,body.settings_page_stackable .s-body-container p{line-height:1.6em}body.settings_page_stackable-getting-started .s-body-container li,body.settings_page_stackable .s-body-container li{margin-bottom:.6em}body.settings_page_stackable-getting-started .s-body-container-grid,body.settings_page_stackable .s-body-container-grid{display:grid;grid-template-columns:1fr 350px;grid-gap:30px}body.settings_page_stackable-getting-started .s-side h2,body.settings_page_stackable-getting-started .s-side h3,body.settings_page_stackable .s-side h2,body.settings_page_stackable .s-side h3{text-align:center}body.settings_page_stackable-getting-started .s-gambit-logo,body.settings_page_stackable .s-gambit-logo{display:inline-block;vertical-align:middle;padding-top:10px;margin:0 10px}body.settings_page_stackable-getting-started .s-gif,body.settings_page_stackable .s-gif{display:block;max-width:300px;margin:0 auto}body.settings_page_stackable-getting-started .s-plus-button,body.settings_page_stackable .s-plus-button{height:1em;vertical-align:baseline;width:1em}body.settings_page_stackable-getting-started .s-premium-box>p:last-child,body.settings_page_stackable .s-premium-box>p:last-child{text-align:center}body.settings_page_stackable-getting-started .stackable_notice_wrapper,body.settings_page_stackable .stackable_notice_wrapper{margin-bottom:30px}body.settings_page_stackable-getting-started .stackable_notice,body.settings_page_stackable .stackable_notice{margin-bottom:35px}body.settings_page_stackable-getting-started .s-settings-header,body.settings_page_stackable .s-settings-header{text-align:right;margin:0 -.5em 1em;display:flex;align-items:center;justify-content:flex-end}body.settings_page_stackable-getting-started .s-settings-header button,body.settings_page_stackable .s-settings-header button{margin:0 .5em}body.settings_page_stackable-getting-started .s-settings-grid,body.settings_page_stackable .s-settings-grid{display:grid;grid-gap:30px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}body.settings_page_stackable-getting-started .s-settings-grid .s-box,body.settings_page_stackable .s-settings-grid .s-box{margin:0;padding:28px 21px;text-align:center;display:flex;flex-direction:column}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-block-icon,body.settings_page_stackable .s-settings-grid .s-box .s-block-icon{max-width:60px;margin:0 auto}body.settings_page_stackable-getting-started .s-settings-grid .s-box>:not(:last-child),body.settings_page_stackable .s-settings-grid .s-box>:not(:last-child){margin-bottom:1em}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-block-description,body.settings_page_stackable .s-settings-grid .s-box .s-block-description{margin-bottom:1.5em}body.settings_page_stackable-getting-started .s-settings-grid .s-box>*,body.settings_page_stackable .s-settings-grid .s-box>*{margin-top:0!important}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-demo-url:nth-last-child(2),body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-toggle-button,body.settings_page_stackable .s-settings-grid .s-box .s-demo-url:nth-last-child(2),body.settings_page_stackable .s-settings-grid .s-box .s-toggle-button{margin-top:auto!important}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-demo-url:nth-last-child(2)+.s-toggle-button,body.settings_page_stackable .s-settings-grid .s-box .s-demo-url:nth-last-child(2)+.s-toggle-button{margin-top:0!important}body.settings_page_stackable-getting-started .s-video-tutorial-wrapper,body.settings_page_stackable .s-video-tutorial-wrapper{padding-bottom:58.4%;height:0;position:relative}body.settings_page_stackable-getting-started .s-video-tutorial-wrapper iframe,body.settings_page_stackable .s-video-tutorial-wrapper iframe{position:absolute;top:0;left:0;height:100%;width:100%}body.settings_page_stackable-getting-started .s-check-list,body.settings_page_stackable .s-check-list{padding-left:10px}body.settings_page_stackable-getting-started .s-check-list li,body.settings_page_stackable .s-check-list li{margin-bottom:3px!important;list-style-type:none}body.settings_page_stackable-getting-started .s-check-list li:before,body.settings_page_stackable .s-check-list li:before{font-weight:700;font-size:1rem;content:"✓";color:#8c33da;margin-right:.5rem}body.settings_page_stackable-getting-started .s-link-pair a,body.settings_page_stackable .s-link-pair a{margin-right:2em}body.settings_page_stackable-getting-started .s-intro,body.settings_page_stackable .s-intro{display:grid;grid-template-columns:.8fr 1fr;grid-gap:35px;justify-content:center}body.settings_page_stackable-getting-started .s-demo-url a,body.settings_page_stackable .s-demo-url a{opacity:.6;text-decoration:none}body.settings_page_stackable-getting-started .s-demo-url a:hover,body.settings_page_stackable .s-demo-url a:hover{opacity:1;text-decoration:underline}body.settings_page_stackable-getting-started .s-toggle-button,body.settings_page_stackable .s-toggle-button{outline:0;display:block;height:26px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:1.5em auto 1em!important;padding:0!important;border:0!important;border-radius:26px;transition:all .4s ease;display:inline-block;background:#e4f5e4;margin-top:0}body.settings_page_stackable-getting-started .s-toggle-button:after,body.settings_page_stackable-getting-started .s-toggle-button:before,body.settings_page_stackable .s-toggle-button:after,body.settings_page_stackable .s-toggle-button:before{position:relative;display:block;content:"";width:26px;height:100%}body.settings_page_stackable-getting-started .s-toggle-button:after,body.settings_page_stackable .s-toggle-button:after{left:calc(100% - 26px);background:#3ca540;border-radius:50%;transition:all .2s ease;position:absolute;top:0;box-shadow:0 3px 10px -5px #000}body.settings_page_stackable-getting-started .s-toggle-button:before,body.settings_page_stackable .s-toggle-button:before{display:none}body.settings_page_stackable-getting-started .s-toggle-button span,body.settings_page_stackable .s-toggle-button span{position:relative;display:flex;justify-content:center;align-items:center;z-index:2;color:rgba(0,0,0,.4);font-size:11px;line-height:26px;transition:padding .2s ease;padding:0 35px 0 15px}body.settings_page_stackable-getting-started .s-toggle-button span:first-child,body.settings_page_stackable .s-toggle-button span:first-child{color:#7b7b7b}body.settings_page_stackable-getting-started .s-toggle-button span:nth-child(2),body.settings_page_stackable .s-toggle-button span:nth-child(2){color:#209e25}body.settings_page_stackable-getting-started .s-toggle-button span:first-child,body.settings_page_stackable .s-toggle-button span:first-child{display:none}body.settings_page_stackable-getting-started .s-toggle-button span:nth-child(2),body.settings_page_stackable .s-toggle-button span:nth-child(2){display:block}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button,body.settings_page_stackable .s-is-disabled .s-toggle-button{background:#f0f0f0}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button:after,body.settings_page_stackable .s-is-disabled .s-toggle-button:after{left:0;background:#7b7b7b}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button span,body.settings_page_stackable .s-is-disabled .s-toggle-button span{padding:0 15px 0 35px}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button span:first-child,body.settings_page_stackable .s-is-disabled .s-toggle-button span:first-child{display:block}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button span:nth-child(2),body.settings_page_stackable .s-is-disabled .s-toggle-button span:nth-child(2){display:none}body.settings_page_stackable-getting-started .s-news-box ul,body.settings_page_stackable .s-news-box ul{padding-left:0}body.settings_page_stackable-getting-started .s-news-box li,body.settings_page_stackable .s-news-box li{list-style:none;margin-bottom:1.2em}body.settings_page_stackable-getting-started .s-news-box li a,body.settings_page_stackable .s-news-box li a{font-weight:700;text-decoration:none;display:block;margin-bottom:.5em;line-height:1.2em}body.settings_page_stackable-getting-started .s-news-box time,body.settings_page_stackable .s-news-box time{font-size:.7em;color:#aaa;display:block;line-height:1em}body.settings_page_stackable-getting-started .s-input-checkbox,body.settings_page_stackable .s-input-checkbox{display:inline-flex;align-items:center}body.settings_page_stackable-getting-started .s-input-checkbox .components-spinner,body.settings_page_stackable .s-input-checkbox .components-spinner{margin-top:0}body.settings_page_stackable-getting-started .s-text-field,body.settings_page_stackable .s-text-field{display:flex;align-items:center}.s-settings-pro{font-style:italic;padding:12px 24px;display:inline-block;border-radius:6px;box-shadow:0 5px 17px -4px rgba(18,63,82,.2);opacity:.7;transition:all .3s ease-in-out}.s-box:hover .s-settings-pro,.s-settings-pro:hover{opacity:1}.s-3-column,.s-4-column{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:35px}.s-3-column>*,.s-4-column>*{margin:0!important}.s-3-column{grid-template-columns:1fr 1fr 1fr}.ugb--saving-wrapper{height:40px;margin-top:16px}.ugb--saving-wrapper .components-spinner{margin:0!important}.s-other-options-wrapper .components-base-control{margin-bottom:8px}.s-news-box-content .components-spinner{display:block;float:none;margin:0 auto}.ugb-pro-modal{overflow:hidden!important;border:0!important;background:#000}.ugb-pro-modal .components-modal__header{position:absolute;top:0;right:10px;z-index:3;border:0;background:transparent}.ugb-pro-modal .components-modal__header .components-button svg{fill:#fff}.ugb-pro-modal .components-modal__header .components-button:hover{background-color:rgba(0,0,0,.4)!important}.ugb-pro-modal .components-modal__content{padding:0}.ugb-pro-modal .components-modal__content img{max-width:1000px;height:auto;width:auto!important}.ugb-pro-modal .ugb-pro-modal__footer{padding:30px;text-align:center;display:flex;justify-content:center;align-items:center}.ugb-pro-modal .ugb-pro-modal__footer *{margin:0 5px}.ugb-pro-modal .ugb-pro-modal__footer .button{color:#fff;background:linear-gradient(90deg,#ab5af1 -50%,#fb6874);border:0;height:auto;font-size:14px;font-weight:500;display:flex;align-items:center;margin:0 15px;border-radius:40px;padding:5px 25px}.ugb-pro-modal .ugb-pro-modal__footer .button svg{fill:#fff;margin:0 10px 0 0}.ugb-pro-modal .ugb-pro-modal__footer .button:hover{background:linear-gradient(90deg,#ab5af1 -50%,#fb6874 50%)}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button){color:#fb6874;text-decoration:none}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button):hover{color:#ab5af1}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost{box-shadow:inset 0 0 0 2px #fb6874;background:none;color:#fb6874;font-weight:400;text-transform:none}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost:hover{box-shadow:inset 0 0 0 2px #ab5af1;background:none;font-weight:400;color:#ab5af1}.getting-started .s-header h1{margin:0 auto}.s-tab-premium,.s-tab-premium:hover{color:#f34957}.s-title{text-align:center;margin-bottom:30px}.s-spacer{height:50px}.s-center{text-align:center}.s-getting-started-body{display:grid;grid-template-columns:1fr 1.2fr;grid-gap:35px;align-items:center;margin-bottom:35px}.s-getting-started-body.s-reverse{grid-template-columns:1.2fr 1fr}.s-tip{margin:1.5em 40px 1em;text-indent:-25px;color:#da5e68;line-height:1.3em}.s-video{max-width:100%;margin:0 auto;display:block}.s-buttons{display:flex;flex-direction:row;justify-content:center;align-items:center}.s-buttons>*{margin:0 15px}.s-button-plain{background:none!important;color:#f34957!important;padding-left:0!important;padding-right:0!important}.s-button-plain .dashicons{vertical-align:text-top}.s-button-small{padding:8px 23px!important;display:inline-block!important}#fs_account_details .fs-field-product,#fs_account_details .fs-field-product_id,#fs_account_details .fs-field-site_id,#fs_account_details .fs-field-site_public_key,#fs_account_details .fs-field-site_secret_key,.fs-section .nav-tab-wrapper{display:none}.fs-section{margin:0}.fs-section #poststuff{padding:0}.ugb-main-block,[class*=ugb-]+form[class*=-link],[class*=ugb-] form[class*=-link],form[class*=ugb-][class*=-link]{display:flex;justify-content:center;align-items:center}.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0}.ugb-main-block.alignfull{padding:0 35px}.ugb-block-content,.ugb-inner-block{margin:0;padding:0;width:100%;position:relative}.ugb--full-height{min-height:700px}.ugb--restrict-content-width .ugb-content-wrapper{max-width:var(--content-width);margin:0 auto}.ugb--shadow-0,.ugb-shadow-0{box-shadow:none!important}.ugb--shadow-1,.ugb-shadow-1{box-shadow:0 0 0 1px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-2,.ugb-shadow-2{box-shadow:0 0 0 2px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-3,.ugb-shadow-3{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2)!important}.ugb--shadow-4,.ugb-shadow-4{box-shadow:0 2px 20px hsla(0,0%,60%,.2)!important}.ugb--shadow-5,.ugb-shadow-5{box-shadow:0 5px 30px -10px rgba(18,63,82,.3)!important}.ugb--shadow-6,.ugb-shadow-6{box-shadow:0 10px 30px rgba(0,0,0,.05)!important}.ugb--shadow-7,.ugb-shadow-7{box-shadow:7px 5px 30px rgba(72,73,121,.15)!important}.ugb--shadow-8,.ugb-shadow-8{box-shadow:0 10px 60px rgba(0,0,0,.1)!important}.ugb--shadow-9,.ugb-shadow-9{box-shadow:0 70px 130px -60px rgba(72,73,121,.38)!important}div[class^=wp-block-ugb-]{z-index:1}@supports (-webkit-touch-callout:inherit){[class*=ugb-]{background-attachment:scroll!important}}.ugb-block-content:after,.ugb-block-content:before{content:none!important}#fs_affiliation_content_wrapper{margin:0}#fs_affiliation_content_wrapper #poststuff{padding:0}#fs_affiliation_content_wrapper .postbox{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;overflow:hidden;box-shadow:0 18px 35px -15px rgba(18,63,82,.25);border:0;padding:35px}#fs_affiliation_content_wrapper .button{border:none;border-radius:35px;cursor:pointer;opacity:1;background:#8c33da;background:linear-gradient(90deg,#8c33da -30%,#f34957 130%);transition:opacity .2s ease-in-out;box-shadow:none!important;color:#fff;text-decoration:none;padding:.75em 1.25em;line-height:1em!important;margin:10px auto 0;text-align:center}#fs_affiliation_content_wrapper .button:hover{opacity:.85;box-shadow:none!important}#fs_affiliation_content_wrapper .button.button-cancel{background:#888}#fs_affiliation_content_wrapper ul{padding-left:10px}#fs_affiliation_content_wrapper ul li{margin-bottom:3px!important;list-style-type:none}#fs_affiliation_content_wrapper ul li:before{font-weight:700;font-size:1rem;content:"✓";color:#8c33da;margin-right:.5rem}#fs_account{margin:0}#fs_account #poststuff{padding:0}#fs_account .postbox{padding:16px}#fs_account .postbox,#fs_contact{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;overflow:hidden;box-shadow:0 18px 35px -15px rgba(18,63,82,.25);border:0}#fs_contact{width:100%;max-width:850px;margin:0!important;padding:0!important;padding:16px}body.stackable_page_stackable-contact .s-header{padding-top:65px!important;padding-bottom:100px!important}body.stackable_page_stackable-pricing .s-header{padding-top:85px!important;padding-bottom:50px!important}@media screen and (max-width:600px){body.settings_page_stackable-getting-started .s-box,body.settings_page_stackable .s-box{padding:35px 17.5px}.ugb-main-block.alignfull{padding-right:17.5px;padding-left:17.5px}#fs_account .postbox,#fs_affiliation_content_wrapper .postbox,#fs_contact{padding:35px 17.5px}}@media screen and (min-width:1025px){.ugb--full-height{min-height:100vh}}@media screen and (max-width:782px){#fs_account .postbox,#fs_affiliation_content_wrapper .postbox,#fs_contact,body.settings_page_stackable-getting-started .s-box,body.settings_page_stackable .s-box{padding:40px 23.33333px}}@media screen and (max-width:1440px) and (min-width:1280px){body.settings_page_stackable-getting-started .s-intro,body.settings_page_stackable .s-intro{grid-template-columns:1fr minmax(250px,300px)}body.settings_page_stackable-getting-started .s-intro>:first-child,body.settings_page_stackable .s-intro>:first-child{grid-column:1/3}}@media screen and (max-width:1280px){body.settings_page_stackable-getting-started .s-intro,body.settings_page_stackable .s-intro{grid-template-columns:1fr}}@media screen and (max-width:960px){body.settings_page_stackable .s-body-container,body.stackable_page_stackable-settings .s-body-container{grid-template-columns:1fr}}
|
1 |
+
@charset "UTF-8";body[class*=page_stackable] #wpcontent{padding-left:0}body[class*=page_stackable] #wpbody-content>.wrap{margin:0;padding:0 50px}.s-header{padding:50px}.s-header .nav-tab-wrapper{display:none}.s-header{background:#fff;padding-bottom:80px}.s-header h1{padding:0;display:flex;align-items:center}.s-header h1:not(:last-child){margin-bottom:24px}.s-header.s-logo-icon img{height:34px;margin-right:15px}.s-header.s-logo-logo h1{justify-content:center}.s-header.s-logo-logo img{height:50px}.s-header.s-logo-logo h1~*{display:none!important}.s-header,.s-separator{margin-left:-50px;margin-right:-50px}.s-settings-subtitle{width:75%;margin-bottom:2em}.s-settings-field{margin-bottom:16px}.s-settings-field label .s-settings-field__title{width:200px;display:inline-block;font-weight:700;color:#666;padding-right:15px;box-sizing:border-box}.s-settings-field label .s-settings-field__status{width:40px;display:inline-block;vertical-align:middle}.s-settings-field label .s-settings-field__status svg{width:18px;height:18px;margin:5px 11px 0}.s-settings-field label .s-settings-field__status .s-settings-field__status--check{color:#27de6c}.s-settings-field label .s-settings-field__status .s-settings-field__status--cross{color:#ff5a7f}.s-settings-field [type=text]{padding:.5em 1em;width:calc(100% - 300px);box-shadow:0 5px 30px -10px rgba(18,63,82,.1);border:1px solid rgba(0,0,0,.1);margin:0}.s-settings-field.s-settings-field-small [type=text]{width:300px}.s-settings-field p{margin-left:200px;font-style:italic;margin-top:4px}.s-icon-settings .s-settings-field p{margin-left:240px}.s-settings-error{color:#ff5a7f}.s-notice-good{padding:30px;border-radius:12px;background:linear-gradient(270deg,#e4f5ef,#ccf3cd);margin-bottom:1em}.s-notice-bad{color:#ff5a7f}.s-notice--with-icon{margin:2em 0;padding-left:60px;position:relative}.s-notice--with-icon>svg{height:36px;width:36px;position:absolute;left:0;top:0}.s-notice--with-icon path{fill:#f5305c;opacity:1}.s-notice--with-icon path:first-child{fill:#ffda00;opacity:.6}.s-notice-em{color:#888;margin-bottom:1em}.s-button-set{display:flex;justify-content:flex-start;align-items:center}.s-button-set .s-button{margin-right:16px!important}.s-button-set .components-spinner{margin-top:0}.s-tabs{transform:translateY(-100%);padding:0;display:flex;justify-content:flex-start}.s-tabs .s-tab{padding:14px 18px;list-style:none;margin:0!important;display:inline-block;cursor:pointer;color:#444!important;text-decoration:none!important}.s-tabs .s-tab.s-active,.s-tabs .s-tab[aria-selected=true]{position:relative;font-weight:700}.s-tabs .s-tab.s-active:before,.s-tabs .s-tab[aria-selected=true]:before{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#8c33da -100%,#f34957 200%)}.s-tabs .s-tab:hover{background:#eee;color:#444}.s-tabs .s-tab.s-tab-premium{color:#bd2f9a!important}.s-logo-logo+*>.s-tabs{justify-content:center}body.settings_page_stackable-getting-started .s-body-container .updated,body.settings_page_stackable-getting-started .s-header>:not(h1):not(img),body.settings_page_stackable .s-body-container .updated,body.settings_page_stackable .s-header>:not(h1):not(img){display:none!important}body.settings_page_stackable-getting-started img,body.settings_page_stackable img{max-width:100%}body.settings_page_stackable-getting-started ul,body.settings_page_stackable ul{padding-left:2em;list-style-type:circle}body.settings_page_stackable-getting-started .s-box,body.settings_page_stackable .s-box{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;overflow:visible;box-shadow:0 18px 35px -15px rgba(18,63,82,.25);border:0;margin-bottom:30px;transition:all .3s ease}body.settings_page_stackable-getting-started .s-box.s-is-disabled:not(:hover),body.settings_page_stackable .s-box.s-is-disabled:not(:hover){opacity:.6}body.settings_page_stackable-getting-started .s-box.s-box-spaced,body.settings_page_stackable .s-box.s-box-spaced{padding-left:4vw;padding-right:4vw}body.settings_page_stackable-getting-started .s-box.s-box-small,body.settings_page_stackable .s-box.s-box-small{padding-left:15px;padding-right:15px;box-shadow:0 25px 15px -15px rgba(18,63,82,.15),0 2px 7px 0 rgba(18,63,82,.15)}body.settings_page_stackable-getting-started .s-box.s-box-small h3,body.settings_page_stackable .s-box.s-box-small h3{color:#f34957}body.settings_page_stackable-getting-started .s-button,body.settings_page_stackable .s-button{border:none;border-radius:35px;cursor:pointer;opacity:1;background:#8c33da;background:linear-gradient(90deg,#8c33da -100%,#f34957 200%);transition:opacity .2s ease-in-out;box-shadow:none!important;color:#fff;text-decoration:none;padding:.75em 1.25em;display:block;margin:0 auto;max-width:200px;text-align:center;outline:none}body.settings_page_stackable-getting-started .s-button:hover,body.settings_page_stackable .s-button:hover{opacity:.85;box-shadow:none!important}body.settings_page_stackable-getting-started .s-button:disabled,body.settings_page_stackable .s-button:disabled{background:#888;opacity:.4}body.settings_page_stackable-getting-started .s-button.s-button-left,body.settings_page_stackable .s-button.s-button-left{margin-left:0}body.settings_page_stackable-getting-started .s-body-container,body.settings_page_stackable .s-body-container{padding-top:0}body.settings_page_stackable-getting-started .s-body-container.s-narrow,body.settings_page_stackable .s-body-container.s-narrow{max-width:1200px;margin-left:auto;margin-right:auto}body.settings_page_stackable-getting-started .s-body-container.s-body-container-center,body.settings_page_stackable .s-body-container.s-body-container-center{align-items:center;display:flex;flex-direction:column}body.settings_page_stackable-getting-started .s-body-container :first-child,body.settings_page_stackable .s-body-container :first-child{margin-top:0!important}body.settings_page_stackable-getting-started .s-body-container :last-child,body.settings_page_stackable .s-body-container :last-child{margin-bottom:0!important}body.settings_page_stackable-getting-started .s-body-container li,body.settings_page_stackable-getting-started .s-body-container p,body.settings_page_stackable .s-body-container li,body.settings_page_stackable .s-body-container p{line-height:1.6em}body.settings_page_stackable-getting-started .s-body-container li,body.settings_page_stackable .s-body-container li{margin-bottom:.6em}body.settings_page_stackable-getting-started .s-body-container-grid,body.settings_page_stackable .s-body-container-grid{display:grid;grid-template-columns:1fr 350px;grid-gap:30px}body.settings_page_stackable-getting-started .s-side h2,body.settings_page_stackable-getting-started .s-side h3,body.settings_page_stackable .s-side h2,body.settings_page_stackable .s-side h3{text-align:center}body.settings_page_stackable-getting-started .s-gambit-logo,body.settings_page_stackable .s-gambit-logo{display:inline-block;vertical-align:middle;padding-top:10px;margin:0 10px}body.settings_page_stackable-getting-started .s-gif,body.settings_page_stackable .s-gif{display:block;max-width:300px;margin:0 auto}body.settings_page_stackable-getting-started .s-plus-button,body.settings_page_stackable .s-plus-button{height:1em;vertical-align:baseline;width:1em}body.settings_page_stackable-getting-started .s-premium-box>p:last-child,body.settings_page_stackable .s-premium-box>p:last-child{text-align:center}body.settings_page_stackable-getting-started .stackable_notice_wrapper,body.settings_page_stackable .stackable_notice_wrapper{margin-bottom:30px}body.settings_page_stackable-getting-started .stackable_notice,body.settings_page_stackable .stackable_notice{margin-bottom:35px}body.settings_page_stackable-getting-started .s-settings-header,body.settings_page_stackable .s-settings-header{text-align:right;margin:0 -.5em 1em;display:flex;align-items:center;justify-content:flex-end}body.settings_page_stackable-getting-started .s-settings-header button,body.settings_page_stackable .s-settings-header button{margin:0 .5em}body.settings_page_stackable-getting-started .s-settings-grid,body.settings_page_stackable .s-settings-grid{display:grid;grid-gap:30px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}body.settings_page_stackable-getting-started .s-settings-grid .s-box,body.settings_page_stackable .s-settings-grid .s-box{margin:0;padding:28px 21px;text-align:center;display:flex;flex-direction:column}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-block-icon,body.settings_page_stackable .s-settings-grid .s-box .s-block-icon{max-width:60px;margin:0 auto}body.settings_page_stackable-getting-started .s-settings-grid .s-box>:not(:last-child),body.settings_page_stackable .s-settings-grid .s-box>:not(:last-child){margin-bottom:1em}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-block-description,body.settings_page_stackable .s-settings-grid .s-box .s-block-description{margin-bottom:1.5em}body.settings_page_stackable-getting-started .s-settings-grid .s-box>*,body.settings_page_stackable .s-settings-grid .s-box>*{margin-top:0!important}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-demo-url:nth-last-child(2),body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-toggle-button,body.settings_page_stackable .s-settings-grid .s-box .s-demo-url:nth-last-child(2),body.settings_page_stackable .s-settings-grid .s-box .s-toggle-button{margin-top:auto!important}body.settings_page_stackable-getting-started .s-settings-grid .s-box .s-demo-url:nth-last-child(2)+.s-toggle-button,body.settings_page_stackable .s-settings-grid .s-box .s-demo-url:nth-last-child(2)+.s-toggle-button{margin-top:0!important}body.settings_page_stackable-getting-started .s-video-tutorial-wrapper,body.settings_page_stackable .s-video-tutorial-wrapper{padding-bottom:58.4%;height:0;position:relative}body.settings_page_stackable-getting-started .s-video-tutorial-wrapper iframe,body.settings_page_stackable .s-video-tutorial-wrapper iframe{position:absolute;top:0;left:0;height:100%;width:100%}body.settings_page_stackable-getting-started .s-check-list,body.settings_page_stackable .s-check-list{padding-left:10px}body.settings_page_stackable-getting-started .s-check-list li,body.settings_page_stackable .s-check-list li{margin-bottom:3px!important;list-style-type:none}body.settings_page_stackable-getting-started .s-check-list li:before,body.settings_page_stackable .s-check-list li:before{font-weight:700;font-size:1rem;content:"✓";color:#8c33da;margin-right:.5rem}body.settings_page_stackable-getting-started .s-link-pair a,body.settings_page_stackable .s-link-pair a{margin-right:2em}body.settings_page_stackable-getting-started .s-intro,body.settings_page_stackable .s-intro{display:grid;grid-template-columns:.8fr 1fr;grid-gap:35px;justify-content:center}body.settings_page_stackable-getting-started .s-demo-url a,body.settings_page_stackable .s-demo-url a{opacity:.6;text-decoration:none}body.settings_page_stackable-getting-started .s-demo-url a:hover,body.settings_page_stackable .s-demo-url a:hover{opacity:1;text-decoration:underline}body.settings_page_stackable-getting-started .s-toggle-button,body.settings_page_stackable .s-toggle-button{outline:0;display:block;height:26px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin:1.5em auto 1em!important;padding:0!important;border:0!important;border-radius:26px;transition:all .4s ease;display:inline-block;background:#e4f5e4;margin-top:0}body.settings_page_stackable-getting-started .s-toggle-button:after,body.settings_page_stackable-getting-started .s-toggle-button:before,body.settings_page_stackable .s-toggle-button:after,body.settings_page_stackable .s-toggle-button:before{position:relative;display:block;content:"";width:26px;height:100%}body.settings_page_stackable-getting-started .s-toggle-button:after,body.settings_page_stackable .s-toggle-button:after{left:calc(100% - 26px);background:#3ca540;border-radius:50%;transition:all .2s ease;position:absolute;top:0;box-shadow:0 3px 10px -5px #000}body.settings_page_stackable-getting-started .s-toggle-button:before,body.settings_page_stackable .s-toggle-button:before{display:none}body.settings_page_stackable-getting-started .s-toggle-button span,body.settings_page_stackable .s-toggle-button span{position:relative;display:flex;justify-content:center;align-items:center;z-index:2;color:rgba(0,0,0,.4);font-size:11px;line-height:26px;transition:padding .2s ease;padding:0 35px 0 15px}body.settings_page_stackable-getting-started .s-toggle-button span:first-child,body.settings_page_stackable .s-toggle-button span:first-child{color:#7b7b7b}body.settings_page_stackable-getting-started .s-toggle-button span:nth-child(2),body.settings_page_stackable .s-toggle-button span:nth-child(2){color:#209e25}body.settings_page_stackable-getting-started .s-toggle-button span:first-child,body.settings_page_stackable .s-toggle-button span:first-child{display:none}body.settings_page_stackable-getting-started .s-toggle-button span:nth-child(2),body.settings_page_stackable .s-toggle-button span:nth-child(2){display:block}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button,body.settings_page_stackable .s-is-disabled .s-toggle-button{background:#f0f0f0}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button:after,body.settings_page_stackable .s-is-disabled .s-toggle-button:after{left:0;background:#7b7b7b}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button span,body.settings_page_stackable .s-is-disabled .s-toggle-button span{padding:0 15px 0 35px}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button span:first-child,body.settings_page_stackable .s-is-disabled .s-toggle-button span:first-child{display:block}body.settings_page_stackable-getting-started .s-is-disabled .s-toggle-button span:nth-child(2),body.settings_page_stackable .s-is-disabled .s-toggle-button span:nth-child(2){display:none}body.settings_page_stackable-getting-started .s-news-box ul,body.settings_page_stackable .s-news-box ul{padding-left:0}body.settings_page_stackable-getting-started .s-news-box li,body.settings_page_stackable .s-news-box li{list-style:none;margin-bottom:1.2em}body.settings_page_stackable-getting-started .s-news-box li a,body.settings_page_stackable .s-news-box li a{font-weight:700;text-decoration:none;display:block;margin-bottom:.5em;line-height:1.2em}body.settings_page_stackable-getting-started .s-news-box time,body.settings_page_stackable .s-news-box time{font-size:.7em;color:#aaa;display:block;line-height:1em}body.settings_page_stackable-getting-started .s-input-checkbox,body.settings_page_stackable .s-input-checkbox{display:inline-flex;align-items:center}body.settings_page_stackable-getting-started .s-input-checkbox .components-spinner,body.settings_page_stackable .s-input-checkbox .components-spinner{margin-top:0}body.settings_page_stackable-getting-started .s-text-field,body.settings_page_stackable .s-text-field{display:flex;align-items:center}.s-settings-pro{font-style:italic;padding:12px 24px;display:inline-block;border-radius:6px;box-shadow:0 5px 17px -4px rgba(18,63,82,.2);opacity:.7;transition:all .3s ease-in-out}.s-box:hover .s-settings-pro,.s-settings-pro:hover{opacity:1}.s-3-column,.s-4-column{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;grid-gap:35px}.s-3-column>*,.s-4-column>*{margin:0!important}.s-3-column{grid-template-columns:1fr 1fr 1fr}.ugb--saving-wrapper{height:40px;margin-top:16px}.ugb--saving-wrapper .components-spinner{margin:0!important}.s-other-options-wrapper .components-base-control{margin-bottom:8px}.s-news-box-content .components-spinner{display:block;float:none;margin:0 auto}.ugb-pro-modal{overflow:hidden!important;border:0!important;background:#000}.ugb-pro-modal .components-modal__header{position:absolute;top:0;right:10px;z-index:3;border:0;background:transparent}.ugb-pro-modal .components-modal__header .components-button svg{fill:#fff}.ugb-pro-modal .components-modal__header .components-button:hover{background-color:rgba(0,0,0,.4)!important}.ugb-pro-modal .components-modal__content{padding:0}.ugb-pro-modal .components-modal__content img{max-width:1000px;height:auto;width:auto!important}.ugb-pro-modal .ugb-pro-modal__footer{padding:30px;text-align:center;display:flex;justify-content:center;align-items:center}.ugb-pro-modal .ugb-pro-modal__footer *{margin:0 5px}.ugb-pro-modal .ugb-pro-modal__footer .button{color:#fff;background:linear-gradient(90deg,#ab5af1 -50%,#fb6874);border:0;height:auto;font-size:14px;font-weight:500;display:flex;align-items:center;margin:0 15px;border-radius:40px;padding:5px 25px}.ugb-pro-modal .ugb-pro-modal__footer .button svg{fill:#fff;margin:0 10px 0 0}.ugb-pro-modal .ugb-pro-modal__footer .button:hover{background:linear-gradient(90deg,#ab5af1 -50%,#fb6874 50%)}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button){color:#fb6874;text-decoration:none}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button):hover{color:#ab5af1}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost{box-shadow:inset 0 0 0 2px #fb6874;background:none;color:#fb6874;font-weight:400;text-transform:none}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost:hover{box-shadow:inset 0 0 0 2px #ab5af1;background:none;font-weight:400;color:#ab5af1}.getting-started .s-header h1{margin:0 auto}.s-tab-premium,.s-tab-premium:hover{color:#f34957}.s-title{text-align:center;margin-bottom:30px}.s-spacer{height:50px}.s-center{text-align:center}.s-getting-started-body{display:grid;grid-template-columns:1fr 1.2fr;grid-gap:35px;align-items:center;margin-bottom:35px}.s-getting-started-body.s-reverse{grid-template-columns:1.2fr 1fr}.s-tip{margin:1.5em 40px 1em;text-indent:-25px;color:#da5e68;line-height:1.3em}.s-video{max-width:100%;margin:0 auto;display:block}.s-buttons{display:flex;flex-direction:row;justify-content:center;align-items:center}.s-buttons>*{margin:0 15px}.s-button-plain{background:none!important;color:#f34957!important;padding-left:0!important;padding-right:0!important}.s-button-plain .dashicons{vertical-align:text-top}.s-button-small{padding:8px 23px!important;display:inline-block!important}#fs_account_details .fs-field-product,#fs_account_details .fs-field-product_id,#fs_account_details .fs-field-site_id,#fs_account_details .fs-field-site_public_key,#fs_account_details .fs-field-site_secret_key,.fs-section .nav-tab-wrapper{display:none}.fs-section{margin:0}.fs-section #poststuff{padding:0}.ugb-main-block,[class*=ugb-]+form[class*=-link],[class*=ugb-] form[class*=-link],form[class*=ugb-][class*=-link]{display:flex;justify-content:center;align-items:center}.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0}.ugb-main-block.alignfull{padding:0 35px}.ugb-block-content,.ugb-inner-block{margin:0;padding:0;width:100%;position:relative}.ugb--full-height{min-height:700px}.ugb--restrict-content-width .ugb-content-wrapper{max-width:var(--content-width);margin:0 auto}.ugb--shadow-0,.ugb-shadow-0{box-shadow:none!important}.ugb--shadow-1,.ugb-shadow-1{box-shadow:0 0 0 1px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-2,.ugb-shadow-2{box-shadow:0 0 0 2px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-3,.ugb-shadow-3{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2)!important}.ugb--shadow-4,.ugb-shadow-4{box-shadow:0 2px 20px hsla(0,0%,60%,.2)!important}.ugb--shadow-5,.ugb-shadow-5{box-shadow:0 5px 30px -10px rgba(18,63,82,.3)!important}.ugb--shadow-6,.ugb-shadow-6{box-shadow:0 10px 30px rgba(0,0,0,.05)!important}.ugb--shadow-7,.ugb-shadow-7{box-shadow:7px 5px 30px rgba(72,73,121,.15)!important}.ugb--shadow-8,.ugb-shadow-8{box-shadow:0 10px 60px rgba(0,0,0,.1)!important}.ugb--shadow-9,.ugb-shadow-9{box-shadow:0 70px 130px -60px rgba(72,73,121,.38)!important}div[class^=wp-block-ugb-]{z-index:1}@supports (-webkit-touch-callout:inherit){[class*=ugb-]{background-attachment:scroll!important}}.ugb-block-content:after,.ugb-block-content:before{content:none!important}#fs_affiliation_content_wrapper{margin:0}#fs_affiliation_content_wrapper #poststuff{padding:0}#fs_affiliation_content_wrapper .postbox{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;overflow:hidden;box-shadow:0 18px 35px -15px rgba(18,63,82,.25);border:0;padding:35px}#fs_affiliation_content_wrapper .button{border:none;border-radius:35px;cursor:pointer;opacity:1;background:#8c33da;background:linear-gradient(90deg,#8c33da -30%,#f34957 130%);transition:opacity .2s ease-in-out;box-shadow:none!important;color:#fff;text-decoration:none;padding:.75em 1.25em;line-height:1em!important;margin:10px auto 0;text-align:center}#fs_affiliation_content_wrapper .button:hover{opacity:.85;box-shadow:none!important}#fs_affiliation_content_wrapper .button.button-cancel{background:#888}#fs_affiliation_content_wrapper ul{padding-left:10px}#fs_affiliation_content_wrapper ul li{margin-bottom:3px!important;list-style-type:none}#fs_affiliation_content_wrapper ul li:before{font-weight:700;font-size:1rem;content:"✓";color:#8c33da;margin-right:.5rem}#fs_account{margin:0}#fs_account #poststuff{padding:0}#fs_account .postbox{padding:16px}#fs_account .postbox,#fs_contact{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);background-color:#fff;border-radius:12px;overflow:hidden;box-shadow:0 18px 35px -15px rgba(18,63,82,.25);border:0}#fs_contact{width:100%;max-width:850px;margin:0!important;padding:0!important;padding:16px}body.stackable_page_stackable-contact .s-header{padding-top:65px!important;padding-bottom:100px!important}body.stackable_page_stackable-pricing .s-header{padding-top:85px!important;padding-bottom:50px!important}body.settings_page_stackable-account{position:relative;height:auto}@media screen and (max-width:600px){body.settings_page_stackable-getting-started .s-box,body.settings_page_stackable .s-box{padding:35px 17.5px}.ugb-main-block.alignfull{padding-right:17.5px;padding-left:17.5px}#fs_account .postbox,#fs_affiliation_content_wrapper .postbox,#fs_contact{padding:35px 17.5px}}@media screen and (min-width:1025px){.ugb--full-height{min-height:100vh}}@media screen and (max-width:782px){#fs_account .postbox,#fs_affiliation_content_wrapper .postbox,#fs_contact,body.settings_page_stackable-getting-started .s-box,body.settings_page_stackable .s-box{padding:40px 23.33333px}}@media screen and (max-width:1440px) and (min-width:1280px){body.settings_page_stackable-getting-started .s-intro,body.settings_page_stackable .s-intro{grid-template-columns:1fr minmax(250px,300px)}body.settings_page_stackable-getting-started .s-intro>:first-child,body.settings_page_stackable .s-intro>:first-child{grid-column:1/3}}@media screen and (max-width:1280px){body.settings_page_stackable-getting-started .s-intro,body.settings_page_stackable .s-intro{grid-template-columns:1fr}}@media screen and (max-width:960px){body.settings_page_stackable .s-body-container,body.stackable_page_stackable-settings .s-body-container{grid-template-columns:1fr}}
|
dist/admin_welcome.js
CHANGED
@@ -14,7 +14,7 @@ var admin_welcome=function(e){var t={};function n(a){if(t[a])return t[a].exports
|
|
14 |
object-assign
|
15 |
(c) Sindre Sorhus
|
16 |
@license MIT
|
17 |
-
*/var a=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=l(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))r.call(n,c)&&(s[c]=n[c]);if(a){o=a(n);for(var f=0;f<o.length;f++)i.call(n,o[f])&&(s[o[f]]=n[o[f]])}}return s}},function(e,t,n){"use strict";var a=String.prototype.replace,r=/%20/g,i=n(25),l={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:l.RFC3986,formatters:{RFC1738:function(e){return a.call(e,r,"+")},RFC3986:function(e){return String(e)}}},l)},,,function(e,t){e.exports="dist/images/components-image-shape-control-default.f59a6f2.png"},function(e,t){e.exports="dist/images/components-image-shape-control-square.54ea536.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.9bd9f74.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.8e07b2a.png"},function(e,t,n){"use strict";e.exports=n(118).default},function(e){e.exports=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","600","700","800"],"subsets":["hebrew","latin"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["regular","700"],"subsets":["khmer"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer"]},{"family":"Be Vietnam","variants":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","600","700","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Epilogue","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grandstander","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze Gotisch","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["regular","700"],"subsets":["khmer"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kufam","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumbh Sans","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Metal","variants":["regular"],"subsets":["khmer"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MuseoModerno","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["regular","700"],"subsets":["khmer"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overpass Mono","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piazzolla","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese"]},{"family":"Red Hat Display","variants":["regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sansita Swashed","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sora","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["regular"],"subsets":["khmer"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Syne","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Varta","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]')},function(e,t){e.exports="dist/images/components-design-separator-control-curve-1.a61eacd.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-2.7a9883c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-3.b42e517.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.d2b77d9.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.e6d5edc.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-3.54719e2.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.1a7bbee.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.622c736.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.3d6e794.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.479a6de.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.8ad6a1d.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.6db0486.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-4.5f9e008.png"},function(e,t,n){"use strict";var a,r=this&&this.__extends||(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=i(n(8)),o=i(n(2)),s=function(e){function t(n){var a=e.call(this,n)||this;return a.resetDragging=function(){a.frameDragCounter=0,a.setState({draggingOverFrame:!1,draggingOverTarget:!1})},a.handleWindowDragOverOrDrop=function(e){e.preventDefault()},a.handleFrameDrag=function(e){if(t.eventHasFiles(e))return a.frameDragCounter+="dragenter"===e.type?1:-1,1===a.frameDragCounter?(a.setState({draggingOverFrame:!0}),void(a.props.onFrameDragEnter&&a.props.onFrameDragEnter(e))):0===a.frameDragCounter?(a.setState({draggingOverFrame:!1}),void(a.props.onFrameDragLeave&&a.props.onFrameDragLeave(e))):void 0},a.handleFrameDrop=function(e){a.state.draggingOverTarget||(a.resetDragging(),a.props.onFrameDrop&&a.props.onFrameDrop(e))},a.handleDragOver=function(e){t.eventHasFiles(e)&&(a.setState({draggingOverTarget:!0}),!t.isIE()&&a.props.dropEffect&&(e.dataTransfer.dropEffect=a.props.dropEffect),a.props.onDragOver&&a.props.onDragOver(e))},a.handleDragLeave=function(e){a.setState({draggingOverTarget:!1}),a.props.onDragLeave&&a.props.onDragLeave(e)},a.handleDrop=function(e){if(a.props.onDrop&&t.eventHasFiles(e)){var n=e.dataTransfer?e.dataTransfer.files:null;a.props.onDrop(n,e)}a.resetDragging()},a.stopFrameListeners=function(e){e&&(e.removeEventListener("dragenter",a.handleFrameDrag),e.removeEventListener("dragleave",a.handleFrameDrag),e.removeEventListener("drop",a.handleFrameDrop))},a.startFrameListeners=function(e){e&&(e.addEventListener("dragenter",a.handleFrameDrag),e.addEventListener("dragleave",a.handleFrameDrag),e.addEventListener("drop",a.handleFrameDrop))},a.frameDragCounter=0,a.state={draggingOverFrame:!1,draggingOverTarget:!1},a}return r(t,e),t.prototype.componentDidMount=function(){this.startFrameListeners(this.props.frame),this.resetDragging(),window.addEventListener("dragover",this.handleWindowDragOverOrDrop),window.addEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(this.props.frame),this.startFrameListeners(e.frame))},t.prototype.componentWillUnmount=function(){this.stopFrameListeners(this.props.frame),window.removeEventListener("dragover",this.handleWindowDragOverOrDrop),window.removeEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.targetClassName,r=e.draggingOverFrameClassName,i=e.draggingOverTargetClassName,l=this.state,s=l.draggingOverTarget,u=a;return l.draggingOverFrame&&(u+=" "+r),s&&(u+=" "+i),o.default.createElement("div",{className:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},o.default.createElement("div",{className:u},t))},t.isIE=function(){return"undefined"!=typeof window&&(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>0)},t.eventHasFiles=function(e){var t=!1;if(e.dataTransfer){var n=e.dataTransfer.types;for(var a in n)if("Files"===n[a]){t=!0;break}}return t},t.propTypes={className:l.default.string,targetClassName:l.default.string,draggingOverFrameClassName:l.default.string,draggingOverTargetClassName:l.default.string,onDragOver:l.default.func,onDragLeave:l.default.func,onDrop:l.default.func,dropEffect:l.default.oneOf(["copy","move","link","none"]),frame:function(e,t,n){var a=e[t];return null==a?new Error("Warning: Required prop `"+t+"` was not specified in `"+n+"`"):a===document||a instanceof HTMLElement?void 0:new Error("Warning: Prop `"+t+"` must be one of the following: document, HTMLElement!")},onFrameDragEnter:l.default.func,onFrameDragLeave:l.default.func,onFrameDrop:l.default.func},t.defaultProps={dropEffect:"copy",frame:"undefined"==typeof window?void 0:window.document,className:"file-drop",targetClassName:"file-drop-target",draggingOverFrameClassName:"file-drop-dragging-over-frame",draggingOverTargetClassName:"file-drop-dragging-over-target"},t}(o.default.PureComponent);t.FileDrop=s},function(e,t){e.exports="dist/images/components-button-controls-basic.b11a0a1.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.693bd0a.png"},function(e,t){e.exports="dist/images/components-button-controls-link.5941222.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.9a9337a.png"},function(e,t){e.exports="dist/images/components-icon-controls-plain.08b10ae.png"},function(e,t){e.exports="dist/images/components-icon-controls-shaped.f4f347f.png"},function(e,t){e.exports="dist/images/components-icon-controls-outlined.ecba760.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1.b25dc1c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2.251f715.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3.a91efa1.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1.4c4319a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2.c441aac.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3.2409bb5.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4.9b307d9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1.ec684b9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2.4601b46.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3.4ef0451.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-grid.c178b51.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-grid.9c461c0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-grid.3921dc3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-grid.fe6e028.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-grid.5c04307.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-grid.111efd7.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-grid.ef73de3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-grid.146feaa.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-grid.5d65a3e.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-grid.906e9b0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-uneven.7045e09.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-uneven.a4f271c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-uneven.1983521.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-uneven.929b1cf.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-uneven.a346601.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-uneven.84b5000.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-uneven.42a4995.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-uneven.430f93a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-uneven.f1a848f.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-uneven.8099e5e.png"},,,,,,,,,,,,function(e,t,n){"use strict";
|
18 |
/** @license React v16.12.0
|
19 |
* react.production.min.js
|
20 |
*
|
@@ -38,4 +38,4 @@ object-assign
|
|
38 |
*
|
39 |
* This source code is licensed under the MIT license found in the
|
40 |
* LICENSE file in the root directory of this source tree.
|
41 |
-
*/var a,r,i,l,o;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,c=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(c,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},a=function(e){null!==s?setTimeout(a,0,e):(s=e,setTimeout(c,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},l=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,g=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var b=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var h=d.now();t.unstable_now=function(){return d.now()-h}}var v=!1,y=null,w=-1,k=5,O=0;l=function(){return t.unstable_now()>=O},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,S=C.port2;C.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();O=e+k;try{y(!0,e)?S.postMessage(null):(v=!1,y=null)}catch(e){throw S.postMessage(null),e}}else v=!1},a=function(e){y=e,v||(v=!0,S.postMessage(null))},r=function(e,n){w=g(function(){e(t.unstable_now())},n)},i=function(){m(w),w=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var a=Math.floor((n-1)/2),r=e[a];if(!(void 0!==r&&0<j(r,t)))break e;e[a]=t,e[n]=r,n=a}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,r=e.length;a<r;){var i=2*(a+1)-1,l=e[i],o=i+1,s=e[o];if(void 0!==l&&0>j(l,n))void 0!==s&&0>j(s,l)?(e[a]=s,e[o]=n,a=o):(e[a]=l,e[i]=n,a=i);else{if(!(void 0!==s&&0>j(s,n)))break e;e[a]=s,e[o]=n,a=o}}}return t}return null}function j(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],T=[],B=1,M=null,N=3,I=!1,A=!1,D=!1;function R(e){for(var t=x(T);null!==t;){if(null===t.callback)E(T);else{if(!(t.startTime<=e))break;E(T),t.sortIndex=t.expirationTime,_(P,t)}t=x(T)}}function z(e){if(D=!1,R(e),!A)if(null!==x(P))A=!0,a(L);else{var t=x(T);null!==t&&r(z,t.startTime-e)}}function L(e,n){A=!1,D&&(D=!1,i()),I=!0;var a=N;try{for(R(n),M=x(P);null!==M&&(!(M.expirationTime>n)||e&&!l());){var o=M.callback;if(null!==o){M.callback=null,N=M.priorityLevel;var s=o(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?M.callback=s:M===x(P)&&E(P),R(n)}else E(P);M=x(P)}if(null!==M)var u=!0;else{var c=x(T);null!==c&&r(z,c.startTime-n),u=!1}return u}finally{M=null,N=a,I=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=o;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,l){var o=t.unstable_now();if("object"==typeof l&&null!==l){var s=l.delay;s="number"==typeof s&&0<s?o+s:o,l="number"==typeof l.timeout?l.timeout:F(e)}else l=F(e),s=o;return e={id:B++,callback:n,priorityLevel:e,startTime:s,expirationTime:l=s+l,sortIndex:-1},s>o?(e.sortIndex=s,_(T,e),null===x(P)&&e===x(T)&&(D?i():D=!0,r(z,s-o))):(e.sortIndex=l,_(P,e),A||I||(A=!0,a(L))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=x(P);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||l()},t.unstable_requestPaint=U,t.unstable_continueExecution=function(){A||I||(A=!0,a(L))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_Profiling=null},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t,n){"use strict";n.r(t);var a=n(20),r=n(11),i=n(3),l=n(4),o=n(1);Object(r.a)(function(){var e=document.querySelector(".s-news-box-content");e&&""===e.innerHTML&&(Object(i.render)(wp.element.createElement("div",null,wp.element.createElement(l.Spinner,null)),e),Object(a.send)("stackable_news_feed_ajax",{success:function(t){e.innerHTML=t},error:function(e){alert(e)},data:{nonce:o.nonceNews}}))});var s=n(0),u={"ugb/accordion":{title:Object(s.__)("Accordion",o.i18n),description:Object(s.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",o.i18n),sDemoURL:"https://wpstackable.com/accordion-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/text":{title:Object(s.__)("Advanced Text",o.i18n),description:Object(s.__)("Start with the building block of all page layouts.",o.i18n),sDemoURL:"https://wpstackable.com/advanced-text-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/heading":{title:Object(s.__)("Advanced Heading",o.i18n),description:Object(s.__)("Introduce new sections of your content in style.",o.i18n),sDemoURL:"https://wpstackable.com/advanced-heading-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/blockquote":{title:Object(s.__)("Blockquote",o.i18n),description:Object(s.__)("Display a quote in style.",o.i18n),sDemoURL:"https://wpstackable.com/blockquote-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/blog-posts":{title:Object(s.__)("Blog Posts",o.i18n),description:Object(s.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",o.i18n),sDemoURL:"https://wpstackable.com/blog-posts-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/button":{title:Object(s.__)("Button",o.i18n),description:Object(s.__)("Add a customizable button.",o.i18n),sDemoURL:"https://wpstackable.com/button-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/cta":{title:Object(s.__)("Call to Action",o.i18n),description:Object(s.__)("A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.",o.i18n),sDemoURL:"https://wpstackable.com/call-to-action-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/card":{title:Object(s.__)("Card",o.i18n),description:Object(s.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",o.i18n),sDemoURL:"https://wpstackable.com/card-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/columns":{title:Object(s.__)("Columns",o.i18n),description:Object(s.__)("Add a block that displays content in multiple columns. Get advanced options on how you want your columns to look.",o.i18n),sDemoURL:"https://wpstackable.com/columns-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/container":{title:Object(s.__)("Container",o.i18n),description:Object(s.__)("A styled container that you can add other blocks inside. Use this to create unique layouts.",o.i18n),sDemoURL:"https://wpstackable.com/container-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/count-up":{title:Object(s.__)("Count Up",o.i18n),description:Object(s.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",o.i18n),sDemoURL:"https://wpstackable.com/count-up-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/design-library":{title:Object(s.__)("Design Library",o.i18n),description:Object(s.__)("Choose from over a hundred block designs from the Stackable Design Library.",o.i18n)},"ugb/divider":{title:Object(s.__)("Divider",o.i18n),description:Object(s.__)("Add a pause between your content.",o.i18n)},"ugb/expand":{title:Object(s.__)("Expand / Show More",o.i18n),description:Object(s.__)("Display a small snippet of text. Your readers can toggle it to show more information.",o.i18n),sDemoURL:"https://wpstackable.com/expand-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/feature-grid":{title:Object(s.__)("Feature Grid",o.i18n),description:Object(s.__)("Display multiple product features or services. You can use Feature Grids one after another.",o.i18n),sDemoURL:"https://wpstackable.com/feature-grid-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/feature":{title:Object(s.__)("Feature",o.i18n),description:Object(s.__)("Display a product feature or a service in a large area.",o.i18n),sDemoURL:"https://wpstackable.com/feature-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/header":{title:Object(s.__)("Header",o.i18n),description:Object(s.__)("A large header title area. Typically used at the very top of a page.",o.i18n),sDemoURL:"https://wpstackable.com/header-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/icon":{title:Object(s.__)("Icon",o.i18n),description:Object(s.__)("Pick an icon or upload your own SVG icon to decorate your content.",o.i18n),sDemoURL:"https://wpstackable.com/icon-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/icon-list":{title:Object(s.__)("Icon List",o.i18n),description:Object(s.__)("An unordered list with icons. You can use this as a list of features or benefits.",o.i18n),sDemoURL:"https://wpstackable.com/icon-list-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/image-box":{title:Object(s.__)("Image Box",o.i18n),description:Object(s.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",o.i18n),sDemoURL:"https://wpstackable.com/image-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/notification":{title:Object(s.__)("Notification",o.i18n),description:Object(s.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",o.i18n),sDemoURL:"https://wpstackable.com/notification-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/number-box":{title:Object(s.__)("Number Box",o.i18n),description:Object(s.__)('Display steps or methods that your users will do in your service. For example, "Get started in just 3 easy steps: 1, 2 and 3!"',o.i18n),sDemoURL:"https://wpstackable.com/number-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/pricing-box":{title:Object(s.__)("Pricing Box",o.i18n),description:Object(s.__)("Display the different pricing tiers of your business.",o.i18n),sDemoURL:"https://wpstackable.com/pricing-table-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/separator":{title:Object(s.__)("Separator",o.i18n),description:Object(s.__)("A fancy separator to be placed between containers and content.",o.i18n),sDemoURL:"https://wpstackable.com/separator-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/spacer":{title:Object(s.__)("Spacer",o.i18n),description:Object(s.__)("Sometimes you just need some space.",o.i18n)},"ugb/team-member":{title:Object(s.__)("Team Member",o.i18n),description:Object(s.__)("Display members of your team or your office. Use multiple Team Member blocks if you have a large team.",o.i18n),sDemoURL:"https://wpstackable.com/team-member-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/testimonial":{title:Object(s.__)("Testimonial",o.i18n),description:Object(s.__)("Showcase what your users say about your product or service.",o.i18n),sDemoURL:"https://wpstackable.com/testimonial-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/video-popup":{title:Object(s.__)("Video Popup",o.i18n),description:Object(s.__)("Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.",o.i18n),sDemoURL:"https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}},c=n(14),f=n(6),p=n.n(f),d=n(21),g=n.n(d),m=n(12);var b=n(5);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(P,h({design:a("Design",e.designDefault),size:a("Size","normal"),text:a("Text",""),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),icon:a("Icon"),iconPosition:a("IconPosition"),onChange:function(e){return t(v({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(v({},n("Url"),e))},onChangeNewTab:function(e){return t(v({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(v({},n("NoFollow"),e))},onChangeIcon:function(e){return t(v({},n("Icon"),e))},isSelected:e.isSelected},e))};y.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(y.Content=function(e){var t=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a};return wp.element.createElement(P.Content,h({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=1,j=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,a=C(t).apply(this,arguments),e=!a||"object"!==k(a)&&"function"!=typeof a?S(n):a,x(S(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=E++,e.onButtonClickHandler=e.onButtonClickHandler.bind(S(e)),e.outsideClickHandler=e.outsideClickHandler.bind(S(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(S(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,i["Component"]),n=t,(a=[{key:"onButtonClickHandler",value:function(e){if(this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button"));else if(e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-url-input-popover")||e.target.closest(".ugb-icon-popover")||e.target.closest(".components-popover"))return;this.state.openPopup||document.body.addEventListener("click",this.outsideClickHandler),this.setState({openPopup:!0})}},{key:"outsideClickHandler",value:function(e){e.target.closest(".ugb-button-container-".concat(this.buttonInstanceId))||e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")?this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-svg-icon-placeholder__button")&&this.hideUrlPopup():this.hideUrlPopup()}},{key:"onKeyPressHandler",value:function(e){e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")||this.hideUrlPopup()}},{key:"render",value:function(){var e,t=this.props,n=t.iconButton,a=t.className,r=void 0===a?"":a,l=t.size,u=void 0===l?"normal":l,c=t.text,f=void 0===c?"":c,d=t.onChange,g=void 0===d?function(){}:d,b=t.design,h=void 0===b?"basic":b,v=t.shadow,y=void 0===v?0:v,w=t.iconPosition,k=void 0===w?"":w,O=t.hoverEffect,C=void 0===O?"":O,S=t.ghostToNormalEffect,_=void 0!==S&&S,E=t.url,j=void 0===E?"":E,P=t.newTab,T=void 0===P?"":P,B=t.noFollow,M=void 0===B?"":B,N=t.onChangeUrl,I=void 0===N?null:N,A=t.onChangeNewTab,D=void 0===A?null:A,R=t.onChangeNoFollow,z=void 0===R?null:R,L=t.onChangeIcon,F=void 0===L?null:L,U=t.icon,H=void 0===U?null:U,V=t.isSelected,G=void 0===V?null:V,q=p()([r,"ugb-button","ugb-button--size-".concat(u)],(x(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":_},"ugb--hover-effect-".concat(C),"link"!==h&&C),x(e,"ugb--shadow-".concat(y),"basic"===h&&y),x(e,"ugb-button--design-".concat(h),"basic"!==h),x(e,"ugb-button--has-icon",H),x(e,"ugb-button--icon-position-".concat(k),k),e)),W=p()(["ugb-button-container","ugb-button-container-".concat(this.buttonInstanceId),this.props.containerClassName]),K=(null===G||G)&&this.state.openPopup;return wp.element.createElement("div",{className:W,onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:q},H&&"link"!==h&&wp.element.createElement(i.Fragment,null,!F&&wp.element.createElement(uu,{value:H}),F&&wp.element.createElement(bu,{value:H,onChange:F,isOpen:n?K:null})),!n&&wp.element.createElement(m.RichText,{tagName:"span",className:"link"===h?"":"ugb-button--inner",placeholder:Object(s.__)("Button text",o.i18n),value:f,onChange:g,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),K&&wp.element.createElement(dt,{value:j,onChange:I,newTab:T,noFollow:M,onChangeNewTab:D,onChangeNoFollow:z,disableSuggestions:this.props.disableSuggestions})))}}])&&O(n.prototype,a),r&&O(n,r),t}();j.defaultProps={iconButton:!1,disableSuggestions:!1,containerClassName:"",className:"",size:"normal",text:"",onChange:function(){},design:"basic",shadow:0,iconPosition:"",hoverEffect:"",ghostToNormalEffect:!1,url:"",newTab:"",noFollow:"",onChangeUrl:null,onChangeNewTab:null,onChangeNoFollow:null,onChangeIcon:null,icon:null,isSelected:null},j.Content=function(e){var t,n=e.iconButton,a=e.className,r=void 0===a?"":a,i=e.size,l=void 0===i?"normal":i,o=e.url,s=void 0===o?"":o,u=e.icon,c=void 0===u?null:u,f=e.text,d=void 0===f?"":f,b=e.design,h=void 0===b?"basic":b,v=e.newTab,y=void 0!==v&&v,k=e.shadow,O=void 0===k?0:k,C=e.iconPosition,S=void 0!==C&&C,_=e.hoverEffect,E=void 0===_?"":_,j=e.noFollow,P=void 0!==j&&j,T=e.ghostToNormalEffect,B=void 0!==T&&T,M=e.target,N=void 0===M?"":M,I=e.role,A=void 0===I?"":I,D=e.title,R=void 0===D?"":D,z=p()([r,"ugb-button","ugb-button--size-".concat(l)],(x(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":B},"ugb--hover-effect-".concat(E),"link"!==h&&E),x(t,"ugb--shadow-".concat(O),"basic"===h&&O),x(t,"ugb-button--design-".concat(h),"basic"!==h),x(t,"ugb-button--has-icon",c),x(t,"ugb-button--icon-position-".concat(S),S),t)),L=[];y&&(L.push("noopener"),L.push("noreferrer")),P&&L.push("nofollow");var F={};return A&&(F.role=A),wp.element.createElement("div",{className:"ugb-button-container"},(d||n)&&wp.element.createElement("a",w({className:z,href:s,target:N||y?N||"_blank":void 0,rel:e.rel||L.join(" "),title:g()(R)},F),c&&"link"!==h&&wp.element.createElement(uu.Content,{value:c}),!n&&wp.element.createElement(m.RichText.Content,{tagName:"span",className:"link"===h?"":"ugb-button--inner",value:d})))};var P=j,T=[],B={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},M=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},N=function(e){if(!T.includes(e)){if(document&&M(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=B[o.locale]?"&subset=".concat(B):"";return"https://fonts.googleapis.com/css?family=".concat(t,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic").concat(n)}(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),document.querySelector("head").appendChild(t)}T.push(e)}},I=function(e){return M(e)?'"'.concat(e,'", Sans-serif'):e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},A=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&N(n)})};var D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=function(t){return Object(b.camelCase)(Object(s.sprintf)(e,t))},i=ge(n,r,""),l=a.importantSize,o=void 0!==l&&l,u=a.important,c=void 0===u||u,f=a.inherit,p=void 0===f||f,d=a.inheritMax,g=void 0===d?50:d,m=a.inheritMin,h={},v=i("FontSize"),y=i("TabletFontSize"),w=i("MobileFontSize");if("tablet"!==t&&"mobile"!==t)h={fontFamily:""!==i("FontFamily")?I(i("FontFamily")):void 0,fontSize:""!==v?de("".concat(v).concat(i("FontSizeUnit")||"px"),o):void 0,fontWeight:""!==i("FontWeight")?i("FontWeight"):void 0,textTransform:""!==i("TextTransform")?i("TextTransform"):void 0,letterSpacing:""!==i("LetterSpacing")?"".concat(i("LetterSpacing"),"px"):void 0,lineHeight:""!==i("LineHeight")?"".concat(i("LineHeight")).concat(i("LineHeightUnit")||"em"):void 0};else if("tablet"===t){if(h={lineHeight:""!==i("TabletLineHeight")?"".concat(i("TabletLineHeight")).concat(i("TabletLineHeightUnit")||"em"):void 0},p){var k=me(v,{min:m,max:g});k&&(h.fontSize="".concat(k).concat(i("FontSizeUnit")||"px"))}y&&(h.fontSize=i("TabletFontSize","%s".concat(i("TabletFontSizeUnit")||"px")))}else{if(h={lineHeight:""!==i("MobileLineHeight")?"".concat(i("MobileLineHeight")).concat(i("MobileLineHeightUnit")||"em"):void 0},p){var O=me(v,{min:m,max:g});O&&(h.fontSize="".concat(O).concat(i("FontSizeUnit")||"px"));var C=me(y,{min:m,max:g});C?h.fontSize="".concat(C).concat(i("TabletFontSizeUnit")||"px"):(O||y)&&(h.fontSize=void 0)}w&&(h.fontSize=i("MobileFontSize","%s".concat(i("MobileFontSizeUnit")||"px")))}return c?pe(h):h},R=n(7);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F={},U=function(){F=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(n,!0).forEach(function(t){L(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},function(e){var t=document.createElement("div");if(t.classList.add("editor-styles-wrapper"),t.classList.add("ugb-default-font-size"),t.innerHTML='<div class="wp-block">'.concat(e.map(function(e){return"<".concat(e,"></").concat(e,">")}).join(),"</div>"),!document||!document.body)return{};document.body.appendChild(t);var n={};return e.forEach(function(e){var a=window.getComputedStyle(t.querySelector(e)).getPropertyValue("font-size");n[e]=Math.round(parseFloat(a))}),document.body.removeChild(t),n}(["h1","h2","h3","h4","h5","h6","p"]))};Object(R.addFilter)("stackable.global-settings.typography.editor-styles","stackable/default-font-sizes",function(e,t,n,a){return e[".ugb-default-font-size .wp-block ".concat(t)]=D("%s","desktop",a,{important:!0}),F={},e});var H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.keys(F).length&&!t||U(),F[e]||F.p||21};Object(r.a)(function(){U()});var V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e,t))},a=ge(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")};var G=n(2),q=n.n(G);function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=q.a.createElement("circle",{cx:50,cy:50,r:50}),$=function(e){return q.a.createElement("svg",W({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),K)};function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Q=q.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),X=function(e){return q.a.createElement("svg",Y({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),Q)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=q.a.createElement("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"});var ee={circle:$,square:X,blob1:function(e){return q.a.createElement("svg",J({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),Z)}},te=function(e){var t=Object(R.applyFilters)("stackable.image.shape.svgs",ee);return t[e]?t[e]:null},ne=n(10),ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||ae(e):null};window._stackableCachedImageData={};var ie=function(e,t){var n=t("core").getMedia,a=e?n(e):null;return a&&void 0!==a.id&&(window._stackableCachedImageData[a.id]=a),a},le=function(e){return window._stackableCachedImageData[e]||null};var oe=n(13),se=n.n(oe);n(28),n(22);function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(n,!0).forEach(function(t){fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.keys(e).reduce(function(n,a){return ce({},n,fe({},a,de(e[a],t)))},{})},de=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?"".concat(e," !important"):e},ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(a){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,l=null!==t?t:function(e){return Object(b.lowerFirst)(e)},o=void 0===e[l(a)]?"":e[l(a)];return""!==o?r?Object(s.sprintf)(r.replace(/%$/,"%%"),o):o:i}},me=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.min,a=void 0===n?Number.NEGATIVE_INFINITY:n,r=t.max,i=void 0===r?Number.POSITIVE_INFINITY:r;if(""!==e){var l=Object(b.clamp)(e,parseFloat(a),parseFloat(i));if(!isNaN(l))return parseFloat(l)!==parseFloat(e)?l:void 0}};var be={facebook:{label:Object(s.__)("Facebook",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg>'},twitter:{label:Object(s.__)("Twitter",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>'},instagram:{label:Object(s.__)("Instagram",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>'},pinterest:{label:Object(s.__)("Pinterest",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest-p" class="svg-inline--fa fa-pinterest-p fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path></svg>'},linkedin:{label:Object(s.__)("LinkedIn",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg>'},youtube:{label:Object(s.__)("YouTube",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"></path></svg>'},email:{label:Object(s.__)("Email",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>'}},he=n(16);function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(n,!0).forEach(function(t){we(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke=["uniqueClass"],Oe={};function Ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(i.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=Ce(n,2),r=a[0],l=a[1],o=function(t){try{var n=t instanceof Function?t(r):t;l(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[r,o]},_e=function(){return void 0!==he.registerBlockCollection};var xe=function(e,t){var n=Ee(e,t);return n?n.html[0]:""},Ee=function(e,t){return window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null},je=n(17),Pe=n.n(je);n(29);var Te=function(e){return e.match(/(mp4|webm|ogg)$/i)},Be="desktop",Me=function(){return Be},Ne=!1,Ie=function(){return Ne},Ae=function(e){return Ne=e};function De(){return(De=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Re(n,!0).forEach(function(t){Le(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Re(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fe=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a},r=Object.keys(be).reduce(function(e,r){var i;return ze({},e,(Le(i={},"".concat(r,"Url"),a("".concat(r,"Url"))),Le(i,"onChange".concat(Object(b.upperFirst)(r),"Url"),function(e){return t(Le({},n("".concat(r,"Url")),e))}),i))},{});return wp.element.createElement($e,De({design:a("Design",e.designDefault),size:a("Size","normal"),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),useSocialColors:a("UseSocialColors"),newTab:a("NewTab"),onChangeNewTab:function(e){return t(Le({},n("NewTab"),e))},isSelected:e.isSelected},r,e))};Fe.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(Fe.Content=function(e){var t=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a},a=Object.keys(be).reduce(function(e,t){return ze({},e,Le({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement($e.Content,De({design:n("Design",e.designDefault),size:n("Size","normal"),newTab:n("NewTab"),hoverEffect:n("HoverEffect"),useSocialColors:n("UseSocialColors"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow")},a,e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(n,!0).forEach(function(t){Ve(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(){return(Ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qe=function(e){return wp.element.createElement(i.Fragment,null,Object.keys(be).map(function(t){var n=p()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return(!0===e["show".concat(Object(b.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(b.upperFirst)(t))])&&wp.element.createElement(P,Ge({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:be[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(b.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},We=Object.keys(be).reduce(function(e,t){var n;return He({},e,(Ve(n={},"".concat(t,"Url"),""),Ve(n,"show".concat(Object(b.upperFirst)(t)),null),n))},{});qe.defaultProps=He({useSocialColors:!0},We),qe.Content=function(e){return wp.element.createElement(i.Fragment,null,Object.keys(be).map(function(t){var n=p()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return!1!==e["show".concat(Object(b.upperFirst)(t))]&&wp.element.createElement(P.Content,Ge({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:be[t].icon,url:e["".concat(t,"Url")]||"#"},e))}))};var Ke=Object.keys(be).reduce(function(e,t){var n;return He({},e,(Ve(n={},"".concat(t,"Url"),""),Ve(n,"show".concat(Object(b.upperFirst)(t)),null),n))},{});qe.Content.defaultProps=He({useSocialColors:!0},Ke);var $e=qe;function Ye(){return(Ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qe=q.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),Xe=q.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),Je=q.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),Ze=function(e){return q.a.createElement("svg",Ye({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),Qe,Xe,Je)};function et(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?et(n,!0).forEach(function(t){nt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):et(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var at=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,r=e.className,i=e.allowedTypes,o=e.render,s=e.hasRemove,u=e.style,c=p()([r,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),f=tt({},u,{backgroundImage:n&&!o?"url(".concat(n,")"):void 0});return wp.element.createElement(m.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,r=t.height,i=e.imageSize||"full";t.sizes&&t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,r=t.sizes[i].height),e.onChange(tt({},t,{url:n,width:a,height:r}))},allowedTypes:i,value:t,render:function(e){return n&&o?wp.element.createElement("div",{className:c,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:f,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&s&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(l.Dashicon,{icon:"no"})),o):wp.element.createElement("div",{className:c,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:f,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&s&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(l.Dashicon,{icon:"no"})),!n&&wp.element.createElement(Ze,null))}})};at.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};function rt(){return(rt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var it=function(e){return wp.element.createElement(l.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(m.URLInput,rt({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(b.omit)(e,["label","help"]))))};it.defaultProps={label:Object(s.__)("URL",o.i18n),help:null,value:"",onChange:function(){}};var lt=it;function ot(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function st(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var ct=Object(i.createElement)(function(e){var t=e.className,n=e.isPressed,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ut(Object(n),!0).forEach(function(t){ot(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},st(e,["className","isPressed"]),{className:p()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":"true",focusable:"false"});return Object(i.createElement)("svg",a)},{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(i.createElement)(function(e){return Object(i.createElement)("path",e)},{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"})),ft=[{id:"opensInNewTab",title:Object(s.__)("Opens in new tab",o.i18n)},{id:"noFollowLink",title:Object(s.__)("Nofollow link",o.i18n)}],pt=function(e){var t=e.value,n={url:t,opensInNewTab:e.newTab,noFollowLink:e.noFollow};if(!e.onChange&&!e.onChangeNewTab&&!e.onChangeNoFollow)return null;var a=p()(["ugb-url-input-popover"]),r=ft.filter(function(t){switch(t.id){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;default:return!0}});return wp.element.createElement(l.Popover,{className:a,focusOnMount:!1,position:e.position},wp.element.createElement(m.__experimentalLinkControl,{value:n,settings:r,showSuggestions:!e.disableSuggestions,onChange:function(t){var a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow},r=Object(b.omitBy)(Object(b.omit)(t,"id","title","type"),function(e,t){return n[t]===e});Object(b.keys)(r).map(function(e){return a[e](r[e])})}},wp.element.createElement("form",null,wp.element.createElement("input",{placeholder:Object(s.__)("Search or type url",o.i18n),value:t}),wp.element.createElement(l.Button,{icon:ct,type:"submit"}))))};pt.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var dt=pt,gt=n(9);function mt(){return(mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ht(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vt=Object(s.__)("(current %s: %s)",o.i18n),yt=Object(gt.compose)([m.withColorContext,Object(gt.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.disableCustomColors,n=e.label,a=e.onChange,r=e.value,u=e.className,c=void 0===u?"":u,f=e.colors.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(n,!0).forEach(function(t){ht(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{name:e.name||e.fallback||e.color||Object(s.__)("Untitled Color",o.i18n)})}),d=Object(m.getColorObjectByColorValue)(f,r),g=d&&d.name,b=Object(s.sprintf)(vt,n.toLowerCase(),g||r),h=wp.element.createElement(i.Fragment,null,n,r&&wp.element.createElement(l.ColorIndicator,{colorValue:r,"aria-label":b}));return wp.element.createElement(l.BaseControl,{className:p()([c,"editor-color-palette-control"]),id:"editor-color-palette-control",label:h},wp.element.createElement(l.ColorPalette,mt({className:"editor-color-palette-control__color-palette",value:r,onChange:function(e){var t=Object(m.getColorObjectByColorValue)(f,e);a(Object(R.applyFilters)("stackable.color-palette-control.change",e,t))}},{colors:f,disableCustomColors:t})))}),wt=n(8),kt=n.n(wt);function Ot(e){return(Ot="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 Ct(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function St(e,t){return!t||"object"!==Ot(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function _t(e){return(_t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xt(e,t){return(xt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(gt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),St(this,_t(n).apply(this,arguments))}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xt(e,t)}(n,i["Component"]),a=n,(r=[{key:"componentDidMount",value:function(){A(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&Ct(a.prototype,r),l&&Ct(a,l),n}(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(t,"defaultProps",{attributes:{}}),n},"withGoogleFont");function Et(e){return(Et="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 jt(){return(jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Pt(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Tt(e){return(Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Bt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mt(e,t){return(Mt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(gt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=Tt(n).apply(this,arguments))||"object"!==Et(a)&&"function"!=typeof a?Bt(t):a).setAttributes=e.setAttributes.bind(Bt(e)),e}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mt(e,t)}(n,i["Component"]),a=n,(r=[{key:"componentDidUpdate",value:function(e){Object(b.isEqual)(e.attributes,this.props.attributes)||Object(R.doAction)("stackable.setAttributes.after")}},{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(R.applyFilters)("stackable.setAttributes",e,this.props);n=Object(R.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,jt({},this.props,{setAttributes:this.setAttributes}))}}])&&Pt(a.prototype,r),l&&Pt(a,l),n}(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(t,"propTypes",{setAttributes:kt.a.func.isRequired}),n},"withSetAttributeHook");function Nt(e){return(Nt="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 It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function At(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 Dt(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Rt(e,t){return!t||"object"!==Nt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function zt(e){return(zt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Lt(e,t){return(Lt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(gt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),Rt(this,zt(n).apply(this,arguments))}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lt(e,t)}(n,i["Component"]),a=n,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,r="ugb-".concat(a.substring(0,7));void 0!==t.uniqueClass&&t.uniqueClass===r||n({uniqueClass:r})}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&Dt(a.prototype,r),l&&Dt(a,l),n}(),Ft(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(R.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(At(e),["uniqueClass"])}),Object(R.addFilter)("stackable.block.attributes","stackable/unique-class",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(n,!0).forEach(function(t){Ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var Ut=function(e){return document.querySelector(".ugb-panel--".concat(e))},Ht=function(e){var t=e.closest(".ugb-inspector-panel-controls");if(!t)return null;var n=t.getAttribute("class").match(/ugb-panel-(\w+)/);if(n){var a=n[1];return document.querySelector(".ugb-tab--".concat(a))}return null},Vt=function(e){e&&(e.classList.contains("is-active")||e.click())},Gt=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}qt(e)}},qt=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar"),a=e.getBoundingClientRect().top+2;if(a-=t?t.getBoundingClientRect().height:0,a-=n.getBoundingClientRect().top,!_e()){var r=document.querySelector(".edit-post-sidebar-header");a-=r?r.getBoundingClientRect().height-1:0}document.querySelector(".edit-post-sidebar").scrollTop+=a};function Wt(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 Kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function $t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yt=!1,Qt={".ugb-top-separator":"top-separator",".ugb-bottom-separator":"bottom-separator",".ugb-inner-block":"column-background",".ugb-block-title":"block-title",".ugb-block-description":"block-description",".ugb--has-block-background":"block-background"},Xt={},Jt=[".block-editor-rich-text__editable",".editor-rich-text__editable","svg","img","figure",".ugb-button",'[role="button"]',".ugb-block-content > * > *",".ugb-block-content > *",".ugb-content-wrapper",".ugb-top-separator",".ugb-bottom-separator",".ugb-inner-block",".ugb-main-block"],Zt=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kt(n,!0).forEach(function(t){$t(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Xt[e],{},Qt)};Object(r.a)(function(){if(!Yt&&(Yt=!0,Element.prototype.matches)){var e=Object(R.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){var n,a,r=(n=t.target,(a=n.closest("[data-type]"))&&a.getAttribute("data-type").match(/^ugb\//i)?a.getAttribute("data-type").replace(/^ugb\//i,""):"");if(r){var i=Zt(r);if(i){var l=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(l=e[n],!0)}),[].concat(Wt(l),Jt).some(function(e){var n=t.target.closest(e);return!!n&&Object.keys(i).some(function(e){return!!n.matches(e)&&function(e){var t=Ut(e);if(t){var n=Ht(t);Vt(n),Gt(t)}return t}(i[e])})})}}})}});function en(e){return(en="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 tn(){return(tn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function nn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function an(e,t){return!t||"object"!==en(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function rn(e){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ln(e,t){return(ln=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function on(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sn=function(e){return Object(gt.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),an(this,rn(a).apply(this,arguments))}var r,l,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ln(e,t)}(a,i["Component"]),r=a,(l=[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=p()([this.props.className],on({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,tn({},this.props,{className:a}))}}])&&nn(r.prototype,l),o&&nn(r,o),a}(),on(n,"defaultProps",{className:""}),a},"withHelpTip")};function un(){return(un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cn=function(e){return wp.element.createElement(l.SelectControl,un({},e,{options:[{value:"",label:Object(s.__)("None",o.i18n)},{value:"normal",label:Object(s.__)("Normal",o.i18n)},{value:"multiply",label:Object(s.__)("Multiply",o.i18n)},{value:"screen",label:Object(s.__)("Screen",o.i18n)},{value:"overlay",label:Object(s.__)("Overlay",o.i18n)},{value:"darken",label:Object(s.__)("Darken",o.i18n)},{value:"lighten",label:Object(s.__)("Lighten",o.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",o.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",o.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",o.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",o.i18n)},{value:"difference",label:Object(s.__)("Difference",o.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",o.i18n)},{value:"hue",label:Object(s.__)("Hue",o.i18n)},{value:"saturation",label:Object(s.__)("Saturation",o.i18n)},{value:"color",label:Object(s.__)("Color",o.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",o.i18n)},{value:"initial",label:Object(s.__)("Initial",o.i18n)},{value:"inherit",label:Object(s.__)("Inherit",o.i18n)},{value:"unset",label:Object(s.__)("Unset",o.i18n)}]}))};cn.defaultProps={label:Object(s.__)("Mix Blend Mode",o.i18n),help:Object(s.__)("Not supported in all browsers.",o.i18n)};var fn=Object(gt.compose)(sn("background-blend-mode"))(cn);function pn(){return(pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dn=q.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),gn=q.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),mn=q.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),bn=function(e){return q.a.createElement("svg",pn({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),dn,gn,mn)},hn=function(e){var t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",n=function(){e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(l.BaseControl,{help:e.help},wp.element.createElement(ra,{label:e.label,screens:e.screens}),wp.element.createElement(m.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(i.Fragment,null,e.imageURL&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:n},wp.element.createElement(l.Dashicon,{icon:"no"})),"video"===t&&wp.element.createElement("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()}}),"image"===t&&wp.element.createElement("img",{className:"ugb-image-preview",src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},alt:Object(s.__)("preview",o.i18n)})),!e.imageURL&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},role:"button",tabIndex:0},wp.element.createElement(bn,null)))}})))};hn.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var vn=hn;function yn(){return(yn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wn=function(e){return wp.element.createElement(l.TextareaControl,yn({},e,{help:wp.element.createElement(i.Fragment,null,wp.element.createElement(l.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",o.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",o.i18n))}))};wn.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",o.i18n)};var kn=wn,On=n(35),Cn=n.n(On),Sn=n(36),_n=n.n(Sn),xn=n(37),En=n.n(xn),jn=n(38),Pn=n.n(jn);function Tn(){return(Tn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Bn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Mn=function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(Wl,Tn({},e,{className:p()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[].concat(Bn(e.hasDefault?[{label:Object(s.__)("Default",o.i18n),value:"",image:Cn.a}]:[]),[{label:Object(s.__)("Square",o.i18n),value:"square",image:_n.a},{label:Object(s.__)("Circle",o.i18n),value:"circle",image:En.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",o.i18n),1),value:"blob1",image:Pn.a}],Bn(Object(R.applyFilters)("stackable.image.control.shapes",[])))})),o.showProNotice&&wp.element.createElement(zu,{type:"image"}))};Mn.defaultProps={className:"",label:Object(s.__)("Shape",o.i18n),selected:"",hasDefault:!0};var Nn=Mn,In=function(e){var t=e.imageData?re(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(i.Fragment,null,e.onChangeShape&&wp.element.createElement(Nn,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",o.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",o.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",o.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};In.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var An=Object(gt.compose)([Object(ne.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(In);function Dn(){return(Dn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rn=function(e){var t,n=(t=e.imageSizes,Object(b.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(b.isEmpty)(n)?null:wp.element.createElement(l.SelectControl,Dn({},e,{value:e.value||"large",options:n,className:p()(e.className,["ugb--help-tip-image-size"])}))};Rn.defaultProps={className:"",label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var zn=Object(gt.compose)([Object(ne.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Rn);function Ln(){return(Ln=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fn=q.a.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7v2zM4 6v8h16V6H4z"}),Un=function(e){return q.a.createElement("svg",Ln({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Fn)};function Hn(){return(Hn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vn=q.a.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v15h8V4H8z"}),Gn=function(e){return q.a.createElement("svg",Hn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Vn)};function qn(){return(qn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wn=q.a.createElement("path",{d:"M6 4v15h12V4H6zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z"}),Kn=function(e){return q.a.createElement("svg",qn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Wn)};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 Yn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Qn(e,t){return!t||"object"!==$n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Xn(e){return(Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Jn(e,t){return(Jn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Zn={desktop:wp.element.createElement(Un,null),tablet:wp.element.createElement(Kn,null),mobile:wp.element.createElement(Gn,null)},ea={desktop:Object(s.__)("Desktop",o.i18n),tablet:Object(s.__)("Tablet",o.i18n),mobile:Object(s.__)("Mobile",o.i18n)},ta=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Qn(this,Xn(t).apply(this,arguments))).state={screen:Me(),isScreenPickerOpen:Ie()},e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jn(e,t)}(t,i["Component"]),n=t,(a=[{key:"onChangeScreen",value:function(e){var t=this.props.screens[0];this.state.isScreenPickerOpen||this.state.screen!==t||e!==t?this.state.isScreenPickerOpen&&e===t&&(this.setState({isScreenPickerOpen:!1}),"undefined"==typeof instanceIdOwner&&(Ae(!1),Object(R.doAction)("stackable.responsive-toggle.screen.close"))):(this.setState({isScreenPickerOpen:!0}),"undefined"==typeof instanceIdOwner&&(Ae(!0),Object(R.doAction)("stackable.responsive-toggle.screen.open"))),this.props.onChangeScreen(e),this.setState({screen:e}),function(e){Be=e}(e),Object(R.doAction)("stackable.responsive-toggle.screen.change",e)}},{key:"onOtherScreenChange",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e})}},{key:"onOtherScreenOpen",value:function(){this.setState({isScreenPickerOpen:!0})}},{key:"onOtherScreenClose",value:function(){this.setState({isScreenPickerOpen:!1})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(R.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(R.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(R.addAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e),this.onOtherScreenClose.bind(this))}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(R.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(R.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(R.removeAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e))}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"ugb-base-control-multi-label__responsive"},this.props.screens.length>1&&this.props.screens.map(function(t,n){return n>0&&!e.state.isScreenPickerOpen?null:wp.element.createElement(l.Button,{key:n,className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:Zn[t],label:ea[t]})}))}}])&&Yn(n.prototype,a),r&&Yn(n,r),t}();ta.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var na=Object(gt.withInstanceId)(ta),aa=function(e){return wp.element.createElement("div",{className:"ugb-base-control-multi-label"},wp.element.createElement("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),wp.element.createElement(na,{screens:e.screens,onChangeScreen:e.onChangeScreen}),wp.element.createElement("div",{className:"ugb-base-control-multi-label__units"},e.units.length>1&&e.units.map(function(t,n){return wp.element.createElement("button",{key:n,className:e.unit===t?"is-active":"",onClick:function(){return e.onChangeUnit(t)}},t)}),e.afterButton))};aa.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var ra=aa;function ia(e){return(ia="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 la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function oa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var sa=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?la(n,!0).forEach(function(t){oa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):la(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(b.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,t.placeholder="20";var a=e.placeholder;if(Array.isArray(a)||"object"!==ia(a))Array.isArray(a)&&"desktop"===e.screen?(t.placeholder=a[n]||"",t.initialPosition=a[n]||"",Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||"")):e.screen&&"desktop"!==e.screen&&(t.placeholder="",t.initialPosition="");else{var r=Me()||"desktop";a=void 0!==a[r]?a[r]:a[Object.keys(a)[0]],Array.isArray(a)?(t.placeholder=a[n]||"",t.initialPosition=a[n]||""):(t.placeholder=a||"",t.initialPosition=a||""),Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||""),t.initialPosition=function(e){return"string"==typeof e&&""!==e&&e.match(/^[\d.]+$/)?e.includes(".")?parseFloat(e):parseInt(e,10):e}(t.initialPosition)}return t.value=""===e.value?t.initialPosition:e.value,wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-range-control",e.className)},wp.element.createElement(ra,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.RangeControl,t))};sa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var ua=sa,ca=function(e){return wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-select-control",e.className)},wp.element.createElement(ra,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.SelectControl,Object(b.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};ca.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var fa=ca,pa=function(e){return wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-text-control",e.className)},wp.element.createElement(ra,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.TextControl,Object(b.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};pa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var da=n(39),ga=n.n(da);function ma(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ba(e){return(ba=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ha(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function va(e,t){return(va=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ya(e){return(ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var wa=function(e){return!(!e.length||"object"!==ya(e[0].options))},ka=function(e,t){if(!t.length)return e;if(!wa(t)){var n=t.filter(function(t){return t.value===e});return n.length?n[0].label:e}var a=t.map(function(t){return{title:t.title,options:t.options.filter(function(t){return t.value===e})}}).filter(function(e){return e.options.length>0});return a.length?a[0].options[0].label:e},Oa=function(e){return e.value},Ca=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},Sa=function(e){return e.options},_a=function(){return!0},xa=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ba(t).apply(this,arguments))||"object"!==ya(a)&&"function"!=typeof a?ha(n):a).state={value:e.props.value,label:e.props.value?ka(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(ha(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(ha(e)),e.onChange=e.onChange.bind(ha(e)),e.onFocus=e.onFocus.bind(ha(e)),e.autosuggestDiv=Object(i.createRef)(),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&va(e,t)}(t,i["Component"]),n=t,(a=[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:ka(n,this.props.options)})}},{key:"onFocus",value:function(){var e=this;this.props.highlightValueOnFocus&&setTimeout(function(){var t=e.autosuggestDiv.current.querySelector('[data-value="'.concat(e.state.value,'"]'));t&&t.scrollIntoView()},0)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=e.value,n=e.reason;if("input-focused"!==n&&"suggestion-selected"!==n){var a=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return wa(t)?t.map(function(e){return{title:e.title,options:e.options.filter(function(e){return a.test(e.label)||a.test(e.value)})}}).filter(function(e){return e.options.length>0}):t.filter(function(e){return a.test(e.label)||a.test(e.value)})}(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this,t=this.state,n=t.label,a=t.suggestions,r={placeholder:"",value:n,onChange:this.onChange,onFocus:this.onFocus,type:"search"};return wp.element.createElement(l.BaseControl,{help:this.props.help,className:p()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(ra,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(ga.a,{multiSection:wa(this.props.options),suggestions:a,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:Oa,renderSuggestion:function(t){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":t.value},e.props.renderOption?e.props.renderOption(t):t.label)},renderSectionTitle:Ca,getSectionSuggestions:Sa,shouldRenderSuggestions:_a,inputProps:r}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}])&&ma(n.prototype,a),r&&ma(n,r),t}();xa.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",o.i18n),renderOption:null,highlightValueOnFocus:!1};var Ea=xa;function ja(){return(ja=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pa=q.a.createElement("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}),Ta=function(e){return q.a.createElement("svg",ja({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Pa)};function Ba(){return(Ba=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ma=q.a.createElement("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}),Na=function(e){return q.a.createElement("svg",Ba({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ma)};function Ia(){return(Ia=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Aa=q.a.createElement("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}),Da=function(e){return q.a.createElement("svg",Ia({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Aa)};function Ra(){return(Ra=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var za=q.a.createElement("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}),La=function(e){return q.a.createElement("svg",Ra({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),za)};function Fa(){return(Fa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ua=q.a.createElement("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}),Ha=function(e){return q.a.createElement("svg",Fa({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ua)};function Va(){return(Va=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ga=q.a.createElement("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}),qa=function(e){return q.a.createElement("svg",Va({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ga)};function Wa(){return(Wa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ka=q.a.createElement("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}),$a=function(e){return q.a.createElement("svg",Wa({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ka)};function Ya(){return(Ya=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ja=[{value:"flex-start",title:Object(s.__)("Align Left",o.i18n),icon:wp.element.createElement(Da,null)},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:wp.element.createElement(Na,null)},{value:"flex-end",title:Object(s.__)("Align Right",o.i18n),icon:wp.element.createElement(La,null)}],Za=[{value:"flex-start",title:Object(s.__)("Align Top",o.i18n),icon:wp.element.createElement(qa,null)},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:wp.element.createElement($a,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",o.i18n),icon:wp.element.createElement(Ta,null)},{value:"stretch",title:Object(s.__)("Stretch",o.i18n),icon:wp.element.createElement(Ha,null)}],er={"flex-horizontal":Ja,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",o.i18n),icon:wp.element.createElement(qa,null)},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:wp.element.createElement($a,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",o.i18n),icon:wp.element.createElement(Ta,null)}],"flex-vertical-with-stretch":Za},tr=function(e){var t="string"==typeof e.controls?er[e.controls]:e.controls,n=p()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(ra,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.ButtonGroup,{children:t.map(function(t,n){var a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qa(n,!0).forEach(function(t){Xa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isPrimary:e.value===t.value,isSmall:e.isSmall,children:t.icon?null:t.custom||wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)});return wp.element.createElement(l.Button,Ya({key:n},a))}),className:n}))};tr.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0,isSmall:!1};var nr=tr;function ar(){return(ar=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rr=function(e){var t=e.placeholder,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?1:Math.round(parseFloat(e)/parseFloat(t)*10)/10};return"string"==typeof t&&(t=[t,n(t)]),wp.element.createElement(ua,ar({},e,{placeholder:t,onChangeUnit:function(t){""!==e.value&&("em"===t||"rem"===t?e.onChange(n(e.value)):"px"===t&&e.onChange(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?21:Math.round(parseFloat(e)*t)}(e.value))),e.onChangeUnit(t)}}))};rr.defaultProps={label:Object(s.__)("Font Size",o.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};var ir=rr;function lr(){return(lr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var or=n(40).map(function(e){return{label:e.family,value:e.family}}),sr=function(e){return wp.element.createElement(Ea,lr({options:[{title:Object(s.__)("System Fonts",o.i18n),options:[{label:Object(s.__)("Sans-Serif",o.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",o.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",o.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",o.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",o.i18n),options:or}],highlightValueOnFocus:!0},e,{onChange:function(t){or.some(function(e){return e.value===t&&(N(t),!0)}),e.onChange(t)}}))};sr.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",o.i18n),value:""};var ur=sr;function cr(){return(cr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){pr(e,t,n[t])})}return e}function gr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function br(e,t,n){return t&&mr(e.prototype,t),n&&mr(e,n),e}function hr(e){return(hr="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 vr(e){return(vr="function"==typeof Symbol&&"symbol"===hr(Symbol.iterator)?function(e){return hr(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":hr(e)})(e)}function yr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wr(e,t){return!t||"object"!==vr(t)&&"function"!=typeof t?yr(e):t}function kr(e){return(kr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Or(e,t){return(Or=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Cr(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Or(e,t)}var Sr=n(23),_r=n(15),xr=n.n(_r);function Er(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var jr=function(){function e(){gr(this,e),pr(this,"refs",{})}return br(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find(function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(Pr)}}]),e}();function Pr(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function Tr(e,t){return Object.keys(e).reduce(function(n,a){return-1===t.indexOf(a)&&(n[a]=e[a]),n},{})}var Br={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},Mr=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function Nr(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}function Ir(e,t){e.style["".concat(Mr,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function Ar(e,t){e.style["".concat(Mr,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function Dr(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function Rr(e,t,n){return Math.max(e,Math.min(n,t))}function zr(e){return"px"===e.substr(-2)?parseFloat(e):0}function Lr(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function Fr(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function Ur(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function Hr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var a={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?a:Hr(e.parentNode,t,a)}}function Vr(e){var t=e.lockOffset,n=e.width,a=e.height,r=t,i=t,l="px";if("string"==typeof t){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);xr()(null!==o,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),r=parseFloat(t),i=parseFloat(t),l=o[1]}return xr()(isFinite(r)&&isFinite(i),"lockOffset value should be a finite. Given %s",t),"%"===l&&(r=r*n/100,i=i*a/100),{x:r,y:i}}function Gr(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find(function(e){return n.test(t[e])})}(e)?e:Gr(e.parentNode):null}var qr=27,Wr=32,Kr=37,$r=38,Yr=39,Qr=40,Xr={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Jr(e){return null!=e.sortableHandle}var Zr=function(){function e(t,n){gr(this,e),this.container=t,this.onScrollCallback=n}return br(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,a=e.minTranslate,r=e.maxTranslate,i=e.width,l=e.height,o={x:0,y:0},s={x:1,y:1},u=10,c=10,f=this.container,p=f.scrollTop,d=f.scrollLeft,g=f.scrollHeight,m=f.scrollWidth,b=0===p,h=g-p-f.clientHeight==0,v=0===d,y=m-d-f.clientWidth==0;n.y>=r.y-l/2&&!h?(o.y=1,s.y=c*Math.abs((r.y-l/2-n.y)/l)):n.x>=r.x-i/2&&!y?(o.x=1,s.x=u*Math.abs((r.x-i/2-n.x)/i)):n.y<=a.y+l/2&&!b?(o.y=-1,s.y=c*Math.abs((n.y-l/2-a.y)/l)):n.x<=a.x+i/2&&!v&&(o.x=-1,s.x=u*Math.abs((n.x-i/2-a.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===o.x&&0===o.y||(this.interval=setInterval(function(){t.isAutoScrolling=!0;var e={left:s.x*o.x,top:s.y*o.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)},5))}}]),e}();var ei={axis:kt.a.oneOf(["x","y","xy"]),contentWindow:kt.a.any,disableAutoscroll:kt.a.bool,distance:kt.a.number,getContainer:kt.a.func,getHelperDimensions:kt.a.func,helperClass:kt.a.string,helperContainer:kt.a.oneOfType([kt.a.func,"undefined"==typeof HTMLElement?kt.a.any:kt.a.instanceOf(HTMLElement)]),hideSortableGhost:kt.a.bool,keyboardSortingTransitionDuration:kt.a.number,lockAxis:kt.a.string,lockOffset:kt.a.oneOfType([kt.a.number,kt.a.string,kt.a.arrayOf(kt.a.oneOfType([kt.a.number,kt.a.string]))]),lockToContainerEdges:kt.a.bool,onSortEnd:kt.a.func,onSortMove:kt.a.func,onSortOver:kt.a.func,onSortStart:kt.a.func,pressDelay:kt.a.number,pressThreshold:kt.a.number,keyCodes:kt.a.shape({lift:kt.a.arrayOf(kt.a.number),drop:kt.a.arrayOf(kt.a.number),cancel:kt.a.arrayOf(kt.a.number),up:kt.a.arrayOf(kt.a.number),down:kt.a.arrayOf(kt.a.number)}),shouldCancelStart:kt.a.func,transitionDuration:kt.a.number,updateBeforeSortStart:kt.a.func,useDragHandle:kt.a.bool,useWindowAsScrollContainer:kt.a.bool},ti={lift:[Wr],drop:[Wr],cancel:[qr],up:[$r,Kr],down:[Qr,Yr]},ni={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ti,shouldCancelStart:function(e){return-1!==[Xr.Input,Xr.Textarea,Xr.Select,Xr.Option,Xr.Button].indexOf(e.target.tagName)||!!Dr(e.target,function(e){return"true"===e.contentEditable})},transitionDuration:300,useWindowAsScrollContainer:!1},ai=Object.keys(ei);var ri={index:kt.a.number.isRequired,collection:kt.a.oneOfType([kt.a.number,kt.a.string]),disabled:kt.a.bool},ii=Object.keys(ri);function li(){return(li=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function oi(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var si=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){var t;return gr(this,n),pr(yr(yr(t=wr(this,kr(n).call(this,e)))),"state",{}),pr(yr(yr(t)),"handleStart",function(e){var n=t.props,a=n.distance,r=n.shouldCancelStart;if(2!==e.button&&!r(e)){t.touched=!0,t.position=Ur(e);var i=Dr(e.target,function(e){return null!=e.sortableInfo});if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var l=t.props.useDragHandle,o=i.sortableInfo,s=o.index,u=o.collection;if(o.disabled)return;if(l&&!Dr(e.target,Jr))return;t.manager.active={collection:u,index:s},function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}(e)||e.target.tagName!==Xr.Anchor||e.preventDefault(),a||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}}}),pr(yr(yr(t)),"nodeIsChild",function(e){return e.sortableInfo.manager===t.manager}),pr(yr(yr(t)),"handleMove",function(e){var n=t.props,a=n.distance,r=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=Ur(e),l={x:t.position.x-i.x,y:t.position.y-i.y},o=Math.abs(l.x)+Math.abs(l.y);t.delta=l,a||r&&!(o>=r)?a&&o>=a&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}}),pr(yr(yr(t)),"handleEnd",function(){t.touched=!1,t.cancel()}),pr(yr(yr(t)),"cancel",function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)}),pr(yr(yr(t)),"handlePress",function(e){try{var n=t.manager.getActive(),a=function(){if(n){var a=function(){var n,a,r,u,m,b,h=p.sortableInfo.index,v=(n=p,{bottom:zr((a=window.getComputedStyle(n)).marginBottom),left:zr(a.marginLeft),right:zr(a.marginRight),top:zr(a.marginTop)}),y=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:zr(t.gridColumnGap),y:zr(t.gridRowGap)}:{x:0,y:0}}(t.container),w=t.scrollContainer.getBoundingClientRect(),k=l({index:h,node:p,collection:d});if(t.node=p,t.margin=v,t.gridGap=y,t.width=k.width,t.height=k.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=w,t.index=h,t.newIndex=h,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=Hr(p,t.container),t.initialOffset=Ur(g?dr({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild((u="input, textarea, select, canvas, [contenteditable]",m=(r=p).querySelectorAll(u),Er((b=r.cloneNode(!0)).querySelectorAll(u)).forEach(function(e,t){"file"!==e.type&&(e.value=m[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===Xr.Canvas&&m[t].width>0&&m[t].height>0&&e.getContext("2d").drawImage(m[t],0,0)}),b)),Nr(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-v.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-v.top,"px"),width:"".concat(t.width,"px")}),g&&t.helper.focus(),s&&(t.sortableGhost=p,Nr(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},g){var O=f?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,C=O.top,S=O.left,_=O.width,x=C+O.height,E=S+_;t.axis.x&&(t.minTranslate.x=S-t.boundingClientRect.left,t.maxTranslate.x=E-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=C-t.boundingClientRect.top,t.maxTranslate.y=x-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(f?0:w.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(f?t.contentWindow.innerWidth:w.left+w.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(f?0:w.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(f?t.contentWindow.innerHeight:w.top+w.height)-t.boundingClientRect.top-t.height/2);o&&o.split(" ").forEach(function(e){return t.helper.classList.add(e)}),t.listenerNode=e.touches?p:t.contentWindow,g?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Br.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),Br.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)})),t.setState({sorting:!0,sortingIndex:h}),c&&c({node:p,index:h,collection:d,isKeySorting:g,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),g&&t.keyMove(0)},r=t.props,i=r.axis,l=r.getHelperDimensions,o=r.helperClass,s=r.hideSortableGhost,u=r.updateBeforeSortStart,c=r.onSortStart,f=r.useWindowAsScrollContainer,p=n.node,d=n.collection,g=t.manager.isKeySorting,m=function(){if("function"==typeof u){t._awaitingUpdateBeforeSortStart=!0;var n=function(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}(function(){var t=p.sortableInfo.index;return Promise.resolve(u({collection:d,index:t,node:p,isKeySorting:g},e)).then(function(){})},function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n});if(n&&n.then)return n.then(function(){})}}();return m&&m.then?m.then(a):a()}}();return Promise.resolve(a&&a.then?a.then(function(){}):void 0)}catch(e){return Promise.reject(e)}}),pr(yr(yr(t)),"handleSortMove",function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)}),pr(yr(yr(t)),"handleSortEnd",function(e){var n=t.props,a=n.hideSortableGhost,r=n.onSortEnd,i=t.manager,l=i.active.collection,o=i.isKeySorting,s=t.manager.getOrderedRefs();t.listenerNode&&(o?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(Br.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),Br.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}))),t.helper.parentNode.removeChild(t.helper),a&&t.sortableGhost&&Nr(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=s.length;u<c;u++){var f=s[u],p=f.node;f.edgeOffset=null,f.boundingClientRect=null,Ir(p,null),Ar(p,null),f.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof r&&r({collection:l,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:o,nodes:s},e),t.touched=!1}),pr(yr(yr(t)),"autoscroll",function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var a=dr({},t.translate),r=0,i=0;return t.axis.x&&(a.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),r=t.translate.x-a.x),t.axis.y&&(a.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),i=t.translate.y-a.y),t.translate=a,Ir(t.helper,t.translate),t.scrollContainer.scrollLeft+=r,void(t.scrollContainer.scrollTop+=i)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}}),pr(yr(yr(t)),"onAutoScroll",function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()}),pr(yr(yr(t)),"handleKeyDown",function(e){var n=e.keyCode,a=t.props,r=a.shouldCancelStart,i=a.keyCodes,l=dr({},ti,void 0===i?{}:i);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||l.lift.includes(n)&&!r(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),l.lift.includes(n)&&!t.manager.active?t.keyLift(e):l.drop.includes(n)&&t.manager.active?t.keyDrop(e):l.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):l.up.includes(n)?t.keyMove(-1):l.down.includes(n)&&t.keyMove(1))}),pr(yr(yr(t)),"keyLift",function(e){var n=e.target,a=Dr(n,function(e){return null!=e.sortableInfo}).sortableInfo,r=a.index,i=a.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:r,collection:i},t.handlePress(e)}),pr(yr(yr(t)),"keyMove",function(e){var n=t.manager.getOrderedRefs(),a=n[n.length-1].node.sortableInfo.index,r=t.newIndex+e,i=t.newIndex;if(!(r<0||r>a)){t.prevIndex=i,t.newIndex=r;var l=function(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}(t.newIndex,t.prevIndex,t.index),o=n.find(function(e){return e.node.sortableInfo.index===l}),s=o.node,u=t.containerScrollDelta,c=o.boundingClientRect||Fr(s,u),f=o.translate||{x:0,y:0},p=c.top+f.y-u.top,d=c.left+f.x-u.left,g=i<r,m=g&&t.axis.x?s.offsetWidth-t.width:0,b=g&&t.axis.y?s.offsetHeight-t.height:0;t.handleSortMove({pageX:d+m,pageY:p+b,ignoreTransition:0===e})}}),pr(yr(yr(t)),"keyDrop",function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()}),pr(yr(yr(t)),"handleKeyEnd",function(e){t.manager.active&&t.keyDrop(e)}),pr(yr(yr(t)),"isValidSortingTarget",function(e){var n=t.props.useDragHandle,a=e.target,r=Dr(a,function(e){return null!=e.sortableInfo});return r&&r.sortableInfo&&!r.sortableInfo.disabled&&(n?Jr(a):a.sortableInfo)}),function(e){xr()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}(e),t.manager=new jr,t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return Cr(n,G["Component"]),br(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then(function(n){e.container=n,e.document=e.container.ownerDocument||document;var a=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof a?a():a,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:Gr(e.container)||e.container,e.autoScroller=new Zr(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach(function(t){return Br[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})}),e.container.addEventListener("keydown",e.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(t){return Br[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,a=t.lockOffset,r=t.lockToContainerEdges,i=t.transitionDuration,l=t.keyboardSortingTransitionDuration,o=void 0===l?i:l,s=this.manager.isKeySorting,u=e.ignoreTransition,c=Ur(e),f={x:c.x-this.initialOffset.x,y:c.y-this.initialOffset.y};if(f.y-=window.pageYOffset-this.initialWindowScroll.top,f.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=f,r){var p=function(e){var t=e.height,n=e.width,a=e.lockOffset,r=Array.isArray(a)?a:[a,a];xr()(2===r.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",a);var i=fr(r,2),l=i[0],o=i[1];return[Vr({height:t,lockOffset:l,width:n}),Vr({height:t,lockOffset:o,width:n})]}({height:this.height,lockOffset:a,width:this.width}),d=fr(p,2),g=d[0],m=d[1],b={x:this.width/2-g.x,y:this.height/2-g.y},h={x:this.width/2-m.x,y:this.height/2-m.y};f.x=Rr(this.minTranslate.x+b.x,this.maxTranslate.x-h.x,f.x),f.y=Rr(this.minTranslate.y+b.y,this.maxTranslate.y-h.y,f.y)}"x"===n?f.y=0:"y"===n&&(f.x=0),s&&o&&!u&&Ar(this.helper,o),Ir(this.helper,f)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,a=e.onSortOver,r=this.containerScrollDelta,i=this.windowScrollDelta,l=this.manager.getOrderedRefs(),o=this.offsetEdge.left+this.translate.x+r.left,s=this.offsetEdge.top+this.translate.y+r.top,u=this.manager.isKeySorting,c=this.newIndex;this.newIndex=null;for(var f=0,p=l.length;f<p;f++){var d=l[f].node,g=d.sortableInfo.index,m=d.offsetWidth,b=d.offsetHeight,h={height:this.height>b?b/2:this.height/2,width:this.width>m?m/2:this.width/2},v=u&&g>this.index&&g<=c,y=u&&g<this.index&&g>=c,w={x:0,y:0},k=l[f].edgeOffset;k||(k=Hr(d,this.container),l[f].edgeOffset=k,u&&(l[f].boundingClientRect=Fr(d,r)));var O=f<l.length-1&&l[f+1],C=f>0&&l[f-1];O&&!O.edgeOffset&&(O.edgeOffset=Hr(O.node,this.container),u&&(O.boundingClientRect=Fr(O.node,r))),g!==this.index?(t&&Ar(d,t),this.axis.x?this.axis.y?y||g<this.index&&(o+i.left-h.width<=k.left&&s+i.top<=k.top+h.height||s+i.top+h.height<=k.top)?(w.x=this.width+this.marginOffset.x,k.left+w.x>this.containerBoundingRect.width-h.width&&O&&(w.x=O.edgeOffset.left-k.left,w.y=O.edgeOffset.top-k.top),null===this.newIndex&&(this.newIndex=g)):(v||g>this.index&&(o+i.left+h.width>=k.left&&s+i.top+h.height>=k.top||s+i.top+h.height>=k.top+b))&&(w.x=-(this.width+this.marginOffset.x),k.left+w.x<this.containerBoundingRect.left+h.width&&C&&(w.x=C.edgeOffset.left-k.left,w.y=C.edgeOffset.top-k.top),this.newIndex=g):v||g>this.index&&o+i.left+h.width>=k.left?(w.x=-(this.width+this.marginOffset.x),this.newIndex=g):(y||g<this.index&&o+i.left<=k.left+h.width)&&(w.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=g)):this.axis.y&&(v||g>this.index&&s+i.top+h.height>=k.top?(w.y=-(this.height+this.marginOffset.y),this.newIndex=g):(y||g<this.index&&s+i.top<=k.top+h.height)&&(w.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=g))),Ir(d,w),l[f].translate=w):n&&(this.sortableGhost=d,Nr(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),u&&(this.newIndex=c);var S=u?this.prevIndex:c;a&&this.newIndex!==S&&a({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:S,isKeySorting:u,nodes:l,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return xr()(a.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?Object(Sr.findDOMNode)(this):e(a.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=a.withRef?"wrappedInstance":null;return Object(G.createElement)(e,cr({ref:t},Tr(this.props,ai)))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),n}(),pr(t,"displayName",Lr("sortableList",e)),pr(t,"defaultProps",ni),pr(t,"propTypes",ei),pr(t,"childContextTypes",{manager:kt.a.object.isRequired}),n}(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),ui=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return gr(this,n),wr(this,kr(n).apply(this,arguments))}return Cr(n,G["Component"]),br(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,a=e.index,r=Object(Sr.findDOMNode)(this);r.sortableInfo={collection:t,disabled:n,index:a,manager:this.context.manager},this.node=r,this.ref={node:r},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return xr()(a.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=a.withRef?"wrappedInstance":null;return Object(G.createElement)(e,cr({ref:t},Tr(this.props,ii)))}}]),n}(),pr(t,"displayName",Lr("sortableElement",e)),pr(t,"contextTypes",{manager:kt.a.object.isRequired}),pr(t,"propTypes",ri),pr(t,"defaultProps",{collection:0}),n}(function(e){var t=e.value,n=(e.key,e.index,oi(e,["value","key","index"]));return wp.element.createElement("div",li({className:"ugb-sort-control__item"},n),t)}),ci=!1,fi=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(b.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(l.BaseControl,{help:t.help,className:p()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(ra,li({label:t.label},Object(b.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(l.Button,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(s.__)("Reset")):null})),wp.element.createElement(si,{onSortStart:function(){return ci=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,r=e.newIndex;ci=!1;var i=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}(n,a,r);t.onChange(i,{oldIndex:a,newIndex:r})},axis:t.axis},n.map(function(e,n){return wp.element.createElement(ui,{key:n,index:n,value:e,onMouseEnter:function(){ci||t.onHover(n)},onMouseLeave:function(){ci||t.onHover(null)}})})))};fi.defaultProps={className:"",help:"",label:Object(s.__)("Column Arrangement",o.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};function pi(e){return(pi="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 di(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function gi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mi(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function bi(e){return(bi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vi(e,t){return(vi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var yi=1,wi=function(e){function t(e){var n,a,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(n=!(r=bi(t).apply(this,arguments))||"object"!==pi(r)&&"function"!=typeof r?hi(a):r).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(hi(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(hi(n)),n.instanceId=yi++,n.panelRef=Object(i.createRef)(),n}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vi(e,t)}(t,i["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.hasToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?(this.props.onChange&&this.props.onChange(!0),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?di(n,!0).forEach(function(t){gi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):di(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,gi({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(R.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(R.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){if(this.setState({opened:!this.state.opened}),!this.state.opened&&this.panelRef.current){var e=this.panelRef.current.querySelector(".components-panel__body-title"),t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?qt(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&qt(this.panelRef.current)}}},{key:"onAdvancedToggle",value:function(){this.setState({showAdvanced:!this.state.showAdvanced})}},{key:"render",value:function(){var e=this,t=p()([this.props.className,"ugb-toggle-panel-body"],gi({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(l.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(i.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(l.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:this.props.checked,onClick:function(t){t.stopPropagation(),t.preventDefault();var n=e.props.checked;n&&e.state.opened?e.onToggle():n||e.state.opened||e.onToggle(),e.props.onChange&&e.props.onChange(!n)},"aria-describedby":this.props.title}),this.props.title),!(this.props.hasToggle&&this.props.toggleAttributeName)&&this.props.title)},this.props.children,this.state.showAdvanced&&this.props.advancedChildren,this.props.advancedChildren&&wp.element.createElement("button",{className:"ugb-panel-advanced-button",onClick:this.onAdvancedToggle},this.state.showAdvanced?Object(s.__)("Simple",o.i18n):Object(s.__)("Advanced",o.i18n)))}}])&&mi(n.prototype,a),r&&mi(n,r),t}();wi.defaultProps={id:"",className:"",title:Object(s.__)("Settings",o.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var ki=wi;function Oi(){return(Oi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ci=function(e){var t=e.blockProps;return wp.element.createElement(ki,Oi({title:Object(s.__)("Spacing",o.i18n)},e,{className:p()(["ugb--help-tip-spacing",e.className])}),Object(R.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(R.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};Ci.defaultProps={className:"",blockProps:{}};var Si=function(e){var t=p()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};Si.defaultProps={tab:"layout"};function _i(e,t,n,a,r,i,l){try{var o=e[i](l),s=o.value}catch(e){return void n(e)}o.done?t(s):Promise.resolve(s).then(a,r)}function xi(e){return function(){var t=this,n=arguments;return new Promise(function(a,r){var i=e.apply(t,n);function l(e){_i(i,a,r,l,o,"next",e)}function o(e){_i(i,a,r,l,o,"throw",e)}l(void 0)})}}var Ei=null,ji={},Pi=[],Ti=function(e){return e.replace(/^[\w-]+\//,"")},Bi=function(){var e=xi(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],Ei&&!t){e.next=9;break}return e.next=4,Pe()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:Ei=e.sent,t&&(ji={},Pi=[]);case 9:return e.abrupt("return",Ei);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Mi=function(){var e=xi(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Ti(t),ji[n]){e.next=8;break}return e.next=4,Pe()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:ji[n]=e.sent;case 8:return e.abrupt("return",ji[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ni=function(){var e=xi(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(Pi[t]){e.next=7;break}return e.next=3,Pe()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:Pi[t]=e.sent;case 7:return e.abrupt("return",Pi[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ii=function(){var e=xi(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,Pe()({path:"/wp/v2/stk_design_library_dev_mode/",method:"POST",data:{devmode:t}});case 3:return n=e.sent,e.next=6,n;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(r.a)(function(){});var Ai=function(){var e=xi(regeneratorRuntime.mark(function e(t){var n,a,r,i,l,o,s,u,c,f,p,d,g,m,b,h,v,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,a=void 0===n?"":n,r=t.block,i=void 0===r?"":r,l=t.mood,o=void 0===l?"":l,s=t.plan,u=void 0===s?"":s,c=t.colors,f=void 0===c?[]:c,p=t.categories,d=void 0===p?[]:p,g=t.search,m=void 0===g?"":g,b=t.reset,h=void 0!==b&&b,e.t0=Object,e.next=4,Bi(h);case 4:return e.t1=e.sent,v=e.t0.values.call(e.t0,e.t1),a&&(v=v.filter(function(e){return e.type===a})),i&&(y=-1===i.indexOf("ugb/")?"ugb/".concat(i):i,v=v.filter(function(e){return e.block===y})),o&&(v=v.filter(function(e){return e.mood===o})),u&&(v=v.filter(function(e){return e.plan===u})),f&&f.length&&(v=v.filter(function(e){return e.colors.some(function(e){return f.includes(e)})})),d&&d.length&&(v=v.filter(function(e){return e.categories.some(function(e){return d.includes(e)})})),m&&m.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach(function(e){v=v.filter(function(t){return["label","plan","block","tags","categories","colors"].some(function(n){return-1!==t[n].toString().toLowerCase().indexOf(e)})})}),e.abrupt("return",v);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Di=function(){var e=xi(regeneratorRuntime.mark(function e(t){var n,a,r,i,l,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Bi();case 2:if(n=e.sent,a=n[t],r=a.type,i=a.block,l=a.template,"block"!==r||!i){e.next=12;break}return e.next=8,Mi(i);case 8:return o=e.sent,e.abrupt("return",o[t]);case 12:if(!l){e.next=16;break}return e.next=15,Ni(t);case 15:return e.abrupt("return",e.sent);case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ri=function(){var e=xi(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Bi();case 3:return e.t1=e.sent,t=e.t0.values.call(e.t0,e.t1),e.abrupt("return",t.reduce(function(e,t){var n=t.block,a=t.type;return e.includes(n)||"block"!==a||e.push(n),e},[]));case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();function zi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Li=function(e){var t=zi(Object(i.useState)(!1),2),n=t[0],a=t[1],r=zi(Object(i.useState)(""),2),u=r[0],c=r[1],f=zi(Object(i.useState)([]),2),p=f[0],d=f[1],g=zi(Object(i.useState)(!0),2),m=g[0],b=g[1],h=zi(Object(i.useState)(""),2),v=h[0],y=h[1];return Object(i.useEffect)(function(){Ai({type:"block",block:e.block,search:u}).then(function(e){d(e)}).finally(function(){b(!1)})},[e.block,u]),wp.element.createElement("div",null,wp.element.createElement(l.Button,{className:"ugb-design-library-control__open-library",label:Object(s.__)("Open Design Library",o.i18n),isSmall:!0,isLink:!0,onClick:function(){return a(!0)}},Object(s.__)("Open Design Library",o.i18n)),wp.element.createElement(l.TextControl,{placeholder:Object(s.__)("Search designs...",o.i18n),value:u,onChange:function(e){return c(e)}}),!o.isPro&&wp.element.createElement(nr,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("All",o.i18n),wp.element.createElement("span",null,p.length))},{value:"free",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Free",o.i18n),wp.element.createElement("span",null,p.reduce(function(e,t){return e+("free"===t.plan?1:0)},0)))},{value:"premium",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Premium",o.i18n),wp.element.createElement("span",null,p.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:v,onChange:function(e){return y(e)}}),wp.element.createElement(fl,{designs:p.filter(function(e){var t=e.plan;return!v||t===v}),isBusy:m,onSelect:e.onSelect}),n&&wp.element.createElement(Uh,{search:u,selectedBlock:e.block,onClose:function(){a(!1),c("")},onSelect:function(t){e.onSelect(t),a(!1)}}))};Li.defaultProps={block:"",onSelect:function(){}};function Fi(){return(Fi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ui=q.a.createElement("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),Hi=q.a.createElement("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),Vi=q.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),Gi=q.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}),qi=function(e){return q.a.createElement("svg",Fi({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),Ui,Hi,Vi,Gi)};function Wi(){return(Wi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ki=q.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),$i=function(e){return q.a.createElement("svg",Wi({xmlns:"http://www.w3.org/2000/svg"},e),Ki)};function Yi(){return(Yi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qi=q.a.createElement("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}),Xi=function(e){return q.a.createElement("svg",Yi({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Qi)},Ji=function(e){return Object(i.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(r.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(i.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"stackable-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});var Zi=function(){return wp.element.createElement(qi,{width:"20",height:"20"})};function el(e){return(el="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 tl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function nl(e){return(nl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function al(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rl(e,t){return(rl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var il=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=nl(t).apply(this,arguments))||"object"!==el(a)&&"function"!=typeof a?al(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(al(e)),e.close=e.close.bind(al(e)),e.prev=e.prev.bind(al(e)),e.next=e.next.bind(al(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rl(e,t)}(t,i["Component"]),n=t,(a=[{key:"open",value:function(){this.setState({isOpen:!0})}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"next",value:function(){var e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}},{key:"prev",value:function(){var e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}},{key:"render",value:function(){var e=this.props.tag;return wp.element.createElement(e,null,wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(l.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},wp.element.createElement("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:Object(s.__)("Premium features",o.i18n)}),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-modal-popup&utm_campaign=upgrade&utm_medium=gutenberg",className:"button button-secondary",target:"_premium",title:Object(s.__)("Upgrade to Premium",o.i18n)},wp.element.createElement(Zi,null),Object(s.__)("Upgrade to Premium",o.i18n)),wp.element.createElement("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:Object(s.__)("Try Premium Demo",o.i18n)},Object(s.__)("Try Premium Demo",o.i18n)))))}}])&&tl(n.prototype,a),r&&tl(n,r),t}();il.defaultProps={button:Object(s.__)("Learn More",o.i18n),buttonClassName:"button button-secondary",tag:"div"};var ll=il;function ol(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var sl=function(e){var t=e.designId,n=e.image,a=e.label,r=e.onClick,o=e.plan,s=e.isPro,u=ol(Object(i.useState)(!1),2),c=u[0],f=u[1],d=ol(Object(i.useState)(!1),2),g=d[0],m=d[1],b=p()(["ugb-design-library-item"],function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({"ugb--is-busy":c},"ugb--is-".concat(o),!s&&"free"!==o));return wp.element.createElement("div",{className:b,onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},c&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(l.Spinner,null)),!s&&"free"!==o&&wp.element.createElement("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},o),wp.element.createElement("button",{className:"ugb-design-library-item__image",onClick:function(){(s||"free"===o)&&(f(!0),Di(t).then(function(e){f(!1),r(e)}))}},!s&&"free"!==o&&wp.element.createElement(l.Dashicon,{icon:"lock"}),wp.element.createElement("img",{src:n,alt:a,loading:"lazy"})),wp.element.createElement("footer",null,(s||"free"===o)&&wp.element.createElement("span",null,a),!s&&"free"!==o&&!g&&wp.element.createElement("span",null,a),!s&&"free"!==o&&g&&wp.element.createElement(ll,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(i.Fragment,null,wp.element.createElement(l.Dashicon,{icon:"external"}),e.premiumLabel)})))};sl.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:o.isPro,premiumLabel:Object(s.__)("Go Premium",o.i18n)};var ul=sl;var cl=function(e){var t=e.designs,n=e.isBusy,a=e.onSelect,r=p()(["ugb-design-library-items"],function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"ugb-design-library-items--columns-".concat(e.columns),!n&&e.columns));return wp.element.createElement("div",{className:r},(t||[]).map(function(e,t){return wp.element.createElement(ul,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,onClick:function(e){a(e)}})}),n&&wp.element.createElement("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},wp.element.createElement(l.Spinner,null)),!n&&!(t||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(s.__)("No designs found",o.i18n)))};cl.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var fl=cl;n(132);function pl(e){return(pl="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 dl(){return(dl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function gl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ml(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function bl(e){return(bl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function hl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vl(e,t){return(vl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wl={},kl=Object(gt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=bl(n).apply(this,arguments))||"object"!==pl(a)&&"function"!=typeof a?hl(t):a).blockClientId=e.props.blockProps.clientId,void 0===wl[e.blockClientId]&&(wl[e.blockClientId]={tab:(r=e.props.blockProps,Oe[r.name]||(Oe[r.name]=Object(he.createBlock)(r.name).attributes),Object.keys(Oe[r.name]).every(function(e){return!!ke.includes(e)||Oe[r.name][e]===r.attributes[e]})?"":"style"),panel:0}),e.onClickPanel=e.onClickPanel.bind(hl(e)),e.onClickTab=e.onClickTab.bind(hl(e)),e}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vl(e,t)}(n,i["Component"]),a=n,(r=[{key:"getActiveTab",value:function(){var e=document.querySelector(".components-panel[data-ugb-tab]");return e?e.getAttribute("data-ugb-tab"):void 0}},{key:"getActiveTabPanelContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab();return e?document.querySelector(".ugb-panel-".concat(e)):void 0}},{key:"getPanelFromIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(-1===e)return null;var t=this.getActiveTabPanelContainer();return t?t.querySelector(".components-panel__body:nth-child(".concat(e+1,"):not(.is-opened) .components-panel__body-toggle")):null}},{key:"getPanelIndex",value:function(e){return e?Array.prototype.slice.call(e.parentElement.children).indexOf(e):-1}},{key:"getOpenPanelIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab(),t=this.getActiveTabPanelContainer(e),n=t.querySelector(".components-panel__body.is-opened");return this.getPanelIndex(n)}},{key:"componentDidMount",value:function(){if(-1!==wl[this.blockClientId].panel){var e=this.getPanelFromIndex(wl[this.blockClientId].panel);e&&e.click()}else Al()}},{key:"onClickPanel",value:function(e){wl[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gl(n,!0).forEach(function(t){yl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},wl[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){wl[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,dl({initialTab:wl[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&ml(a.prototype,r),l&&ml(a,l),n}(),yl(t,"propTypes",{blockProps:kt.a.shape({clientId:kt.a.string.isRequired,name:kt.a.string.isRequired,attributes:kt.a.object.isRequired})}),n},"withMemory");function Ol(e){return(Ol="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Cl(){return(Cl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Sl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _l(e){return(_l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function El(e,t){return(El=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var jl=Object(gt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=_l(n).apply(this,arguments))||"object"!==Ol(a)&&"function"!=typeof a?xl(t):a).onSidebarScroll=e.onSidebarScroll.bind(xl(e)),e.sidebarEl=null,e.tabTop=0,e.styleTop=0,e.styleWidth=0,e.state={fixedTabs:!1},e}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&El(e,t)}(n,i["Component"]),a=n,(r=[{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");this.tabTop=e?e.getBoundingClientRect().height+32:75}if(!this.styleWidth){var t=document.querySelector(".edit-post-sidebar-header");if(t){var n=t.getBoundingClientRect();this.styleTop=n.bottom-2,this.styleWidth=n.width}else{var a=document.querySelector(".edit-post-sidebar");if(a){var r=a.getBoundingClientRect();this.styleTop=r.top,this.styleWidth=r.width}}}this.sidebarEl&&this.tabTop&&this.setState({fixedTabs:this.sidebarEl.scrollTop>=this.tabTop})}},{key:"componentDidMount",value:function(){this.sidebarEl=document.querySelector(".edit-post-sidebar"),this.sidebarEl&&this.sidebarEl.addEventListener("scroll",this.onSidebarScroll)}},{key:"componentWillUnmount",value:function(){this.sidebarEl&&this.sidebarEl.removeEventListener("scroll",this.onSidebarScroll)}},{key:"render",value:function(){var t=p()([this.props.className],{"ugb--fixed-tabs":this.state.fixedTabs});return wp.element.createElement(i.Fragment,null,wp.element.createElement(e,Cl({},this.props,{className:t,style:{top:this.state.fixedTabs?"".concat(this.styleTop,"px"):void 0,width:this.state.fixedTabs?"".concat(this.styleWidth,"px"):void 0}})),this.state.fixedTabs&&wp.element.createElement("div",{className:"ugb--panel-tabs-dummy"}))}}])&&Sl(a.prototype,r),l&&Sl(a,l),n}(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(t,"defaultProps",{className:""}),n},"withSticky");function Pl(e){return(Pl="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 Tl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Bl(e){return(Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ml(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nl(e,t){return(Nl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Il=[{value:"layout",title:Object(s.__)("Layout",o.i18n),label:Object(s.__)("Layout Tab",o.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",o.i18n),label:Object(s.__)("Style Tab",o.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",o.i18n),label:Object(s.__)("Advanced Tab",o.i18n),icon:"admin-tools"}],Al=function(e){[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(t){0!==t.offsetHeight&&t.parentElement.parentElement.classList.contains("is-opened")&&e!==t&&t.click()})},Dl=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Bl(t).apply(this,arguments))||"object"!==Pl(a)&&"function"!=typeof a?Ml(n):a).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(Ml(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(Ml(e)),e.select=e.select.bind(Ml(e)),e.containerDiv=Object(i.createRef)(),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nl(e,t)}(t,i["Component"]),n=t,(a=[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t&&(t.setAttribute("data-ugb-tab",e),t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs"))}},{key:"componentDidMount",value:function(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&document.body.addEventListener("click",this.onButtonPanelClick)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t=e.target.closest(".components-panel__body-toggle");t&&"layout"!==this.state.activeTab&&(Al(t),this.props.onClickPanel(t.closest(".components-panel__body")))}},{key:"select",value:function(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}},{key:"render",value:function(){var e=this,t=p()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return wp.element.createElement("div",{className:t,style:this.props.style,ref:this.containerDiv},wp.element.createElement("div",{className:"ugb-panel-tabs__wrapper"},Il.map(function(t,n){var a=t.value,r=t.title,i=t.label,o=t.icon;return e.tabsToUse.includes(a)?wp.element.createElement("button",{key:n,onClick:function(){return e.select(a)},className:p()(["edit-post-sidebar__panel-tab","ugb-tab--".concat(a)],{"is-active":e.state.activeTab===a}),"aria-label":i,"data-label":i},wp.element.createElement(l.Icon,{icon:o}),r):null})))}}])&&Tl(n.prototype,a),r&&Tl(n,r),t}();Dl.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Rl=kl(Dl);_e()||(Rl=jl(Rl));function zl(){return(zl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ll=function(e){var t=p()(["ugb-global-style-control__item"],{"ugb-global-style-control__item--large-preview":e.largePreview}),n=e.renderPreview&&e.renderPreview(Object(b.pick)(e,["label","value"]));return wp.element.createElement("div",{className:t},n&&wp.element.createElement("div",{className:"ugb-global-style-control__item-preview"},n),wp.element.createElement("div",{className:"ugb-global-style-control__item-label"},e.label),wp.element.createElement(l.Button,{className:"ugb-global-style-control__item-button",onClick:function(t){t.preventDefault(),t.stopPropagation(),e.onEdit(e.value)},label:Object(s.__)("Edit Style",o.i18n),isTertiary:!0,icon:"edit"}))};Ll.defaultProps={largePreview:!1,renderPreview:function(){},onEdit:function(){}};var Fl=function(e){var t=e.options;if(e.value){var n=e.options.find(function(t){return t.value===e.value});n&&(t=e.options.filter(function(t){return t.value!==e.value})).unshift(n)}var a=p()(["ugb-global-style-control",e.className],{"ugb--has-value":e.value});return wp.element.createElement(Ea,{className:a,label:e.label,onChange:e.onChange,value:e.style,options:t,renderOption:function(t){return wp.element.createElement(Ll,zl({},t,{largePreview:e.largePreview,onEdit:e.onEdit,renderPreview:e.renderPreview}))}},e.value&&wp.element.createElement(l.Button,{icon:"edit",label:Object(s.__)("Edit Style",o.i18n),isSecondary:!0,onClick:function(){return e.onEdit(e.value)}}),e.value&&wp.element.createElement(l.Button,{icon:"editor-unlink",label:Object(s.__)("Unlink Style",o.i18n),isSecondary:!0,disabled:!e.value,onClick:e.onUnlink}))};Fl.defaultProps={className:"",label:Object(s.__)("Style",o.i18n),value:"",options:[],onChange:function(){},onEdit:function(){},onUnlink:function(){},renderPreview:null,largePreview:!1};var Ul=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,r=void 0===a?"":a,i=e.imageHeight,l=void 0===i?"":i,s=e.label,u=t?t.match(/https?:/i)?t:o.srcUrl?"".concat(o.srcUrl,"/").concat(t):t:"",c=n?n.match(/https?:/i)?n:o.srcUrl?"".concat(o.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},c&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:c,alt:s,width:r,height:l}),u&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:u,alt:s,width:r,height:l}),wp.element.createElement("span",{className:"design-label"},s))};function Hl(){return(Hl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Vl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Gl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ql=function(e){var t=e.options.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vl(n,!0).forEach(function(t){Gl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(Ul,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value})}),n=p()([e.className,"ugb-design-control-wrapper","components-base-control","ugb-design-control--columns-".concat(e.columns)]);return wp.element.createElement("div",{className:n},e.label&&wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(l.RadioControl,Hl({},Object(b.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};ql.defaultProps={className:"",columns:2,selected:"",options:[],onChange:function(){}};var Wl=ql,Kl=n(41),$l=n.n(Kl),Yl=n(42),Ql=n.n(Yl),Xl=n(43),Jl=n.n(Xl),Zl=n(44),eo=n.n(Zl),to=n(45),no=n.n(to),ao=n(46),ro=n.n(ao),io=n(47),lo=n.n(io),oo=n(48),so=n.n(oo),uo=n(49),co=n.n(uo),fo=n(50),po=n.n(fo),go=n(51),mo=n.n(go),bo=n(52),ho=n.n(bo),vo=n(53),yo=n.n(vo);function wo(){return(wo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ko={"wave-1":{image:po.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),1),value:"wave-1"},"straight-1":{image:co.a,label:Object(s.__)("Straight",o.i18n),value:"straight-1"},"wave-2":{image:mo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),2),value:"wave-2"},"wave-3":{image:ho.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),3),value:"wave-3"},"wave-4":{image:yo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),4),value:"wave-4"},"slant-1":{image:lo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Slant",o.i18n),1),value:"slant-1"},"slant-2":{image:so.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Slant",o.i18n),2),value:"slant-2"},"curve-1":{image:$l.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Curve",o.i18n),1),value:"curve-1"},"curve-2":{image:Ql.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Curve",o.i18n),2),value:"curve-2"},"curve-3":{image:Jl.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Curve",o.i18n),3),value:"curve-3"},"rounded-1":{image:eo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Rounded",o.i18n),1),value:"rounded-1"},"rounded-2":{image:no.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Rounded",o.i18n),2),value:"rounded-2"},"rounded-3":{image:ro.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Rounded",o.i18n),3),value:"rounded-3"}},Oo=function(e){var t=Object.keys(ko).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return ko[e]});return wp.element.createElement(l.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Wl,wo({options:Object(R.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(b.omit)(e,["label","help"]))))};Oo.defaultProps={label:"",help:"",excludeDesigns:[]};function Co(){return(Co=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var So=q.a.createElement("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"}),_o=function(e){return q.a.createElement("svg",Co({viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},e),So)};function xo(){return(xo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Eo=Object(gt.withInstanceId)(Object(gt.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,r=e.setState;return wp.element.createElement(l.BaseControl,xo({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(b.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(l.Button,{isDefault:!0,className:"ugb-icon-control__icon-button",onClick:function(){r(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},e.value&&wp.element.createElement(uu,{value:e.value}),!e.value&&wp.element.createElement(_o,{style:{opacity:.3}})),n&&wp.element.createElement(Vo,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-icon-control-".concat(t))?r({clickedOnButton:!0}):r({openPopover:!1,clickedOnButton:!1})},onClose:function(){return r({openPopover:!1})},returnSVGValue:e.returnSVGValue,onChange:e.onChange})),wp.element.createElement(l.Button,{onClick:function(){e.onReset?e.onReset():e.onChange(""),r({openPopover:!1})},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Reset",o.i18n))))}));Eo.defaultProps={label:Object(s.__)("Icon",o.i18n),value:"",returnSVGValue:!0,onChange:function(){}};var jo=Eo;function Po(){return(Po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var To=q.a.createElement("path",{fill:"currentColor",d:"M360 480H24c-13.3 0-24-10.7-24-24v-24c0-13.3 10.7-24 24-24h336c13.3 0 24 10.7 24 24v24c0 13.3-10.7 24-24 24zM128 56v136H40.3c-17.8 0-26.7 21.5-14.1 34.1l152.2 152.2c7.5 7.5 19.8 7.5 27.3 0l152.2-152.2c12.6-12.6 3.7-34.1-14.1-34.1H256V56c0-13.3-10.7-24-24-24h-80c-13.3 0-24 10.7-24 24z"}),Bo=function(e){return q.a.createElement("svg",Po({"aria-hidden":"true","data-prefix":"fas","data-icon":"arrow-alt-to-bottom",className:"drop_svg__svg-inline--fa drop_svg__fa-arrow-alt-to-bottom drop_svg__fa-w-12",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},e),To)};function Mo(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 No(e,t,n,a,r,i,l){try{var o=e[i](l),s=o.value}catch(e){return void n(e)}o.done?t(s):Promise.resolve(s).then(a,r)}var Io=function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t,n,a,r,i=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:"icon",n=i.length>1&&void 0!==i[1]?i[1]:o.fontAwesomeSearchProIcons,a='{ search(version: "latest", first: 50, query: "'.concat((t||"info").replace(/["'\\]/g,""),'") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t').concat(n?"pro":"","\n\t\t\t}\n\t\t} }"),e.next=5,fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then(function(e){return e.json()});case 5:return r=e.sent,e.abrupt("return",r.data.search.reduce(function(e,t){return Ao(t,n).forEach(function(t){e.push(t)}),e},[]));case 7:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(a,r){var i=e.apply(t,n);function l(e){No(i,a,r,l,o,"next",e)}function o(e){No(i,a,r,l,o,"throw",e)}l(void 0)})});return function(){return t.apply(this,arguments)}}(),Ao=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].concat(Mo(e.membership.free),Mo(t?e.membership.pro.filter(function(t){return!e.membership.free.includes(t)}):[]));return n.map(function(t){return{className:"fa".concat(t[0]," fa-").concat(e.id),prefix:"fa".concat(t[0]),iconName:e.id}})},Do=n(54);function Ro(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var zo=null,Lo=null,Fo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,"$1".concat(t," ")):e.match(/(<svg)/)?e.replace(/(<svg)/,'$1 class="'.concat(t,'"')):e},Uo=function(e){for(var t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1"),n=0;n<2;n++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},Ho=function(e){var t=Ro(Object(i.useState)(""),2),n=t[0],a=t[1],r=Ro(Object(i.useState)([]),2),u=r[0],c=r[1],f=Ro(Object(i.useState)(!1),2),p=f[0],d=f[1],g=Ro(Object(i.useState)(!1),2),m=g[0],b=g[1],h=e.returnSVGValue;Object(i.useEffect)(function(){return clearTimeout(zo),zo=setTimeout(function(){d(!0),Io(n).then(function(e){c(e)}).finally(function(){d(!1)})},500),function(){return clearTimeout(zo)}},[n]),Object(i.useEffect)(function(){Lo||(Lo=wp.data.select("core/block-editor").getSettings().mediaUpload),m?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Lo&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Lo})},[m]);return wp.element.createElement(l.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef},wp.element.createElement(l.PanelBody,null,wp.element.createElement(Do.FileDrop,{onFrameDragEnter:function(){return b(!0)},onFrameDragLeave:function(){return b(!1)},onFrameDrop:function(){return b(!1)},onDrop:function(t){if(h&&t.length)if("image/svg+xml"===t[0].type){var n=new FileReader;n.onload=function(t){b(!1);var n=Uo(Fo(t.target.result));e.onChange(n),e.onClose()},n.readAsText(t[0])}else b(!1);else b(!1)}},wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(l.TextControl,{className:"ugb-icon-popover__input",value:n,onChange:a,placeholder:Object(s.__)("Type to search icon",o.i18n)}),h&&wp.element.createElement(l.Button,{onClick:function(t){t.preventDefault();var n=document.createElement("input");n.accept="image/svg+xml",n.type="file",n.onchange=function(t){var n=t.target.files;if(n.length){var a=new FileReader;a.onload=function(t){b(!1);var n=Uo(Fo(t.target.result));e.onChange(n),e.onClose()},a.readAsText(n[0])}else b(!1)},n.click()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Upload SVG",o.i18n)),e.allowReset&&wp.element.createElement(l.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isTertiary:!0,className:"components-range-control__reset"},Object(s.__)("Clear",o.i18n))),h&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-area"},Object(s.__)("You can also drop your own SVG icon here",o.i18n)),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},p&&wp.element.createElement(l.Spinner,null),!p&&u.map(function(t,n){var a=t.prefix,r=t.iconName,i="".concat(a,"-").concat(r);return wp.element.createElement("button",{key:n,className:"components-button ugb-prefix--".concat(a," ugb-icon--").concat(r),onClick:function(){e.returnSVGValue?e.onChange(Uo(xe(a,r))):e.onChange(i,a,r),e.onClose()}},wp.element.createElement(Yh,{prefix:a,iconName:r}))}),!p&&!u.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",o.i18n))),h&&m&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-indicator"},wp.element.createElement(Bo,{height:"40",width:"40"}),Object(s.__)("Drop your SVG here",o.i18n)))))};Ho.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};var Vo=Ho,Go=function(e){return wp.element.createElement(ad,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(Ad,{label:e.label,className:p()([e.className,"ugb--help-tip-alignment-all"])}))};Go.defaultProps={className:"",setAttributes:function(){},blockAttributes:{},label:Object(s.__)("Align",o.i18n)};var qo=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})};function Wo(e){return(Wo="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 Ko(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function $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 Yo(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Qo(e){return(Qo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jo(e,t){return(Jo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Zo=1,es=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Qo(t).apply(this,arguments))||"object"!==Wo(a)&&"function"!=typeof a?Xo(n):a).state={open:!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(Xo(e)),e.handleClose=e.handleClose.bind(Xo(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Xo(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Xo(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Xo(e)),e.handleReset=e.handleReset.bind(Xo(e)),e.buttonRef=Object(i.createRef)(),e.instanceId=Zo++,e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jo(e,t)}(t,i["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ko(n,!0).forEach(function(t){$o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ko(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,$o({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(R.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){Object(R.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleReset",value:function(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}},{key:"handleOnClickOutside",value:function(e){this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&(e.target.closest(".ugb-button-icon-control__popover")||this.handleClose())}},{key:"render",value:function(){var e=this;return wp.element.createElement(l.BaseControl,{help:this.props.help,label:!this.props.onToggle&&wp.element.createElement("label",{htmlFor:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"ugb-button-icon-control",className:p()("ugb-button-icon-control",this.props.className)},this.props.onToggle&&wp.element.createElement(l.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),wp.element.createElement("div",{className:"ugb-button-icon-control__wrapper"},this.props.allowReset&&wp.element.createElement(i.Fragment,null,wp.element.createElement(l.Button,{onClick:this.handleReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",o.i18n),icon:"image-rotate"}),this.state.showResetPopover&&wp.element.createElement(l.Popover,{onClickOutside:function(){return e.setState({showResetPopover:!1})},focusOnMount:!1,position:"bottom center"},wp.element.createElement("div",{className:"components-color-picker__body"},wp.element.createElement("h4",{className:"ugb-button-icon-control__text-title"},this.props.resetPopoverTitle),wp.element.createElement("p",{className:"components-base-control__help"},this.props.resetPopoverDescription),wp.element.createElement(l.ButtonGroup,null,wp.element.createElement(l.Button,{onClick:function(){e.setState({showResetPopover:!1}),e.props.onReset()},isDestructive:!0,isSecondary:!0,isSmall:!0},Object(s.__)("Reset",o.i18n)),wp.element.createElement(l.Button,{onClick:function(){return e.setState({showResetPopover:!1})},isSmall:!0},Object(s.__)("Cancel",o.i18n)))))),wp.element.createElement(l.Button,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",o.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(l.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},wp.element.createElement(l.PanelBody,null,(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&wp.element.createElement("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}])&&Yo(n.prototype,a),r&&Yo(n,r),t}();es.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var ts=es,ns=function(e){var t=re(e.imageData,e.size||"full"),n=e.widthMax||1e3,a=0;e.imageData&&e.onChangeSize&&t&&(n=t.width,a=t.height);var r=!!t&&t.width===t.height;return wp.element.createElement(i.Fragment,null,e.onChangeImage&&wp.element.createElement(vn,{label:Object(s.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:"",width:"",height:""})},onChange:function(t){var n=t.url,a=t.width,r=t.height,i=e.size||"full";t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,r=t.sizes[i].height),e.onChangeImage({id:t.id,url:n,width:a,height:r})}}),e.onChangeShape&&wp.element.createElement(An,{isSquareImage:r,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),wp.element.createElement(qo,null),e.onChangeAlt&&wp.element.createElement(kn,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(zn,{label:Object(s.__)("Image Size",o.i18n),value:e.size,onChange:function(t){var n=re(e.imageData,t||"full"),a="",r="",i=e.url;n&&(a=n.width,r=n.height,i=n.source_url),e.onChangeSize(t,i,a,r)}}),e.onChangeWidth&&wp.element.createElement(i.Fragment,null,wp.element.createElement(cd,null,wp.element.createElement(ua,{label:Object(s.__)("Image Width",o.i18n),value:e.width,placeholder:e.placeholder,max:n,onChange:function(t){var r=a/n;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(r*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(ua,{label:Object(s.__)("Image Width",o.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(ua,{label:Object(s.__)("Image Width",o.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&wp.element.createElement(i.Fragment,null,("number"==typeof e.width||e.width)&&wp.element.createElement(cd,null,wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Force square image",o.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Force square image",o.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Force square image",o.i18n),checked:e.mobileSquare,onChange:e.onChangeMobileSquare,className:"ugb--help-tip-image-square"}))),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(ua,{label:Object(s.__)("Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(ua,{label:Object(s.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&wp.element.createElement(fn,{label:Object(s.__)("Blend Mode",o.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};ns.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id,e.width,e.height},shape:"",onChangeShape:function(){},shapeStretch:"",onChangeShapeStretch:function(){},alt:"",onChangeAlt:function(){},size:"large",onChangeSize:function(){},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:function(){},onChangeTabletWidth:function(){},onChangeMobileWidth:function(){},square:"",tabletSquare:"",mobileSquare:"",onChangeSquare:function(){},onChangeTabletSquare:function(){},onChangeMobileSquare:function(){},borderRadius:"",onChangeBorderRadius:function(){},shadow:"",onChangeShadow:function(){},blendMode:"",onChangeBlendMode:function(){}};var as=Object(gt.compose)(Object(ne.withSelect)(function(e,t){var n=e("core").getMedia;return ie(t.id,e),{imageData:t.id?n(t.id):null}}))(ns);function rs(){return(rs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function is(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ls=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(as,rs({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,r=e.url,i=e.id,l=e.width,o=e.height;t((is(a={},n("Url"),r),is(a,n("Id"),i),is(a,n("Width"),l),is(a,n("Height"),o),a))},alt:a("Alt"),onChangeAlt:function(e){return t(is({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,r,i){var l;t((is(l={},n("Size"),e),is(l,n("Url"),a),is(l,n("Width"),r),is(l,n("Height"),i),l))},shape:a("Shape"),onChangeShape:function(e){return t(is({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(is({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(is({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(is({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(is({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var r;t((is(r={},n("Width"),e),is(r,n("Height"),a),r))},onChangeTabletWidth:function(e){return t(is({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(is({},n("MobileWidth"),e))},square:a("Square"),tabletSquare:a("TabletSquare"),mobileSquare:a("MobileSquare"),onChangeSquare:function(e){return t(is({},n("Square"),e))},onChangeTabletSquare:function(e){return t(is({},n("TabletSquare"),e))},onChangeMobileSquare:function(e){return t(is({},n("MobileSquare"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(is({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(is({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(is({},n("BlendMode"),e))}},e))};ls.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var os=function(e){return wp.element.createElement(i.Fragment,null,e.onChangeImage&&wp.element.createElement(vn,{label:Object(s.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:""})},onChange:function(t){var n=t.url,a=e.size||"full";t.sizes[a]&&(n=t.sizes[a].url),e.onChangeImage({id:t.id,url:n})}}),e.onChangeSize&&wp.element.createElement(zn,{label:Object(s.__)("Image Size",o.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full",n=le(e)||ie(e,ne.select);return n?n.media_details.sizes[t]?n.media_details.sizes[t].source_url:n.source_url:""}(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&wp.element.createElement(fa,{label:Object(s.__)("Background Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(fa,{label:Object(s.__)("Background Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(fa,{label:Object(s.__)("Background Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(ua,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};os.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id},size:"",onChangeSize:function(){},backgroundPosition:"",onChangeBackgroundPosition:function(){},backgroundRepeat:"",onChangeBackgroundRepeat:function(){},backgroundSize:"",onChangeBackgroundSize:function(){},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:function(){},backgroundCustomSize:"",onChangeBackgroundCustomSize:function(){}};var ss=Object(gt.compose)(Object(ne.withSelect)(function(e,t){var n=e("core").getMedia;return ie(t.id,e),{imageData:t.id?n(t.id):null}}))(os);function us(){return(us=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fs=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(ss,us({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,r=e.url,i=e.id;t((cs(a={},n("Url"),r),cs(a,n("Id"),i),a))},size:a("Size"),onChangeSize:function(e,a){var r;t((cs(r={},n("Size"),e),cs(r,n("Url"),a),r))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(cs({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(cs({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(cs({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(cs({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(cs({},n("BackgroundCustomSizeUnit"),e))}},e))};fs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};function ps(){return(ps=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ds=function(e){var t=Object(i.useMemo)(function(){return"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder(H(e.htmlTag,!0))):e.fontSize||e.placeholder||H(e.htmlTag,!0)},[e.htmlTag,e.fontSize]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(ts,{label:e.label,popoverLabel:e.popoverLabel,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,resetPopoverTitle:e.resetPopoverTitle,resetPopoverDescription:e.resetPopoverDescription,className:e.className},e.onChangeFontFamily&&wp.element.createElement(ur,{label:Object(s.__)("Font Family",o.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(i.Fragment,null,wp.element.createElement(cd,null,wp.element.createElement(ir,ps({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(ir,ps({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(ir,ps({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Weight",o.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Normal",o.i18n),value:"normal"},{label:Object(s.__)("Bold",o.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Transform",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Uppercase",o.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",o.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",o.i18n),value:"capitalize"},{label:Object(s.__)("None",o.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(i.Fragment,null,wp.element.createElement(cd,null,wp.element.createElement(ua,{label:Object(s.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(ua,{label:Object(s.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(ua,{label:Object(s.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&wp.element.createElement(ua,{label:Object(s.__)("Letter Spacing",o.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(i.Fragment,null,wp.element.createElement(cd,null,wp.element.createElement(ir,ps({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(ir,ps({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(ir,ps({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};ds.defaultProps={label:Object(s.__)("Typography",o.i18n),popoverLabel:void 0,className:"ugb--help-tip-typography",showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},resetPopoverTitle:"",resetPopoverDescription:"",placeholder:"",htmlTag:"p",onReset:function(){},onChangeFontFamily:function(){},onChangeFontSize:function(){},onChangeTabletFontSize:function(){},onChangeMobileFontSize:function(){},onChangeFontSizeUnit:function(){},onChangeTabletFontSizeUnit:function(){},onChangeMobileFontSizeUnit:function(){},onChangeFontWeight:function(){},onChangeTextTransform:function(){},onChangeLineHeight:function(){},onChangeTabletLineHeight:function(){},onChangeMobileLineHeight:function(){},onChangeLineHeightUnit:function(){},onChangeTabletLineHeightUnit:function(){},onChangeMobileLineHeightUnit:function(){},onChangeLetterSpacing:function(){}};var gs=ds;function ms(){return(ms=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function bs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hs=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(gs,ms({fontFamily:e.blockAttributes[n("FontFamily")]||"",fontSize:e.blockAttributes[n("FontSize")]||"",tabletFontSize:e.blockAttributes[n("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[n("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[n("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[n("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[n("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[n("FontWeight")]||"",textTransform:e.blockAttributes[n("TextTransform")]||"",letterSpacing:e.blockAttributes[n("LetterSpacing")]||"",lineHeight:e.blockAttributes[n("LineHeight")]||"",tabletLineHeight:e.blockAttributes[n("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[n("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[n("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[n("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[n("MobileLineHeightUnit")]||"em",onChangeFontFamily:function(e){return t(bs({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(bs({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(bs({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(bs({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(bs({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(bs({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(bs({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(bs({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(bs({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(bs({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(bs({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(bs({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(bs({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(bs({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(bs({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(bs({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((bs(e={},n("FontFamily"),""),bs(e,n("FontSize"),""),bs(e,n("TabletFontSize"),""),bs(e,n("MobileFontSize"),""),bs(e,n("FontSizeUnit"),"px"),bs(e,n("TabletFontSizeUnit"),"px"),bs(e,n("MobileFontSizeUnit"),"px"),bs(e,n("FontWeight"),""),bs(e,n("TextTransform"),""),bs(e,n("LetterSpacing"),""),bs(e,n("LineHeight"),""),bs(e,n("TabletLineHeight"),""),bs(e,n("MobileLineHeight"),""),bs(e,n("LineHeightUnit"),"em"),bs(e,n("TabletLineHeightUnit"),"em"),bs(e,n("MobileLineHeightUnit"),"em"),e))}},e))};hs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var vs=hs,ys=function(e){return wp.element.createElement(i.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(l.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(nr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&wp.element.createElement(yt,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&wp.element.createElement(ua,{label:Object(s.__)("Background Color Opacity",o.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement(yt,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(ts,{label:Object(s.__)("Adv. Gradient Color Settings",o.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&wp.element.createElement(ua,{label:Object(s.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(ua,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",o.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(ua,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",o.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(fn,{label:Object(s.__)("Background Gradient Blend Mode",o.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(qo,null),e.onChangeBackgroundMedia&&wp.element.createElement(i.Fragment,null,wp.element.createElement(cd,null,wp.element.createElement(vn,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",o.i18n):Object(s.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",o.i18n):"",onRemove:function(){return e.onChangeBackgroundMedia({url:"",id:""})},onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(vn,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",o.i18n):Object(s.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",o.i18n):"",onRemove:function(){return e.onChangeTabletBackgroundMedia({url:"",id:""})},onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(vn,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",o.i18n):Object(s.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",o.i18n):"",onRemove:function(){return e.onChangeMobileBackgroundMedia({url:"",id:""})},onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(ua,{label:Object(s.__)("Background Media Tint Strength",o.i18n),value:e.backgroundTintStrength,onChange:function(t){var n=void 0===t||""===t;""!==e.backgroundColor||n?"#000000"===e.backgroundColor&&n?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter(function(e){return e}).filter(Te).length>0)&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Fixed Background",o.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(ts,{label:Object(s.__)("Adv. Background Image Settings",o.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},wp.element.createElement(cd,null,wp.element.createElement(fa,{label:Object(s.__)("Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(fa,{label:Object(s.__)("Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(fa,{label:Object(s.__)("Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(cd,null,wp.element.createElement(fa,{label:Object(s.__)("Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(fa,{label:Object(s.__)("Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(fa,{label:Object(s.__)("Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(cd,null,wp.element.createElement(fa,{label:Object(s.__)("Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(fa,{label:Object(s.__)("Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(fa,{label:Object(s.__)("Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(cd,null,wp.element.createElement(ua,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(ua,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(ua,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&wp.element.createElement(fn,{label:Object(s.__)("Image Blend Mode",o.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};ys.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColorOpacity:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundMedia:function(e){e.url,e.id},onChangeTabletBackgroundMedia:function(e){e.url,e.id},onChangeMobileBackgroundMedia:function(e){e.url,e.id},onChangeBackgroundTintStrength:function(){},onChangeFixedBackground:function(){},labelBackgroundColorType:Object(s.__)("Background Color Type",o.i18n),labelBackgroundColor:Object(s.__)("Background Color",o.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:function(){},onChangeBackgroundGradientDirection:function(){},onChangeBackgroundGradientBlendMode:function(){},onChangeBackgroundGradientLocation1:function(){},onChangeBackgroundGradientLocation2:function(){},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:function(){},onChangeBackgroundPosition:function(){},onChangeTabletBackgroundPosition:function(){},onChangeMobileBackgroundPosition:function(){},onChangeBackgroundRepeat:function(){},onChangeTabletBackgroundRepeat:function(){},onChangeMobileBackgroundRepeat:function(){},onChangeBackgroundSize:function(){},onChangeTabletBackgroundSize:function(){},onChangeMobileBackgroundSize:function(){},onChangeBackgroundCustomSize:function(){},onChangeTabletBackgroundCustomSize:function(){},onChangeMobileBackgroundCustomSize:function(){},onChangeBackgroundCustomSizeUnit:function(){},onChangeTabletBackgroundCustomSizeUnit:function(){},onChangeMobileBackgroundCustomSizeUnit:function(){},onChangeBackgroundImageBlendMode:function(){}};var ws=ys;function ks(){return(ks=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cs=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(ws,ks({backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColorOpacity:e.blockAttributes[n("BackgroundColorOpacity")],backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundMediaID:e.blockAttributes[n("BackgroundMediaID")]||"",backgroundMediaURL:e.blockAttributes[n("BackgroundMediaURL")]||"",tabletBackgroundMediaID:e.blockAttributes[n("TabletBackgroundMediaID")]||"",tabletBackgroundMediaURL:e.blockAttributes[n("TabletBackgroundMediaURL")]||"",mobileBackgroundMediaID:e.blockAttributes[n("MobileBackgroundMediaID")]||"",mobileBackgroundMediaURL:e.blockAttributes[n("MobileBackgroundMediaURL")]||"",backgroundTintStrength:e.blockAttributes[n("BackgroundTintStrength")],fixedBackground:e.blockAttributes[n("FixedBackground")]||"",onChangeBackgroundColorType:function(e){return t(Os({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Os({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(Os({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(Os({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,r=e.url,i=e.id;t((Os(a={},n("BackgroundMediaURL"),r),Os(a,n("BackgroundMediaID"),i),a))},onChangeTabletBackgroundMedia:function(e){var a,r=e.url,i=e.id;t((Os(a={},n("TabletBackgroundMediaURL"),r),Os(a,n("TabletBackgroundMediaID"),i),a))},onChangeMobileBackgroundMedia:function(e){var a,r=e.url,i=e.id;t((Os(a={},n("MobileBackgroundMediaURL"),r),Os(a,n("MobileBackgroundMediaID"),i),a))},onChangeBackgroundTintStrength:function(e,a){var r;t((Os(r={},n("BackgroundTintStrength"),e),Os(r,n("BackgroundColor"),a),r))},onChangeFixedBackground:function(e){return t(Os({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(Os({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(Os({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(Os({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(Os({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((Os(e={},n("BackgroundGradientDirection"),""),Os(e,n("BackgroundGradientBlendMode"),""),Os(e,n("BackgroundGradientLocation1"),""),Os(e,n("BackgroundGradientLocation2"),""),e))},backgroundPosition:e.blockAttributes[n("BackgroundPosition")]||"",tabletBackgroundPosition:e.blockAttributes[n("TabletBackgroundPosition")]||"",mobileBackgroundPosition:e.blockAttributes[n("MobileBackgroundPosition")]||"",backgroundRepeat:e.blockAttributes[n("BackgroundRepeat")]||"",tabletBackgroundRepeat:e.blockAttributes[n("TabletBackgroundRepeat")]||"",mobileBackgroundRepeat:e.blockAttributes[n("MobileBackgroundRepeat")]||"",backgroundSize:e.blockAttributes[n("BackgroundSize")]||"",tabletBackgroundSize:e.blockAttributes[n("TabletBackgroundSize")]||"",mobileBackgroundSize:e.blockAttributes[n("MobileBackgroundSize")]||"",backgroundCustomSize:e.blockAttributes[n("BackgroundCustomSize")]||"",tabletBackgroundCustomSize:e.blockAttributes[n("TabletBackgroundCustomSize")]||"",mobileBackgroundCustomSize:e.blockAttributes[n("MobileBackgroundCustomSize")]||"",backgroundCustomSizeUnit:e.blockAttributes[n("BackgroundCustomSizeUnit")]||"%",tabletBackgroundCustomSizeUnit:e.blockAttributes[n("TabletBackgroundCustomSizeUnit")]||"%",mobileBackgroundCustomSizeUnit:e.blockAttributes[n("MobileBackgroundCustomSizeUnit")]||"%",backgroundImageBlendMode:e.blockAttributes[n("BackgroundImageBlendMode")]||"",onChangeBackgroundPosition:function(e){return t(Os({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(Os({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(Os({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(Os({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(Os({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(Os({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(Os({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(Os({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(Os({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(Os({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(Os({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(Os({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(Os({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(Os({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(Os({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(Os({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((Os(e={},n("BackgroundPosition"),""),Os(e,n("TabletBackgroundPosition"),""),Os(e,n("MobileBackgroundPosition"),""),Os(e,n("BackgroundRepeat"),""),Os(e,n("TabletBackgroundRepeat"),""),Os(e,n("MobileBackgroundRepeat"),""),Os(e,n("BackgroundSize"),""),Os(e,n("TabletBackgroundSize"),""),Os(e,n("MobileBackgroundSize"),""),Os(e,n("BackgroundCustomSize"),""),Os(e,n("TabletBackgroundCustomSize"),""),Os(e,n("MobileBackgroundCustomSize"),""),Os(e,n("BackgroundCustomSizeUnit"),"%"),Os(e,n("TabletBackgroundCustomSizeUnit"),"%"),Os(e,n("MobileBackgroundCustomSizeUnit"),"%"),Os(e,n("BackgroundImageBlendMode"),""),e))}},e))};Cs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Ss=n(55),_s=n.n(Ss),xs=n(56),Es=n.n(xs),js=n(57),Ps=n.n(js),Ts=n(58),Bs=n.n(Ts);function Ms(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ns=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(i.Fragment,null,e.onChangeUrl&&wp.element.createElement(lt,{label:Object(s.__)("Link / URL",o.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Nofollow link",o.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(qo,null),e.onChangeDesign&&wp.element.createElement(Wl,{label:Object(s.__)("Design",o.i18n),selected:t,options:[{label:Object(s.__)("Basic",o.i18n),value:"basic",image:_s.a},{label:Object(s.__)("Ghost",o.i18n),value:"ghost",image:Es.a},{label:Object(s.__)("Plain",o.i18n),value:"plain",image:Bs.a}].concat(Ms(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",o.i18n),value:"link",image:Ps.a}]),Ms(Object(R.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(qo,null),e.hasTypography&&"link"!==t&&wp.element.createElement(vs,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1,placeholder:e.placeholder}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Button Size",o.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",o.i18n)},{value:"small",label:Object(s.__)("Small",o.i18n)},{value:"normal",label:Object(s.__)("Normal",o.i18n)},{value:"medium",label:Object(s.__)("Medium",o.i18n)},{value:"large",label:Object(s.__)("Large",o.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(ua,{label:Object(s.__)("Border Radius",o.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Oc,{label:Object(s.__)("Vertical Padding",o.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8],className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Oc,{label:Object(s.__)("Horizontal Padding",o.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26],className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(ua,{label:Object(s.__)("Border Width",o.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(ua,{label:Object(s.__)("Shadow",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),"link"!==t&&wp.element.createElement(qo,null),e.onChangeUseSocialColors&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Use social colors",o.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(i.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(l.BaseControl,{label:Object(s.__)("Button Color Type",o.i18n),id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(nr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(yt,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),1):Object(s.__)("Button Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(yt,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(ua,{label:Object(s.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&a&&wp.element.createElement(yt,{label:Object(s.__)("Text Color",o.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(ua,{label:Object(s.__)("Opacity",o.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(qo,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",o.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Hover Effect",o.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",o.i18n)},{value:"lift",label:Object(s.__)("Lift",o.i18n)},{value:"scale",label:Object(s.__)("Scale",o.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",o.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",o.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",o.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(ua,{label:Object(s.__)("Hover Opacity",o.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:0,max:1,step:.1,placeholder:"0.8",allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(ts,{label:Object(s.__)("Hover Colors",o.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(yt,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),1):Object(s.__)("Button Color",o.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(yt,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(ua,{label:Object(s.__)("Gradient Direction (degrees)",o.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement(yt,{label:Object(s.__)("Text Color",o.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(qo,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(jo,{label:Object(s.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(ts,{label:Object(s.__)("Adv. Icon Settings",o.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(ua,{label:Object(s.__)("Icon Size",o.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Icon Position",o.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",o.i18n)},{value:"right",label:Object(s.__)("Right",o.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(ua,{label:Object(s.__)("Icon Spacing",o.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};Ns.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},design:"",onChangeDesign:function(){},url:"",newTab:"",noFollow:"",onChangeUrl:function(){},onChangeNewTab:function(){},onChangeNoFollow:function(){},size:"",onChangeSize:function(){},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:function(){},onChangeTextColor:function(){},onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundGradientDirection:function(){},hasHoverColors:!0,onResetHoverColors:function(){},hoverEffect:"",hoverOpacity:"",hoverTextColor:"",hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:function(){},onChangeHoverOpacity:function(){},onChangeHoverTextColor:function(){},onChangeHoverBackgroundColor:function(){},onChangeHoverBackgroundColor2:function(){},onChangeHoverBackgroundGradientDirection:function(){},onChangeHoverGhostToNormal:function(){},borderRadius:"",onChangeBorderRadius:function(){},borderWidth:"",onChangeBorderWidth:function(){},shadow:"",onChangeShadow:function(){},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:function(){},hasAdvancedIcon:!0,onResetAdvancedIcon:function(){},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:function(){},onChangeIconSize:function(){},onChangeIconPosition:function(){},onChangeIconSpacing:function(){},useSocialColors:!0,onChangeUseSocialColors:null};var Is=Ns;function As(){return(As=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ds(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rs=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(Is,As({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(Ds({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(Ds({},n("Url"),e))},onChangeNewTab:function(e){return t(Ds({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(Ds({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(Ds({},n("Size"),e))},opacity:e.blockAttributes[n("Opacity")]||"",textColor:e.blockAttributes[n("TextColor")]||"",backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundGradientDirection:a("BackgroundGradientDirection"),onChangeOpacity:function(e){return t(Ds({},n("Opacity"),e))},onChangeTextColor:function(e){return t(Ds({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(Ds({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Ds({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(Ds({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(Ds({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((Ds(e={},n("HoverBackgroundColor"),""),Ds(e,n("HoverBackgroundColor2"),""),Ds(e,n("HoverBackgroundGradientDirection"),""),Ds(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverTextColor:e.blockAttributes[n("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[n("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[n("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:a("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[n("HoverGhostToNormal")]||"",onChangeHoverEffect:function(e){return t(Ds({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(Ds({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(Ds({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(Ds({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(Ds({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(Ds({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(Ds({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(Ds({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(Ds({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(Ds({},n("Shadow"),e))},paddingTop:a("PaddingTop"),paddingRight:a("PaddingRight"),paddingBottom:a("PaddingBottom"),paddingLeft:a("PaddingLeft"),onChangePaddings:function(e){var a={};void 0!==e.top&&(a[n("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(a[n("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(a[n("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(a[n("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(a)},icon:e.blockAttributes[n("Icon")]||"",onChangeIcon:function(e){return t(Ds({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((Ds(e={},n("IconSize"),""),Ds(e,n("IconPosition"),""),Ds(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(Ds({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(Ds({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(Ds({},n("IconSpacing"),e))}},e))};Rs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var zs=Rs,Ls=n(59),Fs=n.n(Ls),Us=n(60),Hs=n.n(Us),Vs=n(61),Gs=n.n(Vs);function qs(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ws=function(e){var t=e.design?e.design:"basic",n="shaped"===t||"outlined"===t;return wp.element.createElement(i.Fragment,null,e.onChangeIcon&&wp.element.createElement(jo,{label:Object(s.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&wp.element.createElement(Wl,{label:Object(s.__)("Design",o.i18n),selected:e.design,columns:3,options:[{label:Object(s.__)("Plain",o.i18n),value:"plain",image:Fs.a},{label:Object(s.__)("Shaped",o.i18n),value:"shaped",image:Hs.a},{label:Object(s.__)("Outlined",o.i18n),value:"outlined",image:Gs.a}].concat(qs(Object(R.applyFilters)("stackable.icon-controls.edit.layouts",[]))),onChange:e.onChangeDesign}),o.showProNotice&&wp.element.createElement(zu,{title:Object(s.__)("Say Hello to Gorgeous Icons 👋",o.i18n),description:Object(s.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",o.i18n)}),o.showProNotice&&wp.element.createElement(l.BaseControl,{label:Object(s.__)("Icon Color Type",o.i18n),id:"icon-color-type"},wp.element.createElement(nr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n),className:"ugb--is-premium",isDisabled:!0},{value:"multicolor",title:Object(s.__)("Multicolor",o.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(R.applyFilters)("stackable.icon-controls.edit.color",wp.element.createElement(i.Fragment,null,e.onChangeColor&&wp.element.createElement(yt,{label:Object(s.__)("Icon Color",o.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&wp.element.createElement(qo,null),n&&e.onChangeBackgroundColor&&wp.element.createElement(i.Fragment,null,o.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&wp.element.createElement(l.BaseControl,{label:Object(s.__)("Icon Shape / Outline Color",o.i18n),id:"icon-shape-color-type"},wp.element.createElement(nr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(R.applyFilters)("stackable.icon-controls.edit.background-color",wp.element.createElement(i.Fragment,null,e.onChangeBackgroundColor&&wp.element.createElement(yt,{label:Object(s.__)("Icon Shape / Outline Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&wp.element.createElement(ua,{label:"shaped"===e.design?Object(s.__)("Icon Shape Border Radius",o.i18n):Object(s.__)("Outline Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&wp.element.createElement(ua,{label:"shaped"===e.design?Object(s.__)("Icon Shape Padding",o.i18n):Object(s.__)("Outline Padding",o.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&wp.element.createElement(ua,{label:Object(s.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-general-shadow"}),"outlined"===t&&e.onChangeOutlineWidth&&wp.element.createElement(ua,{label:Object(s.__)("Outline Width",o.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&wp.element.createElement(qo,null)),e.onChangeSize&&wp.element.createElement(i.Fragment,null,wp.element.createElement(cd,null,wp.element.createElement(ua,{label:Object(s.__)("Icon Size",o.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),wp.element.createElement(cd,{screen:"tablet"},wp.element.createElement(ua,{label:Object(s.__)("Icon Size",o.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),wp.element.createElement(cd,{screen:"mobile"},wp.element.createElement(ua,{label:Object(s.__)("Icon Size",o.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&wp.element.createElement(ua,{label:Object(s.__)("Icon Opacity",o.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&wp.element.createElement(ua,{label:Object(s.__)("Icon Rotation",o.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),Object(R.applyFilters)("stackable.icon-controls.edit.after",null,e))};Ws.defaultProps={icon:"",onChangeIcon:function(){},design:"",onChangeDesign:function(){},colorType:"",onChangeColorType:function(){},color:"",onChangeColor:function(){},color2:"",onChangeColor2:function(){},colorGradientDirection:"",onChangeColorGradientDirection:function(){},numPaths:"",color3:"",onChangeColor3:function(){},color4:"",onChangeColor4:function(){},color5:"",onChangeColor5:function(){},color6:"",onChangeColor6:function(){},color7:"",onChangeColor7:function(){},color8:"",onChangeColor8:function(){},color9:"",onChangeColor9:function(){},color10:"",onChangeColor10:function(){},multiOpacity1:"",onChangeMultiOpacity1:function(){},multiOpacity2:"",onChangeMultiOpacity2:function(){},multiOpacity3:"",onChangeMultiOpacity3:function(){},multiOpacity4:"",onChangeMultiOpacity4:function(){},multiOpacity5:"",onChangeMultiOpacity5:function(){},multiOpacity6:"",onChangeMultiOpacity6:function(){},multiOpacity7:"",onChangeMultiOpacity7:function(){},multiOpacity8:"",onChangeMultiOpacity8:function(){},multiOpacity9:"",onChangeMultiOpacity9:function(){},multiOpacity10:"",onChangeMultiOpacity10:function(){},borderRadius:"",onChangeBorderRadius:function(){},padding:"",onChangePadding:function(){},shadow:"",onChangeShadow:function(){},outlineWidth:"",onChangeOutlineWidth:function(){},backgroundColorType:"",onChangeBackgroundColorType:function(){},backgroundColor:"",onChangeBackgroundColor:function(){},backgroundColor2:"",onChangeBackgroundColor2:function(){},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:function(){},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:function(){},onChangeTabletSize:function(){},onChangeMobileSize:function(){},opacity:"",onChangeOpacity:function(){},rotation:"",onChangeRotation:function(){},showBackgroundShape:"",onChangeShowBackgroundShape:function(){},backgroundShape:"",onChangeBackgroundShape:function(){},backgroundShapeSize:"",onChangeBackgroundShapeSize:function(){},backgroundShapeColor:"",onChangeBackgroundShapeColor:function(){},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:function(){},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:function(){}};var Ks=Ws;function $s(){return($s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ys(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qs=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(Ks,$s({icon:a("Icon"),onChangeIcon:function(e){return t(Ys({},n("Icon"),e))},design:a("Design")||"plain",onChangeDesign:function(e){return t(Ys({},n("Design"),e))},colorType:a("ColorType"),onChangeColorType:function(e){return t(Ys({},n("ColorType"),e))},color:a("Color"),onChangeColor:function(e){return t(Ys({},n("Color"),e))},color2:a("Color2"),onChangeColor2:function(e){return t(Ys({},n("Color2"),e))},colorGradientDirection:a("ColorGradientDirection"),onChangeColorGradientDirection:function(e){return t(Ys({},n("ColorGradientDirection"),e))},color3:a("Color3"),onChangeColor3:function(e){return t(Ys({},n("Color3"),e))},color4:a("Color4"),onChangeColor4:function(e){return t(Ys({},n("Color4"),e))},color5:a("Color5"),onChangeColor5:function(e){return t(Ys({},n("Color5"),e))},color6:a("Color6"),onChangeColor6:function(e){return t(Ys({},n("Color6"),e))},color7:a("Color7"),onChangeColor7:function(e){return t(Ys({},n("Color7"),e))},color8:a("Color8"),onChangeColor8:function(e){return t(Ys({},n("Color8"),e))},color9:a("Color9"),onChangeColor9:function(e){return t(Ys({},n("Color9"),e))},color10:a("Color10"),onChangeColor10:function(e){return t(Ys({},n("Color10"),e))},multiOpacity1:a("MultiOpacity1"),onChangeMultiOpacity1:function(e){return t(Ys({},n("MultiOpacity1"),e))},multiOpacity2:a("MultiOpacity2"),onChangeMultiOpacity2:function(e){return t(Ys({},n("MultiOpacity2"),e))},multiOpacity3:a("MultiOpacity3"),onChangeMultiOpacity3:function(e){return t(Ys({},n("MultiOpacity3"),e))},multiOpacity4:a("MultiOpacity4"),onChangeMultiOpacity4:function(e){return t(Ys({},n("MultiOpacity4"),e))},multiOpacity5:a("MultiOpacity5"),onChangeMultiOpacity5:function(e){return t(Ys({},n("MultiOpacity5"),e))},multiOpacity6:a("MultiOpacity6"),onChangeMultiOpacity6:function(e){return t(Ys({},n("MultiOpacity6"),e))},multiOpacity7:a("MultiOpacity7"),onChangeMultiOpacity7:function(e){return t(Ys({},n("MultiOpacity7"),e))},multiOpacity8:a("MultiOpacity8"),onChangeMultiOpacity8:function(e){return t(Ys({},n("MultiOpacity8"),e))},multiOpacity9:a("MultiOpacity9"),onChangeMultiOpacity9:function(e){return t(Ys({},n("MultiOpacity9"),e))},multiOpacity10:a("MultiOpacity10"),onChangeMultiOpacity10:function(e){return t(Ys({},n("MultiOpacity10"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(Ys({},n("BorderRadius"),e))},padding:a("Padding"),onChangePadding:function(e){return t(Ys({},n("Padding"),e))},outlineWidth:a("OutlineWidth"),onChangeOutlineWidth:function(e){return t(Ys({},n("OutlineWidth"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(Ys({},n("Shadow"),e))},backgroundColorType:a("BackgroundColorType"),onChangeBackgroundColorType:function(e){return t(Ys({},n("BackgroundColorType"),e))},backgroundColor:a("BackgroundColor"),onChangeBackgroundColor:function(e){return t(Ys({},n("BackgroundColor"),e))},backgroundColor2:a("BackgroundColor2"),onChangeBackgroundColor2:function(e){return t(Ys({},n("BackgroundColor2"),e))},backgroundColorGradientDirection:a("BackgroundColorGradientDirection"),onChangeBackgroundColorGradientDirection:function(e){return t(Ys({},n("BackgroundColorGradientDirection"),e))},size:a("Size"),tabletSize:a("TabletSize"),mobileSize:a("MobileSize"),sizeMax:e.sizeMax,onChangeSize:function(e){return t(Ys({},n("Size"),e))},onChangeTabletSize:function(e){return t(Ys({},n("TabletSize"),e))},onChangeMobileSize:function(e){return t(Ys({},n("MobileSize"),e))},opacity:a("Opacity"),onChangeOpacity:function(e){return t(Ys({},n("Opacity"),e))},rotation:a("Rotation"),onChangeRotation:function(e){return t(Ys({},n("Rotation"),e))},showBackgroundShape:a("ShowBackgroundShape"),onChangeShowBackgroundShape:function(e){return t(Ys({},n("ShowBackgroundShape"),e))},backgroundShape:a("BackgroundShape")||"blob1",onChangeBackgroundShape:function(e){return t(Ys({},n("BackgroundShape"),e))},backgroundShapeOpacity:a("BackgroundShapeOpacity"),onChangeBackgroundShapeOpacity:function(e){return t(Ys({},n("BackgroundShapeOpacity"),e))},backgroundShapeSize:a("BackgroundShapeSize"),onChangeBackgroundShapeSize:function(e){return t(Ys({},n("BackgroundShapeSize"),e))},backgroundShapeColor:a("BackgroundShapeColor"),onChangeBackgroundShapeColor:function(e){return t(Ys({},n("BackgroundShapeColor"),e))},backgroundShapeOffsetHorizontal:a("BackgroundShapeOffsetHorizontal"),onChangeBackgroundShapeHorizontalOffset:function(e){return t(Ys({},n("BackgroundShapeOffsetHorizontal"),e))},backgroundShapeOffsetVertical:a("BackgroundShapeOffsetVertical"),onChangeBackgroundShapeVerticalOffset:function(e){return t(Ys({},n("BackgroundShapeOffsetVertical"),e))}},e))};Qs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Xs=function(e){return wp.element.createElement(i.Fragment,null,e.socialUrlFields&&wp.element.createElement(i.Fragment,null,Object.keys(be).map(function(t){return wp.element.createElement(l.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",o.i18n),be[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(b.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(qo,null),wp.element.createElement(zs,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}))};Xs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var Js=Xs;function Zs(){return(Zs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function eu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tu=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(Js,Zs({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(eu({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(eu({},n("UseSocialColors"),e))}},e))};tu.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};function nu(){return(nu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function au(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ru(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?au(n,!0).forEach(function(t){iu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):au(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lu=function(e,t){var n=te(t||"blob1");return n?wp.element.createElement("div",{className:"ugb-icon__bg-shape-wrapper"},e,wp.element.createElement(n,{className:"ugb-icon__bg-shape"})):e},ou=function(e){var t=Object(R.applyFilters)("stackable.svg-icon.extract-svg",e);return t.match(/^<svg(.*?)<\/svg>$/g)?t:t.match(/<svg/)?(t.match(/<svg.*?<\/svg>/g)||[t])[0]:t},su=function(e){var t=ru({},e,{value:"string"==typeof e.value?ou(e.value):e.value}),n=p()(["ugb-icon-inner-svg",e.className],iu({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(Yh,nu({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var r=p()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],iu({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:r},a)}return e.showBackgroundShape&&(a=lu(a,e.backgroundShape)),a=Object(R.applyFilters)("stackable.component.svg-icon",a,t)};su.defaultProps={className:"",value:"",design:"",colorType:"",showBackgroundShape:!1,backgroundShape:"",shadow:"",gradientColor1:"",gradientColor2:"",gradientDirection:0},(su.Content=function(e){var t=ru({},e,{value:"string"==typeof e.value?ou(e.value):e.value}),n=p()(["ugb-icon-inner-svg",e.className],iu({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(Yh.Content,nu({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var r=p()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],iu({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:r},a)}return e.showBackgroundShape&&(a=lu(a,e.backgroundShape)),a=Object(R.applyFilters)("stackable.component.svg-icon",a,t)}).defaultProps=ru({},su.defaultProps);var uu=su;function cu(){return(cu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fu=function(e){var t=ge(e.blockAttributes,function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(uu,cu({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))};fu.defaultProps={attrNameTemplate:"%s",blockAttributes:{}},fu.Content=function(e){var t=ge(e.blockAttributes,function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(uu.Content,cu({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))},fu.defaultProps={attrNameTemplate:"%s",blockAttributes:{}};var pu=fu;function du(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function gu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var mu=Object(gt.withInstanceId)(function(e){var t=gu(Object(i.useState)(!1),2),n=t[0],a=t[1],r=gu(Object(i.useState)(!1),2),o=r[0],s=r[1],u=e.instanceId,c=e.isOpen,f=e.onChange,p=du(e,["instanceId","isOpen","onChange"]);return Object(i.useEffect)(function(){e.onToggle(n)},[n]),wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(u)},wp.element.createElement(l.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){o?(a(!1),s(!1)):a(!0)}},wp.element.createElement(pu,p)),(null!==c&&c||null===c&&n)&&wp.element.createElement(Vo,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(u))?s(!0):(a(!1),s(!1))},onClose:function(){return a(!1)},onChange:f}))});mu.defaultProps={isOpen:null,className:"",value:"",onChange:function(){},onToggle:function(){}};var bu=mu;function hu(){return(hu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vu=q.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),yu=q.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),wu=q.a.createElement("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),ku=q.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),Ou=q.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),Cu=q.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),Su=q.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),_u=q.a.createElement("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),xu=q.a.createElement("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),Eu=q.a.createElement("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),ju=q.a.createElement("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}),Pu=function(e){return q.a.createElement("svg",hu({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),vu,yu,wu,ku,Ou,Cu,Su,_u,xu,Eu,ju)},Tu={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",o.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",o.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",o.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",o.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",o.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",o.i18n),description:Object(s.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)}},Bu=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement(Pu,null),wp.element.createElement("h4",null,e.title||Tu[e.type].title),wp.element.createElement("p",null,e.description||Tu[e.type].description),e.showButton&&wp.element.createElement(ll,{button:e.button||Tu[e.type].button}),wp.element.createElement("p",{className:"ugb-design-control-pro-note__notice"},Object(s.__)("You can hide premium hints in the settings",o.i18n)))};Bu.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var Mu=Bu;function Nu(e){return(Nu="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 Iu(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Au(e){return(Au=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Du(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ru(e,t){return(Ru=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var zu=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Au(t).apply(this,arguments))||"object"!==Nu(a)&&"function"!=typeof a?Du(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(Du(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ru(e,t)}(t,i["Component"]),n=t,(a=[{key:"onClick",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=p()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"})),wp.element.createElement("div",{className:e},wp.element.createElement(Mu,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&Iu(n.prototype,a),r&&Iu(n,r),t}();function Lu(e){return(Lu="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 Fu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Uu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fu(n,!0).forEach(function(t){Hu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fu(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vu(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 Gu(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function qu(e){return(qu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Wu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ku(e,t){return(Ku=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var $u=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var r=(e=!(a=qu(t).apply(this,arguments))||"object"!==Lu(a)&&"function"!=typeof a?Wu(n):a).getEnabledValues(),i=!r.length||r.every(function(e){return e===r[0]}),l=r.every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:i},e.onToggleLock=e.onToggleLock.bind(Wu(e)),e.onChangeTop=e.onChangeTop.bind(Wu(e)),e.onChangeRight=e.onChangeRight.bind(Wu(e)),e.onChangeBottom=e.onChangeBottom.bind(Wu(e)),e.onChangeLeft=e.onChangeLeft.bind(Wu(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ku(e,t)}(t,i["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(Vu(this.props.enableTop?[this.props.top]:[]),Vu(this.props.enableRight?[this.props.right]:[]),Vu(this.props.enableBottom?[this.props.bottom]:[]),Vu(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(Vu(this.props.enableTop?["top"]:[]),Vu(this.props.enableRight?["right"]:[]),Vu(this.props.enableBottom?["bottom"]:[]),Vu(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(b.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Uu({},this.getEnabledValues(),{top:n}))}},{key:"onChangeRight",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Uu({},this.getEnabledValues(),{right:n}))}},{key:"onChangeBottom",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Uu({},this.getEnabledValues(),{bottom:n}))}},{key:"onChangeLeft",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Uu({},this.getEnabledValues(),{left:n}))}},{key:"render",value:function(){var e=this.props.instanceId,t="ugb-four-number-control-".concat(e,"__item-");return wp.element.createElement(l.BaseControl,{help:this.props.help,className:p()("ugb-four-number-control",this.props.className)},wp.element.createElement(ra,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-four-number-control__wrapper"},wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-top")},wp.element.createElement("input",{id:"".concat(t,"-top"),type:"number",onChange:this.onChangeTop,"aria-label":Object(s.__)("Top",o.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",o.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-right")},wp.element.createElement("input",{id:"".concat(t,"-right"),type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",o.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-bottom")},wp.element.createElement("input",{id:"".concat(t,"-bottom"),type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",o.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-left")},wp.element.createElement("input",{id:"".concat(t,"-left"),type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",o.i18n))),wp.element.createElement(l.Button,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(l.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&Gu(n.prototype,a),r&&Gu(n,r),t}();$u.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};Object(gt.withInstanceId)($u);function Yu(){return(Yu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qu=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Xu=q.a.createElement("path",{d:"M4.4 15.7h11.2c.1 0 .2 0 .2.1l2 2c.2.2.1.6-.2.6H2.4c-.3 0-.4-.3-.2-.6l2-2s.1-.1.2-.1z",fill:"#555d63"}),Ju=function(e){return q.a.createElement("svg",Yu({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Qu,Xu)};function Zu(){return(Zu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ec=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),tc=q.a.createElement("path",{d:"M4.3 4.4v11.2c0 .1 0 .2-.1.2l-2 2c-.2.2-.6.1-.6-.2V2.4c0-.3.4-.4.6-.2l2 2s.1.1.1.2z",fill:"#555d63"}),nc=function(e){return q.a.createElement("svg",Zu({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ec,tc)};function ac(){return(ac=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rc=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),ic=q.a.createElement("path",{d:"M15.7 15.6V4.4c0-.1 0-.2.1-.2l2-2c.2-.2.6-.1.6.2v15.2c0 .3-.3.4-.6.2l-2-2s-.1-.1-.1-.2z",fill:"#555d63"}),lc=function(e){return q.a.createElement("svg",ac({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),rc,ic)};function oc(){return(oc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sc=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),uc=q.a.createElement("path",{d:"M15.6 4.3H4.4c-.1 0-.2 0-.2-.1l-2-2c-.2-.2-.1-.6.2-.6h15.2c.3 0 .4.3.2.6l-2 2s-.1.1-.2.1z",fill:"#555d63"}),cc=function(e){return q.a.createElement("svg",oc({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),sc,uc)};function fc(e){return(fc="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 pc(){return(pc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function dc(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 gc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function mc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gc(n,!0).forEach(function(t){bc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gc(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function bc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hc(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function vc(e){return(vc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wc(e,t){return(wc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var kc=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var r=(e=!(a=vc(t).apply(this,arguments))||"object"!==fc(a)&&"function"!=typeof a?yc(n):a).getEnabledValues(),i=e.firstValue(),l=Object.values(r).every(function(e){return e===i}),o=Object.values(r).every(function(e){return""===e});return e.state={locked:o?e.props.defaultLocked:l},e.onToggleLock=e.onToggleLock.bind(yc(e)),e.onChangeAll=e.onChangeAll.bind(yc(e)),e.onChangeTop=e.onChangeTop.bind(yc(e)),e.onChangeRight=e.onChangeRight.bind(yc(e)),e.onChangeBottom=e.onChangeBottom.bind(yc(e)),e.onChangeLeft=e.onChangeLeft.bind(yc(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wc(e,t)}(t,i["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return mc({},t,bc({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(dc(this.props.enableTop?["top"]:[]),dc(this.props.enableRight?["right"]:[]),dc(this.props.enableBottom?["bottom"]:[]),dc(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(b.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(mc({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(mc({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(mc({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(mc({},this.getEnabledValues(),{left:e||0===e?e:""}))}},{key:"render",value:function(){var e=this.props,t=e.instanceId,n=e.units,a=e.unit,r="ugb-four-range-control-".concat(t,"__item-"),u={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},c=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(u.min=this.props.min[c]),Array.isArray(this.props.max)&&(u.max=this.props.max[c]),Array.isArray(this.props.step)&&(u.step=this.props.step[c]),Array.isArray(this.props.placeholder)&&(u.placeholder=this.props.placeholder[c]),Array.isArray(this.props.initialPosition)&&(u.initialPosition=this.props.initialPosition[c]);var f=p()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),d=wp.element.createElement(l.Button,{className:f,onClick:this.onToggleLock,icon:wp.element.createElement(l.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(l.BaseControl,{help:this.props.help,className:p()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(ra,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:d}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(ua,pc({id:"".concat(r,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},u))),!this.state.locked&&wp.element.createElement(i.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Top",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(cc,null))),wp.element.createElement(ua,pc({id:"".concat(r,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},u,{placeholder:this.props.placeholderTop||u.placeholder}))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Right",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(lc,null))),wp.element.createElement(ua,pc({id:"".concat(r,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},u,{placeholder:this.props.placeholderRight||u.placeholder}))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Bottom",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Ju,null))),wp.element.createElement(ua,pc({id:"".concat(r,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},u,{placeholder:this.props.placeholderBottom||u.placeholder}))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Left",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(nc,null))),wp.element.createElement(ua,pc({id:"".concat(r,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},u,{placeholder:this.props.placeholderLeft||u.placeholder})))))}}])&&hc(n.prototype,a),r&&hc(n,r),t}();kc.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,min:0,max:50,step:1,placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",initialPosition:""};var Oc=kc,Cc=n(62),Sc=n.n(Cc),_c=n(63),xc=n.n(_c),Ec=n(64),jc=n.n(Ec),Pc=n(65),Tc=n.n(Pc),Bc=n(66),Mc=n.n(Bc),Nc=n(67),Ic=n.n(Nc),Ac=n(68),Dc=n.n(Ac),Rc=n(69),zc=n.n(Rc),Lc=n(70),Fc=n.n(Lc),Uc=n(71),Hc=n.n(Uc),Vc=n(72),Gc=n.n(Vc),qc=n(73),Wc=n.n(qc),Kc=n(74),$c=n.n(Kc),Yc=n(75),Qc=n.n(Yc),Xc=n(76),Jc=n.n(Xc),Zc=n(77),ef=n.n(Zc),tf=n(78),nf=n.n(tf),af=n(79),rf=n.n(af),lf=n(80),of=n.n(lf),sf=n(81),uf=n.n(sf),cf=n(82),ff=n.n(cf),pf=n(83),df=n.n(pf),gf=n(84),mf=n.n(gf),bf=n(85),hf=n.n(bf),vf=n(86),yf=n.n(vf),wf=n(87),kf=n.n(wf),Of=n(88),Cf=n.n(Of),Sf=n(89),_f=n.n(Sf),xf=n(90),Ef=n.n(xf),jf=n(91),Pf=n.n(jf);function Tf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Bf(){return(Bf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Mf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nf(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function If(e,t,n){return t&&Nf(e.prototype,t),n&&Nf(e,n),e}function Af(e){return(Af="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 Df(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rf(e,t){return!t||"object"!==Af(t)&&"function"!=typeof t?Df(e):t}function zf(e){return(zf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Lf(e,t){return(Lf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ff(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lf(e,t)}function Uf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hf=n(18),Vf=n.n(Hf),Gf=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.forEach(function(e){return e&&e.apply(void 0,n)})}};function qf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Wf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qf(Object(n),!0).forEach(function(t){Uf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Kf=function(e){function t(){var e,n;Mf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Uf(Df(n=Rf(this,(e=zf(t)).call.apply(e,[this].concat(r)))),"getRailProps",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,a=t.emitMouse,r=t.emitTouch;return Wf({},e,{onMouseDown:Gf(e.onMouseDown,a),onTouchStart:Gf(e.onTouchStart,r)})}),n}return Ff(t,G["Component"]),If(t,[{key:"render",value:function(){var e=this.getRailProps,t=this.props,n=t.getEventData,a=t.activeHandleID,r=(0,t.children)({getEventData:n,activeHandleID:a,getRailProps:e});return r&&q.a.Children.only(r)}}]),t}();Kf.propTypes={};var $f=Kf,Yf=function(e){function t(){return Mf(this,t),Rf(this,zf(t).apply(this,arguments))}return Ff(t,G["Component"]),If(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.values,a=e.scale,r=e.count,i=t({getEventData:e.getEventData,activeHandleID:e.activeHandleID,ticks:(n||a.getTicks(r)).map(function(e){return{id:"$$-".concat(e),value:e,percent:a.getValue(e)}})});return i&&q.a.Children.only(i)}}]),t}();Yf.propTypes={},Yf.defaultProps={count:10};var Qf=Yf;function Xf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Jf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xf(Object(n),!0).forEach(function(t){Uf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Zf=function(e){function t(){var e,n;Mf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Uf(Df(n=Rf(this,(e=zf(t)).call.apply(e,[this].concat(r)))),"getTrackProps",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,a=t.emitMouse,r=t.emitTouch;return Jf({},e,{onMouseDown:Gf(e.onMouseDown,a),onTouchStart:Gf(e.onTouchStart,r)})}),n}return Ff(t,G["Component"]),If(t,[{key:"render",value:function(){for(var e=this.getTrackProps,t=this.props,n=t.children,a=t.left,r=t.right,i=t.scale,l=t.handles,o=t.getEventData,s=t.activeHandleID,u=i.getDomain(),c=[],f=0;f<l.length+1;f++){var p=l[f-1],d=l[f];0===f&&!0===a?p={id:"$",value:u[0],percent:0}:f===l.length&&!0===r&&(d={id:"$",value:u[1],percent:100}),p&&d&&c.push({id:"".concat(p.id,"-").concat(d.id),source:p,target:d})}var g=n({getEventData:o,activeHandleID:s,tracks:c,getTrackProps:e});return g&&q.a.Children.only(g)}}]),t}();Zf.propTypes={},Zf.defaultProps={left:!0,right:!0};var ep=Zf;function tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function np(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tp(Object(n),!0).forEach(function(t){Uf(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ap=function(e){function t(){var e,n;Mf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Uf(Df(n=Rf(this,(e=zf(t)).call.apply(e,[this].concat(r)))),"autofocus",function(e){e.target.focus()}),Uf(Df(n),"getHandleProps",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.props,r=a.emitKeyboard,i=a.emitMouse,l=a.emitTouch;return np({},t,{onKeyDown:Gf(t.onKeyDown,function(t){return r(t,e)}),onMouseDown:Gf(t.onMouseDown,n.autofocus,function(t){return i(t,e)}),onTouchStart:Gf(t.onTouchStart,function(t){return l(t,e)})})}),n}return Ff(t,G["Component"]),If(t,[{key:"render",value:function(){var e=this.getHandleProps,t=this.props,n=t.activeHandleID,a=(0,t.children)({handles:t.handles,activeHandleID:n,getHandleProps:e});return a&&q.a.Children.only(a)}}]),t}();ap.propTypes={};var rp=ap;function ip(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var lp="react-compound-slider:";function op(e){return function(t,n){return t.val>n.val?e?-1:1:n.val>t.val?e?1:-1:0}}function sp(e,t,n,a){var r=e.findIndex(function(e){return e.key===t});if(-1!==r){var i=e[r],l=i.key;return i.val===n?e:[].concat(ip(e.slice(0,r)),[{key:l,val:n}],ip(e.slice(r+1))).sort(op(a))}return e}function up(e,t){if(!e)return[0,0];var n=e.getBoundingClientRect();return[t?n.top:n.left,t?n.bottom:n.right]}function cp(e){var t=e.type,n=void 0===t?"":t,a=e.touches;return!a||a.length>1||"touchend"===n.toLowerCase()&&a.length>0}function fp(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function pp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,r=0;return{handles:e.map(function(e){var t=n.getValue(e);return e!==t&&(r+=1,Vf()(!a,"".concat(lp," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t}).map(function(e,t){return{key:"$$-".concat(t),val:e}}).sort(op(t)),changes:r}}var dp=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN};var gp,mp;1===(gp=dp).length&&(mp=gp,gp=function(e,t){return dp(mp(e),t)});var bp=Array.prototype,hp=(bp.slice,bp.map,Math.sqrt(50)),vp=Math.sqrt(10),yp=Math.sqrt(2),kp=function(e,t,n){var a,r,i,l,o=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((a=t<e)&&(r=e,e=t,t=r),0===(l=function(e,t,n){var a=(t-e)/Math.max(0,n),r=Math.floor(Math.log(a)/Math.LN10),i=a/Math.pow(10,r);return r>=0?(i>=hp?10:i>=vp?5:i>=yp?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(i>=hp?10:i>=vp?5:i>=yp?2:1)}(e,t,n))||!isFinite(l))return[];if(l>0)for(e=Math.ceil(e/l),t=Math.floor(t/l),i=new Array(r=Math.ceil(t-e+1));++o<r;)i[o]=(e+o)*l;else for(e=Math.floor(e*l),t=Math.ceil(t*l),i=new Array(r=Math.ceil(e-t+1));++o<r;)i[o]=(e-o)/l;return a&&i.reverse(),i};var Op=function(){function e(){Mf(this,e),this.domain=[0,1],this.range=[0,1],this.interpolator=null}return If(e,[{key:"createInterpolator",value:function(e,t){var n=e[0],a=e[1],r=t[0],i=t[1];return a<n?(n=this.deinterpolateValue(a,n),r=this.interpolateValue(i,r)):(n=this.deinterpolateValue(n,a),r=this.interpolateValue(r,i)),function(e){return r(n(e))}}},{key:"interpolateValue",value:function(e,t){return t-=e=+e,function(n){return e+t*n}}},{key:"deinterpolateValue",value:function(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(){return t}}},{key:"rescale",value:function(){return this.interpolator=null,this}},{key:"getValue",value:function(e){var t=this.domain,n=this.range;return(this.interpolator||(this.interpolator=this.createInterpolator(t,n)))(+e)}},{key:"setDomain",value:function(e){return this.domain=e.map(function(e){return+e}),this.rescale(),this}},{key:"getDomain",value:function(){return this.domain}},{key:"setRange",value:function(e){return this.range=e.map(function(e){return+e}),this}},{key:"getTicks",value:function(e){var t=this.domain;return kp(t[0],t[t.length-1],e||10)}}]),e}();function Cp(e,t,n){return Math.min(Math.max(e,t),n)}var Sp=function e(){var t=this;Mf(this,e),Uf(this,"setDomain",function(e){return t.domain=e.slice(),t}),Uf(this,"setRange",function(e){return t.range=e.slice(),t}),Uf(this,"setStep",function(e){return t.step=e,t}),Uf(this,"getValue",function(e){var n=Tf(t.domain,2),a=n[0],r=n[1],i=Tf(t.range,2),l=i[0],o=i[1],s=t.step,u=(Cp(e,a,r)-a)/(r-a);return Cp(s*Math.round(u*(o-l)/s)+l,l<o?l:o,o>l?o:l)}),this.step=1,this.domain=[0,1],this.range=[0,1]},_p="undefined"!=typeof window&&"undefined"!=typeof document,xp=function(){},Ep=function(e,t,n,a){var r=a?e-t:e+t;return a?Math.max(n[0],r):Math.min(n[1],r)},jp=function(e,t,n,a){var r=a?e+t:e-t;return a?Math.min(n[1],r):Math.max(n[0],r)},Pp=function(e){function t(){var e,n;Mf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Uf(Df(n=Rf(this,(e=zf(t)).call.apply(e,[this].concat(r)))),"state",{step:null,values:null,domain:null,handles:[],reversed:null,activeHandleID:null,valueToPerc:null,valueToStep:null,pixelToStep:null}),Uf(Df(n),"slider",q.a.createRef()),Uf(Df(n),"onKeyDown",function(e,t){var a=["ArrowRight","ArrowUp"],r=["ArrowDown","ArrowLeft"],i=Df(n),l=i.state.handles,o=i.props,s=o.step,u=o.reversed,c=o.vertical,f=o.domain,p=e.key||e.keyCode;if(a.concat(r).includes(p)){if(c){var d=[r,a];a=d[0],r=d[1]}e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault();var g=l.find(function(e){return e.key===t});if(g){var m=g.val,b=m;a.includes(p)?b=Ep(m,s,f,u):r.includes(p)&&(b=jp(m,s,f,u));var h=l.map(function(e){return e.key===t?{key:e.key,val:b}:e});n.submitUpdate(h,!0)}}}),Uf(Df(n),"onMouseDown",function(e,t){n.onStart(e,t,!1)}),Uf(Df(n),"onTouchStart",function(e,t){cp(e)||n.onStart(e,t,!0)}),Uf(Df(n),"getEventData",function(e,t){var a,r=Df(n),i=r.state,l=i.pixelToStep,o=i.valueToPerc,s=r.props.vertical;return l.setDomain(up(n.slider.current,s)),{value:a=t?l.getValue(fp(s,e)):l.getValue(s?e.clientY:e.pageX),percent:o.getValue(a)}}),Uf(Df(n),"onMouseMove",function(e){var t=Df(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;i.setDomain(up(n.slider.current,s));var c=sp(r,l,i.getValue(s?e.clientY:e.pageX),u);n.submitUpdate(c)}),Uf(Df(n),"onTouchMove",function(e){var t=Df(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;if(!cp(e)){i.setDomain(up(n.slider.current,s));var c=sp(r,l,i.getValue(fp(s,e)),u);n.submitUpdate(c)}}),Uf(Df(n),"onMouseUp",function(){var e=Df(n),t=e.state,a=t.handles,r=t.activeHandleID,i=e.props,l=i.onChange,o=i.onSlideEnd;l(a.map(function(e){return e.val})),o(a.map(function(e){return e.val}),{activeHandleID:r}),n.setState({activeHandleID:null}),_p&&(document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onMouseUp))}),Uf(Df(n),"onTouchEnd",function(){var e=Df(n),t=e.state,a=t.handles,r=t.activeHandleID,i=e.props,l=i.onChange,o=i.onSlideEnd;l(a.map(function(e){return e.val})),o(a.map(function(e){return e.val}),{activeHandleID:r}),n.setState({activeHandleID:null}),_p&&(document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onTouchEnd))}),n}return Ff(t,G["PureComponent"]),If(t,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain(up(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){_p&&(document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"onStart",value:function(e,t,n){var a=this.state.handles,r=this.props.onSlideStart;n||e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),a.find(function(e){return e.key===t})?(this.setState({activeHandleID:t}),r(a.map(function(e){return e.val}),{activeHandleID:t}),n?this.addTouchEvents():this.addMouseEvents()):(this.setState({activeHandleID:null}),this.handleRailAndTrackClicks(e,n))}},{key:"handleRailAndTrackClicks",value:function(e,t){var n,a=this,r=this.state,i=r.handles,l=r.pixelToStep,o=this.props,s=o.vertical,u=o.reversed,c=this.slider;l.setDomain(up(c.current,s)),n=t?l.getValue(fp(s,e)):l.getValue(s?e.clientY:e.pageX);for(var f=null,p=1/0,d=0;d<i.length;d++){var g=i[d],m=g.key,b=g.val,h=Math.abs(b-n);h<p&&(f=m,p=h)}var v=sp(i,f,n,u);this.setState({activeHandleID:f},function(){a.submitUpdate(v,!0),t?a.addTouchEvents():a.addMouseEvents()})}},{key:"addMouseEvents",value:function(){_p&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){_p&&(document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",this.onTouchEnd))}},{key:"submitUpdate",value:function(e,t){var n=this.props,a=n.mode,r=n.step,i=n.onUpdate,l=n.onChange,o=n.reversed,s=this.state.valueToStep.getValue;this.setState(function(n){var u,c=n.handles;if("function"==typeof a)u=a(c,e,r,o,s),Vf()(Array.isArray(u),"Custom mode function did not return an array.");else switch(a){case 1:u=function(e,t){return t}(0,e);break;case 2:u=function(e,t){for(var n=0;n<e.length;n++){if(e[n].key!==t[n].key)return e;if(t[n+1]&&t[n].val===t[n+1].val)return e}return t}(c,e);break;case 3:u=function e(t,n,a,r,i){for(var l=-1,o=!0,s=0;s<t.length;s++){var u=t[s],c=n[s];if(!c||c.key!==u.key)return t;c.val!==u.val&&(l=s,o=c.val-u.val>0)}if(-1===l)return t;for(var f=o?a:-a,p=0;p<n.length;p++){var d=n[p],g=n[p+1];if(g&&d.val===g.val){if(p===l){var m=g.val+f;if(i(m)===m){var b=e(n,sp(n,g.key,g.val+f,r),a,r,i);return b===n?t:b}return t}var h=d.val+f;if(i(h)===h){var v=e(n,sp(n,d.key,d.val+f,r),a,r,i);return v===n?t:v}return t}}return n}(c,e,r,o,s);break;default:u=e,Vf()(!1,"".concat(lp," Invalid mode value."))}return i(u.map(function(e){return e.val})),t&&l(u.map(function(e){return e.val})),{handles:u}})}},{key:"render",value:function(){var e=this,t=this.state,n=t.handles,a=t.valueToPerc,r=t.activeHandleID,i=this.props,l=i.className,o=i.rootStyle,s=i.rootProps,u=i.component,c=i.disabled,f=i.flatten,p=n.map(function(e){var t=e.key,n=e.val;return{id:t,value:n,percent:a.getValue(n)}}),d=q.a.Children.map(this.props.children,function(t){return!t||t.type.name!==$f.name&&t.type.name!==Qf.name&&t.type.name!==ep.name&&t.type.name!==rp.name?t:q.a.cloneElement(t,{scale:a,handles:p,activeHandleID:r,getEventData:e.getEventData,emitKeyboard:c?xp:e.onKeyDown,emitMouse:c?xp:e.onMouseDown,emitTouch:c?xp:e.onTouchStart})});return f?q.a.createElement(G.Fragment,null,q.a.createElement(u,Bf({},s,{style:o,className:l,ref:this.slider})),d):q.a.createElement(u,Bf({},s,{style:o,className:l,ref:this.slider}),d)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,a,r=e.step,i=e.values,l=e.domain,o=e.reversed,s=e.onUpdate,u=e.onChange,c=e.warnOnChanges,f=t.valueToPerc,p=t.valueToStep,d=t.pixelToStep,g={};if(f&&p&&d||(f=new Op,p=new Sp,d=new Sp,g.valueToPerc=f,g.valueToStep=p,g.pixelToStep=d),null===t.step||null===t.domain||null===t.reversed||r!==t.step||l[0]!==t.domain[0]||l[1]!==t.domain[1]||o!==t.reversed){var m=Tf(l,2),b=m[0],h=m[1];p.setStep(r).setRange([b,h]).setDomain([b,h]),!0===o?(f.setDomain([b,h]).setRange([100,0]),d.setStep(r).setRange([h,b])):(f.setDomain([b,h]).setRange([0,100]),d.setStep(r).setRange([b,h])),Vf()(h>b,"".concat(lp," Max must be greater than min (even if reversed). Max is ").concat(h,". Min is ").concat(b,"."));var v=pp(i||t.values,o,p,c),y=v.handles;(v.changes||void 0===i||i===t.values)&&(s(y.map(function(e){return e.val})),u(y.map(function(e){return e.val}))),g.step=r,g.values=i,g.domain=l,g.handles=y,g.reversed=o}else if(n=i,a=t.values,!(n===a||n.length===a.length&&n.reduce(function(e){return function(t,n,a){return t&&e[a]===n}}(a),!0))){var w=pp(i,o,p,c),k=w.handles;w.changes&&(s(k.map(function(e){return e.val})),u(k.map(function(e){return e.val}))),g.values=i,g.handles=k}return Object.keys(g).length?g:null}}]),t}();Pp.propTypes={},Pp.defaultProps={mode:1,step:.1,domain:[0,100],component:"div",rootProps:{},rootStyle:{},vertical:!1,reversed:!1,onChange:xp,onUpdate:xp,onSlideStart:xp,onSlideEnd:xp,disabled:!1,flatten:!1,warnOnChanges:!1};var Tp=Pp;Tp.Rail=$f,Tp.Ticks=Qf,Tp.Tracks=ep,Tp.Handles=rp;function Bp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Mp(){return(Mp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Np={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},Ip={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},Ap=function(e){var t=e.getRailProps;return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",Mp({style:Np},t())),wp.element.createElement("div",{style:Ip}))},Dp=function(e){var t=Bp(e.domain,2),n=t[0],a=t[1],r=e.handle,i=r.id,l=r.value,o=r.percent,s=e.disabled,u=void 0!==s&&s,c=e.getHandleProps;return wp.element.createElement("button",Mp({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":l,disabled:u,style:{left:"".concat(o,"%")}},c(i)))},Rp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(var n=e.length-1;n>=1;n--)if(e[n]<10){var a=10-e[n];e[n]=10,e[n-1]-=a}for(var r=0;r<e.length-1;r++)if(e[r]<10){var i=10-e[r];e[r]=10,e[r+1]-=i}if("right"===t)for(var l=e.length-1;l>=1;l--)if(e[l]<10){var o=10-e[l];e[l]=10,e[l-1]-=o}return e};function zp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Lp(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Fp={position:"relative",width:"100%"},Up=[0,100],Hp=function(e){var t=0;return[].concat(Lp(e),[100]).map(function(e){var n=e-t;return t+=n,n})},Vp=function(e){var t=0;return Lp(e).pop(),e.reduce(function(n,a,r){if(r===e.length-1)return n;var i=a+t;return t+=a,n.push(i),n},[])},Gp=function(e){return wp.element.createElement(Tp,{className:"ugb-column-widths-control__columns-slider",rootStyle:Fp,mode:function(e,t){var n,a=e.map(function(e){return e.val}),r=t.map(function(e){return e.val});if(Object(b.isEqual)(a,r))return t;if((n=[0].concat(Lp(r),[100])).some(function(e,t){return 0!==t&&e-n[t-1]<10})){var i=zp(function(e,t){var n,a=0;return t.some(function(t,r){return t!==e[r]&&(a=r,n=t>e[r]?"right":"left",!0)}),[a,n]}(a,r),2);i[0];(function(e,t,n){var a=Hp(e),r=Rp(a,n);return Vp(r)})(r,0,i[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(Hp(t))},domain:Up,values:Vp(e.value)},wp.element.createElement($f,null,function(e){var t=e.getRailProps;return wp.element.createElement(Ap,{getRailProps:t})}),wp.element.createElement(rp,null,function(e){var t=e.handles,n=e.getHandleProps;return wp.element.createElement("div",{className:"slider-handles"},t.map(function(e){return wp.element.createElement(Dp,{key:e.id,handle:e,domain:Up,getHandleProps:n})}))}))};Gp.defaultProps={onChange:function(){},value:[]};var qp=Gp;function Wp(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Kp=function(e){return e.every(function(e){return!e})},$p=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:Kp(e.value)?"column":void 0,justifyContent:Kp(e.value)?"space-around":void 0};return wp.element.createElement("div",{className:"ugb-column-widths-control__columns-input",style:n},e.value.map(function(t,n){return wp.element.createElement("input",{key:n,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:function(t){var a=parseInt(t.target.value,10),r=Wp(e.value);r[n]=isNaN(a)?"":a,e.onChange(r)},onBlur:function(){var t=Rp(e.value),a=100-t.reduce(function(e,t){return e+t},0);n<e.value.length-1?t[n+1]+=a:t[n-1]+=a,e.onChange(Rp(t))}})}))};$p.defaultProps={onChange:function(){},value:[]};var Yp=$p;function Qp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Xp={"2-1":[50,50],"2-2":[67,33],"2-3":[33,67],"3-1":[33,33,34],"3-2":[25,50,25],"3-3":[50,25,25],"3-4":[25,25,50],"4-1":[25,25,25,25],"4-2":[40,20,20,20],"4-3":[20,20,20,40],"5-1":[20,20,20,20,20],"6-1":[16,17,17,17,17,16]},Jp={plain:{2:[{value:"2-1",image:Sc.a},{value:"2-2",image:xc.a},{value:"2-3",image:jc.a}],3:[{value:"3-1",image:Tc.a},{value:"3-2",image:Mc.a},{value:"3-3",image:Ic.a},{value:"3-4",image:Dc.a}],4:[{value:"4-1",image:zc.a},{value:"4-2",image:Fc.a},{value:"4-3",image:Hc.a}]},grid:{2:[{value:"2-1",image:Gc.a},{value:"2-2",image:Wc.a},{value:"2-3",image:$c.a}],3:[{value:"3-1",image:Qc.a},{value:"3-2",image:Jc.a},{value:"3-3",image:ef.a},{value:"3-4",image:nf.a}],4:[{value:"4-1",image:rf.a},{value:"4-2",image:of.a},{value:"4-3",image:uf.a}]},uneven:{2:[{value:"2-1",image:ff.a},{value:"2-2",image:df.a},{value:"2-3",image:mf.a}],3:[{value:"3-1",image:hf.a},{value:"3-2",image:yf.a},{value:"3-3",image:kf.a},{value:"3-4",image:Cf.a}],4:[{value:"4-1",image:_f.a},{value:"4-2",image:Ef.a},{value:"4-3",image:Pf.a}]}},Zp=function(e){return e.every(function(e){return!e})},ed=function(e){var t=Qp(Object(i.useState)(-1),2),n=(t[0],t[1]),a=Qp(Object(i.useState)(!0),2),r=(a[0],a[1]),o=Qp(Object(i.useState)(""),2),u=o[0],c=o[1];Object(i.useEffect)(function(){c("")},[e.columns]);var f="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",d=Jp[f],g=wp.element.createElement(l.Button,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?Zp(e.values):Object(b.isEqual)(e.values,Xp[u||"".concat(e.columns,"-1")]),onClick:function(){c(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(Xp[u||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(s.__)("Reset"));return wp.element.createElement(l.BaseControl,{help:e.help,className:p()(["ugb-columns-width-control","ugb--help-tip-column-width",e.className])},(e.hasIndividualControls||!e.hasIndividualControls&&d[e.columns])&&wp.element.createElement(ra,{label:e.label,afterButton:e.hasIndividualControls?g:null,screens:e.screens}),d[e.columns]&&wp.element.createElement(Wl,{options:d[e.columns],onChange:function(t){n(-1),r(!0),c(t),e.onChange(Xp[t])}}),e.hasIndividualControls&&wp.element.createElement(i.Fragment,null,wp.element.createElement(qp,{value:Zp(e.values)?Xp["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement(Yp,{value:Zp(e.values)?e.forceBlank?e.values:Xp["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};ed.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(s.__)("Column Widths",o.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};function td(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nd=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=ge(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(i.Fragment,null,a.includes("desktop")&&wp.element.createElement(cd,{screens:a},i.Children.toArray(e.children).map(function(a){return Object(i.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(td({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(cd,{screens:a,screen:"tablet"},i.Children.toArray(e.children).map(function(a){return Object(i.cloneElement)(a,{value:n("Tablet"),placeholder:n("Tablet")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(td({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(cd,{screens:a,screen:"mobile"},i.Children.toArray(e.children).map(function(a){return Object(i.cloneElement)(a,{value:n("Mobile"),placeholder:n("Mobile")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(td({},t("Mobile"),n))}})})))};nd.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var ad=nd;function rd(e){return(rd="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 id(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ld(e){return(ld=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function od(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sd(e,t){return(sd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ud=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ld(t).apply(this,arguments))||"object"!==rd(a)&&"function"!=typeof a?od(n):a).state={screen:Me()},e.onScreenChange=e.onScreenChange.bind(od(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sd(e,t)}(t,i["Component"]),n=t,(a=[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(R.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(R.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=i.Children.toArray(this.props.children).map(function(t){return Object(i.cloneElement)(t,{screens:e.props.screens,screen:e.state.screen})}),n=this.state.screen===this.props.screen,a=!this.props.screens.includes(this.state.screen)&&!n&&"desktop"===this.props.screen;return wp.element.createElement(i.Fragment,null,(n||a)&&t)}}])&&id(n.prototype,a),r&&id(n,r),t}();ud.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var cd=Object(gt.withInstanceId)(ud);function fd(){return(fd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pd=q.a.createElement("path",{d:"M26.6 40.2h-8.2V27.8H8.8v12.4H.6V9.8h8.2v11.3h9.5V9.8h8.2v30.4zM49.4 40.2h-8.3V24.1c0-2 0-3.7.1-5.4-.5.6-1.1 1.3-1.9 2l-3.4 2.8-4.3-5.2L42 9.8h7.4v30.4z"}),dd=function(e){return q.a.createElement("svg",fd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),pd)};function gd(){return(gd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var md=q.a.createElement("path",{d:"M24.1 39.6H18V27.2H6.6v12.4H.5V10.8h6.1v11.3H18V10.8h6.1v28.8zM49.5 39.6H29.4v-4.2l7.2-7.3c2.1-2.2 3.5-3.7 4.2-4.6.7-.8 1.1-1.6 1.4-2.4.3-.7.4-1.5.4-2.2 0-1.2-.3-2-1-2.6-.6-.6-1.5-.8-2.5-.8-1.1 0-2.2.3-3.2.8s-2.1 1.2-3.3 2.2l-3.3-3.9c1.4-1.2 2.6-2.1 3.5-2.6.9-.5 1.9-.9 3-1.2 1.1-.3 2.3-.4 3.7-.4 1.8 0 3.4.3 4.8 1s2.4 1.6 3.2 2.8 1.1 2.5 1.1 4.1c0 1.3-.2 2.6-.7 3.7-.5 1.2-1.2 2.4-2.2 3.6s-2.7 3-5.2 5.2l-3.7 3.5v.3h12.5v5z"}),bd=function(e){return q.a.createElement("svg",gd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),md)};function hd(){return(hd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vd=q.a.createElement("path",{d:"M24 38.9h-4.6V26.4H6.6V39H2V11.1h4.6v11.4h12.8V11.1H24v27.8zM47.2 17.5c0 1.8-.5 3.2-1.5 4.4-1 1.2-2.5 2-4.3 2.4v.2c2.2.3 3.9 1 5 2.1s1.7 2.6 1.7 4.4c0 2.7-.9 4.7-2.8 6.2s-4.6 2.2-8.1 2.2c-3.1 0-5.7-.5-7.8-1.5v-4c1.2.6 2.4 1 3.8 1.4 1.3.3 2.6.5 3.8.5 2.2 0 3.8-.4 4.8-1.2 1.1-.8 1.6-2 1.6-3.7 0-1.5-.6-2.6-1.8-3.3-1.2-.7-3-1-5.6-1h-2.4V23H36c4.4 0 6.7-1.5 6.7-4.6 0-1.2-.4-2.1-1.2-2.8-.8-.6-1.9-1-3.4-1-1.1 0-2.1.1-3 .4-1 .3-2.1.9-3.5 1.7l-2.2-3.1c2.6-1.9 5.5-2.8 8.9-2.8 2.8 0 5 .6 6.6 1.8 1.5 1.1 2.3 2.8 2.3 4.9z"}),yd=function(e){return q.a.createElement("svg",hd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),vd)};function wd(){return(wd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kd=q.a.createElement("path",{d:"M23.5 37.9h-4.2V26.3H7.4v11.6H3.2V12.2h4.2v10.5h11.8V12.2h4.2v25.7zM46.8 32.3h-3.5v5.6h-4v-5.6H27.5v-3.2l11.7-17h4v16.7h3.5v3.5zm-7.5-3.5v-6.4c0-2.3.1-4.2.2-5.6h-.1c-.3.8-.8 1.7-1.5 2.8l-6.4 9.3h7.8z"}),Od=function(e){return q.a.createElement("svg",wd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),kd)};function Cd(){return(Cd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sd=q.a.createElement("path",{d:"M24.2 36.2h-3.7V26H10v10.2H6.3V13.5H10v9.3h10.5v-9.3h3.7v22.7zM36.3 22c2.3 0 4.1.6 5.4 1.8 1.3 1.2 2 2.9 2 5 0 2.4-.8 4.3-2.3 5.7s-3.7 2-6.5 2c-2.5 0-4.5-.4-6-1.2V32c.8.5 1.8.8 2.9 1.1s2.1.4 3 .4c1.6 0 2.9-.4 3.8-1.1.9-.7 1.3-1.8 1.3-3.2 0-2.7-1.7-4.1-5.2-4.1-.5 0-1.1 0-1.8.1s-1.3.2-1.9.3l-1.6-1 .9-11.1h11.8v3.2h-8.6l-.5 5.8c.4-.1.8-.1 1.3-.2.6-.1 1.2-.2 2-.2z"}),_d=function(e){return q.a.createElement("svg",Cd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Sd)};function xd(){return(xd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ed=q.a.createElement("path",{d:"M24.1 35.2h-3.3V26h-9.4v9.2H8.1V14.8h3.3v8.3h9.4v-8.3h3.3v20.4zM28.1 26.5c0-8 3.2-11.9 9.7-11.9 1 0 1.9.1 2.6.2v2.7c-.7-.2-1.5-.3-2.4-.3-2.2 0-3.8.6-4.9 1.8-1.1 1.2-1.7 3-1.8 5.6h.2c.4-.8 1-1.3 1.8-1.7.8-.4 1.7-.6 2.8-.6 1.8 0 3.3.6 4.3 1.7s1.5 2.7 1.5 4.6c0 2.1-.6 3.8-1.8 5.1-1.2 1.2-2.8 1.9-4.9 1.9-1.5 0-2.7-.3-3.8-1.1-1.1-.7-1.9-1.7-2.5-3.1-.5-1.4-.8-3-.8-4.9zm7.1 6.2c1.1 0 2-.4 2.6-1.1.6-.7.9-1.8.9-3.1 0-1.2-.3-2.1-.9-2.8-.6-.7-1.4-1-2.6-1-.7 0-1.4.2-1.9.5-.6.3-1.1.7-1.4 1.2-.3.5-.5 1.1-.5 1.6 0 1.3.4 2.4 1.1 3.3.7 1 1.6 1.4 2.7 1.4z"}),jd=function(e){return q.a.createElement("svg",xd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ed)};function Pd(){return(Pd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Td=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),1),icon:wp.element.createElement(dd,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),2),icon:wp.element.createElement(bd,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),3),icon:wp.element.createElement(yd,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),4),icon:wp.element.createElement(Od,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),5),icon:wp.element.createElement(_d,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),6),icon:wp.element.createElement(jd,null)}],Bd=function(e){return wp.element.createElement(nr,Pd({},e,{className:"ugb-heading-buttons-control",controls:Td}))};Bd.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",o.i18n)),value:Td[0].value};function Md(){return(Md=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nd=[{value:"left",title:Object(s.__)("Align Left",o.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",o.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",o.i18n),icon:"editor-justify"}],Id=function(e){var t=e.justified,n=e.className;return wp.element.createElement(nr,Md({},Object(b.omit)(e,["justified"]),{className:p()([n,"ugb-align-buttons-control"]),controls:Nd.filter(function(e){return!!t||"justify"!==e.value})}))};Id.defaultProps={className:"",label:Object(s.__)("Align",o.i18n),value:Nd[0].value,justified:!1};var Ad=Id;function Dd(){return(Dd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Rd(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var zd={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Rd(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,f=o.blockTag,d=void 0===f?"div":f,g=p()([e.className],Object(R.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),m=p()(["ugb-inner-block"],Object(R.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),b=d||r||"div";return wp.element.createElement(b,Dd({},i,{id:u,className:g}),t.styles,Object(R.applyFilters)("stackable.".concat(l,".edit.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:m},Object(R.applyFilters)("stackable.".concat(l,".edit.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(R.applyFilters)("stackable.".concat(l,".edit.output.after"),null,c,t)))}};zd.Edit.defaultProps={styles:null,mainClass:!0},zd.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Rd(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,f=o.blockTag,d=void 0===f?"div":f,g=p()([e.className],Object(R.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),m=p()(["ugb-inner-block"],Object(R.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),b=d||r||"div";return wp.element.createElement(b,Dd({},i,{id:u,className:g}),t.styles,Object(R.applyFilters)("stackable.".concat(l,".save.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:m},Object(R.applyFilters)("stackable.".concat(l,".save.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(R.applyFilters)("stackable.".concat(l,".save.output.after"),null,c,t)))},zd.Save.defaultProps={styles:null,mainClass:!0};var Ld=n(24);function Fd(e){return(Fd="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 Ud(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Hd(e){return(Hd=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gd(e,t){return(Gd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var qd=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Hd(t).apply(this,arguments))||"object"!==Fd(a)&&"function"!=typeof a?Vd(n):a).state={value:e.props.value},e.uniqueId=Object(b.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(Vd(e)),e.debouncedOnChange=Object(b.debounce)(e.debouncedOnChange.bind(Vd(e)),500,{leading:!0}),e.codeMirror=null,e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gd(e,t)}(t,i["Component"]),n=t,(a=[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){Ld.initialize&&(this.codeMirror=Object(Ld.initialize)(this.uniqueId,se()(Ld.defaultSettings,this.props.editorSettings)),this.codeMirror.codemirror.on("change",this.onChange))}},{key:"debouncedOnChange",value:function(e){this.props.onChange(e||this.state.value)}},{key:"onChange",value:function(e){var t=e.getValue?e.getValue():e;this.setState({value:t}),this.debouncedOnChange(t)}},{key:"render",value:function(){return wp.element.createElement("textarea",{className:"ugb-code-textarea",id:this.uniqueId,value:this.state.value,onChange:this.onChange})}}])&&Ud(n.prototype,a),r&&Ud(n,r),t}();qd.defaultProps={value:"",onChange:function(){},editorSettings:{}};function Wd(){return(Wd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Kd=q.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),$d=function(e){return q.a.createElement("svg",Wd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Kd)};function Yd(){return(Yd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qd=q.a.createElement("filter",{id:"curve-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Xd=q.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),Jd=function(e){return q.a.createElement("svg",Yd({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Qd,Xd)};function Zd(){return(Zd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var eg=q.a.createElement("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}),tg=function(e){return q.a.createElement("svg",Zd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),eg)};function ng(){return(ng=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ag=q.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),rg=q.a.createElement("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}),ig=function(e){return q.a.createElement("svg",ng({viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ag,rg)};function lg(){return(lg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var og=q.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),sg=function(e){return q.a.createElement("svg",lg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),og)};function ug(){return(ug=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cg=q.a.createElement("filter",{id:"curve-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),fg=q.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),pg=function(e){return q.a.createElement("svg",ug({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cg,fg)};function dg(){return(dg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gg=q.a.createElement("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}),mg=function(e){return q.a.createElement("svg",dg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gg)};function bg(){return(bg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hg=q.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),vg=q.a.createElement("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}),yg=function(e){return q.a.createElement("svg",bg({viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),hg,vg)};function wg(){return(wg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kg=q.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),Og=function(e){return q.a.createElement("svg",wg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),kg)};function Cg(){return(Cg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sg=q.a.createElement("filter",{id:"curve-3-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),_g=q.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),xg=function(e){return q.a.createElement("svg",Cg({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Sg,_g)};function Eg(){return(Eg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jg=q.a.createElement("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}),Pg=function(e){return q.a.createElement("svg",Eg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),jg)};function Tg(){return(Tg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bg=q.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Mg=q.a.createElement("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}),Ng=function(e){return q.a.createElement("svg",Tg({viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Bg,Mg)};function Ig(){return(Ig=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ag=q.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),Dg=function(e){return q.a.createElement("svg",Ig({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ag)};function Rg(){return(Rg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zg=q.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Lg=q.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),Fg=function(e){return q.a.createElement("svg",Rg({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zg,Lg)};function Ug(){return(Ug=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hg=q.a.createElement("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}),Vg=function(e){return q.a.createElement("svg",Ug({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hg)};function Gg(){return(Gg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qg=q.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Wg=q.a.createElement("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}),Kg=function(e){return q.a.createElement("svg",Gg({viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),qg,Wg)};function $g(){return($g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yg=q.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),Qg=function(e){return q.a.createElement("svg",$g({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yg)};function Xg(){return(Xg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jg=q.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Zg=q.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),em=function(e){return q.a.createElement("svg",Xg({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Jg,Zg)};function tm(){return(tm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var nm=q.a.createElement("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}),am=function(e){return q.a.createElement("svg",tm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),nm)};function rm(){return(rm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var im=q.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),lm=q.a.createElement("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}),om=function(e){return q.a.createElement("svg",rm({viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),im,lm)};function sm(){return(sm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var um=q.a.createElement("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}),cm=function(e){return q.a.createElement("svg",sm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),um)};function fm(){return(fm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pm=q.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),dm=q.a.createElement("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}),gm=function(e){return q.a.createElement("svg",fm({viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pm,dm)};function mm(){return(mm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bm=q.a.createElement("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}),hm=function(e){return q.a.createElement("svg",mm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),bm)};function vm(){return(vm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ym=q.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),wm=q.a.createElement("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}),km=function(e){return q.a.createElement("svg",vm({viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ym,wm)};function Om(){return(Om=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cm=q.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),Sm=function(e){return q.a.createElement("svg",Om({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Cm)};function _m(){return(_m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xm=q.a.createElement("filter",{id:"slant-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Em=q.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),jm=function(e){return q.a.createElement("svg",_m({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),xm,Em)};function Pm(){return(Pm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tm=q.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),Bm=function(e){return q.a.createElement("svg",Pm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Tm)};function Mm(){return(Mm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nm=q.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Im=q.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),Am=function(e){return q.a.createElement("svg",Mm({viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Nm,Im)};function Dm(){return(Dm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rm=q.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),zm=function(e){return q.a.createElement("svg",Dm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Rm)};function Lm(){return(Lm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fm=q.a.createElement("filter",{id:"slant-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Um=q.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Hm=function(e){return q.a.createElement("svg",Lm({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fm,Um)};function Vm(){return(Vm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gm=q.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),qm=function(e){return q.a.createElement("svg",Vm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gm)};function Wm(){return(Wm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Km=q.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),$m=q.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),Ym=function(e){return q.a.createElement("svg",Wm({viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Km,$m)};function Qm(){return(Qm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xm=q.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),Jm=function(e){return q.a.createElement("svg",Qm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Xm)};function Zm(){return(Zm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var eb=q.a.createElement("filter",{id:"straight-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),tb=q.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),nb=function(e){return q.a.createElement("svg",Zm({viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),eb,tb)};function ab(){return(ab=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rb=q.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),ib=function(e){return q.a.createElement("svg",ab({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),rb)};function lb(){return(lb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ob=q.a.createElement("filter",{id:"wave-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),sb=q.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),ub=function(e){return q.a.createElement("svg",lb({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ob,sb)};function cb(){return(cb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fb=q.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}),pb=function(e){return q.a.createElement("svg",cb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fb)};function db(){return(db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gb=q.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),mb=q.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}),bb=function(e){return q.a.createElement("svg",db({viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gb,mb)};function hb(){return(hb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vb=q.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),yb=function(e){return q.a.createElement("svg",hb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),vb)};function wb(){return(wb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kb=q.a.createElement("filter",{id:"wave-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ob=q.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),Cb=function(e){return q.a.createElement("svg",wb({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),kb,Ob)};function Sb(){return(Sb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _b=q.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}),xb=function(e){return q.a.createElement("svg",Sb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_b)};function Eb(){return(Eb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jb=q.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Pb=q.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}),Tb=function(e){return q.a.createElement("svg",Eb({viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),jb,Pb)};function Bb(){return(Bb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mb=q.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),Nb=function(e){return q.a.createElement("svg",Bb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mb)};function Ib(){return(Ib=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ab=q.a.createElement("filter",{id:"wave-3-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Db=q.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Rb=function(e){return q.a.createElement("svg",Ib({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ab,Db)};function zb(){return(zb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lb=q.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}),Fb=function(e){return q.a.createElement("svg",zb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lb)};function Ub(){return(Ub=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hb=q.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Vb=q.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}),Gb=function(e){return q.a.createElement("svg",Ub({viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hb,Vb)};function qb(){return(qb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wb=q.a.createElement("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}),Kb=function(e){return q.a.createElement("svg",qb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Wb)};function $b(){return($b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yb=q.a.createElement("filter",{id:"wave-4-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qb=q.a.createElement("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}),Xb=function(e){return q.a.createElement("svg",$b({viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yb,Qb)};function Jb(){return(Jb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zb=q.a.createElement("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}),eh=function(e){return q.a.createElement("svg",Jb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zb)};function th(){return(th=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var nh=q.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ah=q.a.createElement("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}),rh={"wave-1":{default:{shape:ib,shadow:ub},inverted:{shape:pb,shadow:bb}},"wave-2":{default:{shape:yb,shadow:Cb},inverted:{shape:xb,shadow:Tb}},"wave-3":{default:{shape:Nb,shadow:Rb},inverted:{shape:Fb,shadow:Gb}},"wave-4":{default:{shape:Kb,shadow:Xb},inverted:{shape:eh,shadow:function(e){return q.a.createElement("svg",th({viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),nh,ah)}}},"curve-1":{default:{shape:$d,shadow:Jd},inverted:{shape:tg,shadow:ig}},"curve-2":{default:{shape:sg,shadow:pg},inverted:{shape:mg,shadow:yg}},"curve-3":{default:{shape:Og,shadow:xg},inverted:{shape:Pg,shadow:Ng}},"slant-1":{default:{shape:Sm,shadow:jm},inverted:{shape:Bm,shadow:Am}},"slant-2":{default:{shape:zm,shadow:Hm},inverted:{shape:qm,shadow:Ym}},"straight-1":{default:{shape:Jm,shadow:nb},inverted:{shape:Jm,shadow:nb}},"rounded-1":{default:{shape:Dg,shadow:Fg},inverted:{shape:Vg,shadow:Kg}},"rounded-2":{default:{shape:Qg,shadow:em},inverted:{shape:am,shadow:om}},"rounded-3":{default:{shape:cm,shadow:gm},inverted:{shape:hm,shadow:km}}},ih=function(e){var t=rh[e.design][e.inverted?"inverted":"default"],n=t.shape,a=t.shadow,r=p()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:r},e.shadow&&wp.element.createElement(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(n,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};ih.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},ih.Save=function(e){return wp.element.createElement(ih,e)};function lh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oh=function(e){var t,n=p()([e.className,"ugb-img"],(lh(t={},"wp-image-".concat(e.imageId),e.imageId),lh(t,"ugb-img--shape",e.shape),lh(t,"ugb-image--shape-stretch",e.shapeStretch),lh(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:g()(e.alt||void 0),width:e.width||void 0,height:e.height||void 0})};oh.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var sh=n(19),uh=wp.element.createElement(l.Icon,{icon:function(){return Ji(wp.element.createElement($i,{width:"20",height:"20"}))}}),ch=wp.element.createElement(l.Icon,{icon:function(){return Ji(wp.element.createElement(Xi,{width:"20",height:"20"}))}});var fh=Object(gt.compose)([Object(ne.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),r=a.getBlockRootClientId,i=a.getBlocksByClientId,l=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?r(n[0]):void 0),o=i(n),s=1===o.length&&o[0]&&"ugb/container"===o[0].name;return{isGroupable:l&&o.length&&!s,isUngroupable:s&&!!o[0].innerBlocks.length,blocksSelection:o,groupingBlockName:"ugb/container"}}),Object(ne.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,r=void 0===a?b.noop:a,i=t.blocksSelection,l=void 0===i?[]:i,o=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=l.map(function(e){return Object(he.cloneBlock)(e)}),t=Object(he.createBlock)("ugb/container",{},e);o(n,t),r()}},onConvertFromGroup:function(){if(l.length){var e=l[0].innerBlocks;e.length&&(o(n,e),r())}}}})])(function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,a=e.isGroupable,r=void 0!==a&&a,l=e.isUngroupable,u=void 0!==l&&l;return Object(ne.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(i.Fragment,null,r&&wp.element.createElement(sh.PluginBlockSettingsMenuItem,{icon:uh,label:Object(s.__)("Group into Container",o.i18n),onClick:t}),u&&wp.element.createElement(sh.PluginBlockSettingsMenuItem,{icon:ch,label:Object(s.__)("Ungroup from Container",o.i18n),onClick:n})):null}),ph=(Object(ne.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(fh),Object(gt.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,r=e.setState,o=e.getJSONBlockAttributes,s=e.setJSONBlockAttributes;return wp.element.createElement(i.Fragment,null,wp.element.createElement(sh.PluginBlockSettingsMenuItem,{icon:"editor-code",label:"Get / Set Block Attributes",onClick:function(){r({openPopover:!0,changed:!1}),setTimeout(function(){return document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()},100)}}),n&&wp.element.createElement(l.Modal,{title:"".concat(Object(b.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;s(e)}r({openPopover:!1})}},wp.element.createElement("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),wp.element.createElement("textarea",{onChange:function(){return r({changed:!0})}},o())))})),dh=Object(gt.compose)([Object(ne.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName:n&&a(n)?a(n).replace(/^\w+\//g,""):"",getJSONBlockAttributes:function(){var t=e("core/block-editor").getBlockName,a=e("core/blocks").getBlockType;if(!n)return{};var r=e("core/block-editor").getBlockAttributes(n),i=t(n).replace(/^\w+\//g,""),l=a(t(n)).attributes,o=Object.keys(r).reduce(function(e,t){return r[t]!==(l[t]?l[t].default:"")&&(e[t]=r[t]),e},{});return o.uniqueClass=void 0,JSON.stringify(Object(R.applyFilters)("stackable.".concat(i,".design.filtered-block-attributes"),o),null,4)}}}),Object(ne.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{!function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Object(ne.select)("core/block-editor"),r=a.getBlockName,i=a.getSelectedBlockClientId,l=a.getBlockAttributes,o=a.hasMultiSelection,s=a.getMultiSelectedBlockClientIds,u=Object(ne.dispatch)("core/block-editor"),c=u.updateBlockAttributes,f=Object(ne.select)("core/blocks"),p=f.getBlockType;if(n||!o()){var d=n||i();if(d){var g=l(d),m=r(d).replace(/^\w+\//g,""),h=p(r(d)).attributes,v=Object.keys(h).reduce(function(e,t){return ye({},e,we({},t,h[t]?h[t].default:""))},{}),y=Object(R.applyFilters)("stackable.".concat(m,".design.filtered-block-attributes"),ye({},v,{},t),g),w=Object(R.applyFilters)("stackable.".concat(m,".design.no-text-attributes"),y,g);A(w),c(d,Object(b.omit)(w,["uniqueClass"]))}}else s().forEach(function(n){e(t,n)})}(JSON.parse(e),n)}catch(e){console.error(e)}}}})])(ph);Object(ne.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(dh);function gh(){return(gh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function mh(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var bh=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,l=e.showBackground,o=e.showVideoBackground,u=mh(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),c=p()([n],{"ugb--has-background-overlay":l&&V(a,r.attributes)});return wp.element.createElement(t,gh({className:c},u),e.children,l&&o&&function(e,t){var n=ge(t.attributes,function(t){return Object(b.camelCase)(Object(s.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),r=n("TabletBackgroundMediaUrl"),l=n("MobileBackgroundMediaUrl"),o=p()(["ugb-video-background"],{"ugb--video-hide-tablet":r,"ugb--video-hide-mobile":l}),u=p()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":l}),c=p()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(i.Fragment,null,Te(a)&&wp.element.createElement("video",{className:o,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:a}),Te(r)&&wp.element.createElement("video",{className:u,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:r}),Te(l)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:l}))}(a,r))};bh.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var hh=function(e){return wp.element.createElement(l.Modal,{title:Object(s.__)("Stackable Welcome Guide",o.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},wp.element.createElement("p",null,Object(s.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",o.i18n)),wp.element.createElement("iframe",{title:Object(s.__)("Video Tutorial",o.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),wp.element.createElement("p",null,wp.element.createElement(l.Button,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(s.__)("Close it, I'm good",o.i18n))))};hh.defaultProps={onRequestClose:function(){}};function vh(){return(vh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yh=q.a.createElement("path",{d:"M38 12H12v26h26V12z"}),wh=function(e){return q.a.createElement("svg",vh({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),yh)};function kh(){return(kh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Oh=q.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),Ch=function(e){return q.a.createElement("svg",kh({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Oh)};function Sh(){return(Sh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _h=q.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),xh=function(e){return q.a.createElement("svg",Sh({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),_h)},Eh=void 0;function jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ph(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jh(n,!0).forEach(function(t){Th(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jh(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Th(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Mh=function(e){var t=Bh(Object(i.useState)([]),2),n=t[0],a=t[1],r=Bh(Object(i.useState)({}),2),l=r[0],u=r[1],c=Bh(Object(i.useState)(0),2),f=c[0],d=c[1],g=Bh(Object(i.useState)(0),2),m=g[0],h=g[1],v=Bh(Object(i.useState)(0),2),y=v[0],w=v[1],k=Bh(Object(i.useState)(""),2),O=k[0],C=k[1];return Object(i.useEffect)(function(){Ri().then(function(e){var t=e.reduce(function(e,t){if(!e[t]){if(Object(ne.select)("core/edit-post").getPreference("hiddenBlockTypes").includes(t))return e;if(!Object(ne.select)("core/blocks").getBlockType(t))return e;e[t]={count:0,name:t,label:t?Object(ne.select)("core/blocks").getBlockType(t).title:""}}return e},{});u(t)})},[]),Object(i.useEffect)(function(){Object.keys(l).length&&Ai({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(l).reduce(function(e,t){return e[t]=Ph({},l[t]),e},{}),r=0,i=0,o=t.reduce(function(t,n){var a=n.block,l=n.type,o=n.plan;return"block"===l&&t[a]&&t[a].count++,e.forceBlock&&e.forceBlock!==n.block||(i++,"free"===o&&r++),t},Ph({},n));d(i),h(r),w(i-r),a(Object(b.orderBy)(o,["title"],["asc"]))})},[l,e.search,e.mood,e.colors]),wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement("li",null,wp.element.createElement("div",{className:""===O?"is-active":"","data-count":f,onClick:function(){C(""),e.onSelect({block:"",plan:""})},onKeyPress:function(e){13===e.keyCode&&Eh.click()},role:"button",tabIndex:0,"aria-pressed":""===O?"true":"false"},Object(s.__)("All Block Designs",o.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},f))),f!==m&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===O?"is-active":"","data-count":m,onClick:function(){C("free"),e.onSelect({block:"",plan:"free"})},onKeyPress:function(e){13===e.keyCode&&Eh.click()},role:"button",tabIndex:0,"aria-pressed":"free"===O?"true":"false"},Object(s.__)("Free Designs",o.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},m)),wp.element.createElement("div",{className:"premium"===O?"is-active":"","data-count":y,onClick:function(){C("premium"),e.onSelect({block:"",plan:"premium"})},onKeyPress:function(e){13===e.keyCode&&Eh.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===O?"true":"false"},Object(s.__)("Premium Designs",o.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},y))),wp.element.createElement(qo,null),n.map(function(t,n){var a=O===t.name||t.name===e.forceBlock,r=p()({"is-active":a,"is-disabled":e.forceBlock&&t.name!==e.forceBlock});return wp.element.createElement("li",{key:n},wp.element.createElement("div",{className:r,"data-count":t.count,onClick:function(){e.forceBlock||(C(t.name),e.onSelect({block:t.name,plan:""}))},onKeyPress:function(e){13===e.keyCode&&Eh.click()},role:"button",tabIndex:0,"aria-pressed":a?"true":"false"},t.label,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(t.name,"-count")},t.count)))}))};Mh.defaultProps={search:"",mood:"",colors:[],onSelect:function(){},forceBlock:""};var Nh=Mh;function Ih(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 Ah(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Dh={red:{color:"#f44336",name:"red"},green:{color:"#4caf50",name:"green"},yellow:{color:"#ffeb3b",name:"yellow"},blue:{color:"#2196f3",name:"blue"},pink:{color:"#e91e63",name:"pink"},gray:{color:"#9e9e9e",name:"gray"},brown:{color:"#795548",name:"brown"},orange:{color:"#ff9800",name:"orange"},purple:{color:"#9c27b0",name:"purple"},black:{color:"#212121",name:"black"},white:{color:"#fff",name:"white"}},Rh=function(e){var t=Ah(Object(i.useState)([]),2),n=t[0],a=t[1];return wp.element.createElement(l.BaseControl,{className:"ugb-modal-design-library__color-list",id:"design-colors"},wp.element.createElement("div",{className:"ugb-modal-design-library__color-list-wrapper"},Object.keys(e.colors).map(function(t){var r=Dh[t],i=r.color,o=r.name;return wp.element.createElement(l.ColorPalette,{key:t,value:n.includes(o)?i:"",colors:[{color:i,name:o}],onChange:function(t){var r;r=t?[].concat(Ih(n),[o]):n.filter(function(e){return e!==o}),a(r),e.onSelect(r)},clearable:!1,disableCustomColors:!0})})))};Rh.defaultProps={onSelect:function(){},colors:Dh};var zh=Rh;function Lh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Fh=function(e){var t=Lh(Object(i.useState)(e.search),2),n=t[0],a=t[1],r=Lh(Object(i.useState)(),2),u=r[0],c=r[1],f=Lh(Object(i.useState)(""),2),p=f[0],d=f[1],g=Lh(Object(i.useState)(""),2),m=g[0],b=g[1],h=Lh(Object(i.useState)([]),2),v=h[0],y=h[1],w=Lh(Object(i.useState)(3),2),k=w[0],O=w[1],C=Lh(Object(i.useState)([]),2),S=C[0],_=C[1],x=Lh(Object(i.useState)(!0),2),E=x[0],j=x[1],P=Lh(Object(i.useState)(!1),2),T=P[0],B=P[1],M=Lh(Se("stk__design_library_dev_mode",!1),2),N=M[0],I=M[1];Object(i.useEffect)(function(){return c(e.selectedBlock)},[e.selectedBlock]);var A=Lh(Object(i.useState)(n),2),D=A[0],R=A[1],z=Lh(Object(i.useState)(null),2),L=z[0],F=z[1];return Object(i.useEffect)(function(){L&&(clearTimeout(L),F(null)),F(setTimeout(function(){R(n)},500))},[n]),Object(i.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(i.useEffect)(function(){T&&(_([]),j(!0)),Ai({type:"block",block:u,plan:p,mood:m,colors:v,search:D,reset:T}).then(function(e){_(e)}).finally(function(){j(!1),B(!1)})},[u,m,v,p,D,T]),wp.element.createElement(l.Modal,{title:Object(s.__)("Stackable Design Library",o.i18n),className:"ugb-modal-design-library",onRequestClose:e.onClose},wp.element.createElement("div",{className:"ugb-modal-design-library__wrapper"},wp.element.createElement("aside",{className:"ugb-modal-design-library__sidebar"},wp.element.createElement(l.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(s.__)("Search designs...",o.i18n),value:n,onChange:function(e){return a(e)},"data-testid":"input-search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(zh,{onSelect:function(e){y(e)}}),wp.element.createElement(nr,{controls:[{value:"",title:Object(s.__)("All",o.i18n)},{value:"light",title:Object(s.__)("Light",o.i18n)},{value:"dark",title:Object(s.__)("Dark",o.i18n)}],value:m,onChange:function(e){return b(e)}}),wp.element.createElement(Nh,{search:n,mood:m,colors:v,forceBlock:e.selectedBlock,onSelect:function(e){var t=e.block,n=e.plan;c(t),d(n)}}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},o.devMode&&wp.element.createElement(l.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:N,onChange:function(e){Ii(e).then(function(){B(!0)}),I(e)}}),wp.element.createElement(l.Button,{icon:"image-rotate",label:Object(s.__)("Refresh Library",o.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return B(!0)}}),wp.element.createElement(l.Button,{icon:wp.element.createElement(wh,{width:"18",height:"18"}),className:2===k?"is-active":"",label:Object(s.__)("Large preview",o.i18n),onClick:function(){return O(2)}}),wp.element.createElement(l.Button,{icon:wp.element.createElement(xh,{width:"18",height:"18"}),className:3===k?"is-active":"",label:Object(s.__)("Medium preview",o.i18n),onClick:function(){return O(3)}}),wp.element.createElement(l.Button,{icon:wp.element.createElement(Ch,{width:"18",height:"18"}),className:4===k?"is-active":"",label:Object(s.__)("Small preview",o.i18n),onClick:function(){return O(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(fl,{columns:k,onSelect:e.onSelect,isBusy:E,designs:e.selectedBlock?S.filter(function(t){return t.block===e.selectedBlock}):S}))))};Fh.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var Uh=Fh;function Hh(){return(Hh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vh=q.a.createElement("path",{fill:"currentColor",d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"}),Gh=function(e){return q.a.createElement("svg",Hh({"aria-hidden":"true","data-prefix":"fas","data-icon":"circle-notch",className:"spinner_svg__svg-inline--fa spinner_svg__fa-circle-notch spinner_svg__fa-w-16",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),Vh)};function qh(){return(qh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Wh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Kh=function(){return wp.element.createElement(Gh,{className:"ugb-icon-is-loading"})},$h=function(e){var t=Wh(Object(i.useState)(0),2),n=t[0],a=t[1],r=function(){a(n+1)};Object(i.useEffect)(function(){(window.FontAwesome?Promise.resolve(!0):new Promise(function(e,t){var n=240,a=setInterval(function(){window.FontAwesome?(clearInterval(a),e(!0)):n--<0&&(clearInterval(a),t(!1))},250)})).then(r)},[]);var l=Object(b.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(i.RawHTML,l,e.value);if(!window.FontAwesome)return wp.element.createElement(Kh,null);var o=e.value?e.value.replace(/-.*$/,""):e.prefix,s=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(o&&s){var u=xe(o,s);return u?wp.element.createElement(i.RawHTML,l,u):(function(e,t){var n=Ee(e,t);return n?Promise.resolve(n):new Promise(function(n,a){var r=240,i=setInterval(function(){var l=Ee(e,t);window.FontAwesome?(clearInterval(i),n(l)):r--<0&&(clearInterval(i),a(!1))},250)})}(o,s).then(r),wp.element.createElement(Kh,null))}var c=xe("far","smile");return wp.element.createElement(i.RawHTML,qh({},l,{className:"".concat(e.className," ugb-icon--faded")}),c)};$h.Content=function(e){var t=Object(b.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(i.RawHTML,t,e.value);var n=e.value?e.value.replace(/-.*$/,""):e.prefix,a=e.value?e.value.replace(/^.*?-/,""):e.iconName,r=xe(n,a);return wp.element.createElement(i.RawHTML,t,r)},$h.defaultProps={prefix:"",iconName:"",value:""};var Yh=$h;function Qh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Xh=1,Jh=function(e){var t=Qh(Object(i.useState)("ugb-admin-setting-".concat(Xh++)),1)[0],n=p()(["ugb-admin-setting"],function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"ugb-admin-setting--".concat(e.size),e.size));return wp.element.createElement("div",{className:n,id:t},wp.element.createElement("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:t},wp.element.createElement("span",{className:"ugb-admin-setting__label"},e.label),wp.element.createElement("div",{className:"ugb-admin-setting__field"},e.children)),e.help&&wp.element.createElement("p",{className:"ugb-admin-setting__help"},e.help))};Jh.defaultProps={label:""};var Zh=Jh,ev=function(e){return wp.element.createElement(Zh,e,wp.element.createElement("input",{className:"ugb-admin-text-setting",type:e.type,value:e.value,placeholder:e.placeholder,onChange:function(t){return e.onChange(t.target.value)}}),e.children)};ev.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:function(){}};var tv=ev,nv=function(e){return wp.element.createElement(Zh,e,wp.element.createElement("button",{className:"ugb-admin-toggle-setting__button",type:"button",role:"switch","aria-checked":!!e.value,onClick:function(){return e.onChange(!e.value)},style:{minWidth:e.width||void 0}},wp.element.createElement("span",null,e.disabled),wp.element.createElement("span",null,e.enabled)))};nv.defaultProps={label:"",value:!1,placeholder:"",onChange:function(){},disabled:Object(s.__)("Disabled",o.i18n),enabled:Object(s.__)("Enabled",o.i18n),width:""};var av=nv;function rv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function iv(e){return(iv="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 lv(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 ov(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function sv(e){return(sv=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function uv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cv(e,t){return(cv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fv=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=sv(t).apply(this,arguments))||"object"!==iv(a)&&"function"!=typeof a?uv(n):a).toggleBlock=e.toggleBlock.bind(uv(e)),e.enableAllBlocks=e.enableAllBlocks.bind(uv(e)),e.disableAllBlocks=e.disableAllBlocks.bind(uv(e)),e.ajaxTimeout=null,e.state={disabledBlocks:e.props.disabledBlocks||[],isSaving:!1},e}var n,r,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cv(e,t)}(t,i["Component"]),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){var n=this;this.state.disabledBlocks!==t.disabledBlocks&&(clearTimeout(this.ajaxTimeout),this.ajaxTimeout=setTimeout(function(){Object(a.send)("stackable_update_disable_blocks",{success:function(){n.setState({isSaving:!1})},error:function(e){n.setState({isSaving:!1}),alert(e)},data:{nonce:o.nonce,disabledBlocks:n.state.disabledBlocks}}),n.setState({isSaving:!0})},600))}},{key:"toggleBlock",value:function(e){this.state.disabledBlocks.includes(e)?this.setState({disabledBlocks:this.state.disabledBlocks.filter(function(t){return t!==e})}):this.setState({disabledBlocks:[].concat(lv(this.state.disabledBlocks),[e])})}},{key:"enableAllBlocks",value:function(){this.setState({disabledBlocks:[]})}},{key:"disableAllBlocks",value:function(){this.setState({disabledBlocks:Object.keys(this.props.blocks)})}},{key:"render",value:function(){var e=this,t=this.props.blocks;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"s-settings-header"},this.state.isSaving&&wp.element.createElement(l.Spinner,null),wp.element.createElement("button",{onClick:this.enableAllBlocks,className:"button button-large button-link"},Object(s.__)("Enable All",o.i18n)),wp.element.createElement("button",{onClick:this.disableAllBlocks,className:"button button-large button-link"},Object(s.__)("Disable All",o.i18n))),wp.element.createElement("div",{className:"s-settings-grid"},Object.keys(t).map(function(n,a){var r=t[n];if(r.sDeprecated)return null;var i=e.state.disabledBlocks.includes(n),l=p()(["s-box","s-box-small"],{"s-is-disabled":i}),u=n.replace(/\w+\//,"");return wp.element.createElement("div",{key:a+1,className:l},wp.element.createElement("img",{src:"".concat(o.welcomeSrcUrl,"/images/block-").concat(u,".svg"),alt:"".concat(r.title," icon"),className:"s-block-icon"}),wp.element.createElement("h4",null,r.title),wp.element.createElement("p",{className:"s-block-description"},r.description),r.sDemoURL&&wp.element.createElement("p",{className:"s-demo-url"},wp.element.createElement("small",null,wp.element.createElement("a",{href:r.sDemoURL,target:"stackable_demo",title:Object(s.sprintf)(Object(s.__)("View %s Demo",o.i18n),r.title)},Object(s.__)("View Block Demo",o.i18n)))),wp.element.createElement("button",{className:"s-toggle-button",onClick:function(){return e.toggleBlock(n)}},wp.element.createElement("span",null,Object(s.__)("Disabled",o.i18n)),wp.element.createElement("span",null,Object(s.__)("Enabled",o.i18n))))})))}}])&&ov(n.prototype,r),u&&ov(n,u),t}(),pv=null,dv=function(){var e=rv(Object(i.useState)(!1),2),t=e[0],n=e[1],a=rv(Object(i.useState)(""),2),r=a[0],l=a[1];Object(i.useEffect)(function(){c.loadPromise.then(function(){(new c.models.Settings).fetch().then(function(e){n(!!e.stackable_global_force_typography),l(e.stackable_global_content_selector)})})},[]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(tv,{label:Object(s.__)("Content Selector",o.i18n),help:Object(s.__)("The selector to the content area of your theme.",o.i18n),placeholder:".entry-content",value:r,onChange:function(e){clearTimeout(pv),pv=setTimeout(function(){new c.models.Settings({stackable_global_content_selector:e}).save()},500),l(e)}}),wp.element.createElement(av,{label:Object(s.__)("Force Typography Styles",o.i18n),value:t,onChange:function(e){new c.models.Settings({stackable_global_force_typography:e}).save(),n(e)},disabled:Object(s.__)("Not forced",o.i18n),enabled:Object(s.__)("Force styles",o.i18n)}))},gv=function(e){var t=rv(Object(i.useState)(!1),2),n=t[0],a=t[1],r=rv(Object(i.useState)(!1),2),u=r[0],f=r[1],p=rv(Object(i.useState)(!1),2),d=p[0],g=p[1],m=rv(Object(i.useState)(!1),2),b=m[0],h=m[1];Object(i.useEffect)(function(){h(!0),c.loadPromise.then(function(){(new c.models.Settings).fetch().then(function(e){a(!!e.stackable_help_tooltip_disabled),f("1"===e.stackable_load_v1_styles),g("1"===e.stackable_show_pro_notices),h(!1)})})},[]);var v=function(e,t){h(!0),new c.models.Settings(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t)).save().then(function(){return h(!1)})};return wp.element.createElement("div",null,e.showProNoticesOption&&wp.element.createElement(l.CheckboxControl,{label:Object(s.__)('Show "Go premium" notices',o.i18n),checked:d,onChange:function(e){v("stackable_show_pro_notices",e?"1":""),g(e)}}),wp.element.createElement(l.CheckboxControl,{label:Object(s.__)("Don't show help video tooltips",o.i18n),checked:n,onChange:function(e){v("stackable_help_tooltip_disabled",e?"1":""),a(e)}}),wp.element.createElement(l.CheckboxControl,{label:Object(s.__)("Load version 1 block stylesheet for backward compatibility",o.i18n),checked:u,onChange:function(e){v("stackable_load_v1_styles",e?"1":""),f(e)}}),b&&wp.element.createElement("div",{className:"ugb--saving-wrapper"},wp.element.createElement(l.Spinner,null)))};gv.defaultProps={showProNoticesOption:!1},Object(r.a)(function(){Object(i.render)(wp.element.createElement(fv,{blocks:u,disabledBlocks:o.disabledBlocks}),document.querySelector(".s-settings-wrapper")),Object(i.render)(wp.element.createElement(gv,{showProNoticesOption:o.showProNoticesOption}),document.querySelector(".s-other-options-wrapper")),Object(i.render)(wp.element.createElement(dv,null),document.querySelector(".s-global-settings"))})}]);
|
14 |
object-assign
|
15 |
(c) Sindre Sorhus
|
16 |
@license MIT
|
17 |
+
*/var a=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function l(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,s=l(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))r.call(n,c)&&(s[c]=n[c]);if(a){o=a(n);for(var f=0;f<o.length;f++)i.call(n,o[f])&&(s[o[f]]=n[o[f]])}}return s}},function(e,t,n){"use strict";var a=String.prototype.replace,r=/%20/g,i=n(25),l={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:l.RFC3986,formatters:{RFC1738:function(e){return a.call(e,r,"+")},RFC3986:function(e){return String(e)}}},l)},,,function(e,t){e.exports="dist/images/components-image-shape-control-default.f59a6f2.png"},function(e,t){e.exports="dist/images/components-image-shape-control-square.54ea536.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.9bd9f74.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.8e07b2a.png"},function(e,t,n){"use strict";e.exports=n(118).default},function(e){e.exports=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","sinhala"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["hebrew","latin"]},{"family":"Alegreya","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Alice","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["cyrillic","hebrew","latin","latin-ext","vietnamese"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andika","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asap","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Asar","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","600","700","800"],"subsets":["hebrew","latin"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Baloo 2","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhai 2","variants":["regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Baloo Bhaina 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","oriya","vietnamese"]},{"family":"Baloo Chettan 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","malayalam","vietnamese"]},{"family":"Baloo Da 2","variants":["regular","500","600","700","800"],"subsets":["bengali","latin","latin-ext","vietnamese"]},{"family":"Baloo Paaji 2","variants":["regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext","vietnamese"]},{"family":"Baloo Tamma 2","variants":["regular","500","600","700","800"],"subsets":["kannada","latin","latin-ext","vietnamese"]},{"family":"Baloo Tammudu 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","telugu","vietnamese"]},{"family":"Baloo Thambi 2","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Balsamiq Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["regular","700"],"subsets":["khmer"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer"]},{"family":"Be Vietnam","variants":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bellota","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Bellota Text","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Bitter","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["korean","latin"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","600","700","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek","greek-ext","latin","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Cinzel","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Comic Neue","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Commissioner","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Cute Font","variants":["regular"],"subsets":["korean","latin"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Mono","variants":["300","300italic","regular","italic","500","500italic"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["korean","latin"]},{"family":"Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Domine","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["korean","latin"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","cyrillic","latin"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Epilogue","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Exo 2","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","latin-ext","vietnamese"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["korean","latin"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gidugu","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["korean","latin"]},{"family":"Gotu","variants":["regular"],"subsets":["devanagari","latin","latin-ext","vietnamese"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grandstander","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Grenze Gotisch","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["korean","latin"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["regular","700"],"subsets":["khmer"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["hebrew","latin"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["korean","latin"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","telugu"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Inria Sans","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Inter","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"family":"Josefin Sans","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Jost","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["korean","latin"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["korean","latin"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kosugi","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["cyrillic","japanese","latin"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Kufam","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumbh Sans","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","devanagari","latin","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Lexend Deca","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Exa","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Giga","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Mega","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Peta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Tera","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lexend Zetta","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Lobster","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Lora","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","japanese","latin","latin-ext","vietnamese"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Manrope","variants":["200","300","regular","500","600","700","800"],"subsets":["cyrillic","greek","latin","latin-ext"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext","vietnamese"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Merriweather Sans","variants":["300","regular","500","600","700","800","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Metal","variants":["regular"],"subsets":["khmer"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Modak","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["gurmukhi","latin","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Mulish","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"MuseoModerno","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["korean","latin"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["korean","latin"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["korean","latin"]},{"family":"Neucha","variants":["regular"],"subsets":["cyrillic","latin"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["regular","700"],"subsets":["khmer"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","devanagari","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["chinese-hongkong","latin"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["korean","latin"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["korean","latin"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-simplified","latin"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overpass Mono","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Pangolin","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Pattaya","variants":["regular"],"subsets":["cyrillic","latin","latin-ext","thai","vietnamese"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Piazzolla","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Poiret One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["korean","latin"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Prata","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Prosto One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Recursive","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese"]},{"family":"Red Hat Display","variants":["regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Red Rose","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Roboto Mono","variants":["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rowdies","variants":["300","regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Rozha One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Rubik","variants":["300","regular","500","600","700","800","900","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","hebrew","latin","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["devanagari","latin"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sansita Swashed","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Sarala","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Sen","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sora","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext","vietnamese"]},{"family":"Source Serif Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Stylish","variants":["regular"],"subsets":["korean","latin"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["korean","latin"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Suwannaphum","variants":["regular"],"subsets":["khmer"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Syne","variants":["regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","hebrew","latin","latin-ext","vietnamese"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext","thai","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","greek-ext","latin","latin-ext"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["cyrillic","latin","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["hebrew","latin","latin-ext","vietnamese"]},{"family":"Varta","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Viaoda Libre","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["cyrillic","latin","latin-ext","vietnamese"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["devanagari","latin","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["korean","latin"]},{"family":"Yeseva One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","latin","latin-ext","vietnamese"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["chinese-simplified","latin"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]')},function(e,t){e.exports="dist/images/components-design-separator-control-curve-1.a61eacd.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-2.7a9883c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-3.b42e517.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.d2b77d9.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.e6d5edc.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-3.54719e2.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.1a7bbee.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.622c736.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.3d6e794.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.479a6de.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.8ad6a1d.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.6db0486.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-4.5f9e008.png"},function(e,t,n){"use strict";var a,r=this&&this.__extends||(a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var l=i(n(8)),o=i(n(2)),s=function(e){function t(n){var a=e.call(this,n)||this;return a.resetDragging=function(){a.frameDragCounter=0,a.setState({draggingOverFrame:!1,draggingOverTarget:!1})},a.handleWindowDragOverOrDrop=function(e){e.preventDefault()},a.handleFrameDrag=function(e){if(t.eventHasFiles(e))return a.frameDragCounter+="dragenter"===e.type?1:-1,1===a.frameDragCounter?(a.setState({draggingOverFrame:!0}),void(a.props.onFrameDragEnter&&a.props.onFrameDragEnter(e))):0===a.frameDragCounter?(a.setState({draggingOverFrame:!1}),void(a.props.onFrameDragLeave&&a.props.onFrameDragLeave(e))):void 0},a.handleFrameDrop=function(e){a.state.draggingOverTarget||(a.resetDragging(),a.props.onFrameDrop&&a.props.onFrameDrop(e))},a.handleDragOver=function(e){t.eventHasFiles(e)&&(a.setState({draggingOverTarget:!0}),!t.isIE()&&a.props.dropEffect&&(e.dataTransfer.dropEffect=a.props.dropEffect),a.props.onDragOver&&a.props.onDragOver(e))},a.handleDragLeave=function(e){a.setState({draggingOverTarget:!1}),a.props.onDragLeave&&a.props.onDragLeave(e)},a.handleDrop=function(e){if(a.props.onDrop&&t.eventHasFiles(e)){var n=e.dataTransfer?e.dataTransfer.files:null;a.props.onDrop(n,e)}a.resetDragging()},a.stopFrameListeners=function(e){e&&(e.removeEventListener("dragenter",a.handleFrameDrag),e.removeEventListener("dragleave",a.handleFrameDrag),e.removeEventListener("drop",a.handleFrameDrop))},a.startFrameListeners=function(e){e&&(e.addEventListener("dragenter",a.handleFrameDrag),e.addEventListener("dragleave",a.handleFrameDrag),e.addEventListener("drop",a.handleFrameDrop))},a.frameDragCounter=0,a.state={draggingOverFrame:!1,draggingOverTarget:!1},a}return r(t,e),t.prototype.componentDidMount=function(){this.startFrameListeners(this.props.frame),this.resetDragging(),window.addEventListener("dragover",this.handleWindowDragOverOrDrop),window.addEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.UNSAFE_componentWillReceiveProps=function(e){e.frame!==this.props.frame&&(this.resetDragging(),this.stopFrameListeners(this.props.frame),this.startFrameListeners(e.frame))},t.prototype.componentWillUnmount=function(){this.stopFrameListeners(this.props.frame),window.removeEventListener("dragover",this.handleWindowDragOverOrDrop),window.removeEventListener("drop",this.handleWindowDragOverOrDrop)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.className,a=e.targetClassName,r=e.draggingOverFrameClassName,i=e.draggingOverTargetClassName,l=this.state,s=l.draggingOverTarget,u=a;return l.draggingOverFrame&&(u+=" "+r),s&&(u+=" "+i),o.default.createElement("div",{className:n,onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},o.default.createElement("div",{className:u},t))},t.isIE=function(){return"undefined"!=typeof window&&(-1!==window.navigator.userAgent.indexOf("MSIE")||window.navigator.appVersion.indexOf("Trident/")>0)},t.eventHasFiles=function(e){var t=!1;if(e.dataTransfer){var n=e.dataTransfer.types;for(var a in n)if("Files"===n[a]){t=!0;break}}return t},t.propTypes={className:l.default.string,targetClassName:l.default.string,draggingOverFrameClassName:l.default.string,draggingOverTargetClassName:l.default.string,onDragOver:l.default.func,onDragLeave:l.default.func,onDrop:l.default.func,dropEffect:l.default.oneOf(["copy","move","link","none"]),frame:function(e,t,n){var a=e[t];return null==a?new Error("Warning: Required prop `"+t+"` was not specified in `"+n+"`"):a===document||a instanceof HTMLElement?void 0:new Error("Warning: Prop `"+t+"` must be one of the following: document, HTMLElement!")},onFrameDragEnter:l.default.func,onFrameDragLeave:l.default.func,onFrameDrop:l.default.func},t.defaultProps={dropEffect:"copy",frame:"undefined"==typeof window?void 0:window.document,className:"file-drop",targetClassName:"file-drop-target",draggingOverFrameClassName:"file-drop-dragging-over-frame",draggingOverTargetClassName:"file-drop-dragging-over-target"},t}(o.default.PureComponent);t.FileDrop=s},function(e,t){e.exports="dist/images/components-button-controls-basic.b11a0a1.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.693bd0a.png"},function(e,t){e.exports="dist/images/components-button-controls-link.5941222.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.9a9337a.png"},function(e,t){e.exports="dist/images/components-icon-controls-plain.08b10ae.png"},function(e,t){e.exports="dist/images/components-icon-controls-shaped.f4f347f.png"},function(e,t){e.exports="dist/images/components-icon-controls-outlined.ecba760.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1.b25dc1c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2.251f715.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3.a91efa1.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1.4c4319a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2.c441aac.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3.2409bb5.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4.9b307d9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1.ec684b9.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2.4601b46.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3.4ef0451.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-grid.c178b51.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-grid.9c461c0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-grid.3921dc3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-grid.fe6e028.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-grid.5c04307.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-grid.111efd7.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-grid.ef73de3.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-grid.146feaa.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-grid.5d65a3e.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-grid.906e9b0.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-1-uneven.7045e09.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-2-uneven.a4f271c.png"},function(e,t){e.exports="dist/images/components-columns-width-control-2-3-uneven.1983521.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-1-uneven.929b1cf.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-2-uneven.a346601.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-3-uneven.84b5000.png"},function(e,t){e.exports="dist/images/components-columns-width-control-3-4-uneven.42a4995.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-1-uneven.430f93a.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-2-uneven.f1a848f.png"},function(e,t){e.exports="dist/images/components-columns-width-control-4-3-uneven.8099e5e.png"},,,,,,,,,,,,function(e,t,n){"use strict";
|
18 |
/** @license React v16.12.0
|
19 |
* react.production.min.js
|
20 |
*
|
38 |
*
|
39 |
* This source code is licensed under the MIT license found in the
|
40 |
* LICENSE file in the root directory of this source tree.
|
41 |
+
*/var a,r,i,l,o;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,c=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(c,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},a=function(e){null!==s?setTimeout(a,0,e):(s=e,setTimeout(c,0))},r=function(e,t){u=setTimeout(e,t)},i=function(){clearTimeout(u)},l=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var p=window.performance,d=window.Date,g=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var b=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof b&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof p&&"function"==typeof p.now)t.unstable_now=function(){return p.now()};else{var h=d.now();t.unstable_now=function(){return d.now()-h}}var v=!1,y=null,w=-1,k=5,O=0;l=function(){return t.unstable_now()>=O},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):k=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,S=C.port2;C.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();O=e+k;try{y(!0,e)?S.postMessage(null):(v=!1,y=null)}catch(e){throw S.postMessage(null),e}}else v=!1},a=function(e){y=e,v||(v=!0,S.postMessage(null))},r=function(e,n){w=g(function(){e(t.unstable_now())},n)},i=function(){m(w),w=-1}}function _(e,t){var n=e.length;e.push(t);e:for(;;){var a=Math.floor((n-1)/2),r=e[a];if(!(void 0!==r&&0<j(r,t)))break e;e[a]=t,e[n]=r,n=a}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,r=e.length;a<r;){var i=2*(a+1)-1,l=e[i],o=i+1,s=e[o];if(void 0!==l&&0>j(l,n))void 0!==s&&0>j(s,l)?(e[a]=s,e[o]=n,a=o):(e[a]=l,e[i]=n,a=i);else{if(!(void 0!==s&&0>j(s,n)))break e;e[a]=s,e[o]=n,a=o}}}return t}return null}function j(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],T=[],B=1,M=null,N=3,I=!1,A=!1,D=!1;function R(e){for(var t=x(T);null!==t;){if(null===t.callback)E(T);else{if(!(t.startTime<=e))break;E(T),t.sortIndex=t.expirationTime,_(P,t)}t=x(T)}}function z(e){if(D=!1,R(e),!A)if(null!==x(P))A=!0,a(L);else{var t=x(T);null!==t&&r(z,t.startTime-e)}}function L(e,n){A=!1,D&&(D=!1,i()),I=!0;var a=N;try{for(R(n),M=x(P);null!==M&&(!(M.expirationTime>n)||e&&!l());){var o=M.callback;if(null!==o){M.callback=null,N=M.priorityLevel;var s=o(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?M.callback=s:M===x(P)&&E(P),R(n)}else E(P);M=x(P)}if(null!==M)var u=!0;else{var c=x(T);null!==c&&r(z,c.startTime-n),u=!1}return u}finally{M=null,N=a,I=!1}}function F(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=o;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=N;N=e;try{return t()}finally{N=n}},t.unstable_next=function(e){switch(N){case 1:case 2:case 3:var t=3;break;default:t=N}var n=N;N=t;try{return e()}finally{N=n}},t.unstable_scheduleCallback=function(e,n,l){var o=t.unstable_now();if("object"==typeof l&&null!==l){var s=l.delay;s="number"==typeof s&&0<s?o+s:o,l="number"==typeof l.timeout?l.timeout:F(e)}else l=F(e),s=o;return e={id:B++,callback:n,priorityLevel:e,startTime:s,expirationTime:l=s+l,sortIndex:-1},s>o?(e.sortIndex=s,_(T,e),null===x(P)&&e===x(T)&&(D?i():D=!0,r(z,s-o))):(e.sortIndex=l,_(P,e),A||I||(A=!0,a(L))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=N;return function(){var n=N;N=t;try{return e.apply(this,arguments)}finally{N=n}}},t.unstable_getCurrentPriorityLevel=function(){return N},t.unstable_shouldYield=function(){var e=t.unstable_now();R(e);var n=x(P);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||l()},t.unstable_requestPaint=U,t.unstable_continueExecution=function(){A||I||(A=!0,a(L))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_Profiling=null},function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},function(e,t,n){"use strict";n.r(t);var a=n(20),r=n(11),i=n(3),l=n(4),o=n(1);Object(r.a)(function(){var e=document.querySelector(".s-news-box-content");e&&""===e.innerHTML&&(Object(i.render)(wp.element.createElement("div",null,wp.element.createElement(l.Spinner,null)),e),Object(a.send)("stackable_news_feed_ajax",{success:function(t){e.innerHTML=t},error:function(e){alert(e)},data:{nonce:o.nonceNews}}))});var s=n(0),u={"ugb/accordion":{title:Object(s.__)("Accordion",o.i18n),description:Object(s.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",o.i18n),sDemoURL:"https://wpstackable.com/accordion-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/text":{title:Object(s.__)("Advanced Text",o.i18n),description:Object(s.__)("Start with the building block of all page layouts.",o.i18n),sDemoURL:"https://wpstackable.com/advanced-text-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/heading":{title:Object(s.__)("Advanced Heading",o.i18n),description:Object(s.__)("Introduce new sections of your content in style.",o.i18n),sDemoURL:"https://wpstackable.com/advanced-heading-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/blockquote":{title:Object(s.__)("Blockquote",o.i18n),description:Object(s.__)("Display a quote in style.",o.i18n),sDemoURL:"https://wpstackable.com/blockquote-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/blog-posts":{title:Object(s.__)("Blog Posts",o.i18n),description:Object(s.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",o.i18n),sDemoURL:"https://wpstackable.com/blog-posts-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/button":{title:Object(s.__)("Button",o.i18n),description:Object(s.__)("Add a customizable button.",o.i18n),sDemoURL:"https://wpstackable.com/button-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/cta":{title:Object(s.__)("Call to Action",o.i18n),description:Object(s.__)("A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.",o.i18n),sDemoURL:"https://wpstackable.com/call-to-action-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/card":{title:Object(s.__)("Card",o.i18n),description:Object(s.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",o.i18n),sDemoURL:"https://wpstackable.com/card-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/columns":{title:Object(s.__)("Columns",o.i18n),description:Object(s.__)("Add a block that displays content in multiple columns. Get advanced options on how you want your columns to look.",o.i18n),sDemoURL:"https://wpstackable.com/columns-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/container":{title:Object(s.__)("Container",o.i18n),description:Object(s.__)("A styled container that you can add other blocks inside. Use this to create unique layouts.",o.i18n),sDemoURL:"https://wpstackable.com/container-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/count-up":{title:Object(s.__)("Count Up",o.i18n),description:Object(s.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",o.i18n),sDemoURL:"https://wpstackable.com/count-up-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/design-library":{title:Object(s.__)("Design Library",o.i18n),description:Object(s.__)("Choose from over a hundred block designs from the Stackable Design Library.",o.i18n)},"ugb/divider":{title:Object(s.__)("Divider",o.i18n),description:Object(s.__)("Add a pause between your content.",o.i18n)},"ugb/expand":{title:Object(s.__)("Expand / Show More",o.i18n),description:Object(s.__)("Display a small snippet of text. Your readers can toggle it to show more information.",o.i18n),sDemoURL:"https://wpstackable.com/expand-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/feature-grid":{title:Object(s.__)("Feature Grid",o.i18n),description:Object(s.__)("Display multiple product features or services. You can use Feature Grids one after another.",o.i18n),sDemoURL:"https://wpstackable.com/feature-grid-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/feature":{title:Object(s.__)("Feature",o.i18n),description:Object(s.__)("Display a product feature or a service in a large area.",o.i18n),sDemoURL:"https://wpstackable.com/feature-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/header":{title:Object(s.__)("Header",o.i18n),description:Object(s.__)("A large header title area. Typically used at the very top of a page.",o.i18n),sDemoURL:"https://wpstackable.com/header-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/icon":{title:Object(s.__)("Icon",o.i18n),description:Object(s.__)("Pick an icon or upload your own SVG icon to decorate your content.",o.i18n),sDemoURL:"https://wpstackable.com/icon-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/icon-list":{title:Object(s.__)("Icon List",o.i18n),description:Object(s.__)("An unordered list with icons. You can use this as a list of features or benefits.",o.i18n),sDemoURL:"https://wpstackable.com/icon-list-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/image-box":{title:Object(s.__)("Image Box",o.i18n),description:Object(s.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",o.i18n),sDemoURL:"https://wpstackable.com/image-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/notification":{title:Object(s.__)("Notification",o.i18n),description:Object(s.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",o.i18n),sDemoURL:"https://wpstackable.com/notification-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/number-box":{title:Object(s.__)("Number Box",o.i18n),description:Object(s.__)('Display steps or methods that your users will do in your service. For example, "Get started in just 3 easy steps: 1, 2 and 3!"',o.i18n),sDemoURL:"https://wpstackable.com/number-box-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/pricing-box":{title:Object(s.__)("Pricing Box",o.i18n),description:Object(s.__)("Display the different pricing tiers of your business.",o.i18n),sDemoURL:"https://wpstackable.com/pricing-table-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/separator":{title:Object(s.__)("Separator",o.i18n),description:Object(s.__)("A fancy separator to be placed between containers and content.",o.i18n),sDemoURL:"https://wpstackable.com/separator-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/spacer":{title:Object(s.__)("Spacer",o.i18n),description:Object(s.__)("Sometimes you just need some space.",o.i18n)},"ugb/team-member":{title:Object(s.__)("Team Member",o.i18n),description:Object(s.__)("Display members of your team or your office. Use multiple Team Member blocks if you have a large team.",o.i18n),sDemoURL:"https://wpstackable.com/team-member-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/testimonial":{title:Object(s.__)("Testimonial",o.i18n),description:Object(s.__)("Showcase what your users say about your product or service.",o.i18n),sDemoURL:"https://wpstackable.com/testimonial-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"},"ugb/video-popup":{title:Object(s.__)("Video Popup",o.i18n),description:Object(s.__)("Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.",o.i18n),sDemoURL:"https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}},c=n(14),f=n(6),p=n.n(f),d=n(21),g=n.n(d),m=n(12);var b=n(5);function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(P,h({design:a("Design",e.designDefault),size:a("Size","normal"),text:a("Text",""),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),icon:a("Icon"),iconPosition:a("IconPosition"),onChange:function(e){return t(v({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(v({},n("Url"),e))},onChangeNewTab:function(e){return t(v({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(v({},n("NoFollow"),e))},onChangeIcon:function(e){return t(v({},n("Icon"),e))},isSelected:e.isSelected},e))};y.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(y.Content=function(e){var t=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a};return wp.element.createElement(P.Content,h({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=1,j=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,a=C(t).apply(this,arguments),e=!a||"object"!==k(a)&&"function"!=typeof a?S(n):a,x(S(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=E++,e.onButtonClickHandler=e.onButtonClickHandler.bind(S(e)),e.outsideClickHandler=e.outsideClickHandler.bind(S(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(S(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}(t,i["Component"]),n=t,(a=[{key:"onButtonClickHandler",value:function(e){if(this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button"));else if(e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-url-input-popover")||e.target.closest(".ugb-icon-popover")||e.target.closest(".components-popover"))return;this.state.openPopup||document.body.addEventListener("click",this.outsideClickHandler),this.setState({openPopup:!0})}},{key:"outsideClickHandler",value:function(e){e.target.closest(".ugb-button-container-".concat(this.buttonInstanceId))||e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")?this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-svg-icon-placeholder__button")&&this.hideUrlPopup():this.hideUrlPopup()}},{key:"onKeyPressHandler",value:function(e){e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")||this.hideUrlPopup()}},{key:"render",value:function(){var e,t=this.props,n=t.iconButton,a=t.className,r=void 0===a?"":a,l=t.size,u=void 0===l?"normal":l,c=t.text,f=void 0===c?"":c,d=t.onChange,g=void 0===d?function(){}:d,b=t.design,h=void 0===b?"basic":b,v=t.shadow,y=void 0===v?0:v,w=t.iconPosition,k=void 0===w?"":w,O=t.hoverEffect,C=void 0===O?"":O,S=t.ghostToNormalEffect,_=void 0!==S&&S,E=t.url,j=void 0===E?"":E,P=t.newTab,T=void 0===P?"":P,B=t.noFollow,M=void 0===B?"":B,N=t.onChangeUrl,I=void 0===N?null:N,A=t.onChangeNewTab,D=void 0===A?null:A,R=t.onChangeNoFollow,z=void 0===R?null:R,L=t.onChangeIcon,F=void 0===L?null:L,U=t.icon,H=void 0===U?null:U,V=t.isSelected,G=void 0===V?null:V,q=p()([r,"ugb-button","ugb-button--size-".concat(u)],(x(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":_},"ugb--hover-effect-".concat(C),"link"!==h&&C),x(e,"ugb--shadow-".concat(y),"basic"===h&&y),x(e,"ugb-button--design-".concat(h),"basic"!==h),x(e,"ugb-button--has-icon",H),x(e,"ugb-button--icon-position-".concat(k),k),e)),W=p()(["ugb-button-container","ugb-button-container-".concat(this.buttonInstanceId),this.props.containerClassName]),K=(null===G||G)&&this.state.openPopup;return wp.element.createElement("div",{className:W,onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:q},H&&"link"!==h&&wp.element.createElement(i.Fragment,null,!F&&wp.element.createElement(su,{value:H}),F&&wp.element.createElement(mu,{value:H,onChange:F,isOpen:n?K:null})),!n&&wp.element.createElement(m.RichText,{tagName:"span",className:"link"===h?"":"ugb-button--inner",placeholder:Object(s.__)("Button text",o.i18n),value:f,onChange:g,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),K&&wp.element.createElement(pt,{value:j,onChange:I,newTab:T,noFollow:M,onChangeNewTab:D,onChangeNoFollow:z,disableSuggestions:this.props.disableSuggestions})))}}])&&O(n.prototype,a),r&&O(n,r),t}();j.defaultProps={iconButton:!1,disableSuggestions:!1,containerClassName:"",className:"",size:"normal",text:"",onChange:function(){},design:"basic",shadow:0,iconPosition:"",hoverEffect:"",ghostToNormalEffect:!1,url:"",newTab:"",noFollow:"",onChangeUrl:null,onChangeNewTab:null,onChangeNoFollow:null,onChangeIcon:null,icon:null,isSelected:null},j.Content=function(e){var t,n=e.iconButton,a=e.className,r=void 0===a?"":a,i=e.size,l=void 0===i?"normal":i,o=e.url,s=void 0===o?"":o,u=e.icon,c=void 0===u?null:u,f=e.text,d=void 0===f?"":f,b=e.design,h=void 0===b?"basic":b,v=e.newTab,y=void 0!==v&&v,k=e.shadow,O=void 0===k?0:k,C=e.iconPosition,S=void 0!==C&&C,_=e.hoverEffect,E=void 0===_?"":_,j=e.noFollow,P=void 0!==j&&j,T=e.ghostToNormalEffect,B=void 0!==T&&T,M=e.target,N=void 0===M?"":M,I=e.role,A=void 0===I?"":I,D=e.title,R=void 0===D?"":D,z=p()([r,"ugb-button","ugb-button--size-".concat(l)],(x(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":B},"ugb--hover-effect-".concat(E),"link"!==h&&E),x(t,"ugb--shadow-".concat(O),"basic"===h&&O),x(t,"ugb-button--design-".concat(h),"basic"!==h),x(t,"ugb-button--has-icon",c),x(t,"ugb-button--icon-position-".concat(S),S),t)),L=[];y&&(L.push("noopener"),L.push("noreferrer")),P&&L.push("nofollow");var F={};return A&&(F.role=A),wp.element.createElement("div",{className:"ugb-button-container"},(d||n)&&wp.element.createElement("a",w({className:z,href:s,target:N||y?N||"_blank":void 0,rel:e.rel||L.join(" "),title:g()(R)},F),c&&"link"!==h&&wp.element.createElement(su.Content,{value:c}),!n&&wp.element.createElement(m.RichText.Content,{tagName:"span",className:"link"===h?"":"ugb-button--inner",value:d})))};var P=j,T=[],B={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},M=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},N=function(e){if(!T.includes(e)){if(document&&M(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=B[o.locale]?"&subset=".concat(B):"";return"https://fonts.googleapis.com/css?family=".concat(t,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic").concat(n)}(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),document.querySelector("head").appendChild(t)}T.push(e)}},I=function(e){return M(e)?'"'.concat(e,'", Sans-serif'):e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},A=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&N(n)})};var D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=function(t){return Object(b.camelCase)(Object(s.sprintf)(e,t))},i=ge(n,r,""),l=a.importantSize,o=void 0!==l&&l,u=a.important,c=void 0===u||u,f=a.inherit,p=void 0===f||f,d=a.inheritMax,g=void 0===d?50:d,m=a.inheritMin,h={},v=i("FontSize"),y=i("TabletFontSize"),w=i("MobileFontSize");if("tablet"!==t&&"mobile"!==t)h={fontFamily:""!==i("FontFamily")?I(i("FontFamily")):void 0,fontSize:""!==v?de("".concat(v).concat(i("FontSizeUnit")||"px"),o):void 0,fontWeight:""!==i("FontWeight")?i("FontWeight"):void 0,textTransform:""!==i("TextTransform")?i("TextTransform"):void 0,letterSpacing:""!==i("LetterSpacing")?"".concat(i("LetterSpacing"),"px"):void 0,lineHeight:""!==i("LineHeight")?"".concat(i("LineHeight")).concat(i("LineHeightUnit")||"em"):void 0};else if("tablet"===t){if(h={lineHeight:""!==i("TabletLineHeight")?"".concat(i("TabletLineHeight")).concat(i("TabletLineHeightUnit")||"em"):void 0},p){var k=me(v,{min:m,max:g});k&&(h.fontSize="".concat(k).concat(i("FontSizeUnit")||"px"))}y&&(h.fontSize=i("TabletFontSize","%s".concat(i("TabletFontSizeUnit")||"px")))}else{if(h={lineHeight:""!==i("MobileLineHeight")?"".concat(i("MobileLineHeight")).concat(i("MobileLineHeightUnit")||"em"):void 0},p){var O=me(v,{min:m,max:g});O&&(h.fontSize="".concat(O).concat(i("FontSizeUnit")||"px"));var C=me(y,{min:m,max:g});C?h.fontSize="".concat(C).concat(i("TabletFontSizeUnit")||"px"):(O||y)&&(h.fontSize=void 0)}w&&(h.fontSize=i("MobileFontSize","%s".concat(i("MobileFontSizeUnit")||"px")))}return c?pe(h):h},R=n(7);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F={},U=function(){F=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(n,!0).forEach(function(t){L(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},function(e){var t=document.createElement("div");if(t.classList.add("editor-styles-wrapper"),t.classList.add("ugb-default-font-size"),t.innerHTML='<div class="wp-block">'.concat(e.map(function(e){return"<".concat(e,"></").concat(e,">")}).join(),"</div>"),!document||!document.body)return{};document.body.appendChild(t);var n={};return e.forEach(function(e){var a=window.getComputedStyle(t.querySelector(e)).getPropertyValue("font-size");n[e]=Math.round(parseFloat(a))}),document.body.removeChild(t),n}(["h1","h2","h3","h4","h5","h6","p"]))};Object(R.addFilter)("stackable.global-settings.typography.editor-styles","stackable/default-font-sizes",function(e,t,n,a){return e[".ugb-default-font-size .wp-block ".concat(t)]=D("%s","desktop",a,{important:!0}),F={},e});var H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"p",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return Object.keys(F).length&&!t||U(),F[e]||F.p||21};Object(r.a)(function(){U()});var V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e,t))},a=ge(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")};var G=n(2),q=n.n(G);function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=q.a.createElement("circle",{cx:50,cy:50,r:50}),$=function(e){return q.a.createElement("svg",W({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),K)};function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Q=q.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),X=function(e){return q.a.createElement("svg",Y({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),Q)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=q.a.createElement("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"});var ee={circle:$,square:X,blob1:function(e){return q.a.createElement("svg",J({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),Z)}},te=function(e){var t=Object(R.applyFilters)("stackable.image.shape.svgs",ee);return t[e]?t[e]:null},ne=n(10),ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},re=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||ae(e):null};window._stackableCachedImageData={};var ie=function(e,t){var n=t("core").getMedia,a=e?n(e):null;return a&&void 0!==a.id&&(window._stackableCachedImageData[a.id]=a),a},le=function(e){return window._stackableCachedImageData[e]||null};var oe=n(13),se=n.n(oe);n(28),n(22);function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ue(n,!0).forEach(function(t){fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.keys(e).reduce(function(n,a){return ce({},n,fe({},a,de(e[a],t)))},{})},de=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?"".concat(e," !important"):e},ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(a){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,l=null!==t?t:function(e){return Object(b.lowerFirst)(e)},o=void 0===e[l(a)]?"":e[l(a)];return""!==o?r?Object(s.sprintf)(r.replace(/%$/,"%%"),o):o:i}},me=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.min,a=void 0===n?Number.NEGATIVE_INFINITY:n,r=t.max,i=void 0===r?Number.POSITIVE_INFINITY:r;if(""!==e){var l=Object(b.clamp)(e,parseFloat(a),parseFloat(i));if(!isNaN(l))return parseFloat(l)!==parseFloat(e)?l:void 0}};var be={facebook:{label:Object(s.__)("Facebook",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="facebook-f" class="svg-inline--fa fa-facebook-f fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path fill="currentColor" d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg>'},twitter:{label:Object(s.__)("Twitter",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="twitter" class="svg-inline--fa fa-twitter fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>'},instagram:{label:Object(s.__)("Instagram",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="instagram" class="svg-inline--fa fa-instagram fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg>'},pinterest:{label:Object(s.__)("Pinterest",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="pinterest-p" class="svg-inline--fa fa-pinterest-p fa-w-12" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="currentColor" d="M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"></path></svg>'},linkedin:{label:Object(s.__)("LinkedIn",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="linkedin-in" class="svg-inline--fa fa-linkedin-in fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"></path></svg>'},youtube:{label:Object(s.__)("YouTube",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="fab" data-icon="youtube" class="svg-inline--fa fa-youtube fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"></path></svg>'},email:{label:Object(s.__)("Email",o.i18n),icon:'<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="envelope" class="svg-inline--fa fa-envelope fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg>'}},he=n(16);function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(n,!0).forEach(function(t){we(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function we(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ke=["uniqueClass"],Oe={};function Ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(i.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=Ce(n,2),r=a[0],l=a[1],o=function(t){try{var n=t instanceof Function?t(r):t;l(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[r,o]},_e=function(){return void 0!==he.registerBlockCollection};var xe=function(e,t){var n=Ee(e,t);return n?n.html[0]:""},Ee=function(e,t){return window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null},je=n(17),Pe=n.n(je);n(29);var Te=function(e){return e.match(/(mp4|webm|ogg)$/i)},Be="desktop",Me=function(){return Be},Ne=!1,Ie=function(){return Ne};function Ae(){return(Ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(n,!0).forEach(function(t){ze(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Le=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a},r=Object.keys(be).reduce(function(e,r){var i;return Re({},e,(ze(i={},"".concat(r,"Url"),a("".concat(r,"Url"))),ze(i,"onChange".concat(Object(b.upperFirst)(r),"Url"),function(e){return t(ze({},n("".concat(r,"Url")),e))}),i))},{});return wp.element.createElement(Ke,Ae({design:a("Design",e.designDefault),size:a("Size","normal"),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),useSocialColors:a("UseSocialColors"),newTab:a("NewTab"),onChangeNewTab:function(e){return t(ze({},n("NewTab"),e))},isSelected:e.isSelected},r,e))};Le.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(Le.Content=function(e){var t=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a},a=Object.keys(be).reduce(function(e,t){return Re({},e,ze({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(Ke.Content,Ae({design:n("Design",e.designDefault),size:n("Size","normal"),newTab:n("NewTab"),hoverEffect:n("HoverEffect"),useSocialColors:n("UseSocialColors"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow")},a,e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(n,!0).forEach(function(t){He(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(){return(Ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ge=function(e){return wp.element.createElement(i.Fragment,null,Object.keys(be).map(function(t){var n=p()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return(!0===e["show".concat(Object(b.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(b.upperFirst)(t))])&&wp.element.createElement(P,Ve({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:be[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(b.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},qe=Object.keys(be).reduce(function(e,t){var n;return Ue({},e,(He(n={},"".concat(t,"Url"),""),He(n,"show".concat(Object(b.upperFirst)(t)),null),n))},{});Ge.defaultProps=Ue({useSocialColors:!0},qe),Ge.Content=function(e){return wp.element.createElement(i.Fragment,null,Object.keys(be).map(function(t){var n=p()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return!1!==e["show".concat(Object(b.upperFirst)(t))]&&wp.element.createElement(P.Content,Ve({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:be[t].icon,url:e["".concat(t,"Url")]||"#"},e))}))};var We=Object.keys(be).reduce(function(e,t){var n;return Ue({},e,(He(n={},"".concat(t,"Url"),""),He(n,"show".concat(Object(b.upperFirst)(t)),null),n))},{});Ge.Content.defaultProps=Ue({useSocialColors:!0},We);var Ke=Ge;function $e(){return($e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ye=q.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),Qe=q.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),Xe=q.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),Je=function(e){return q.a.createElement("svg",$e({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),Ye,Qe,Xe)};function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(n,!0).forEach(function(t){tt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nt=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,r=e.className,i=e.allowedTypes,o=e.render,s=e.hasRemove,u=e.style,c=p()([r,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),f=et({},u,{backgroundImage:n&&!o?"url(".concat(n,")"):void 0});return wp.element.createElement(m.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,r=t.height,i=e.imageSize||"full";t.sizes&&t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,r=t.sizes[i].height),e.onChange(et({},t,{url:n,width:a,height:r}))},allowedTypes:i,value:t,render:function(e){return n&&o?wp.element.createElement("div",{className:c,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:f,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&s&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(l.Dashicon,{icon:"no"})),o):wp.element.createElement("div",{className:c,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:f,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&s&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(l.Dashicon,{icon:"no"})),!n&&wp.element.createElement(Je,null))}})};nt.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};function at(){return(at=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rt=function(e){return wp.element.createElement(l.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(m.URLInput,at({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(b.omit)(e,["label","help"]))))};rt.defaultProps={label:Object(s.__)("URL",o.i18n),help:null,value:"",onChange:function(){}};var it=rt;function lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ot(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var ut=Object(i.createElement)(function(e){var t=e.className,n=e.isPressed,a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?st(Object(n),!0).forEach(function(t){lt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},ot(e,["className","isPressed"]),{className:p()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":"true",focusable:"false"});return Object(i.createElement)("svg",a)},{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(i.createElement)(function(e){return Object(i.createElement)("path",e)},{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"})),ct=[{id:"opensInNewTab",title:Object(s.__)("Opens in new tab",o.i18n)},{id:"noFollowLink",title:Object(s.__)("Nofollow link",o.i18n)}],ft=function(e){var t=e.value,n={url:t,opensInNewTab:e.newTab,noFollowLink:e.noFollow};if(!e.onChange&&!e.onChangeNewTab&&!e.onChangeNoFollow)return null;var a=p()(["ugb-url-input-popover"]),r=ct.filter(function(t){switch(t.id){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;default:return!0}});return wp.element.createElement(l.Popover,{className:a,focusOnMount:!1,position:e.position},wp.element.createElement(m.__experimentalLinkControl,{value:n,settings:r,showSuggestions:!e.disableSuggestions,onChange:function(t){var a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow},r=Object(b.omitBy)(Object(b.omit)(t,"id","title","type"),function(e,t){return n[t]===e});Object(b.keys)(r).map(function(e){return a[e](r[e])})}},wp.element.createElement("form",null,wp.element.createElement("input",{placeholder:Object(s.__)("Search or type url",o.i18n),value:t}),wp.element.createElement(l.Button,{icon:ut,type:"submit"}))))};ft.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var pt=ft,dt=n(9);function gt(){return(gt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function bt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ht=Object(s.__)("(current %s: %s)",o.i18n),vt=Object(dt.compose)([m.withColorContext,Object(dt.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.disableCustomColors,n=e.label,a=e.onChange,r=e.value,u=e.className,c=void 0===u?"":u,f=e.colors.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(n,!0).forEach(function(t){bt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{name:e.name||e.fallback||e.color||Object(s.__)("Untitled Color",o.i18n)})}),d=Object(m.getColorObjectByColorValue)(f,r),g=d&&d.name,b=Object(s.sprintf)(ht,n.toLowerCase(),g||r),h=wp.element.createElement(i.Fragment,null,n,r&&wp.element.createElement(l.ColorIndicator,{colorValue:r,"aria-label":b}));return wp.element.createElement(l.BaseControl,{className:p()([c,"editor-color-palette-control"]),id:"editor-color-palette-control",label:h},wp.element.createElement(l.ColorPalette,gt({className:"editor-color-palette-control__color-palette",value:r,onChange:function(e){var t=Object(m.getColorObjectByColorValue)(f,e);a(Object(R.applyFilters)("stackable.color-palette-control.change",e,t))}},{colors:f,disableCustomColors:t})))}),yt=n(8),wt=n.n(yt);function kt(e){return(kt="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 Ot(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ct(e,t){return!t||"object"!==kt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function St(e){return(St=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _t(e,t){return(_t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(dt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),Ct(this,St(n).apply(this,arguments))}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_t(e,t)}(n,i["Component"]),a=n,(r=[{key:"componentDidMount",value:function(){A(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&Ot(a.prototype,r),l&&Ot(a,l),n}(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(t,"defaultProps",{attributes:{}}),n},"withGoogleFont");function xt(e){return(xt="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 Et(){return(Et=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function jt(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Pt(e){return(Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Tt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bt(e,t){return(Bt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(dt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=Pt(n).apply(this,arguments))||"object"!==xt(a)&&"function"!=typeof a?Tt(t):a).setAttributes=e.setAttributes.bind(Tt(e)),e}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}(n,i["Component"]),a=n,(r=[{key:"componentDidUpdate",value:function(e){Object(b.isEqual)(e.attributes,this.props.attributes)||Object(R.doAction)("stackable.setAttributes.after")}},{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(R.applyFilters)("stackable.setAttributes",e,this.props);n=Object(R.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,Et({},this.props,{setAttributes:this.setAttributes}))}}])&&jt(a.prototype,r),l&&jt(a,l),n}(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(t,"propTypes",{setAttributes:wt.a.func.isRequired}),n},"withSetAttributeHook");function Mt(e){return(Mt="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 Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function It(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 At(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Dt(e,t){return!t||"object"!==Mt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Rt(e){return(Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zt(e,t){return(zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(dt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),Dt(this,Rt(n).apply(this,arguments))}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zt(e,t)}(n,i["Component"]),a=n,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,r="ugb-".concat(a.substring(0,7));void 0!==t.uniqueClass&&t.uniqueClass===r||n({uniqueClass:r})}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&At(a.prototype,r),l&&At(a,l),n}(),Lt(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(R.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(It(e),["uniqueClass"])}),Object(R.addFilter)("stackable.block.attributes","stackable/unique-class",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nt(n,!0).forEach(function(t){Lt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var Ft=function(e){return document.querySelector(".ugb-panel--".concat(e))},Ut=function(e){var t=e.closest(".ugb-inspector-panel-controls");if(!t)return null;var n=t.getAttribute("class").match(/ugb-panel-(\w+)/);if(n){var a=n[1];return document.querySelector(".ugb-tab--".concat(a))}return null},Ht=function(e){e&&(e.classList.contains("is-active")||e.click())},Vt=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}Gt(e)}},Gt=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar"),a=e.getBoundingClientRect().top+2;if(a-=t?t.getBoundingClientRect().height:0,a-=n.getBoundingClientRect().top,!_e()){var r=document.querySelector(".edit-post-sidebar-header");a-=r?r.getBoundingClientRect().height-1:0}document.querySelector(".edit-post-sidebar").scrollTop+=a};function qt(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 Wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $t=!1,Yt={".ugb-top-separator":"top-separator",".ugb-bottom-separator":"bottom-separator",".ugb-inner-block":"column-background",".ugb-block-title":"block-title",".ugb-block-description":"block-description",".ugb--has-block-background":"block-background"},Qt={},Xt=[".block-editor-rich-text__editable",".editor-rich-text__editable","svg","img","figure",".ugb-button",'[role="button"]',".ugb-block-content > * > *",".ugb-block-content > *",".ugb-content-wrapper",".ugb-top-separator",".ugb-bottom-separator",".ugb-inner-block",".ugb-main-block"],Jt=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wt(n,!0).forEach(function(t){Kt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Qt[e],{},Yt)};Object(r.a)(function(){if(!$t&&($t=!0,Element.prototype.matches)){var e=Object(R.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){var n,a,r=(n=t.target,(a=n.closest("[data-type]"))&&a.getAttribute("data-type").match(/^ugb\//i)?a.getAttribute("data-type").replace(/^ugb\//i,""):"");if(r){var i=Jt(r);if(i){var l=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(l=e[n],!0)}),[].concat(qt(l),Xt).some(function(e){var n=t.target.closest(e);return!!n&&Object.keys(i).some(function(e){return!!n.matches(e)&&function(e){var t=Ft(e);if(t){var n=Ut(t);Ht(n),Vt(t)}return t}(i[e])})})}}})}});function Zt(e){return(Zt="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 en(){return(en=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function tn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function nn(e,t){return!t||"object"!==Zt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function an(e){return(an=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function rn(e,t){return(rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var on=function(e){return Object(dt.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),nn(this,an(a).apply(this,arguments))}var r,l,o;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rn(e,t)}(a,i["Component"]),r=a,(l=[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=p()([this.props.className],ln({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,en({},this.props,{className:a}))}}])&&tn(r.prototype,l),o&&tn(r,o),a}(),ln(n,"defaultProps",{className:""}),a},"withHelpTip")};function sn(){return(sn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var un=function(e){return wp.element.createElement(l.SelectControl,sn({},e,{options:[{value:"",label:Object(s.__)("None",o.i18n)},{value:"normal",label:Object(s.__)("Normal",o.i18n)},{value:"multiply",label:Object(s.__)("Multiply",o.i18n)},{value:"screen",label:Object(s.__)("Screen",o.i18n)},{value:"overlay",label:Object(s.__)("Overlay",o.i18n)},{value:"darken",label:Object(s.__)("Darken",o.i18n)},{value:"lighten",label:Object(s.__)("Lighten",o.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",o.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",o.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",o.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",o.i18n)},{value:"difference",label:Object(s.__)("Difference",o.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",o.i18n)},{value:"hue",label:Object(s.__)("Hue",o.i18n)},{value:"saturation",label:Object(s.__)("Saturation",o.i18n)},{value:"color",label:Object(s.__)("Color",o.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",o.i18n)},{value:"initial",label:Object(s.__)("Initial",o.i18n)},{value:"inherit",label:Object(s.__)("Inherit",o.i18n)},{value:"unset",label:Object(s.__)("Unset",o.i18n)}]}))};un.defaultProps={label:Object(s.__)("Mix Blend Mode",o.i18n),help:Object(s.__)("Not supported in all browsers.",o.i18n)};var cn=Object(dt.compose)(on("background-blend-mode"))(un);function fn(){return(fn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pn=q.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),dn=q.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),gn=q.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),mn=function(e){return q.a.createElement("svg",fn({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),pn,dn,gn)},bn=function(e){var t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)$/i)?"video":"image",n=function(){e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(l.BaseControl,{help:e.help},wp.element.createElement(aa,{label:e.label,screens:e.screens}),wp.element.createElement(m.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(i.Fragment,null,e.imageURL&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:n},wp.element.createElement(l.Dashicon,{icon:"no"})),"video"===t&&wp.element.createElement("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()}}),"image"===t&&wp.element.createElement("img",{className:"ugb-image-preview",src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},alt:Object(s.__)("preview",o.i18n)})),!e.imageURL&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},role:"button",tabIndex:0},wp.element.createElement(mn,null)))}})))};bn.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var hn=bn;function vn(){return(vn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yn=function(e){return wp.element.createElement(l.TextareaControl,vn({},e,{help:wp.element.createElement(i.Fragment,null,wp.element.createElement(l.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",o.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",o.i18n))}))};yn.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",o.i18n)};var wn=yn,kn=n(35),On=n.n(kn),Cn=n(36),Sn=n.n(Cn),_n=n(37),xn=n.n(_n),En=n(38),jn=n.n(En);function Pn(){return(Pn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Tn(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Bn=function(e){return wp.element.createElement(i.Fragment,null,wp.element.createElement(ql,Pn({},e,{className:p()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[].concat(Tn(e.hasDefault?[{label:Object(s.__)("Default",o.i18n),value:"",image:On.a}]:[]),[{label:Object(s.__)("Square",o.i18n),value:"square",image:Sn.a},{label:Object(s.__)("Circle",o.i18n),value:"circle",image:xn.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",o.i18n),1),value:"blob1",image:jn.a}],Tn(Object(R.applyFilters)("stackable.image.control.shapes",[])))})),o.showProNotice&&wp.element.createElement(Ru,{type:"image"}))};Bn.defaultProps={className:"",label:Object(s.__)("Shape",o.i18n),selected:"",hasDefault:!0};var Mn=Bn,Nn=function(e){var t=e.imageData?re(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(i.Fragment,null,e.onChangeShape&&wp.element.createElement(Mn,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",o.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",o.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",o.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};Nn.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var In=Object(dt.compose)([Object(ne.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(Nn);function An(){return(An=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Dn=function(e){var t,n=(t=e.imageSizes,Object(b.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(b.isEmpty)(n)?null:wp.element.createElement(l.SelectControl,An({},e,{value:e.value||"large",options:n,className:p()(e.className,["ugb--help-tip-image-size"])}))};Dn.defaultProps={className:"",label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var Rn=Object(dt.compose)([Object(ne.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Dn);function zn(){return(zn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ln=q.a.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7v2zM4 6v8h16V6H4z"}),Fn=function(e){return q.a.createElement("svg",zn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Ln)};function Un(){return(Un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hn=q.a.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v15h8V4H8z"}),Vn=function(e){return q.a.createElement("svg",Un({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Hn)};function Gn(){return(Gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qn=q.a.createElement("path",{d:"M6 4v15h12V4H6zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z"}),Wn=function(e){return q.a.createElement("svg",Gn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),qn)};function Kn(e){return(Kn="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 $n(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Yn(e,t){return!t||"object"!==Kn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Qn(e){return(Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xn(e,t){return(Xn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Jn={desktop:wp.element.createElement(Fn,null),tablet:wp.element.createElement(Wn,null),mobile:wp.element.createElement(Vn,null)},Zn={desktop:Object(s.__)("Desktop",o.i18n),tablet:Object(s.__)("Tablet",o.i18n),mobile:Object(s.__)("Mobile",o.i18n)},ea=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Yn(this,Qn(t).apply(this,arguments))).state={screen:Me(),isScreenPickerOpen:Ie(),isMouseOver:!1},e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xn(e,t)}(t,i["Component"]),n=t,(a=[{key:"onChangeScreen",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e}),function(e){Be=e}(e),Object(R.doAction)("stackable.responsive-toggle.screen.change",e),this.setState({isMouseOver:e})}},{key:"onOtherScreenChange",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e})}},{key:"onOtherScreenOpen",value:function(){this.setState({isScreenPickerOpen:!0})}},{key:"onOtherScreenClose",value:function(){this.setState({isScreenPickerOpen:!1})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(R.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(R.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(R.addAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e),this.onOtherScreenClose.bind(this))}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(R.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(R.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(R.removeAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e))}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"ugb-base-control-multi-label__responsive"},this.props.screens.length>1&&this.props.screens.map(function(t,n){return n>0&&!e.state.isScreenPickerOpen&&!e.state.isMouseOver?null:wp.element.createElement("div",{key:n},wp.element.createElement(l.Button,{className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:Jn[t],showTooltip:!1,label:Zn[t],"data-screen":t,onMouseEnter:function(){return e.setState({isMouseOver:t})},onMouseLeave:function(){return e.setState({isMouseOver:!1})}}),e.state.isMouseOver===t&&wp.element.createElement(l.Popover,{focusOnMount:!1,position:"bottom center",className:"components-tooltip","aria-hidden":"true"},Zn[t]))}))}}])&&$n(n.prototype,a),r&&$n(n,r),t}();ea.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var ta=Object(dt.withInstanceId)(ea),na=function(e){return wp.element.createElement("div",{className:"ugb-base-control-multi-label"},wp.element.createElement("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),wp.element.createElement(ta,{screens:e.screens,onChangeScreen:e.onChangeScreen}),wp.element.createElement("div",{className:"ugb-base-control-multi-label__units"},e.units.length>1&&e.units.map(function(t,n){return wp.element.createElement("button",{key:n,className:e.unit===t?"is-active":"",onClick:function(){return e.onChangeUnit(t)}},t)}),e.afterButton))};na.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var aa=na;function ra(e){return(ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function la(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oa=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ia(n,!0).forEach(function(t){la(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ia(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(b.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,t.placeholder="20";var a=e.placeholder;if(Array.isArray(a)||"object"!==ra(a))Array.isArray(a)&&"desktop"===e.screen?(t.placeholder=a[n]||"",t.initialPosition=a[n]||"",Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||"")):e.screen&&"desktop"!==e.screen&&(t.placeholder="",t.initialPosition="");else{var r=Me()||"desktop";a=void 0!==a[r]?a[r]:a[Object.keys(a)[0]],Array.isArray(a)?(t.placeholder=a[n]||"",t.initialPosition=a[n]||""):(t.placeholder=a||"",t.initialPosition=a||""),Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||""),t.initialPosition=function(e){return"string"==typeof e&&""!==e&&e.match(/^[\d.]+$/)?e.includes(".")?parseFloat(e):parseInt(e,10):e}(t.initialPosition)}return t.value=""===e.value?t.initialPosition:e.value,wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-range-control",e.className)},wp.element.createElement(aa,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.RangeControl,t))};oa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var sa=oa,ua=function(e){return wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-select-control",e.className)},wp.element.createElement(aa,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.SelectControl,Object(b.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};ua.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var ca=ua,fa=function(e){return wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-text-control",e.className)},wp.element.createElement(aa,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.TextControl,Object(b.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};fa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var pa=n(39),da=n.n(pa);function ga(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ma(e){return(ma=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ba(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ha(e,t){return(ha=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function va(e){return(va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var ya=function(e){return!(!e.length||"object"!==va(e[0].options))},wa=function(e,t){if(!t.length)return e;if(!ya(t)){var n=t.filter(function(t){return t.value===e});return n.length?n[0].label:e}var a=t.map(function(t){return{title:t.title,options:t.options.filter(function(t){return t.value===e})}}).filter(function(e){return e.options.length>0});return a.length?a[0].options[0].label:e},ka=function(e){return e.value},Oa=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},Ca=function(e){return e.options},Sa=function(){return!0},_a=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ma(t).apply(this,arguments))||"object"!==va(a)&&"function"!=typeof a?ba(n):a).state={value:e.props.value,label:e.props.value?wa(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(ba(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(ba(e)),e.onChange=e.onChange.bind(ba(e)),e.onFocus=e.onFocus.bind(ba(e)),e.autosuggestDiv=Object(i.createRef)(),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ha(e,t)}(t,i["Component"]),n=t,(a=[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:wa(n,this.props.options)})}},{key:"onFocus",value:function(){var e=this;this.props.highlightValueOnFocus&&setTimeout(function(){var t=e.autosuggestDiv.current.querySelector('[data-value="'.concat(e.state.value,'"]'));t&&t.scrollIntoView()},0)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=e.value,n=e.reason;if("input-focused"!==n&&"suggestion-selected"!==n){var a=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return ya(t)?t.map(function(e){return{title:e.title,options:e.options.filter(function(e){return a.test(e.label)||a.test(e.value)})}}).filter(function(e){return e.options.length>0}):t.filter(function(e){return a.test(e.label)||a.test(e.value)})}(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this,t=this.state,n=t.label,a=t.suggestions,r={placeholder:"",value:n,onChange:this.onChange,onFocus:this.onFocus,type:"search"};return wp.element.createElement(l.BaseControl,{help:this.props.help,className:p()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(aa,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(da.a,{multiSection:ya(this.props.options),suggestions:a,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:ka,renderSuggestion:function(t){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":t.value},e.props.renderOption?e.props.renderOption(t):t.label)},renderSectionTitle:Oa,getSectionSuggestions:Ca,shouldRenderSuggestions:Sa,inputProps:r}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}])&&ga(n.prototype,a),r&&ga(n,r),t}();_a.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",o.i18n),renderOption:null,highlightValueOnFocus:!1};var xa=_a;function Ea(){return(Ea=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ja=q.a.createElement("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}),Pa=function(e){return q.a.createElement("svg",Ea({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ja)};function Ta(){return(Ta=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ba=q.a.createElement("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}),Ma=function(e){return q.a.createElement("svg",Ta({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ba)};function Na(){return(Na=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ia=q.a.createElement("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}),Aa=function(e){return q.a.createElement("svg",Na({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ia)};function Da(){return(Da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ra=q.a.createElement("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}),za=function(e){return q.a.createElement("svg",Da({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ra)};function La(){return(La=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fa=q.a.createElement("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}),Ua=function(e){return q.a.createElement("svg",La({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Fa)};function Ha(){return(Ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Va=q.a.createElement("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}),Ga=function(e){return q.a.createElement("svg",Ha({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Va)};function qa(){return(qa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wa=q.a.createElement("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}),Ka=function(e){return q.a.createElement("svg",qa({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Wa)};function $a(){return($a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ya(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Qa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xa=[{value:"flex-start",title:Object(s.__)("Align Left",o.i18n),icon:wp.element.createElement(Aa,null)},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:wp.element.createElement(Ma,null)},{value:"flex-end",title:Object(s.__)("Align Right",o.i18n),icon:wp.element.createElement(za,null)}],Ja=[{value:"flex-start",title:Object(s.__)("Align Top",o.i18n),icon:wp.element.createElement(Ga,null)},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:wp.element.createElement(Ka,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",o.i18n),icon:wp.element.createElement(Pa,null)},{value:"stretch",title:Object(s.__)("Stretch",o.i18n),icon:wp.element.createElement(Ua,null)}],Za={"flex-horizontal":Xa,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",o.i18n),icon:wp.element.createElement(Ga,null)},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:wp.element.createElement(Ka,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",o.i18n),icon:wp.element.createElement(Pa,null)}],"flex-vertical-with-stretch":Ja},er=function(e){var t="string"==typeof e.controls?Za[e.controls]:e.controls,n=p()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(l.BaseControl,{help:e.help,className:p()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(aa,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(l.ButtonGroup,{children:t.map(function(t,n){var a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ya(n,!0).forEach(function(t){Qa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ya(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isPrimary:e.value===t.value,isSmall:e.isSmall,children:t.icon?null:t.custom||wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)});return wp.element.createElement(l.Button,$a({key:n},a))}),className:n}))};er.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0,isSmall:!1};var tr=er;function nr(){return(nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ar=function(e){var t=e.placeholder,n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?1:Math.round(parseFloat(e)/parseFloat(t)*10)/10};return"string"==typeof t&&(t=[t,n(t)]),wp.element.createElement(sa,nr({},e,{placeholder:t,onChangeUnit:function(t){""!==e.value&&("em"===t||"rem"===t?e.onChange(n(e.value)):"px"===t&&e.onChange(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:21;return""===e?21:Math.round(parseFloat(e)*t)}(e.value))),e.onChangeUnit(t)}}))};ar.defaultProps={label:Object(s.__)("Font Size",o.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};var rr=ar;function ir(){return(ir=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lr=n(40).map(function(e){return{label:e.family,value:e.family}}),or=function(e){return wp.element.createElement(xa,ir({options:[{title:Object(s.__)("System Fonts",o.i18n),options:[{label:Object(s.__)("Sans-Serif",o.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",o.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",o.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",o.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",o.i18n),options:lr}],highlightValueOnFocus:!0},e,{onChange:function(t){lr.some(function(e){return e.value===t&&(N(t),!0)}),e.onChange(t)}}))};or.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",o.i18n),value:""};var sr=or;function ur(){return(ur=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function cr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function fr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){fr(e,t,n[t])})}return e}function dr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function mr(e,t,n){return t&&gr(e.prototype,t),n&&gr(e,n),e}function br(e){return(br="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 hr(e){return(hr="function"==typeof Symbol&&"symbol"===br(Symbol.iterator)?function(e){return br(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":br(e)})(e)}function vr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e,t){return!t||"object"!==hr(t)&&"function"!=typeof t?vr(e):t}function wr(e){return(wr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function kr(e,t){return(kr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Or(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kr(e,t)}var Cr=n(23),Sr=n(15),_r=n.n(Sr);function xr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Er=function(){function e(){dr(this,e),fr(this,"refs",{})}return mr(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find(function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(jr)}}]),e}();function jr(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function Pr(e,t){return Object.keys(e).reduce(function(n,a){return-1===t.indexOf(a)&&(n[a]=e[a]),n},{})}var Tr={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},Br=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];switch(t){case"ms":return"ms";default:return t&&t.length?t[0].toUpperCase()+t.substr(1):""}}();function Mr(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}function Nr(e,t){e.style["".concat(Br,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function Ir(e,t){e.style["".concat(Br,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function Ar(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function Dr(e,t,n){return Math.max(e,Math.min(n,t))}function Rr(e){return"px"===e.substr(-2)?parseFloat(e):0}function zr(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function Lr(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function Fr(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function Ur(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var a={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?a:Ur(e.parentNode,t,a)}}function Hr(e){var t=e.lockOffset,n=e.width,a=e.height,r=t,i=t,l="px";if("string"==typeof t){var o=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);_r()(null!==o,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),r=parseFloat(t),i=parseFloat(t),l=o[1]}return _r()(isFinite(r)&&isFinite(i),"lockOffset value should be a finite. Given %s",t),"%"===l&&(r=r*n/100,i=i*a/100),{x:r,y:i}}function Vr(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find(function(e){return n.test(t[e])})}(e)?e:Vr(e.parentNode):null}var Gr=27,qr=32,Wr=37,Kr=38,$r=39,Yr=40,Qr={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Xr(e){return null!=e.sortableHandle}var Jr=function(){function e(t,n){dr(this,e),this.container=t,this.onScrollCallback=n}return mr(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,a=e.minTranslate,r=e.maxTranslate,i=e.width,l=e.height,o={x:0,y:0},s={x:1,y:1},u=10,c=10,f=this.container,p=f.scrollTop,d=f.scrollLeft,g=f.scrollHeight,m=f.scrollWidth,b=0===p,h=g-p-f.clientHeight==0,v=0===d,y=m-d-f.clientWidth==0;n.y>=r.y-l/2&&!h?(o.y=1,s.y=c*Math.abs((r.y-l/2-n.y)/l)):n.x>=r.x-i/2&&!y?(o.x=1,s.x=u*Math.abs((r.x-i/2-n.x)/i)):n.y<=a.y+l/2&&!b?(o.y=-1,s.y=c*Math.abs((n.y-l/2-a.y)/l)):n.x<=a.x+i/2&&!v&&(o.x=-1,s.x=u*Math.abs((n.x-i/2-a.x)/i)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===o.x&&0===o.y||(this.interval=setInterval(function(){t.isAutoScrolling=!0;var e={left:s.x*o.x,top:s.y*o.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)},5))}}]),e}();var Zr={axis:wt.a.oneOf(["x","y","xy"]),contentWindow:wt.a.any,disableAutoscroll:wt.a.bool,distance:wt.a.number,getContainer:wt.a.func,getHelperDimensions:wt.a.func,helperClass:wt.a.string,helperContainer:wt.a.oneOfType([wt.a.func,"undefined"==typeof HTMLElement?wt.a.any:wt.a.instanceOf(HTMLElement)]),hideSortableGhost:wt.a.bool,keyboardSortingTransitionDuration:wt.a.number,lockAxis:wt.a.string,lockOffset:wt.a.oneOfType([wt.a.number,wt.a.string,wt.a.arrayOf(wt.a.oneOfType([wt.a.number,wt.a.string]))]),lockToContainerEdges:wt.a.bool,onSortEnd:wt.a.func,onSortMove:wt.a.func,onSortOver:wt.a.func,onSortStart:wt.a.func,pressDelay:wt.a.number,pressThreshold:wt.a.number,keyCodes:wt.a.shape({lift:wt.a.arrayOf(wt.a.number),drop:wt.a.arrayOf(wt.a.number),cancel:wt.a.arrayOf(wt.a.number),up:wt.a.arrayOf(wt.a.number),down:wt.a.arrayOf(wt.a.number)}),shouldCancelStart:wt.a.func,transitionDuration:wt.a.number,updateBeforeSortStart:wt.a.func,useDragHandle:wt.a.bool,useWindowAsScrollContainer:wt.a.bool},ei={lift:[qr],drop:[qr],cancel:[Gr],up:[Kr,Wr],down:[Yr,$r]},ti={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:ei,shouldCancelStart:function(e){return-1!==[Qr.Input,Qr.Textarea,Qr.Select,Qr.Option,Qr.Button].indexOf(e.target.tagName)||!!Ar(e.target,function(e){return"true"===e.contentEditable})},transitionDuration:300,useWindowAsScrollContainer:!1},ni=Object.keys(Zr);var ai={index:wt.a.number.isRequired,collection:wt.a.oneOfType([wt.a.number,wt.a.string]),disabled:wt.a.bool},ri=Object.keys(ai);function ii(){return(ii=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function li(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var oi=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(e){var t;return dr(this,n),fr(vr(vr(t=yr(this,wr(n).call(this,e)))),"state",{}),fr(vr(vr(t)),"handleStart",function(e){var n=t.props,a=n.distance,r=n.shouldCancelStart;if(2!==e.button&&!r(e)){t.touched=!0,t.position=Fr(e);var i=Ar(e.target,function(e){return null!=e.sortableInfo});if(i&&i.sortableInfo&&t.nodeIsChild(i)&&!t.state.sorting){var l=t.props.useDragHandle,o=i.sortableInfo,s=o.index,u=o.collection;if(o.disabled)return;if(l&&!Ar(e.target,Xr))return;t.manager.active={collection:u,index:s},function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}(e)||e.target.tagName!==Qr.Anchor||e.preventDefault(),a||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}}}),fr(vr(vr(t)),"nodeIsChild",function(e){return e.sortableInfo.manager===t.manager}),fr(vr(vr(t)),"handleMove",function(e){var n=t.props,a=n.distance,r=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=Fr(e),l={x:t.position.x-i.x,y:t.position.y-i.y},o=Math.abs(l.x)+Math.abs(l.y);t.delta=l,a||r&&!(o>=r)?a&&o>=a&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}}),fr(vr(vr(t)),"handleEnd",function(){t.touched=!1,t.cancel()}),fr(vr(vr(t)),"cancel",function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)}),fr(vr(vr(t)),"handlePress",function(e){try{var n=t.manager.getActive(),a=function(){if(n){var a=function(){var n,a,r,u,m,b,h=p.sortableInfo.index,v=(n=p,{bottom:Rr((a=window.getComputedStyle(n)).marginBottom),left:Rr(a.marginLeft),right:Rr(a.marginRight),top:Rr(a.marginTop)}),y=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:Rr(t.gridColumnGap),y:Rr(t.gridRowGap)}:{x:0,y:0}}(t.container),w=t.scrollContainer.getBoundingClientRect(),k=l({index:h,node:p,collection:d});if(t.node=p,t.margin=v,t.gridGap=y,t.width=k.width,t.height=k.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=p.getBoundingClientRect(),t.containerBoundingRect=w,t.index=h,t.newIndex=h,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=Ur(p,t.container),t.initialOffset=Fr(g?pr({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild((u="input, textarea, select, canvas, [contenteditable]",m=(r=p).querySelectorAll(u),xr((b=r.cloneNode(!0)).querySelectorAll(u)).forEach(function(e,t){"file"!==e.type&&(e.value=m[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),e.tagName===Qr.Canvas&&m[t].width>0&&m[t].height>0&&e.getContext("2d").drawImage(m[t],0,0)}),b)),Mr(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-v.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-v.top,"px"),width:"".concat(t.width,"px")}),g&&t.helper.focus(),s&&(t.sortableGhost=p,Mr(p,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},g){var O=f?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,C=O.top,S=O.left,_=O.width,x=C+O.height,E=S+_;t.axis.x&&(t.minTranslate.x=S-t.boundingClientRect.left,t.maxTranslate.x=E-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=C-t.boundingClientRect.top,t.maxTranslate.y=x-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(f?0:w.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(f?t.contentWindow.innerWidth:w.left+w.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(f?0:w.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(f?t.contentWindow.innerHeight:w.top+w.height)-t.boundingClientRect.top-t.height/2);o&&o.split(" ").forEach(function(e){return t.helper.classList.add(e)}),t.listenerNode=e.touches?p:t.contentWindow,g?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Tr.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),Tr.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)})),t.setState({sorting:!0,sortingIndex:h}),c&&c({node:p,index:h,collection:d,isKeySorting:g,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),g&&t.keyMove(0)},r=t.props,i=r.axis,l=r.getHelperDimensions,o=r.helperClass,s=r.hideSortableGhost,u=r.updateBeforeSortStart,c=r.onSortStart,f=r.useWindowAsScrollContainer,p=n.node,d=n.collection,g=t.manager.isKeySorting,m=function(){if("function"==typeof u){t._awaitingUpdateBeforeSortStart=!0;var n=function(e,t){try{var n=e()}catch(e){return t(!0,e)}return n&&n.then?n.then(t.bind(null,!1),t.bind(null,!0)):t(!1,value)}(function(){var t=p.sortableInfo.index;return Promise.resolve(u({collection:d,index:t,node:p,isKeySorting:g},e)).then(function(){})},function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n});if(n&&n.then)return n.then(function(){})}}();return m&&m.then?m.then(a):a()}}();return Promise.resolve(a&&a.then?a.then(function(){}):void 0)}catch(e){return Promise.reject(e)}}),fr(vr(vr(t)),"handleSortMove",function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)}),fr(vr(vr(t)),"handleSortEnd",function(e){var n=t.props,a=n.hideSortableGhost,r=n.onSortEnd,i=t.manager,l=i.active.collection,o=i.isKeySorting,s=t.manager.getOrderedRefs();t.listenerNode&&(o?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(Tr.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),Tr.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}))),t.helper.parentNode.removeChild(t.helper),a&&t.sortableGhost&&Mr(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=s.length;u<c;u++){var f=s[u],p=f.node;f.edgeOffset=null,f.boundingClientRect=null,Nr(p,null),Ir(p,null),f.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof r&&r({collection:l,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:o,nodes:s},e),t.touched=!1}),fr(vr(vr(t)),"autoscroll",function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var a=pr({},t.translate),r=0,i=0;return t.axis.x&&(a.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),r=t.translate.x-a.x),t.axis.y&&(a.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),i=t.translate.y-a.y),t.translate=a,Nr(t.helper,t.translate),t.scrollContainer.scrollLeft+=r,void(t.scrollContainer.scrollTop+=i)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}}),fr(vr(vr(t)),"onAutoScroll",function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()}),fr(vr(vr(t)),"handleKeyDown",function(e){var n=e.keyCode,a=t.props,r=a.shouldCancelStart,i=a.keyCodes,l=pr({},ei,void 0===i?{}:i);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||l.lift.includes(n)&&!r(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),l.lift.includes(n)&&!t.manager.active?t.keyLift(e):l.drop.includes(n)&&t.manager.active?t.keyDrop(e):l.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):l.up.includes(n)?t.keyMove(-1):l.down.includes(n)&&t.keyMove(1))}),fr(vr(vr(t)),"keyLift",function(e){var n=e.target,a=Ar(n,function(e){return null!=e.sortableInfo}).sortableInfo,r=a.index,i=a.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:r,collection:i},t.handlePress(e)}),fr(vr(vr(t)),"keyMove",function(e){var n=t.manager.getOrderedRefs(),a=n[n.length-1].node.sortableInfo.index,r=t.newIndex+e,i=t.newIndex;if(!(r<0||r>a)){t.prevIndex=i,t.newIndex=r;var l=function(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}(t.newIndex,t.prevIndex,t.index),o=n.find(function(e){return e.node.sortableInfo.index===l}),s=o.node,u=t.containerScrollDelta,c=o.boundingClientRect||Lr(s,u),f=o.translate||{x:0,y:0},p=c.top+f.y-u.top,d=c.left+f.x-u.left,g=i<r,m=g&&t.axis.x?s.offsetWidth-t.width:0,b=g&&t.axis.y?s.offsetHeight-t.height:0;t.handleSortMove({pageX:d+m,pageY:p+b,ignoreTransition:0===e})}}),fr(vr(vr(t)),"keyDrop",function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()}),fr(vr(vr(t)),"handleKeyEnd",function(e){t.manager.active&&t.keyDrop(e)}),fr(vr(vr(t)),"isValidSortingTarget",function(e){var n=t.props.useDragHandle,a=e.target,r=Ar(a,function(e){return null!=e.sortableInfo});return r&&r.sortableInfo&&!r.sortableInfo.disabled&&(n?Xr(a):a.sortableInfo)}),function(e){_r()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}(e),t.manager=new Er,t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return Or(n,G["Component"]),mr(n,[{key:"getChildContext",value:function(){return{manager:this.manager}}},{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then(function(n){e.container=n,e.document=e.container.ownerDocument||document;var a=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof a?a():a,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:Vr(e.container)||e.container,e.autoScroller=new Jr(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach(function(t){return Tr[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})}),e.container.addEventListener("keydown",e.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(t){return Tr[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,a=t.lockOffset,r=t.lockToContainerEdges,i=t.transitionDuration,l=t.keyboardSortingTransitionDuration,o=void 0===l?i:l,s=this.manager.isKeySorting,u=e.ignoreTransition,c=Fr(e),f={x:c.x-this.initialOffset.x,y:c.y-this.initialOffset.y};if(f.y-=window.pageYOffset-this.initialWindowScroll.top,f.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=f,r){var p=function(e){var t=e.height,n=e.width,a=e.lockOffset,r=Array.isArray(a)?a:[a,a];_r()(2===r.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",a);var i=cr(r,2),l=i[0],o=i[1];return[Hr({height:t,lockOffset:l,width:n}),Hr({height:t,lockOffset:o,width:n})]}({height:this.height,lockOffset:a,width:this.width}),d=cr(p,2),g=d[0],m=d[1],b={x:this.width/2-g.x,y:this.height/2-g.y},h={x:this.width/2-m.x,y:this.height/2-m.y};f.x=Dr(this.minTranslate.x+b.x,this.maxTranslate.x-h.x,f.x),f.y=Dr(this.minTranslate.y+b.y,this.maxTranslate.y-h.y,f.y)}"x"===n?f.y=0:"y"===n&&(f.x=0),s&&o&&!u&&Ir(this.helper,o),Nr(this.helper,f)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,a=e.onSortOver,r=this.containerScrollDelta,i=this.windowScrollDelta,l=this.manager.getOrderedRefs(),o=this.offsetEdge.left+this.translate.x+r.left,s=this.offsetEdge.top+this.translate.y+r.top,u=this.manager.isKeySorting,c=this.newIndex;this.newIndex=null;for(var f=0,p=l.length;f<p;f++){var d=l[f].node,g=d.sortableInfo.index,m=d.offsetWidth,b=d.offsetHeight,h={height:this.height>b?b/2:this.height/2,width:this.width>m?m/2:this.width/2},v=u&&g>this.index&&g<=c,y=u&&g<this.index&&g>=c,w={x:0,y:0},k=l[f].edgeOffset;k||(k=Ur(d,this.container),l[f].edgeOffset=k,u&&(l[f].boundingClientRect=Lr(d,r)));var O=f<l.length-1&&l[f+1],C=f>0&&l[f-1];O&&!O.edgeOffset&&(O.edgeOffset=Ur(O.node,this.container),u&&(O.boundingClientRect=Lr(O.node,r))),g!==this.index?(t&&Ir(d,t),this.axis.x?this.axis.y?y||g<this.index&&(o+i.left-h.width<=k.left&&s+i.top<=k.top+h.height||s+i.top+h.height<=k.top)?(w.x=this.width+this.marginOffset.x,k.left+w.x>this.containerBoundingRect.width-h.width&&O&&(w.x=O.edgeOffset.left-k.left,w.y=O.edgeOffset.top-k.top),null===this.newIndex&&(this.newIndex=g)):(v||g>this.index&&(o+i.left+h.width>=k.left&&s+i.top+h.height>=k.top||s+i.top+h.height>=k.top+b))&&(w.x=-(this.width+this.marginOffset.x),k.left+w.x<this.containerBoundingRect.left+h.width&&C&&(w.x=C.edgeOffset.left-k.left,w.y=C.edgeOffset.top-k.top),this.newIndex=g):v||g>this.index&&o+i.left+h.width>=k.left?(w.x=-(this.width+this.marginOffset.x),this.newIndex=g):(y||g<this.index&&o+i.left<=k.left+h.width)&&(w.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=g)):this.axis.y&&(v||g>this.index&&s+i.top+h.height>=k.top?(w.y=-(this.height+this.marginOffset.y),this.newIndex=g):(y||g<this.index&&s+i.top<=k.top+h.height)&&(w.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=g))),Nr(d,w),l[f].translate=w):n&&(this.sortableGhost=d,Mr(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),u&&(this.newIndex=c);var S=u?this.prevIndex:c;a&&this.newIndex!==S&&a({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:S,isKeySorting:u,nodes:l,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return _r()(a.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.refs.wrappedInstance}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?Object(Cr.findDOMNode)(this):e(a.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=a.withRef?"wrappedInstance":null;return Object(G.createElement)(e,ur({ref:t},Pr(this.props,ni)))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),n}(),fr(t,"displayName",zr("sortableList",e)),fr(t,"defaultProps",ti),fr(t,"propTypes",Zr),fr(t,"childContextTypes",{manager:wt.a.object.isRequired}),n}(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),si=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){return dr(this,n),yr(this,wr(n).apply(this,arguments))}return Or(n,G["Component"]),mr(n,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,a=e.index,r=Object(Cr.findDOMNode)(this);r.sortableInfo={collection:t,disabled:n,index:a,manager:this.context.manager},this.node=r,this.ref={node:r},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return _r()(a.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.refs.wrappedInstance}},{key:"render",value:function(){var t=a.withRef?"wrappedInstance":null;return Object(G.createElement)(e,ur({ref:t},Pr(this.props,ri)))}}]),n}(),fr(t,"displayName",zr("sortableElement",e)),fr(t,"contextTypes",{manager:wt.a.object.isRequired}),fr(t,"propTypes",ai),fr(t,"defaultProps",{collection:0}),n}(function(e){var t=e.value,n=(e.key,e.index,li(e,["value","key","index"]));return wp.element.createElement("div",ii({className:"ugb-sort-control__item"},n),t)}),ui=!1,ci=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(b.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(l.BaseControl,{help:t.help,className:p()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(aa,ii({label:t.label},Object(b.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(l.Button,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(s.__)("Reset")):null})),wp.element.createElement(oi,{onSortStart:function(){return ui=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,r=e.newIndex;ui=!1;var i=function(e,t,n){return e.splice(t<n?n+1:n,0,e[t]),e.splice(t<n?t:t+1,1),e}(n,a,r);t.onChange(i,{oldIndex:a,newIndex:r})},axis:t.axis},n.map(function(e,n){return wp.element.createElement(si,{key:n,index:n,value:e,onMouseEnter:function(){ui||t.onHover(n)},onMouseLeave:function(){ui||t.onHover(null)}})})))};ci.defaultProps={className:"",help:"",label:Object(s.__)("Column Arrangement",o.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};function fi(e){return(fi="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 pi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function di(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gi(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function mi(e){return(mi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hi(e,t){return(hi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var vi=1,yi=function(e){function t(e){var n,a,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(n=!(r=mi(t).apply(this,arguments))||"object"!==fi(r)&&"function"!=typeof r?bi(a):r).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(bi(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(bi(n)),n.instanceId=vi++,n.panelRef=Object(i.createRef)(),n}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hi(e,t)}(t,i["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.hasToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?(this.props.onChange&&this.props.onChange(!0),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pi(n,!0).forEach(function(t){di(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,di({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(R.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(R.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){if(this.setState({opened:!this.state.opened}),!this.state.opened&&this.panelRef.current){var e=this.panelRef.current.querySelector(".components-panel__body-title"),t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?Gt(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&Gt(this.panelRef.current)}}},{key:"onAdvancedToggle",value:function(){this.setState({showAdvanced:!this.state.showAdvanced})}},{key:"render",value:function(){var e=this,t=p()([this.props.className,"ugb-toggle-panel-body"],di({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(l.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(i.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(l.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:this.props.checked,onClick:function(t){t.stopPropagation(),t.preventDefault();var n=e.props.checked;n&&e.state.opened?e.onToggle():n||e.state.opened||e.onToggle(),e.props.onChange&&e.props.onChange(!n)},"aria-describedby":this.props.title}),this.props.title),!(this.props.hasToggle&&this.props.toggleAttributeName)&&this.props.title)},this.props.children,this.state.showAdvanced&&this.props.advancedChildren,this.props.advancedChildren&&wp.element.createElement("button",{className:"ugb-panel-advanced-button",onClick:this.onAdvancedToggle},this.state.showAdvanced?Object(s.__)("Simple",o.i18n):Object(s.__)("Advanced",o.i18n)))}}])&&gi(n.prototype,a),r&&gi(n,r),t}();yi.defaultProps={id:"",className:"",title:Object(s.__)("Settings",o.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var wi=yi;function ki(){return(ki=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Oi=function(e){var t=e.blockProps;return wp.element.createElement(wi,ki({title:Object(s.__)("Spacing",o.i18n)},e,{className:p()(["ugb--help-tip-spacing",e.className])}),Object(R.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(R.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};Oi.defaultProps={className:"",blockProps:{}};var Ci=function(e){var t=p()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};Ci.defaultProps={tab:"layout"};function Si(e,t,n,a,r,i,l){try{var o=e[i](l),s=o.value}catch(e){return void n(e)}o.done?t(s):Promise.resolve(s).then(a,r)}function _i(e){return function(){var t=this,n=arguments;return new Promise(function(a,r){var i=e.apply(t,n);function l(e){Si(i,a,r,l,o,"next",e)}function o(e){Si(i,a,r,l,o,"throw",e)}l(void 0)})}}var xi=null,Ei={},ji=[],Pi=function(e){return e.replace(/^[\w-]+\//,"")},Ti=function(){var e=_i(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],xi&&!t){e.next=9;break}return e.next=4,Pe()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:xi=e.sent,t&&(Ei={},ji=[]);case 9:return e.abrupt("return",xi);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Bi=function(){var e=_i(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Pi(t),Ei[n]){e.next=8;break}return e.next=4,Pe()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Ei[n]=e.sent;case 8:return e.abrupt("return",Ei[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Mi=function(){var e=_i(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(ji[t]){e.next=7;break}return e.next=3,Pe()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:ji[t]=e.sent;case 7:return e.abrupt("return",ji[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ni=function(){var e=_i(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,Pe()({path:"/wp/v2/stk_design_library_dev_mode/",method:"POST",data:{devmode:t}});case 3:return n=e.sent,e.next=6,n;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(r.a)(function(){});var Ii=function(){var e=_i(regeneratorRuntime.mark(function e(t){var n,a,r,i,l,o,s,u,c,f,p,d,g,m,b,h,v,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,a=void 0===n?"":n,r=t.block,i=void 0===r?"":r,l=t.mood,o=void 0===l?"":l,s=t.plan,u=void 0===s?"":s,c=t.colors,f=void 0===c?[]:c,p=t.categories,d=void 0===p?[]:p,g=t.search,m=void 0===g?"":g,b=t.reset,h=void 0!==b&&b,e.t0=Object,e.next=4,Ti(h);case 4:return e.t1=e.sent,v=e.t0.values.call(e.t0,e.t1),a&&(v=v.filter(function(e){return e.type===a})),i&&(y=-1===i.indexOf("ugb/")?"ugb/".concat(i):i,v=v.filter(function(e){return e.block===y})),o&&(v=v.filter(function(e){return e.mood===o})),u&&(v=v.filter(function(e){return e.plan===u})),f&&f.length&&(v=v.filter(function(e){return e.colors.some(function(e){return f.includes(e)})})),d&&d.length&&(v=v.filter(function(e){return e.categories.some(function(e){return d.includes(e)})})),m&&m.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach(function(e){v=v.filter(function(t){return["label","plan","block","tags","categories","colors"].some(function(n){return-1!==t[n].toString().toLowerCase().indexOf(e)})})}),e.abrupt("return",v);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Ai=function(){var e=_i(regeneratorRuntime.mark(function e(t){var n,a,r,i,l,o;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ti();case 2:if(n=e.sent,a=n[t],r=a.type,i=a.block,l=a.template,"block"!==r||!i){e.next=12;break}return e.next=8,Bi(i);case 8:return o=e.sent,e.abrupt("return",o[t]);case 12:if(!l){e.next=16;break}return e.next=15,Mi(t);case 15:return e.abrupt("return",e.sent);case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Di=function(){var e=_i(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Ti();case 3:return e.t1=e.sent,t=e.t0.values.call(e.t0,e.t1),e.abrupt("return",t.reduce(function(e,t){var n=t.block,a=t.type;return e.includes(n)||"block"!==a||e.push(n),e},[]));case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();function Ri(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var zi=function(e){var t=Ri(Object(i.useState)(!1),2),n=t[0],a=t[1],r=Ri(Object(i.useState)(""),2),u=r[0],c=r[1],f=Ri(Object(i.useState)([]),2),p=f[0],d=f[1],g=Ri(Object(i.useState)(!0),2),m=g[0],b=g[1],h=Ri(Object(i.useState)(""),2),v=h[0],y=h[1];return Object(i.useEffect)(function(){Ii({type:"block",block:e.block,search:u}).then(function(e){d(e)}).finally(function(){b(!1)})},[e.block,u]),wp.element.createElement("div",null,wp.element.createElement(l.Button,{className:"ugb-design-library-control__open-library",label:Object(s.__)("Open Design Library",o.i18n),isSmall:!0,isLink:!0,onClick:function(){return a(!0)}},Object(s.__)("Open Design Library",o.i18n)),wp.element.createElement(l.TextControl,{placeholder:Object(s.__)("Search designs...",o.i18n),value:u,onChange:function(e){return c(e)}}),!o.isPro&&wp.element.createElement(tr,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("All",o.i18n),wp.element.createElement("span",null,p.length))},{value:"free",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Free",o.i18n),wp.element.createElement("span",null,p.reduce(function(e,t){return e+("free"===t.plan?1:0)},0)))},{value:"premium",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Premium",o.i18n),wp.element.createElement("span",null,p.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:v,onChange:function(e){return y(e)}}),wp.element.createElement(cl,{designs:p.filter(function(e){var t=e.plan;return!v||t===v}),isBusy:m,onSelect:e.onSelect}),n&&wp.element.createElement(Fh,{search:u,selectedBlock:e.block,onClose:function(){a(!1),c("")},onSelect:function(t){e.onSelect(t),a(!1)}}))};zi.defaultProps={block:"",onSelect:function(){}};function Li(){return(Li=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fi=q.a.createElement("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),Ui=q.a.createElement("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),Hi=q.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),Vi=q.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}),Gi=function(e){return q.a.createElement("svg",Li({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),Fi,Ui,Hi,Vi)};function qi(){return(qi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wi=q.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),Ki=function(e){return q.a.createElement("svg",qi({xmlns:"http://www.w3.org/2000/svg"},e),Wi)};function $i(){return($i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yi=q.a.createElement("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}),Qi=function(e){return q.a.createElement("svg",$i({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Yi)},Xi=function(e){return Object(i.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(r.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(i.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"stackable-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});var Ji=function(){return wp.element.createElement(Gi,{width:"20",height:"20"})};function Zi(e){return(Zi="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 el(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function tl(e){return(tl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function nl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function al(e,t){return(al=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var rl=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=tl(t).apply(this,arguments))||"object"!==Zi(a)&&"function"!=typeof a?nl(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(nl(e)),e.close=e.close.bind(nl(e)),e.prev=e.prev.bind(nl(e)),e.next=e.next.bind(nl(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&al(e,t)}(t,i["Component"]),n=t,(a=[{key:"open",value:function(){this.setState({isOpen:!0})}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"next",value:function(){var e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}},{key:"prev",value:function(){var e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}},{key:"render",value:function(){var e=this.props.tag;return wp.element.createElement(e,null,wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(l.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},wp.element.createElement("img",{src:"https://da4bu55kgdxvv.cloudfront.net/premium-popup.jpg",alt:Object(s.__)("Premium features",o.i18n)}),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=editor-modal-popup&utm_campaign=upgrade&utm_medium=gutenberg",className:"button button-secondary",target:"_premium",title:Object(s.__)("Upgrade to Premium",o.i18n)},wp.element.createElement(Ji,null),Object(s.__)("Upgrade to Premium",o.i18n)),wp.element.createElement("a",{href:"https://demo.wpstackable.com?utm_source=editor-modal-popup&utm_campaign=trydemo&utm_medium=gutenberg",target:"_premium",title:Object(s.__)("Try Premium Demo",o.i18n)},Object(s.__)("Try Premium Demo",o.i18n)))))}}])&&el(n.prototype,a),r&&el(n,r),t}();rl.defaultProps={button:Object(s.__)("Learn More",o.i18n),buttonClassName:"button button-secondary",tag:"div"};var il=rl;function ll(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var ol=function(e){var t=e.designId,n=e.image,a=e.label,r=e.onClick,o=e.plan,s=e.isPro,u=ll(Object(i.useState)(!1),2),c=u[0],f=u[1],d=ll(Object(i.useState)(!1),2),g=d[0],m=d[1],b=p()(["ugb-design-library-item"],function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({"ugb--is-busy":c},"ugb--is-".concat(o),!s&&"free"!==o));return wp.element.createElement("div",{className:b,onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},c&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(l.Spinner,null)),!s&&"free"!==o&&wp.element.createElement("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},o),wp.element.createElement("button",{className:"ugb-design-library-item__image",onClick:function(){(s||"free"===o)&&(f(!0),Ai(t).then(function(e){f(!1),r(e)}))}},!s&&"free"!==o&&wp.element.createElement(l.Dashicon,{icon:"lock"}),wp.element.createElement("img",{src:n,alt:a,loading:"lazy"})),wp.element.createElement("footer",null,(s||"free"===o)&&wp.element.createElement("span",null,a),!s&&"free"!==o&&!g&&wp.element.createElement("span",null,a),!s&&"free"!==o&&g&&wp.element.createElement(il,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(i.Fragment,null,wp.element.createElement(l.Dashicon,{icon:"external"}),e.premiumLabel)})))};ol.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:o.isPro,premiumLabel:Object(s.__)("Go Premium",o.i18n)};var sl=ol;var ul=function(e){var t=e.designs,n=e.isBusy,a=e.onSelect,r=p()(["ugb-design-library-items"],function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"ugb-design-library-items--columns-".concat(e.columns),!n&&e.columns));return wp.element.createElement("div",{className:r},(t||[]).map(function(e,t){return wp.element.createElement(sl,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,onClick:function(e){a(e)}})}),n&&wp.element.createElement("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},wp.element.createElement(l.Spinner,null)),!n&&!(t||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(s.__)("No designs found",o.i18n)))};ul.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var cl=ul;n(132);function fl(e){return(fl="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 pl(){return(pl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function dl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function gl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ml(e){return(ml=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hl(e,t){return(hl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yl={},wl=Object(dt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=ml(n).apply(this,arguments))||"object"!==fl(a)&&"function"!=typeof a?bl(t):a).blockClientId=e.props.blockProps.clientId,void 0===yl[e.blockClientId]&&(yl[e.blockClientId]={tab:(r=e.props.blockProps,Oe[r.name]||(Oe[r.name]=Object(he.createBlock)(r.name).attributes),Object.keys(Oe[r.name]).every(function(e){return!!ke.includes(e)||Oe[r.name][e]===r.attributes[e]})?"":"style"),panel:0}),e.onClickPanel=e.onClickPanel.bind(bl(e)),e.onClickTab=e.onClickTab.bind(bl(e)),e}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hl(e,t)}(n,i["Component"]),a=n,(r=[{key:"getActiveTab",value:function(){var e=document.querySelector(".components-panel[data-ugb-tab]");return e?e.getAttribute("data-ugb-tab"):void 0}},{key:"getActiveTabPanelContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab();return e?document.querySelector(".ugb-panel-".concat(e)):void 0}},{key:"getPanelFromIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(-1===e)return null;var t=this.getActiveTabPanelContainer();return t?t.querySelector(".components-panel__body:nth-child(".concat(e+1,"):not(.is-opened) .components-panel__body-toggle")):null}},{key:"getPanelIndex",value:function(e){return e?Array.prototype.slice.call(e.parentElement.children).indexOf(e):-1}},{key:"getOpenPanelIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab(),t=this.getActiveTabPanelContainer(e),n=t.querySelector(".components-panel__body.is-opened");return this.getPanelIndex(n)}},{key:"componentDidMount",value:function(){if(-1!==yl[this.blockClientId].panel){var e=this.getPanelFromIndex(yl[this.blockClientId].panel);e&&e.click()}else Il()}},{key:"onClickPanel",value:function(e){yl[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dl(n,!0).forEach(function(t){vl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},yl[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){yl[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,pl({initialTab:yl[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&gl(a.prototype,r),l&&gl(a,l),n}(),vl(t,"propTypes",{blockProps:wt.a.shape({clientId:wt.a.string.isRequired,name:wt.a.string.isRequired,attributes:wt.a.object.isRequired})}),n},"withMemory");function kl(e){return(kl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ol(){return(Ol=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Cl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Sl(e){return(Sl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xl(e,t){return(xl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var El=Object(dt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=Sl(n).apply(this,arguments))||"object"!==kl(a)&&"function"!=typeof a?_l(t):a).onSidebarScroll=e.onSidebarScroll.bind(_l(e)),e.sidebarEl=null,e.tabTop=0,e.styleTop=0,e.styleWidth=0,e.state={fixedTabs:!1},e}var a,r,l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xl(e,t)}(n,i["Component"]),a=n,(r=[{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");this.tabTop=e?e.getBoundingClientRect().height+32:75}if(!this.styleWidth){var t=document.querySelector(".edit-post-sidebar-header");if(t){var n=t.getBoundingClientRect();this.styleTop=n.bottom-2,this.styleWidth=n.width}else{var a=document.querySelector(".edit-post-sidebar");if(a){var r=a.getBoundingClientRect();this.styleTop=r.top,this.styleWidth=r.width}}}this.sidebarEl&&this.tabTop&&this.setState({fixedTabs:this.sidebarEl.scrollTop>=this.tabTop})}},{key:"componentDidMount",value:function(){this.sidebarEl=document.querySelector(".edit-post-sidebar"),this.sidebarEl&&this.sidebarEl.addEventListener("scroll",this.onSidebarScroll)}},{key:"componentWillUnmount",value:function(){this.sidebarEl&&this.sidebarEl.removeEventListener("scroll",this.onSidebarScroll)}},{key:"render",value:function(){var t=p()([this.props.className],{"ugb--fixed-tabs":this.state.fixedTabs});return wp.element.createElement(i.Fragment,null,wp.element.createElement(e,Ol({},this.props,{className:t,style:{top:this.state.fixedTabs?"".concat(this.styleTop,"px"):void 0,width:this.state.fixedTabs?"".concat(this.styleWidth,"px"):void 0}})),this.state.fixedTabs&&wp.element.createElement("div",{className:"ugb--panel-tabs-dummy"}))}}])&&Cl(a.prototype,r),l&&Cl(a,l),n}(),function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(t,"defaultProps",{className:""}),n},"withSticky");function jl(e){return(jl="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 Pl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Tl(e){return(Tl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Bl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ml(e,t){return(Ml=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Nl=[{value:"layout",title:Object(s.__)("Layout",o.i18n),label:Object(s.__)("Layout Tab",o.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",o.i18n),label:Object(s.__)("Style Tab",o.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",o.i18n),label:Object(s.__)("Advanced Tab",o.i18n),icon:"admin-tools"}],Il=function(e){[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(t){0!==t.offsetHeight&&t.parentElement.parentElement.classList.contains("is-opened")&&e!==t&&t.click()})},Al=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Tl(t).apply(this,arguments))||"object"!==jl(a)&&"function"!=typeof a?Bl(n):a).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(Bl(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(Bl(e)),e.select=e.select.bind(Bl(e)),e.containerDiv=Object(i.createRef)(),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ml(e,t)}(t,i["Component"]),n=t,(a=[{key:"updateSidebarPanelTab",value:function(e){var t,n=this.containerDiv.current.closest(".components-panel");n&&(n.setAttribute("data-ugb-tab",e),null===(t=n.closest(".edit-post-sidebar"))||void 0===t||t.classList.add("ugb--has-panel-tabs"))}},{key:"componentDidMount",value:function(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&document.body.addEventListener("click",this.onButtonPanelClick)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector("[data-ugb-tab]");e&&(e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t=e.target.closest(".components-panel__body-toggle");t&&"layout"!==this.state.activeTab&&(Il(t),this.props.onClickPanel(t.closest(".components-panel__body")))}},{key:"select",value:function(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}},{key:"render",value:function(){var e=this,t=p()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return wp.element.createElement("div",{className:t,style:this.props.style,ref:this.containerDiv},wp.element.createElement("div",{className:"ugb-panel-tabs__wrapper"},Nl.map(function(t,n){var a=t.value,r=t.title,i=t.label,o=t.icon;return e.tabsToUse.includes(a)?wp.element.createElement("button",{key:n,onClick:function(){return e.select(a)},className:p()(["edit-post-sidebar__panel-tab","ugb-tab--".concat(a)],{"is-active":e.state.activeTab===a}),"aria-label":i,"data-label":i},wp.element.createElement(l.Icon,{icon:o}),r):null})))}}])&&Pl(n.prototype,a),r&&Pl(n,r),t}();Al.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Dl=wl(Al);_e()||(Dl=El(Dl));function Rl(){return(Rl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zl=function(e){var t=p()(["ugb-global-style-control__item"],{"ugb-global-style-control__item--large-preview":e.largePreview}),n=e.renderPreview&&e.renderPreview(Object(b.pick)(e,["label","value"]));return wp.element.createElement("div",{className:t},n&&wp.element.createElement("div",{className:"ugb-global-style-control__item-preview"},n),wp.element.createElement("div",{className:"ugb-global-style-control__item-label"},e.label),wp.element.createElement(l.Button,{className:"ugb-global-style-control__item-button",onClick:function(t){t.preventDefault(),t.stopPropagation(),e.onEdit(e.value)},label:Object(s.__)("Edit Style",o.i18n),isTertiary:!0,icon:"edit"}))};zl.defaultProps={largePreview:!1,renderPreview:function(){},onEdit:function(){}};var Ll=function(e){var t=e.options;if(e.value){var n=e.options.find(function(t){return t.value===e.value});n&&(t=e.options.filter(function(t){return t.value!==e.value})).unshift(n)}var a=p()(["ugb-global-style-control",e.className],{"ugb--has-value":e.value});return wp.element.createElement(xa,{className:a,label:e.label,onChange:e.onChange,value:e.style,options:t,renderOption:function(t){return wp.element.createElement(zl,Rl({},t,{largePreview:e.largePreview,onEdit:e.onEdit,renderPreview:e.renderPreview}))}},e.value&&wp.element.createElement(l.Button,{icon:"edit",label:Object(s.__)("Edit Style",o.i18n),isSecondary:!0,onClick:function(){return e.onEdit(e.value)}}),e.value&&wp.element.createElement(l.Button,{icon:"editor-unlink",label:Object(s.__)("Unlink Style",o.i18n),isSecondary:!0,disabled:!e.value,onClick:e.onUnlink}))};Ll.defaultProps={className:"",label:Object(s.__)("Style",o.i18n),value:"",options:[],onChange:function(){},onEdit:function(){},onUnlink:function(){},renderPreview:null,largePreview:!1};var Fl=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,r=void 0===a?"":a,i=e.imageHeight,l=void 0===i?"":i,s=e.label,u=t?t.match(/https?:/i)?t:o.srcUrl?"".concat(o.srcUrl,"/").concat(t):t:"",c=n?n.match(/https?:/i)?n:o.srcUrl?"".concat(o.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},c&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:c,alt:s,width:r,height:l}),u&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:u,alt:s,width:r,height:l}),wp.element.createElement("span",{className:"design-label"},s))};function Ul(){return(Ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Vl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gl=function(e){var t=e.options.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hl(n,!0).forEach(function(t){Vl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(Fl,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value})}),n=p()([e.className,"ugb-design-control-wrapper","components-base-control","ugb-design-control--columns-".concat(e.columns)]);return wp.element.createElement("div",{className:n},e.label&&wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(l.RadioControl,Ul({},Object(b.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};Gl.defaultProps={className:"",columns:2,selected:"",options:[],onChange:function(){}};var ql=Gl,Wl=n(41),Kl=n.n(Wl),$l=n(42),Yl=n.n($l),Ql=n(43),Xl=n.n(Ql),Jl=n(44),Zl=n.n(Jl),eo=n(45),to=n.n(eo),no=n(46),ao=n.n(no),ro=n(47),io=n.n(ro),lo=n(48),oo=n.n(lo),so=n(49),uo=n.n(so),co=n(50),fo=n.n(co),po=n(51),go=n.n(po),mo=n(52),bo=n.n(mo),ho=n(53),vo=n.n(ho);function yo(){return(yo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wo={"wave-1":{image:fo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),1),value:"wave-1"},"straight-1":{image:uo.a,label:Object(s.__)("Straight",o.i18n),value:"straight-1"},"wave-2":{image:go.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),2),value:"wave-2"},"wave-3":{image:bo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),3),value:"wave-3"},"wave-4":{image:vo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Wave",o.i18n),4),value:"wave-4"},"slant-1":{image:io.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Slant",o.i18n),1),value:"slant-1"},"slant-2":{image:oo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Slant",o.i18n),2),value:"slant-2"},"curve-1":{image:Kl.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Curve",o.i18n),1),value:"curve-1"},"curve-2":{image:Yl.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Curve",o.i18n),2),value:"curve-2"},"curve-3":{image:Xl.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Curve",o.i18n),3),value:"curve-3"},"rounded-1":{image:Zl.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Rounded",o.i18n),1),value:"rounded-1"},"rounded-2":{image:to.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Rounded",o.i18n),2),value:"rounded-2"},"rounded-3":{image:ao.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Rounded",o.i18n),3),value:"rounded-3"}},ko=function(e){var t=Object.keys(wo).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return wo[e]});return wp.element.createElement(l.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(ql,yo({options:Object(R.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(b.omit)(e,["label","help"]))))};ko.defaultProps={label:"",help:"",excludeDesigns:[]};function Oo(){return(Oo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Co=q.a.createElement("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"}),So=function(e){return q.a.createElement("svg",Oo({viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},e),Co)};function _o(){return(_o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xo=Object(dt.withInstanceId)(Object(dt.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,r=e.setState;return wp.element.createElement(l.BaseControl,_o({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(b.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(l.Button,{isDefault:!0,className:"ugb-icon-control__icon-button",onClick:function(){r(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},e.value&&wp.element.createElement(su,{value:e.value}),!e.value&&wp.element.createElement(So,{style:{opacity:.3}})),n&&wp.element.createElement(Ho,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-icon-control-".concat(t))?r({clickedOnButton:!0}):r({openPopover:!1,clickedOnButton:!1})},onClose:function(){return r({openPopover:!1})},returnSVGValue:e.returnSVGValue,onChange:e.onChange})),wp.element.createElement(l.Button,{onClick:function(){e.onReset?e.onReset():e.onChange(""),r({openPopover:!1})},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Reset",o.i18n))))}));xo.defaultProps={label:Object(s.__)("Icon",o.i18n),value:"",returnSVGValue:!0,onChange:function(){}};var Eo=xo;function jo(){return(jo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Po=q.a.createElement("path",{fill:"currentColor",d:"M360 480H24c-13.3 0-24-10.7-24-24v-24c0-13.3 10.7-24 24-24h336c13.3 0 24 10.7 24 24v24c0 13.3-10.7 24-24 24zM128 56v136H40.3c-17.8 0-26.7 21.5-14.1 34.1l152.2 152.2c7.5 7.5 19.8 7.5 27.3 0l152.2-152.2c12.6-12.6 3.7-34.1-14.1-34.1H256V56c0-13.3-10.7-24-24-24h-80c-13.3 0-24 10.7-24 24z"}),To=function(e){return q.a.createElement("svg",jo({"aria-hidden":"true","data-prefix":"fas","data-icon":"arrow-alt-to-bottom",className:"drop_svg__svg-inline--fa drop_svg__fa-arrow-alt-to-bottom drop_svg__fa-w-12",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},e),Po)};function Bo(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 Mo(e,t,n,a,r,i,l){try{var o=e[i](l),s=o.value}catch(e){return void n(e)}o.done?t(s):Promise.resolve(s).then(a,r)}var No=function(){var e,t=(e=regeneratorRuntime.mark(function e(){var t,n,a,r,i=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:"icon",n=i.length>1&&void 0!==i[1]?i[1]:o.fontAwesomeSearchProIcons,a='{ search(version: "latest", first: 50, query: "'.concat((t||"info").replace(/["'\\]/g,""),'") {\n\t\t\tid\n\t\t\tmembership {\n\t\t\t\tfree\n\t\t\t\t').concat(n?"pro":"","\n\t\t\t}\n\t\t} }"),e.next=5,fetch("https://api.fontawesome.com",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({query:a})}).then(function(e){return e.json()});case 5:return r=e.sent,e.abrupt("return",r.data.search.reduce(function(e,t){return Io(t,n).forEach(function(t){e.push(t)}),e},[]));case 7:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(a,r){var i=e.apply(t,n);function l(e){Mo(i,a,r,l,o,"next",e)}function o(e){Mo(i,a,r,l,o,"throw",e)}l(void 0)})});return function(){return t.apply(this,arguments)}}(),Io=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].concat(Bo(e.membership.free),Bo(t?e.membership.pro.filter(function(t){return!e.membership.free.includes(t)}):[]));return n.map(function(t){return{className:"fa".concat(t[0]," fa-").concat(e.id),prefix:"fa".concat(t[0]),iconName:e.id}})},Ao=n(54);function Do(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ro=null,zo=null,Lo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ugb-custom-icon";return e.match(/(<svg[^>]*class=["'])/)?e.replace(/(<svg[^>]*class=["'])/,"$1".concat(t," ")):e.match(/(<svg)/)?e.replace(/(<svg)/,'$1 class="'.concat(t,'"')):e},Fo=function(e){for(var t=e.replace(/(^[\s\S]*?)(<svg)/gm,"$2").replace(/(<\/svg>)([\s\S]*)/g,"$1"),n=0;n<2;n++)t=t.replace(/\s*<g\s*>([\s\S]*?)<\/g>\s*/gm,"$1");return t},Uo=function(e){var t=Do(Object(i.useState)(""),2),n=t[0],a=t[1],r=Do(Object(i.useState)([]),2),u=r[0],c=r[1],f=Do(Object(i.useState)(!1),2),p=f[0],d=f[1],g=Do(Object(i.useState)(!1),2),m=g[0],b=g[1],h=e.returnSVGValue;Object(i.useEffect)(function(){return clearTimeout(Ro),Ro=setTimeout(function(){d(!0),No(n).then(function(e){c(e)}).finally(function(){d(!1)})},500),function(){return clearTimeout(Ro)}},[n]),Object(i.useEffect)(function(){zo||(zo=wp.data.select("core/block-editor").getSettings().mediaUpload),m?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==zo&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:zo})},[m]);return wp.element.createElement(l.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef},wp.element.createElement(l.PanelBody,null,wp.element.createElement(Ao.FileDrop,{onFrameDragEnter:function(){return b(!0)},onFrameDragLeave:function(){return b(!1)},onFrameDrop:function(){return b(!1)},onDrop:function(t){if(h&&t.length)if("image/svg+xml"===t[0].type){var n=new FileReader;n.onload=function(t){b(!1);var n=Fo(Lo(t.target.result));e.onChange(n),e.onClose()},n.readAsText(t[0])}else b(!1);else b(!1)}},wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(l.TextControl,{className:"ugb-icon-popover__input",value:n,onChange:a,placeholder:Object(s.__)("Type to search icon",o.i18n)}),h&&wp.element.createElement(l.Button,{onClick:function(t){t.preventDefault();var n=document.createElement("input");n.accept="image/svg+xml",n.type="file",n.onchange=function(t){var n=t.target.files;if(n.length){var a=new FileReader;a.onload=function(t){b(!1);var n=Fo(Lo(t.target.result));e.onChange(n),e.onClose()},a.readAsText(n[0])}else b(!1)},n.click()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Upload SVG",o.i18n)),e.allowReset&&wp.element.createElement(l.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isTertiary:!0,className:"components-range-control__reset"},Object(s.__)("Clear",o.i18n))),h&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-area"},Object(s.__)("You can also drop your own SVG icon here",o.i18n)),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},p&&wp.element.createElement(l.Spinner,null),!p&&u.map(function(t,n){var a=t.prefix,r=t.iconName,i="".concat(a,"-").concat(r);return wp.element.createElement("button",{key:n,className:"components-button ugb-prefix--".concat(a," ugb-icon--").concat(r),onClick:function(){e.returnSVGValue?e.onChange(Fo(xe(a,r))):e.onChange(i,a,r),e.onClose()}},wp.element.createElement($h,{prefix:a,iconName:r}))}),!p&&!u.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",o.i18n))),h&&m&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-indicator"},wp.element.createElement(To,{height:"40",width:"40"}),Object(s.__)("Drop your SVG here",o.i18n)))))};Uo.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};var Ho=Uo,Vo=function(e){return wp.element.createElement(nd,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(Id,{label:e.label,className:p()([e.className,"ugb--help-tip-alignment-all"])}))};Vo.defaultProps={className:"",setAttributes:function(){},blockAttributes:{},label:Object(s.__)("Align",o.i18n)};var Go=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})};function qo(e){return(qo="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 Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Yo(e){return(Yo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xo(e,t){return(Xo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Jo=1,Zo=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Yo(t).apply(this,arguments))||"object"!==qo(a)&&"function"!=typeof a?Qo(n):a).state={open:!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(Qo(e)),e.handleClose=e.handleClose.bind(Qo(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Qo(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Qo(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Qo(e)),e.handleReset=e.handleReset.bind(Qo(e)),e.buttonRef=Object(i.createRef)(),e.instanceId=Jo++,e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xo(e,t)}(t,i["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(n,!0).forEach(function(t){Ko(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,Ko({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(R.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){Object(R.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleReset",value:function(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}},{key:"handleOnClickOutside",value:function(e){this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&(e.target.closest(".ugb-button-icon-control__popover")||this.handleClose())}},{key:"render",value:function(){var e=this;return wp.element.createElement(l.BaseControl,{help:this.props.help,label:!this.props.onToggle&&wp.element.createElement("label",{htmlFor:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"ugb-button-icon-control",className:p()("ugb-button-icon-control",this.props.className)},this.props.onToggle&&wp.element.createElement(l.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),wp.element.createElement("div",{className:"ugb-button-icon-control__wrapper"},this.props.allowReset&&wp.element.createElement(i.Fragment,null,wp.element.createElement(l.Button,{onClick:this.handleReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",o.i18n),icon:"image-rotate"}),this.state.showResetPopover&&wp.element.createElement(l.Popover,{onClickOutside:function(){return e.setState({showResetPopover:!1})},focusOnMount:!1,position:"bottom center"},wp.element.createElement("div",{className:"components-color-picker__body"},wp.element.createElement("h4",{className:"ugb-button-icon-control__text-title"},this.props.resetPopoverTitle),wp.element.createElement("p",{className:"components-base-control__help"},this.props.resetPopoverDescription),wp.element.createElement(l.ButtonGroup,null,wp.element.createElement(l.Button,{onClick:function(){e.setState({showResetPopover:!1}),e.props.onReset()},isDestructive:!0,isSecondary:!0,isSmall:!0},Object(s.__)("Reset",o.i18n)),wp.element.createElement(l.Button,{onClick:function(){return e.setState({showResetPopover:!1})},isSmall:!0},Object(s.__)("Cancel",o.i18n)))))),wp.element.createElement(l.Button,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",o.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(l.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},wp.element.createElement(l.PanelBody,null,(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&wp.element.createElement("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}])&&$o(n.prototype,a),r&&$o(n,r),t}();Zo.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var es=Zo,ts=function(e){var t=re(e.imageData,e.size||"full"),n=e.widthMax||1e3,a=0;e.imageData&&e.onChangeSize&&t&&(n=t.width,a=t.height);var r=!!t&&t.width===t.height;return wp.element.createElement(i.Fragment,null,e.onChangeImage&&wp.element.createElement(hn,{label:Object(s.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:"",width:"",height:""})},onChange:function(t){var n=t.url,a=t.width,r=t.height,i=e.size||"full";t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,r=t.sizes[i].height),e.onChangeImage({id:t.id,url:n,width:a,height:r})}}),e.onChangeShape&&wp.element.createElement(In,{isSquareImage:r,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),wp.element.createElement(Go,null),e.onChangeAlt&&wp.element.createElement(wn,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(Rn,{label:Object(s.__)("Image Size",o.i18n),value:e.size,onChange:function(t){var n=re(e.imageData,t||"full"),a="",r="",i=e.url;n&&(a=n.width,r=n.height,i=n.source_url),e.onChangeSize(t,i,a,r)}}),e.onChangeWidth&&wp.element.createElement(i.Fragment,null,wp.element.createElement(ud,null,wp.element.createElement(sa,{label:Object(s.__)("Image Width",o.i18n),value:e.width,placeholder:e.placeholder,max:n,onChange:function(t){var r=a/n;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(r*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(sa,{label:Object(s.__)("Image Width",o.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(sa,{label:Object(s.__)("Image Width",o.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&wp.element.createElement(i.Fragment,null,("number"==typeof e.width||e.width)&&wp.element.createElement(ud,null,wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Force square image",o.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Force square image",o.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Force square image",o.i18n),checked:e.mobileSquare,onChange:e.onChangeMobileSquare,className:"ugb--help-tip-image-square"}))),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(sa,{label:Object(s.__)("Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(sa,{label:Object(s.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&wp.element.createElement(cn,{label:Object(s.__)("Blend Mode",o.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};ts.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id,e.width,e.height},shape:"",onChangeShape:function(){},shapeStretch:"",onChangeShapeStretch:function(){},alt:"",onChangeAlt:function(){},size:"large",onChangeSize:function(){},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:function(){},onChangeTabletWidth:function(){},onChangeMobileWidth:function(){},square:"",tabletSquare:"",mobileSquare:"",onChangeSquare:function(){},onChangeTabletSquare:function(){},onChangeMobileSquare:function(){},borderRadius:"",onChangeBorderRadius:function(){},shadow:"",onChangeShadow:function(){},blendMode:"",onChangeBlendMode:function(){}};var ns=Object(dt.compose)(Object(ne.withSelect)(function(e,t){var n=e("core").getMedia;return ie(t.id,e),{imageData:t.id?n(t.id):null}}))(ts);function as(){return(as=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function rs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var is=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(ns,as({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,r=e.url,i=e.id,l=e.width,o=e.height;t((rs(a={},n("Url"),r),rs(a,n("Id"),i),rs(a,n("Width"),l),rs(a,n("Height"),o),a))},alt:a("Alt"),onChangeAlt:function(e){return t(rs({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,r,i){var l;t((rs(l={},n("Size"),e),rs(l,n("Url"),a),rs(l,n("Width"),r),rs(l,n("Height"),i),l))},shape:a("Shape"),onChangeShape:function(e){return t(rs({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(rs({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(rs({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(rs({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(rs({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var r;t((rs(r={},n("Width"),e),rs(r,n("Height"),a),r))},onChangeTabletWidth:function(e){return t(rs({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(rs({},n("MobileWidth"),e))},square:a("Square"),tabletSquare:a("TabletSquare"),mobileSquare:a("MobileSquare"),onChangeSquare:function(e){return t(rs({},n("Square"),e))},onChangeTabletSquare:function(e){return t(rs({},n("TabletSquare"),e))},onChangeMobileSquare:function(e){return t(rs({},n("MobileSquare"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(rs({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(rs({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(rs({},n("BlendMode"),e))}},e))};is.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var ls=function(e){return wp.element.createElement(i.Fragment,null,e.onChangeImage&&wp.element.createElement(hn,{label:Object(s.__)("Image",o.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:""})},onChange:function(t){var n=t.url,a=e.size||"full";t.sizes[a]&&(n=t.sizes[a].url),e.onChangeImage({id:t.id,url:n})}}),e.onChangeSize&&wp.element.createElement(Rn,{label:Object(s.__)("Image Size",o.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full",n=le(e)||ie(e,ne.select);return n?n.media_details.sizes[t]?n.media_details.sizes[t].source_url:n.source_url:""}(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&wp.element.createElement(ca,{label:Object(s.__)("Background Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(ca,{label:Object(s.__)("Background Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(ca,{label:Object(s.__)("Background Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(sa,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};ls.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id},size:"",onChangeSize:function(){},backgroundPosition:"",onChangeBackgroundPosition:function(){},backgroundRepeat:"",onChangeBackgroundRepeat:function(){},backgroundSize:"",onChangeBackgroundSize:function(){},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:function(){},backgroundCustomSize:"",onChangeBackgroundCustomSize:function(){}};var os=Object(dt.compose)(Object(ne.withSelect)(function(e,t){var n=e("core").getMedia;return ie(t.id,e),{imageData:t.id?n(t.id):null}}))(ls);function ss(){return(ss=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function us(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cs=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(os,ss({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,r=e.url,i=e.id;t((us(a={},n("Url"),r),us(a,n("Id"),i),a))},size:a("Size"),onChangeSize:function(e,a){var r;t((us(r={},n("Size"),e),us(r,n("Url"),a),r))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(us({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(us({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(us({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(us({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(us({},n("BackgroundCustomSizeUnit"),e))}},e))};cs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};function fs(){return(fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ps=function(e){var t=Object(i.useMemo)(function(){return"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder(H(e.htmlTag,!0))):e.fontSize||e.placeholder||H(e.htmlTag,!0)},[e.htmlTag,e.fontSize]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(es,{label:e.label,popoverLabel:e.popoverLabel,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,resetPopoverTitle:e.resetPopoverTitle,resetPopoverDescription:e.resetPopoverDescription,className:e.className},e.onChangeFontFamily&&wp.element.createElement(sr,{label:Object(s.__)("Font Family",o.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(i.Fragment,null,wp.element.createElement(ud,null,wp.element.createElement(rr,fs({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(rr,fs({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(rr,fs({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Weight",o.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Normal",o.i18n),value:"normal"},{label:Object(s.__)("Bold",o.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Transform",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Uppercase",o.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",o.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",o.i18n),value:"capitalize"},{label:Object(s.__)("None",o.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(i.Fragment,null,wp.element.createElement(ud,null,wp.element.createElement(sa,{label:Object(s.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(sa,{label:Object(s.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(sa,{label:Object(s.__)("Line-Height",o.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],placeholder:[30,1.5],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&wp.element.createElement(sa,{label:Object(s.__)("Letter Spacing",o.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(i.Fragment,null,wp.element.createElement(ud,null,wp.element.createElement(rr,fs({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{placeholder:t,className:"ugb--help-tip-typography-size"}))),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(rr,fs({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(rr,fs({label:Object(s.__)("Size",o.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};ps.defaultProps={label:Object(s.__)("Typography",o.i18n),popoverLabel:void 0,className:"ugb--help-tip-typography",showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},resetPopoverTitle:"",resetPopoverDescription:"",placeholder:"",htmlTag:"p",onReset:function(){},onChangeFontFamily:function(){},onChangeFontSize:function(){},onChangeTabletFontSize:function(){},onChangeMobileFontSize:function(){},onChangeFontSizeUnit:function(){},onChangeTabletFontSizeUnit:function(){},onChangeMobileFontSizeUnit:function(){},onChangeFontWeight:function(){},onChangeTextTransform:function(){},onChangeLineHeight:function(){},onChangeTabletLineHeight:function(){},onChangeMobileLineHeight:function(){},onChangeLineHeightUnit:function(){},onChangeTabletLineHeightUnit:function(){},onChangeMobileLineHeightUnit:function(){},onChangeLetterSpacing:function(){}};var ds=ps;function gs(){return(gs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ms(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bs=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(ds,gs({fontFamily:e.blockAttributes[n("FontFamily")]||"",fontSize:e.blockAttributes[n("FontSize")]||"",tabletFontSize:e.blockAttributes[n("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[n("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[n("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[n("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[n("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[n("FontWeight")]||"",textTransform:e.blockAttributes[n("TextTransform")]||"",letterSpacing:e.blockAttributes[n("LetterSpacing")]||"",lineHeight:e.blockAttributes[n("LineHeight")]||"",tabletLineHeight:e.blockAttributes[n("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[n("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[n("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[n("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[n("MobileLineHeightUnit")]||"em",onChangeFontFamily:function(e){return t(ms({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(ms({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(ms({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(ms({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(ms({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(ms({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(ms({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(ms({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(ms({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(ms({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(ms({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(ms({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(ms({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(ms({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(ms({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(ms({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((ms(e={},n("FontFamily"),""),ms(e,n("FontSize"),""),ms(e,n("TabletFontSize"),""),ms(e,n("MobileFontSize"),""),ms(e,n("FontSizeUnit"),"px"),ms(e,n("TabletFontSizeUnit"),"px"),ms(e,n("MobileFontSizeUnit"),"px"),ms(e,n("FontWeight"),""),ms(e,n("TextTransform"),""),ms(e,n("LetterSpacing"),""),ms(e,n("LineHeight"),""),ms(e,n("TabletLineHeight"),""),ms(e,n("MobileLineHeight"),""),ms(e,n("LineHeightUnit"),"em"),ms(e,n("TabletLineHeightUnit"),"em"),ms(e,n("MobileLineHeightUnit"),"em"),e))}},e))};bs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var hs=bs,vs=function(e){return wp.element.createElement(i.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(l.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(tr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&wp.element.createElement(vt,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&wp.element.createElement(sa,{label:Object(s.__)("Background Color Opacity",o.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement(vt,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(es,{label:Object(s.__)("Adv. Gradient Color Settings",o.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&wp.element.createElement(sa,{label:Object(s.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(sa,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",o.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(sa,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",o.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(cn,{label:Object(s.__)("Background Gradient Blend Mode",o.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(Go,null),e.onChangeBackgroundMedia&&wp.element.createElement(i.Fragment,null,wp.element.createElement(ud,null,wp.element.createElement(hn,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",o.i18n):Object(s.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",o.i18n):"",onRemove:function(){return e.onChangeBackgroundMedia({url:"",id:""})},onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(hn,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",o.i18n):Object(s.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",o.i18n):"",onRemove:function(){return e.onChangeTabletBackgroundMedia({url:"",id:""})},onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(hn,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",o.i18n):Object(s.__)("Background Image",o.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",o.i18n):"",onRemove:function(){return e.onChangeMobileBackgroundMedia({url:"",id:""})},onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(sa,{label:Object(s.__)("Background Media Tint Strength",o.i18n),value:e.backgroundTintStrength,onChange:function(t){var n=void 0===t||""===t;""!==e.backgroundColor||n?"#000000"===e.backgroundColor&&n?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter(function(e){return e}).filter(Te).length>0)&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Fixed Background",o.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(es,{label:Object(s.__)("Adv. Background Image Settings",o.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},wp.element.createElement(ud,null,wp.element.createElement(ca,{label:Object(s.__)("Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(ca,{label:Object(s.__)("Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(ca,{label:Object(s.__)("Image Position",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Top Left",o.i18n),value:"top left"},{label:Object(s.__)("Top Center",o.i18n),value:"top center"},{label:Object(s.__)("Top Right",o.i18n),value:"top right"},{label:Object(s.__)("Center Left",o.i18n),value:"center left"},{label:Object(s.__)("Center Center",o.i18n),value:"center center"},{label:Object(s.__)("Center Right",o.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",o.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",o.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",o.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(ud,null,wp.element.createElement(ca,{label:Object(s.__)("Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(ca,{label:Object(s.__)("Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(ca,{label:Object(s.__)("Image Repeat",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("No-Repeat",o.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",o.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",o.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",o.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(ud,null,wp.element.createElement(ca,{label:Object(s.__)("Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(ca,{label:Object(s.__)("Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(ca,{label:Object(s.__)("Image Size",o.i18n),options:[{label:Object(s.__)("Default",o.i18n),value:""},{label:Object(s.__)("Auto",o.i18n),value:"auto"},{label:Object(s.__)("Cover",o.i18n),value:"cover"},{label:Object(s.__)("Contain",o.i18n),value:"contain"},{label:Object(s.__)("Custom",o.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(ud,null,wp.element.createElement(sa,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(sa,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(sa,{label:Object(s.__)("Custom Size",o.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&wp.element.createElement(cn,{label:Object(s.__)("Image Blend Mode",o.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};vs.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColorOpacity:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundMedia:function(e){e.url,e.id},onChangeTabletBackgroundMedia:function(e){e.url,e.id},onChangeMobileBackgroundMedia:function(e){e.url,e.id},onChangeBackgroundTintStrength:function(){},onChangeFixedBackground:function(){},labelBackgroundColorType:Object(s.__)("Background Color Type",o.i18n),labelBackgroundColor:Object(s.__)("Background Color",o.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:function(){},onChangeBackgroundGradientDirection:function(){},onChangeBackgroundGradientBlendMode:function(){},onChangeBackgroundGradientLocation1:function(){},onChangeBackgroundGradientLocation2:function(){},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:function(){},onChangeBackgroundPosition:function(){},onChangeTabletBackgroundPosition:function(){},onChangeMobileBackgroundPosition:function(){},onChangeBackgroundRepeat:function(){},onChangeTabletBackgroundRepeat:function(){},onChangeMobileBackgroundRepeat:function(){},onChangeBackgroundSize:function(){},onChangeTabletBackgroundSize:function(){},onChangeMobileBackgroundSize:function(){},onChangeBackgroundCustomSize:function(){},onChangeTabletBackgroundCustomSize:function(){},onChangeMobileBackgroundCustomSize:function(){},onChangeBackgroundCustomSizeUnit:function(){},onChangeTabletBackgroundCustomSizeUnit:function(){},onChangeMobileBackgroundCustomSizeUnit:function(){},onChangeBackgroundImageBlendMode:function(){}};var ys=vs;function ws(){return(ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ks(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Os=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(ys,ws({backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColorOpacity:e.blockAttributes[n("BackgroundColorOpacity")],backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundMediaID:e.blockAttributes[n("BackgroundMediaID")]||"",backgroundMediaURL:e.blockAttributes[n("BackgroundMediaURL")]||"",tabletBackgroundMediaID:e.blockAttributes[n("TabletBackgroundMediaID")]||"",tabletBackgroundMediaURL:e.blockAttributes[n("TabletBackgroundMediaURL")]||"",mobileBackgroundMediaID:e.blockAttributes[n("MobileBackgroundMediaID")]||"",mobileBackgroundMediaURL:e.blockAttributes[n("MobileBackgroundMediaURL")]||"",backgroundTintStrength:e.blockAttributes[n("BackgroundTintStrength")],fixedBackground:e.blockAttributes[n("FixedBackground")]||"",onChangeBackgroundColorType:function(e){return t(ks({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(ks({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(ks({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(ks({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,r=e.url,i=e.id;t((ks(a={},n("BackgroundMediaURL"),r),ks(a,n("BackgroundMediaID"),i),a))},onChangeTabletBackgroundMedia:function(e){var a,r=e.url,i=e.id;t((ks(a={},n("TabletBackgroundMediaURL"),r),ks(a,n("TabletBackgroundMediaID"),i),a))},onChangeMobileBackgroundMedia:function(e){var a,r=e.url,i=e.id;t((ks(a={},n("MobileBackgroundMediaURL"),r),ks(a,n("MobileBackgroundMediaID"),i),a))},onChangeBackgroundTintStrength:function(e,a){var r;t((ks(r={},n("BackgroundTintStrength"),e),ks(r,n("BackgroundColor"),a),r))},onChangeFixedBackground:function(e){return t(ks({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(ks({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(ks({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(ks({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(ks({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((ks(e={},n("BackgroundGradientDirection"),""),ks(e,n("BackgroundGradientBlendMode"),""),ks(e,n("BackgroundGradientLocation1"),""),ks(e,n("BackgroundGradientLocation2"),""),e))},backgroundPosition:e.blockAttributes[n("BackgroundPosition")]||"",tabletBackgroundPosition:e.blockAttributes[n("TabletBackgroundPosition")]||"",mobileBackgroundPosition:e.blockAttributes[n("MobileBackgroundPosition")]||"",backgroundRepeat:e.blockAttributes[n("BackgroundRepeat")]||"",tabletBackgroundRepeat:e.blockAttributes[n("TabletBackgroundRepeat")]||"",mobileBackgroundRepeat:e.blockAttributes[n("MobileBackgroundRepeat")]||"",backgroundSize:e.blockAttributes[n("BackgroundSize")]||"",tabletBackgroundSize:e.blockAttributes[n("TabletBackgroundSize")]||"",mobileBackgroundSize:e.blockAttributes[n("MobileBackgroundSize")]||"",backgroundCustomSize:e.blockAttributes[n("BackgroundCustomSize")]||"",tabletBackgroundCustomSize:e.blockAttributes[n("TabletBackgroundCustomSize")]||"",mobileBackgroundCustomSize:e.blockAttributes[n("MobileBackgroundCustomSize")]||"",backgroundCustomSizeUnit:e.blockAttributes[n("BackgroundCustomSizeUnit")]||"%",tabletBackgroundCustomSizeUnit:e.blockAttributes[n("TabletBackgroundCustomSizeUnit")]||"%",mobileBackgroundCustomSizeUnit:e.blockAttributes[n("MobileBackgroundCustomSizeUnit")]||"%",backgroundImageBlendMode:e.blockAttributes[n("BackgroundImageBlendMode")]||"",onChangeBackgroundPosition:function(e){return t(ks({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(ks({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(ks({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(ks({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(ks({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(ks({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(ks({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(ks({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(ks({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(ks({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(ks({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(ks({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(ks({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(ks({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(ks({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(ks({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((ks(e={},n("BackgroundPosition"),""),ks(e,n("TabletBackgroundPosition"),""),ks(e,n("MobileBackgroundPosition"),""),ks(e,n("BackgroundRepeat"),""),ks(e,n("TabletBackgroundRepeat"),""),ks(e,n("MobileBackgroundRepeat"),""),ks(e,n("BackgroundSize"),""),ks(e,n("TabletBackgroundSize"),""),ks(e,n("MobileBackgroundSize"),""),ks(e,n("BackgroundCustomSize"),""),ks(e,n("TabletBackgroundCustomSize"),""),ks(e,n("MobileBackgroundCustomSize"),""),ks(e,n("BackgroundCustomSizeUnit"),"%"),ks(e,n("TabletBackgroundCustomSizeUnit"),"%"),ks(e,n("MobileBackgroundCustomSizeUnit"),"%"),ks(e,n("BackgroundImageBlendMode"),""),e))}},e))};Os.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Cs=n(55),Ss=n.n(Cs),_s=n(56),xs=n.n(_s),Es=n(57),js=n.n(Es),Ps=n(58),Ts=n.n(Ps);function Bs(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Ms=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(i.Fragment,null,e.onChangeUrl&&wp.element.createElement(it,{label:Object(s.__)("Link / URL",o.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Nofollow link",o.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(Go,null),e.onChangeDesign&&wp.element.createElement(ql,{label:Object(s.__)("Design",o.i18n),selected:t,options:[{label:Object(s.__)("Basic",o.i18n),value:"basic",image:Ss.a},{label:Object(s.__)("Ghost",o.i18n),value:"ghost",image:xs.a},{label:Object(s.__)("Plain",o.i18n),value:"plain",image:Ts.a}].concat(Bs(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",o.i18n),value:"link",image:js.a}]),Bs(Object(R.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(Go,null),e.hasTypography&&"link"!==t&&wp.element.createElement(hs,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1,placeholder:e.placeholder}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Button Size",o.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",o.i18n)},{value:"small",label:Object(s.__)("Small",o.i18n)},{value:"normal",label:Object(s.__)("Normal",o.i18n)},{value:"medium",label:Object(s.__)("Medium",o.i18n)},{value:"large",label:Object(s.__)("Large",o.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(sa,{label:Object(s.__)("Border Radius",o.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(kc,{label:Object(s.__)("Vertical Padding",o.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8],className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(kc,{label:Object(s.__)("Horizontal Padding",o.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26],className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(sa,{label:Object(s.__)("Border Width",o.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(sa,{label:Object(s.__)("Shadow",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),"link"!==t&&wp.element.createElement(Go,null),e.onChangeUseSocialColors&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Use social colors",o.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(i.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(l.BaseControl,{label:Object(s.__)("Button Color Type",o.i18n),id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(tr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(vt,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),1):Object(s.__)("Button Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(vt,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(sa,{label:Object(s.__)("Gradient Direction (degrees)",o.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&a&&wp.element.createElement(vt,{label:Object(s.__)("Text Color",o.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(sa,{label:Object(s.__)("Opacity",o.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(Go,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",o.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Hover Effect",o.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",o.i18n)},{value:"lift",label:Object(s.__)("Lift",o.i18n)},{value:"scale",label:Object(s.__)("Scale",o.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",o.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",o.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",o.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(sa,{label:Object(s.__)("Hover Opacity",o.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:0,max:1,step:.1,placeholder:"0.8",allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(es,{label:Object(s.__)("Hover Colors",o.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(vt,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),1):Object(s.__)("Button Color",o.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(vt,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",o.i18n),Object(s.__)("Button Color",o.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(sa,{label:Object(s.__)("Gradient Direction (degrees)",o.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement(vt,{label:Object(s.__)("Text Color",o.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(Go,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(Eo,{label:Object(s.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(es,{label:Object(s.__)("Adv. Icon Settings",o.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(sa,{label:Object(s.__)("Icon Size",o.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(l.SelectControl,{label:Object(s.__)("Icon Position",o.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",o.i18n)},{value:"right",label:Object(s.__)("Right",o.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(sa,{label:Object(s.__)("Icon Spacing",o.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};Ms.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},design:"",onChangeDesign:function(){},url:"",newTab:"",noFollow:"",onChangeUrl:function(){},onChangeNewTab:function(){},onChangeNoFollow:function(){},size:"",onChangeSize:function(){},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:function(){},onChangeTextColor:function(){},onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundGradientDirection:function(){},hasHoverColors:!0,onResetHoverColors:function(){},hoverEffect:"",hoverOpacity:"",hoverTextColor:"",hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:function(){},onChangeHoverOpacity:function(){},onChangeHoverTextColor:function(){},onChangeHoverBackgroundColor:function(){},onChangeHoverBackgroundColor2:function(){},onChangeHoverBackgroundGradientDirection:function(){},onChangeHoverGhostToNormal:function(){},borderRadius:"",onChangeBorderRadius:function(){},borderWidth:"",onChangeBorderWidth:function(){},shadow:"",onChangeShadow:function(){},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:function(){},hasAdvancedIcon:!0,onResetAdvancedIcon:function(){},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:function(){},onChangeIconSize:function(){},onChangeIconPosition:function(){},onChangeIconSpacing:function(){},useSocialColors:!0,onChangeUseSocialColors:null};var Ns=Ms;function Is(){return(Is=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function As(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ds=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(Ns,Is({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(As({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(As({},n("Url"),e))},onChangeNewTab:function(e){return t(As({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(As({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(As({},n("Size"),e))},opacity:e.blockAttributes[n("Opacity")]||"",textColor:e.blockAttributes[n("TextColor")]||"",backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundGradientDirection:a("BackgroundGradientDirection"),onChangeOpacity:function(e){return t(As({},n("Opacity"),e))},onChangeTextColor:function(e){return t(As({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(As({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(As({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(As({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(As({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((As(e={},n("HoverBackgroundColor"),""),As(e,n("HoverBackgroundColor2"),""),As(e,n("HoverBackgroundGradientDirection"),""),As(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverTextColor:e.blockAttributes[n("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[n("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[n("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:a("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[n("HoverGhostToNormal")]||"",onChangeHoverEffect:function(e){return t(As({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(As({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(As({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(As({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(As({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(As({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(As({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(As({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(As({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(As({},n("Shadow"),e))},paddingTop:a("PaddingTop"),paddingRight:a("PaddingRight"),paddingBottom:a("PaddingBottom"),paddingLeft:a("PaddingLeft"),onChangePaddings:function(e){var a={};void 0!==e.top&&(a[n("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(a[n("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(a[n("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(a[n("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(a)},icon:e.blockAttributes[n("Icon")]||"",onChangeIcon:function(e){return t(As({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((As(e={},n("IconSize"),""),As(e,n("IconPosition"),""),As(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(As({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(As({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(As({},n("IconSpacing"),e))}},e))};Ds.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Rs=Ds,zs=n(59),Ls=n.n(zs),Fs=n(60),Us=n.n(Fs),Hs=n(61),Vs=n.n(Hs);function Gs(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var qs=function(e){var t=e.design?e.design:"basic",n="shaped"===t||"outlined"===t;return wp.element.createElement(i.Fragment,null,e.onChangeIcon&&wp.element.createElement(Eo,{label:Object(s.__)("Icon",o.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&wp.element.createElement(ql,{label:Object(s.__)("Design",o.i18n),selected:e.design,columns:3,options:[{label:Object(s.__)("Plain",o.i18n),value:"plain",image:Ls.a},{label:Object(s.__)("Shaped",o.i18n),value:"shaped",image:Us.a},{label:Object(s.__)("Outlined",o.i18n),value:"outlined",image:Vs.a}].concat(Gs(Object(R.applyFilters)("stackable.icon-controls.edit.layouts",[]))),onChange:e.onChangeDesign}),o.showProNotice&&wp.element.createElement(Ru,{title:Object(s.__)("Say Hello to Gorgeous Icons 👋",o.i18n),description:Object(s.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",o.i18n)}),o.showProNotice&&wp.element.createElement(l.BaseControl,{label:Object(s.__)("Icon Color Type",o.i18n),id:"icon-color-type"},wp.element.createElement(tr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n),className:"ugb--is-premium",isDisabled:!0},{value:"multicolor",title:Object(s.__)("Multicolor",o.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(R.applyFilters)("stackable.icon-controls.edit.color",wp.element.createElement(i.Fragment,null,e.onChangeColor&&wp.element.createElement(vt,{label:Object(s.__)("Icon Color",o.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&wp.element.createElement(Go,null),n&&e.onChangeBackgroundColor&&wp.element.createElement(i.Fragment,null,o.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&wp.element.createElement(l.BaseControl,{label:Object(s.__)("Icon Shape / Outline Color",o.i18n),id:"icon-shape-color-type"},wp.element.createElement(tr,{controls:[{value:"",title:Object(s.__)("Single",o.i18n)},{value:"gradient",title:Object(s.__)("Gradient",o.i18n),className:"ugb--is-premium",isDisabled:!0}],value:""})),Object(R.applyFilters)("stackable.icon-controls.edit.background-color",wp.element.createElement(i.Fragment,null,e.onChangeBackgroundColor&&wp.element.createElement(vt,{label:Object(s.__)("Icon Shape / Outline Color",o.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&wp.element.createElement(sa,{label:"shaped"===e.design?Object(s.__)("Icon Shape Border Radius",o.i18n):Object(s.__)("Outline Border Radius",o.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&wp.element.createElement(sa,{label:"shaped"===e.design?Object(s.__)("Icon Shape Padding",o.i18n):Object(s.__)("Outline Padding",o.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&wp.element.createElement(sa,{label:Object(s.__)("Shadow / Outline",o.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-general-shadow"}),"outlined"===t&&e.onChangeOutlineWidth&&wp.element.createElement(sa,{label:Object(s.__)("Outline Width",o.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&wp.element.createElement(Go,null)),e.onChangeSize&&wp.element.createElement(i.Fragment,null,wp.element.createElement(ud,null,wp.element.createElement(sa,{label:Object(s.__)("Icon Size",o.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),wp.element.createElement(ud,{screen:"tablet"},wp.element.createElement(sa,{label:Object(s.__)("Icon Size",o.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),wp.element.createElement(ud,{screen:"mobile"},wp.element.createElement(sa,{label:Object(s.__)("Icon Size",o.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&wp.element.createElement(sa,{label:Object(s.__)("Icon Opacity",o.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&wp.element.createElement(sa,{label:Object(s.__)("Icon Rotation",o.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),Object(R.applyFilters)("stackable.icon-controls.edit.after",null,e))};qs.defaultProps={icon:"",onChangeIcon:function(){},design:"",onChangeDesign:function(){},colorType:"",onChangeColorType:function(){},color:"",onChangeColor:function(){},color2:"",onChangeColor2:function(){},colorGradientDirection:"",onChangeColorGradientDirection:function(){},numPaths:"",color3:"",onChangeColor3:function(){},color4:"",onChangeColor4:function(){},color5:"",onChangeColor5:function(){},color6:"",onChangeColor6:function(){},color7:"",onChangeColor7:function(){},color8:"",onChangeColor8:function(){},color9:"",onChangeColor9:function(){},color10:"",onChangeColor10:function(){},multiOpacity1:"",onChangeMultiOpacity1:function(){},multiOpacity2:"",onChangeMultiOpacity2:function(){},multiOpacity3:"",onChangeMultiOpacity3:function(){},multiOpacity4:"",onChangeMultiOpacity4:function(){},multiOpacity5:"",onChangeMultiOpacity5:function(){},multiOpacity6:"",onChangeMultiOpacity6:function(){},multiOpacity7:"",onChangeMultiOpacity7:function(){},multiOpacity8:"",onChangeMultiOpacity8:function(){},multiOpacity9:"",onChangeMultiOpacity9:function(){},multiOpacity10:"",onChangeMultiOpacity10:function(){},borderRadius:"",onChangeBorderRadius:function(){},padding:"",onChangePadding:function(){},shadow:"",onChangeShadow:function(){},outlineWidth:"",onChangeOutlineWidth:function(){},backgroundColorType:"",onChangeBackgroundColorType:function(){},backgroundColor:"",onChangeBackgroundColor:function(){},backgroundColor2:"",onChangeBackgroundColor2:function(){},backgroundColorGradientDirection:"",onChangeBackgroundColorGradientDirection:function(){},size:"",tabletSize:"",mobileSize:"",sizeMax:300,onChangeSize:function(){},onChangeTabletSize:function(){},onChangeMobileSize:function(){},opacity:"",onChangeOpacity:function(){},rotation:"",onChangeRotation:function(){},showBackgroundShape:"",onChangeShowBackgroundShape:function(){},backgroundShape:"",onChangeBackgroundShape:function(){},backgroundShapeSize:"",onChangeBackgroundShapeSize:function(){},backgroundShapeColor:"",onChangeBackgroundShapeColor:function(){},backgroundShapeOffsetHorizontal:"",onChangeBackgroundShapeHorizontalOffset:function(){},backgroundShapeOffsetVertical:"",onChangeBackgroundShapeVerticalOffset:function(){}};var Ws=qs;function Ks(){return(Ks=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function $s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ys=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=ge(e.blockAttributes,n,"");return wp.element.createElement(Ws,Ks({icon:a("Icon"),onChangeIcon:function(e){return t($s({},n("Icon"),e))},design:a("Design")||"plain",onChangeDesign:function(e){return t($s({},n("Design"),e))},colorType:a("ColorType"),onChangeColorType:function(e){return t($s({},n("ColorType"),e))},color:a("Color"),onChangeColor:function(e){return t($s({},n("Color"),e))},color2:a("Color2"),onChangeColor2:function(e){return t($s({},n("Color2"),e))},colorGradientDirection:a("ColorGradientDirection"),onChangeColorGradientDirection:function(e){return t($s({},n("ColorGradientDirection"),e))},color3:a("Color3"),onChangeColor3:function(e){return t($s({},n("Color3"),e))},color4:a("Color4"),onChangeColor4:function(e){return t($s({},n("Color4"),e))},color5:a("Color5"),onChangeColor5:function(e){return t($s({},n("Color5"),e))},color6:a("Color6"),onChangeColor6:function(e){return t($s({},n("Color6"),e))},color7:a("Color7"),onChangeColor7:function(e){return t($s({},n("Color7"),e))},color8:a("Color8"),onChangeColor8:function(e){return t($s({},n("Color8"),e))},color9:a("Color9"),onChangeColor9:function(e){return t($s({},n("Color9"),e))},color10:a("Color10"),onChangeColor10:function(e){return t($s({},n("Color10"),e))},multiOpacity1:a("MultiOpacity1"),onChangeMultiOpacity1:function(e){return t($s({},n("MultiOpacity1"),e))},multiOpacity2:a("MultiOpacity2"),onChangeMultiOpacity2:function(e){return t($s({},n("MultiOpacity2"),e))},multiOpacity3:a("MultiOpacity3"),onChangeMultiOpacity3:function(e){return t($s({},n("MultiOpacity3"),e))},multiOpacity4:a("MultiOpacity4"),onChangeMultiOpacity4:function(e){return t($s({},n("MultiOpacity4"),e))},multiOpacity5:a("MultiOpacity5"),onChangeMultiOpacity5:function(e){return t($s({},n("MultiOpacity5"),e))},multiOpacity6:a("MultiOpacity6"),onChangeMultiOpacity6:function(e){return t($s({},n("MultiOpacity6"),e))},multiOpacity7:a("MultiOpacity7"),onChangeMultiOpacity7:function(e){return t($s({},n("MultiOpacity7"),e))},multiOpacity8:a("MultiOpacity8"),onChangeMultiOpacity8:function(e){return t($s({},n("MultiOpacity8"),e))},multiOpacity9:a("MultiOpacity9"),onChangeMultiOpacity9:function(e){return t($s({},n("MultiOpacity9"),e))},multiOpacity10:a("MultiOpacity10"),onChangeMultiOpacity10:function(e){return t($s({},n("MultiOpacity10"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t($s({},n("BorderRadius"),e))},padding:a("Padding"),onChangePadding:function(e){return t($s({},n("Padding"),e))},outlineWidth:a("OutlineWidth"),onChangeOutlineWidth:function(e){return t($s({},n("OutlineWidth"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t($s({},n("Shadow"),e))},backgroundColorType:a("BackgroundColorType"),onChangeBackgroundColorType:function(e){return t($s({},n("BackgroundColorType"),e))},backgroundColor:a("BackgroundColor"),onChangeBackgroundColor:function(e){return t($s({},n("BackgroundColor"),e))},backgroundColor2:a("BackgroundColor2"),onChangeBackgroundColor2:function(e){return t($s({},n("BackgroundColor2"),e))},backgroundColorGradientDirection:a("BackgroundColorGradientDirection"),onChangeBackgroundColorGradientDirection:function(e){return t($s({},n("BackgroundColorGradientDirection"),e))},size:a("Size"),tabletSize:a("TabletSize"),mobileSize:a("MobileSize"),sizeMax:e.sizeMax,onChangeSize:function(e){return t($s({},n("Size"),e))},onChangeTabletSize:function(e){return t($s({},n("TabletSize"),e))},onChangeMobileSize:function(e){return t($s({},n("MobileSize"),e))},opacity:a("Opacity"),onChangeOpacity:function(e){return t($s({},n("Opacity"),e))},rotation:a("Rotation"),onChangeRotation:function(e){return t($s({},n("Rotation"),e))},showBackgroundShape:a("ShowBackgroundShape"),onChangeShowBackgroundShape:function(e){return t($s({},n("ShowBackgroundShape"),e))},backgroundShape:a("BackgroundShape")||"blob1",onChangeBackgroundShape:function(e){return t($s({},n("BackgroundShape"),e))},backgroundShapeOpacity:a("BackgroundShapeOpacity"),onChangeBackgroundShapeOpacity:function(e){return t($s({},n("BackgroundShapeOpacity"),e))},backgroundShapeSize:a("BackgroundShapeSize"),onChangeBackgroundShapeSize:function(e){return t($s({},n("BackgroundShapeSize"),e))},backgroundShapeColor:a("BackgroundShapeColor"),onChangeBackgroundShapeColor:function(e){return t($s({},n("BackgroundShapeColor"),e))},backgroundShapeOffsetHorizontal:a("BackgroundShapeOffsetHorizontal"),onChangeBackgroundShapeHorizontalOffset:function(e){return t($s({},n("BackgroundShapeOffsetHorizontal"),e))},backgroundShapeOffsetVertical:a("BackgroundShapeOffsetVertical"),onChangeBackgroundShapeVerticalOffset:function(e){return t($s({},n("BackgroundShapeOffsetVertical"),e))}},e))};Ys.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Qs=function(e){return wp.element.createElement(i.Fragment,null,e.socialUrlFields&&wp.element.createElement(i.Fragment,null,Object.keys(be).map(function(t){return wp.element.createElement(l.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",o.i18n),be[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(b.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(l.ToggleControl,{label:Object(s.__)("Open link in new tab",o.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(Go,null),wp.element.createElement(Rs,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}))};Qs.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var Xs=Qs;function Js(){return(Js=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Zs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var eu=function(e){var t=e.setAttributes,n=function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(Xs,Js({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(Zs({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(Zs({},n("UseSocialColors"),e))}},e))};eu.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};function tu(){return(tu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function nu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function au(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nu(n,!0).forEach(function(t){ru(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nu(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ru(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var iu=function(e,t){var n=te(t||"blob1");return n?wp.element.createElement("div",{className:"ugb-icon__bg-shape-wrapper"},e,wp.element.createElement(n,{className:"ugb-icon__bg-shape"})):e},lu=function(e){var t=Object(R.applyFilters)("stackable.svg-icon.extract-svg",e);return t.match(/^<svg(.*?)<\/svg>$/g)?t:t.match(/<svg/)?(t.match(/<svg.*?<\/svg>/g)||[t])[0]:t},ou=function(e){var t=au({},e,{value:"string"==typeof e.value?lu(e.value):e.value}),n=p()(["ugb-icon-inner-svg",e.className],ru({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement($h,tu({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var r=p()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],ru({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:r},a)}return e.showBackgroundShape&&(a=iu(a,e.backgroundShape)),a=Object(R.applyFilters)("stackable.component.svg-icon",a,t)};ou.defaultProps={className:"",value:"",design:"",colorType:"",showBackgroundShape:!1,backgroundShape:"",shadow:"",gradientColor1:"",gradientColor2:"",gradientDirection:0},(ou.Content=function(e){var t=au({},e,{value:"string"==typeof e.value?lu(e.value):e.value}),n=p()(["ugb-icon-inner-svg",e.className],ru({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement($h.Content,tu({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var r=p()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],ru({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:r},a)}return e.showBackgroundShape&&(a=iu(a,e.backgroundShape)),a=Object(R.applyFilters)("stackable.component.svg-icon",a,t)}).defaultProps=au({},ou.defaultProps);var su=ou;function uu(){return(uu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cu=function(e){var t=ge(e.blockAttributes,function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(su,uu({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))};cu.defaultProps={attrNameTemplate:"%s",blockAttributes:{}},cu.Content=function(e){var t=ge(e.blockAttributes,function(t){return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(su.Content,uu({value:t("Value"),design:t("Design"),colorType:t("ColorType"),showBackgroundShape:t("ShowBackgroundShape"),shadow:t("Shadow"),backgroundShape:t("BackgroundShape"),gradientColor1:t("Color"),gradientColor2:t("Color2"),gradientDirection:t("ColorGradientDirection")},e))},cu.defaultProps={attrNameTemplate:"%s",blockAttributes:{}};var fu=cu;function pu(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function du(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var gu=Object(dt.withInstanceId)(function(e){var t=du(Object(i.useState)(!1),2),n=t[0],a=t[1],r=du(Object(i.useState)(!1),2),o=r[0],s=r[1],u=e.instanceId,c=e.isOpen,f=e.onChange,p=pu(e,["instanceId","isOpen","onChange"]);return Object(i.useEffect)(function(){e.onToggle(n)},[n]),wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(u)},wp.element.createElement(l.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){o?(a(!1),s(!1)):a(!0)}},wp.element.createElement(fu,p)),(null!==c&&c||null===c&&n)&&wp.element.createElement(Ho,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(u))?s(!0):(a(!1),s(!1))},onClose:function(){return a(!1)},onChange:f}))});gu.defaultProps={isOpen:null,className:"",value:"",onChange:function(){},onToggle:function(){}};var mu=gu;function bu(){return(bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hu=q.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),vu=q.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),yu=q.a.createElement("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),wu=q.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),ku=q.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),Ou=q.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),Cu=q.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),Su=q.a.createElement("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),_u=q.a.createElement("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),xu=q.a.createElement("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),Eu=q.a.createElement("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}),ju=function(e){return q.a.createElement("svg",bu({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),hu,vu,yu,wu,ku,Ou,Cu,Su,_u,xu,Eu)},Pu={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",o.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",o.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",o.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",o.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",o.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",o.i18n),description:Object(s.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",o.i18n),button:Object(s.__)("Learn More",o.i18n)}},Tu=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement(ju,null),wp.element.createElement("h4",null,e.title||Pu[e.type].title),wp.element.createElement("p",null,e.description||Pu[e.type].description),e.showButton&&wp.element.createElement(il,{button:e.button||Pu[e.type].button}),wp.element.createElement("p",{className:"ugb-design-control-pro-note__notice"},Object(s.__)("You can hide premium hints in the settings",o.i18n)))};Tu.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var Bu=Tu;function Mu(e){return(Mu="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 Nu(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Iu(e){return(Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Au(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Du(e,t){return(Du=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ru=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Iu(t).apply(this,arguments))||"object"!==Mu(a)&&"function"!=typeof a?Au(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(Au(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Du(e,t)}(t,i["Component"]),n=t,(a=[{key:"onClick",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=p()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"})),wp.element.createElement("div",{className:e},wp.element.createElement(Bu,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&Nu(n.prototype,a),r&&Nu(n,r),t}();function zu(e){return(zu="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 Lu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Fu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lu(n,!0).forEach(function(t){Uu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lu(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Uu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hu(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 Vu(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Gu(e){return(Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wu(e,t){return(Wu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ku=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var r=(e=!(a=Gu(t).apply(this,arguments))||"object"!==zu(a)&&"function"!=typeof a?qu(n):a).getEnabledValues(),i=!r.length||r.every(function(e){return e===r[0]}),l=r.every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:i},e.onToggleLock=e.onToggleLock.bind(qu(e)),e.onChangeTop=e.onChangeTop.bind(qu(e)),e.onChangeRight=e.onChangeRight.bind(qu(e)),e.onChangeBottom=e.onChangeBottom.bind(qu(e)),e.onChangeLeft=e.onChangeLeft.bind(qu(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wu(e,t)}(t,i["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(Hu(this.props.enableTop?[this.props.top]:[]),Hu(this.props.enableRight?[this.props.right]:[]),Hu(this.props.enableBottom?[this.props.bottom]:[]),Hu(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(Hu(this.props.enableTop?["top"]:[]),Hu(this.props.enableRight?["right"]:[]),Hu(this.props.enableBottom?["bottom"]:[]),Hu(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(b.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Fu({},this.getEnabledValues(),{top:n}))}},{key:"onChangeRight",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Fu({},this.getEnabledValues(),{right:n}))}},{key:"onChangeBottom",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Fu({},this.getEnabledValues(),{bottom:n}))}},{key:"onChangeLeft",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(Fu({},this.getEnabledValues(),{left:n}))}},{key:"render",value:function(){var e=this.props.instanceId,t="ugb-four-number-control-".concat(e,"__item-");return wp.element.createElement(l.BaseControl,{help:this.props.help,className:p()("ugb-four-number-control",this.props.className)},wp.element.createElement(aa,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-four-number-control__wrapper"},wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-top")},wp.element.createElement("input",{id:"".concat(t,"-top"),type:"number",onChange:this.onChangeTop,"aria-label":Object(s.__)("Top",o.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",o.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-right")},wp.element.createElement("input",{id:"".concat(t,"-right"),type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",o.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-bottom")},wp.element.createElement("input",{id:"".concat(t,"-bottom"),type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",o.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-left")},wp.element.createElement("input",{id:"".concat(t,"-left"),type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":Object(s.__)("auto",o.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",o.i18n))),wp.element.createElement(l.Button,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(l.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&Vu(n.prototype,a),r&&Vu(n,r),t}();Ku.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};Object(dt.withInstanceId)(Ku);function $u(){return($u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yu=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Qu=q.a.createElement("path",{d:"M4.4 15.7h11.2c.1 0 .2 0 .2.1l2 2c.2.2.1.6-.2.6H2.4c-.3 0-.4-.3-.2-.6l2-2s.1-.1.2-.1z",fill:"#555d63"}),Xu=function(e){return q.a.createElement("svg",$u({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Yu,Qu)};function Ju(){return(Ju=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zu=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),ec=q.a.createElement("path",{d:"M4.3 4.4v11.2c0 .1 0 .2-.1.2l-2 2c-.2.2-.6.1-.6-.2V2.4c0-.3.4-.4.6-.2l2 2s.1.1.1.2z",fill:"#555d63"}),tc=function(e){return q.a.createElement("svg",Ju({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Zu,ec)};function nc(){return(nc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ac=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),rc=q.a.createElement("path",{d:"M15.7 15.6V4.4c0-.1 0-.2.1-.2l2-2c.2-.2.6-.1.6.2v15.2c0 .3-.3.4-.6.2l-2-2s-.1-.1-.1-.2z",fill:"#555d63"}),ic=function(e){return q.a.createElement("svg",nc({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ac,rc)};function lc(){return(lc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oc=q.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),sc=q.a.createElement("path",{d:"M15.6 4.3H4.4c-.1 0-.2 0-.2-.1l-2-2c-.2-.2-.1-.6.2-.6h15.2c.3 0 .4.3.2.6l-2 2s-.1.1-.2.1z",fill:"#555d63"}),uc=function(e){return q.a.createElement("svg",lc({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),oc,sc)};function cc(e){return(cc="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 fc(){return(fc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function pc(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 dc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function gc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dc(n,!0).forEach(function(t){mc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dc(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bc(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function hc(e){return(hc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function vc(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yc(e,t){return(yc=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var wc=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var r=(e=!(a=hc(t).apply(this,arguments))||"object"!==cc(a)&&"function"!=typeof a?vc(n):a).getEnabledValues(),i=e.firstValue(),l=Object.values(r).every(function(e){return e===i}),o=Object.values(r).every(function(e){return""===e});return e.state={locked:o?e.props.defaultLocked:l},e.onToggleLock=e.onToggleLock.bind(vc(e)),e.onChangeAll=e.onChangeAll.bind(vc(e)),e.onChangeTop=e.onChangeTop.bind(vc(e)),e.onChangeRight=e.onChangeRight.bind(vc(e)),e.onChangeBottom=e.onChangeBottom.bind(vc(e)),e.onChangeLeft=e.onChangeLeft.bind(vc(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yc(e,t)}(t,i["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return gc({},t,mc({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(pc(this.props.enableTop?["top"]:[]),pc(this.props.enableRight?["right"]:[]),pc(this.props.enableBottom?["bottom"]:[]),pc(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(b.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(gc({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(gc({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(gc({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(gc({},this.getEnabledValues(),{left:e||0===e?e:""}))}},{key:"render",value:function(){var e=this.props,t=e.instanceId,n=e.units,a=e.unit,r="ugb-four-range-control-".concat(t,"__item-"),u={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},c=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(u.min=this.props.min[c]),Array.isArray(this.props.max)&&(u.max=this.props.max[c]),Array.isArray(this.props.step)&&(u.step=this.props.step[c]),Array.isArray(this.props.placeholder)&&(u.placeholder=this.props.placeholder[c]),Array.isArray(this.props.initialPosition)&&(u.initialPosition=this.props.initialPosition[c]);var f=p()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),d=wp.element.createElement(l.Button,{className:f,onClick:this.onToggleLock,icon:wp.element.createElement(l.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(l.BaseControl,{help:this.props.help,className:p()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(aa,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:d}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(sa,fc({id:"".concat(r,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},u))),!this.state.locked&&wp.element.createElement(i.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Top",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(uc,null))),wp.element.createElement(sa,fc({id:"".concat(r,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},u,{placeholder:this.props.placeholderTop||u.placeholder}))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Right",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(ic,null))),wp.element.createElement(sa,fc({id:"".concat(r,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},u,{placeholder:this.props.placeholderRight||u.placeholder}))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Bottom",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Xu,null))),wp.element.createElement(sa,fc({id:"".concat(r,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},u,{placeholder:this.props.placeholderBottom||u.placeholder}))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(l.Tooltip,{text:Object(s.__)("Left",o.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(tc,null))),wp.element.createElement(sa,fc({id:"".concat(r,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},u,{placeholder:this.props.placeholderLeft||u.placeholder})))))}}])&&bc(n.prototype,a),r&&bc(n,r),t}();wc.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,min:0,max:50,step:1,placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",initialPosition:""};var kc=wc,Oc=n(62),Cc=n.n(Oc),Sc=n(63),_c=n.n(Sc),xc=n(64),Ec=n.n(xc),jc=n(65),Pc=n.n(jc),Tc=n(66),Bc=n.n(Tc),Mc=n(67),Nc=n.n(Mc),Ic=n(68),Ac=n.n(Ic),Dc=n(69),Rc=n.n(Dc),zc=n(70),Lc=n.n(zc),Fc=n(71),Uc=n.n(Fc),Hc=n(72),Vc=n.n(Hc),Gc=n(73),qc=n.n(Gc),Wc=n(74),Kc=n.n(Wc),$c=n(75),Yc=n.n($c),Qc=n(76),Xc=n.n(Qc),Jc=n(77),Zc=n.n(Jc),ef=n(78),tf=n.n(ef),nf=n(79),af=n.n(nf),rf=n(80),lf=n.n(rf),of=n(81),sf=n.n(of),uf=n(82),cf=n.n(uf),ff=n(83),pf=n.n(ff),df=n(84),gf=n.n(df),mf=n(85),bf=n.n(mf),hf=n(86),vf=n.n(hf),yf=n(87),wf=n.n(yf),kf=n(88),Of=n.n(kf),Cf=n(89),Sf=n.n(Cf),_f=n(90),xf=n.n(_f),Ef=n(91),jf=n.n(Ef);function Pf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Tf(){return(Tf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mf(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Nf(e,t,n){return t&&Mf(e.prototype,t),n&&Mf(e,n),e}function If(e){return(If="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 Af(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Df(e,t){return!t||"object"!==If(t)&&"function"!=typeof t?Af(e):t}function Rf(e){return(Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function zf(e,t){return(zf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lf(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zf(e,t)}function Ff(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Uf=n(18),Hf=n.n(Uf),Vf=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.forEach(function(e){return e&&e.apply(void 0,n)})}};function Gf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function qf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gf(Object(n),!0).forEach(function(t){Ff(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Wf=function(e){function t(){var e,n;Bf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Ff(Af(n=Df(this,(e=Rf(t)).call.apply(e,[this].concat(r)))),"getRailProps",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,a=t.emitMouse,r=t.emitTouch;return qf({},e,{onMouseDown:Vf(e.onMouseDown,a),onTouchStart:Vf(e.onTouchStart,r)})}),n}return Lf(t,G["Component"]),Nf(t,[{key:"render",value:function(){var e=this.getRailProps,t=this.props,n=t.getEventData,a=t.activeHandleID,r=(0,t.children)({getEventData:n,activeHandleID:a,getRailProps:e});return r&&q.a.Children.only(r)}}]),t}();Wf.propTypes={};var Kf=Wf,$f=function(e){function t(){return Bf(this,t),Df(this,Rf(t).apply(this,arguments))}return Lf(t,G["Component"]),Nf(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.values,a=e.scale,r=e.count,i=t({getEventData:e.getEventData,activeHandleID:e.activeHandleID,ticks:(n||a.getTicks(r)).map(function(e){return{id:"$$-".concat(e),value:e,percent:a.getValue(e)}})});return i&&q.a.Children.only(i)}}]),t}();$f.propTypes={},$f.defaultProps={count:10};var Yf=$f;function Qf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xf(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qf(Object(n),!0).forEach(function(t){Ff(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qf(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Jf=function(e){function t(){var e,n;Bf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Ff(Af(n=Df(this,(e=Rf(t)).call.apply(e,[this].concat(r)))),"getTrackProps",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.props,a=t.emitMouse,r=t.emitTouch;return Xf({},e,{onMouseDown:Vf(e.onMouseDown,a),onTouchStart:Vf(e.onTouchStart,r)})}),n}return Lf(t,G["Component"]),Nf(t,[{key:"render",value:function(){for(var e=this.getTrackProps,t=this.props,n=t.children,a=t.left,r=t.right,i=t.scale,l=t.handles,o=t.getEventData,s=t.activeHandleID,u=i.getDomain(),c=[],f=0;f<l.length+1;f++){var p=l[f-1],d=l[f];0===f&&!0===a?p={id:"$",value:u[0],percent:0}:f===l.length&&!0===r&&(d={id:"$",value:u[1],percent:100}),p&&d&&c.push({id:"".concat(p.id,"-").concat(d.id),source:p,target:d})}var g=n({getEventData:o,activeHandleID:s,tracks:c,getTrackProps:e});return g&&q.a.Children.only(g)}}]),t}();Jf.propTypes={},Jf.defaultProps={left:!0,right:!0};var Zf=Jf;function ep(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function tp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ep(Object(n),!0).forEach(function(t){Ff(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ep(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var np=function(e){function t(){var e,n;Bf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Ff(Af(n=Df(this,(e=Rf(t)).call.apply(e,[this].concat(r)))),"autofocus",function(e){e.target.focus()}),Ff(Af(n),"getHandleProps",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n.props,r=a.emitKeyboard,i=a.emitMouse,l=a.emitTouch;return tp({},t,{onKeyDown:Vf(t.onKeyDown,function(t){return r(t,e)}),onMouseDown:Vf(t.onMouseDown,n.autofocus,function(t){return i(t,e)}),onTouchStart:Vf(t.onTouchStart,function(t){return l(t,e)})})}),n}return Lf(t,G["Component"]),Nf(t,[{key:"render",value:function(){var e=this.getHandleProps,t=this.props,n=t.activeHandleID,a=(0,t.children)({handles:t.handles,activeHandleID:n,getHandleProps:e});return a&&q.a.Children.only(a)}}]),t}();np.propTypes={};var ap=np;function rp(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ip="react-compound-slider:";function lp(e){return function(t,n){return t.val>n.val?e?-1:1:n.val>t.val?e?1:-1:0}}function op(e,t,n,a){var r=e.findIndex(function(e){return e.key===t});if(-1!==r){var i=e[r],l=i.key;return i.val===n?e:[].concat(rp(e.slice(0,r)),[{key:l,val:n}],rp(e.slice(r+1))).sort(lp(a))}return e}function sp(e,t){if(!e)return[0,0];var n=e.getBoundingClientRect();return[t?n.top:n.left,t?n.bottom:n.right]}function up(e){var t=e.type,n=void 0===t?"":t,a=e.touches;return!a||a.length>1||"touchend"===n.toLowerCase()&&a.length>0}function cp(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function fp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,r=0;return{handles:e.map(function(e){var t=n.getValue(e);return e!==t&&(r+=1,Hf()(!a,"".concat(ip," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t}).map(function(e,t){return{key:"$$-".concat(t),val:e}}).sort(lp(t)),changes:r}}var pp=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN};var dp,gp;1===(dp=pp).length&&(gp=dp,dp=function(e,t){return pp(gp(e),t)});var mp=Array.prototype,bp=(mp.slice,mp.map,Math.sqrt(50)),hp=Math.sqrt(10),vp=Math.sqrt(2),yp=function(e,t,n){var a,r,i,l,o=-1;if(n=+n,(e=+e)===(t=+t)&&n>0)return[e];if((a=t<e)&&(r=e,e=t,t=r),0===(l=function(e,t,n){var a=(t-e)/Math.max(0,n),r=Math.floor(Math.log(a)/Math.LN10),i=a/Math.pow(10,r);return r>=0?(i>=bp?10:i>=hp?5:i>=vp?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(i>=bp?10:i>=hp?5:i>=vp?2:1)}(e,t,n))||!isFinite(l))return[];if(l>0)for(e=Math.ceil(e/l),t=Math.floor(t/l),i=new Array(r=Math.ceil(t-e+1));++o<r;)i[o]=(e+o)*l;else for(e=Math.floor(e*l),t=Math.ceil(t*l),i=new Array(r=Math.ceil(e-t+1));++o<r;)i[o]=(e-o)/l;return a&&i.reverse(),i};var kp=function(){function e(){Bf(this,e),this.domain=[0,1],this.range=[0,1],this.interpolator=null}return Nf(e,[{key:"createInterpolator",value:function(e,t){var n=e[0],a=e[1],r=t[0],i=t[1];return a<n?(n=this.deinterpolateValue(a,n),r=this.interpolateValue(i,r)):(n=this.deinterpolateValue(n,a),r=this.interpolateValue(r,i)),function(e){return r(n(e))}}},{key:"interpolateValue",value:function(e,t){return t-=e=+e,function(n){return e+t*n}}},{key:"deinterpolateValue",value:function(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(){return t}}},{key:"rescale",value:function(){return this.interpolator=null,this}},{key:"getValue",value:function(e){var t=this.domain,n=this.range;return(this.interpolator||(this.interpolator=this.createInterpolator(t,n)))(+e)}},{key:"setDomain",value:function(e){return this.domain=e.map(function(e){return+e}),this.rescale(),this}},{key:"getDomain",value:function(){return this.domain}},{key:"setRange",value:function(e){return this.range=e.map(function(e){return+e}),this}},{key:"getTicks",value:function(e){var t=this.domain;return yp(t[0],t[t.length-1],e||10)}}]),e}();function Op(e,t,n){return Math.min(Math.max(e,t),n)}var Cp=function e(){var t=this;Bf(this,e),Ff(this,"setDomain",function(e){return t.domain=e.slice(),t}),Ff(this,"setRange",function(e){return t.range=e.slice(),t}),Ff(this,"setStep",function(e){return t.step=e,t}),Ff(this,"getValue",function(e){var n=Pf(t.domain,2),a=n[0],r=n[1],i=Pf(t.range,2),l=i[0],o=i[1],s=t.step,u=(Op(e,a,r)-a)/(r-a);return Op(s*Math.round(u*(o-l)/s)+l,l<o?l:o,o>l?o:l)}),this.step=1,this.domain=[0,1],this.range=[0,1]},Sp="undefined"!=typeof window&&"undefined"!=typeof document,_p=function(){},xp=function(e,t,n,a){var r=a?e-t:e+t;return a?Math.max(n[0],r):Math.min(n[1],r)},Ep=function(e,t,n,a){var r=a?e+t:e-t;return a?Math.min(n[1],r):Math.max(n[0],r)},jp=function(e){function t(){var e,n;Bf(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Ff(Af(n=Df(this,(e=Rf(t)).call.apply(e,[this].concat(r)))),"state",{step:null,values:null,domain:null,handles:[],reversed:null,activeHandleID:null,valueToPerc:null,valueToStep:null,pixelToStep:null}),Ff(Af(n),"slider",q.a.createRef()),Ff(Af(n),"onKeyDown",function(e,t){var a=["ArrowRight","ArrowUp"],r=["ArrowDown","ArrowLeft"],i=Af(n),l=i.state.handles,o=i.props,s=o.step,u=o.reversed,c=o.vertical,f=o.domain,p=e.key||e.keyCode;if(a.concat(r).includes(p)){if(c){var d=[r,a];a=d[0],r=d[1]}e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault();var g=l.find(function(e){return e.key===t});if(g){var m=g.val,b=m;a.includes(p)?b=xp(m,s,f,u):r.includes(p)&&(b=Ep(m,s,f,u));var h=l.map(function(e){return e.key===t?{key:e.key,val:b}:e});n.submitUpdate(h,!0)}}}),Ff(Af(n),"onMouseDown",function(e,t){n.onStart(e,t,!1)}),Ff(Af(n),"onTouchStart",function(e,t){up(e)||n.onStart(e,t,!0)}),Ff(Af(n),"getEventData",function(e,t){var a,r=Af(n),i=r.state,l=i.pixelToStep,o=i.valueToPerc,s=r.props.vertical;return l.setDomain(sp(n.slider.current,s)),{value:a=t?l.getValue(cp(s,e)):l.getValue(s?e.clientY:e.pageX),percent:o.getValue(a)}}),Ff(Af(n),"onMouseMove",function(e){var t=Af(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;i.setDomain(sp(n.slider.current,s));var c=op(r,l,i.getValue(s?e.clientY:e.pageX),u);n.submitUpdate(c)}),Ff(Af(n),"onTouchMove",function(e){var t=Af(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;if(!up(e)){i.setDomain(sp(n.slider.current,s));var c=op(r,l,i.getValue(cp(s,e)),u);n.submitUpdate(c)}}),Ff(Af(n),"onMouseUp",function(){var e=Af(n),t=e.state,a=t.handles,r=t.activeHandleID,i=e.props,l=i.onChange,o=i.onSlideEnd;l(a.map(function(e){return e.val})),o(a.map(function(e){return e.val}),{activeHandleID:r}),n.setState({activeHandleID:null}),Sp&&(document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onMouseUp))}),Ff(Af(n),"onTouchEnd",function(){var e=Af(n),t=e.state,a=t.handles,r=t.activeHandleID,i=e.props,l=i.onChange,o=i.onSlideEnd;l(a.map(function(e){return e.val})),o(a.map(function(e){return e.val}),{activeHandleID:r}),n.setState({activeHandleID:null}),Sp&&(document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onTouchEnd))}),n}return Lf(t,G["PureComponent"]),Nf(t,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain(sp(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){Sp&&(document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"onStart",value:function(e,t,n){var a=this.state.handles,r=this.props.onSlideStart;n||e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),a.find(function(e){return e.key===t})?(this.setState({activeHandleID:t}),r(a.map(function(e){return e.val}),{activeHandleID:t}),n?this.addTouchEvents():this.addMouseEvents()):(this.setState({activeHandleID:null}),this.handleRailAndTrackClicks(e,n))}},{key:"handleRailAndTrackClicks",value:function(e,t){var n,a=this,r=this.state,i=r.handles,l=r.pixelToStep,o=this.props,s=o.vertical,u=o.reversed,c=this.slider;l.setDomain(sp(c.current,s)),n=t?l.getValue(cp(s,e)):l.getValue(s?e.clientY:e.pageX);for(var f=null,p=1/0,d=0;d<i.length;d++){var g=i[d],m=g.key,b=g.val,h=Math.abs(b-n);h<p&&(f=m,p=h)}var v=op(i,f,n,u);this.setState({activeHandleID:f},function(){a.submitUpdate(v,!0),t?a.addTouchEvents():a.addMouseEvents()})}},{key:"addMouseEvents",value:function(){Sp&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){Sp&&(document.addEventListener("touchmove",this.onTouchMove),document.addEventListener("touchend",this.onTouchEnd))}},{key:"submitUpdate",value:function(e,t){var n=this.props,a=n.mode,r=n.step,i=n.onUpdate,l=n.onChange,o=n.reversed,s=this.state.valueToStep.getValue;this.setState(function(n){var u,c=n.handles;if("function"==typeof a)u=a(c,e,r,o,s),Hf()(Array.isArray(u),"Custom mode function did not return an array.");else switch(a){case 1:u=function(e,t){return t}(0,e);break;case 2:u=function(e,t){for(var n=0;n<e.length;n++){if(e[n].key!==t[n].key)return e;if(t[n+1]&&t[n].val===t[n+1].val)return e}return t}(c,e);break;case 3:u=function e(t,n,a,r,i){for(var l=-1,o=!0,s=0;s<t.length;s++){var u=t[s],c=n[s];if(!c||c.key!==u.key)return t;c.val!==u.val&&(l=s,o=c.val-u.val>0)}if(-1===l)return t;for(var f=o?a:-a,p=0;p<n.length;p++){var d=n[p],g=n[p+1];if(g&&d.val===g.val){if(p===l){var m=g.val+f;if(i(m)===m){var b=e(n,op(n,g.key,g.val+f,r),a,r,i);return b===n?t:b}return t}var h=d.val+f;if(i(h)===h){var v=e(n,op(n,d.key,d.val+f,r),a,r,i);return v===n?t:v}return t}}return n}(c,e,r,o,s);break;default:u=e,Hf()(!1,"".concat(ip," Invalid mode value."))}return i(u.map(function(e){return e.val})),t&&l(u.map(function(e){return e.val})),{handles:u}})}},{key:"render",value:function(){var e=this,t=this.state,n=t.handles,a=t.valueToPerc,r=t.activeHandleID,i=this.props,l=i.className,o=i.rootStyle,s=i.rootProps,u=i.component,c=i.disabled,f=i.flatten,p=n.map(function(e){var t=e.key,n=e.val;return{id:t,value:n,percent:a.getValue(n)}}),d=q.a.Children.map(this.props.children,function(t){return!t||t.type.name!==Kf.name&&t.type.name!==Yf.name&&t.type.name!==Zf.name&&t.type.name!==ap.name?t:q.a.cloneElement(t,{scale:a,handles:p,activeHandleID:r,getEventData:e.getEventData,emitKeyboard:c?_p:e.onKeyDown,emitMouse:c?_p:e.onMouseDown,emitTouch:c?_p:e.onTouchStart})});return f?q.a.createElement(G.Fragment,null,q.a.createElement(u,Tf({},s,{style:o,className:l,ref:this.slider})),d):q.a.createElement(u,Tf({},s,{style:o,className:l,ref:this.slider}),d)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n,a,r=e.step,i=e.values,l=e.domain,o=e.reversed,s=e.onUpdate,u=e.onChange,c=e.warnOnChanges,f=t.valueToPerc,p=t.valueToStep,d=t.pixelToStep,g={};if(f&&p&&d||(f=new kp,p=new Cp,d=new Cp,g.valueToPerc=f,g.valueToStep=p,g.pixelToStep=d),null===t.step||null===t.domain||null===t.reversed||r!==t.step||l[0]!==t.domain[0]||l[1]!==t.domain[1]||o!==t.reversed){var m=Pf(l,2),b=m[0],h=m[1];p.setStep(r).setRange([b,h]).setDomain([b,h]),!0===o?(f.setDomain([b,h]).setRange([100,0]),d.setStep(r).setRange([h,b])):(f.setDomain([b,h]).setRange([0,100]),d.setStep(r).setRange([b,h])),Hf()(h>b,"".concat(ip," Max must be greater than min (even if reversed). Max is ").concat(h,". Min is ").concat(b,"."));var v=fp(i||t.values,o,p,c),y=v.handles;(v.changes||void 0===i||i===t.values)&&(s(y.map(function(e){return e.val})),u(y.map(function(e){return e.val}))),g.step=r,g.values=i,g.domain=l,g.handles=y,g.reversed=o}else if(n=i,a=t.values,!(n===a||n.length===a.length&&n.reduce(function(e){return function(t,n,a){return t&&e[a]===n}}(a),!0))){var w=fp(i,o,p,c),k=w.handles;w.changes&&(s(k.map(function(e){return e.val})),u(k.map(function(e){return e.val}))),g.values=i,g.handles=k}return Object.keys(g).length?g:null}}]),t}();jp.propTypes={},jp.defaultProps={mode:1,step:.1,domain:[0,100],component:"div",rootProps:{},rootStyle:{},vertical:!1,reversed:!1,onChange:_p,onUpdate:_p,onSlideStart:_p,onSlideEnd:_p,disabled:!1,flatten:!1,warnOnChanges:!1};var Pp=jp;Pp.Rail=Kf,Pp.Ticks=Yf,Pp.Tracks=Zf,Pp.Handles=ap;function Tp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Bp(){return(Bp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mp={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},Np={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},Ip=function(e){var t=e.getRailProps;return wp.element.createElement(i.Fragment,null,wp.element.createElement("div",Bp({style:Mp},t())),wp.element.createElement("div",{style:Np}))},Ap=function(e){var t=Tp(e.domain,2),n=t[0],a=t[1],r=e.handle,i=r.id,l=r.value,o=r.percent,s=e.disabled,u=void 0!==s&&s,c=e.getHandleProps;return wp.element.createElement("button",Bp({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":l,disabled:u,style:{left:"".concat(o,"%")}},c(i)))},Dp=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"right";if("left"===t)for(var n=e.length-1;n>=1;n--)if(e[n]<10){var a=10-e[n];e[n]=10,e[n-1]-=a}for(var r=0;r<e.length-1;r++)if(e[r]<10){var i=10-e[r];e[r]=10,e[r+1]-=i}if("right"===t)for(var l=e.length-1;l>=1;l--)if(e[l]<10){var o=10-e[l];e[l]=10,e[l-1]-=o}return e};function Rp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function zp(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Lp={position:"relative",width:"100%"},Fp=[0,100],Up=function(e){var t=0;return[].concat(zp(e),[100]).map(function(e){var n=e-t;return t+=n,n})},Hp=function(e){var t=0;return zp(e).pop(),e.reduce(function(n,a,r){if(r===e.length-1)return n;var i=a+t;return t+=a,n.push(i),n},[])},Vp=function(e){return wp.element.createElement(Pp,{className:"ugb-column-widths-control__columns-slider",rootStyle:Lp,mode:function(e,t){var n,a=e.map(function(e){return e.val}),r=t.map(function(e){return e.val});if(Object(b.isEqual)(a,r))return t;if((n=[0].concat(zp(r),[100])).some(function(e,t){return 0!==t&&e-n[t-1]<10})){var i=Rp(function(e,t){var n,a=0;return t.some(function(t,r){return t!==e[r]&&(a=r,n=t>e[r]?"right":"left",!0)}),[a,n]}(a,r),2);i[0];(function(e,t,n){var a=Up(e),r=Dp(a,n);return Hp(r)})(r,0,i[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(Up(t))},domain:Fp,values:Hp(e.value)},wp.element.createElement(Kf,null,function(e){var t=e.getRailProps;return wp.element.createElement(Ip,{getRailProps:t})}),wp.element.createElement(ap,null,function(e){var t=e.handles,n=e.getHandleProps;return wp.element.createElement("div",{className:"slider-handles"},t.map(function(e){return wp.element.createElement(Ap,{key:e.id,handle:e,domain:Fp,getHandleProps:n})}))}))};Vp.defaultProps={onChange:function(){},value:[]};var Gp=Vp;function qp(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Wp=function(e){return e.every(function(e){return!e})},Kp=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:Wp(e.value)?"column":void 0,justifyContent:Wp(e.value)?"space-around":void 0};return wp.element.createElement("div",{className:"ugb-column-widths-control__columns-input",style:n},e.value.map(function(t,n){return wp.element.createElement("input",{key:n,className:"components-column-widths-control__number",type:"number",value:t||"",onChange:function(t){var a=parseInt(t.target.value,10),r=qp(e.value);r[n]=isNaN(a)?"":a,e.onChange(r)},onBlur:function(){var t=Dp(e.value),a=100-t.reduce(function(e,t){return e+t},0);n<e.value.length-1?t[n+1]+=a:t[n-1]+=a,e.onChange(Dp(t))}})}))};Kp.defaultProps={onChange:function(){},value:[]};var $p=Kp;function Yp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Qp={"2-1":[50,50],"2-2":[67,33],"2-3":[33,67],"3-1":[33,33,34],"3-2":[25,50,25],"3-3":[50,25,25],"3-4":[25,25,50],"4-1":[25,25,25,25],"4-2":[40,20,20,20],"4-3":[20,20,20,40],"5-1":[20,20,20,20,20],"6-1":[16,17,17,17,17,16]},Xp={plain:{2:[{value:"2-1",image:Cc.a},{value:"2-2",image:_c.a},{value:"2-3",image:Ec.a}],3:[{value:"3-1",image:Pc.a},{value:"3-2",image:Bc.a},{value:"3-3",image:Nc.a},{value:"3-4",image:Ac.a}],4:[{value:"4-1",image:Rc.a},{value:"4-2",image:Lc.a},{value:"4-3",image:Uc.a}]},grid:{2:[{value:"2-1",image:Vc.a},{value:"2-2",image:qc.a},{value:"2-3",image:Kc.a}],3:[{value:"3-1",image:Yc.a},{value:"3-2",image:Xc.a},{value:"3-3",image:Zc.a},{value:"3-4",image:tf.a}],4:[{value:"4-1",image:af.a},{value:"4-2",image:lf.a},{value:"4-3",image:sf.a}]},uneven:{2:[{value:"2-1",image:cf.a},{value:"2-2",image:pf.a},{value:"2-3",image:gf.a}],3:[{value:"3-1",image:bf.a},{value:"3-2",image:vf.a},{value:"3-3",image:wf.a},{value:"3-4",image:Of.a}],4:[{value:"4-1",image:Sf.a},{value:"4-2",image:xf.a},{value:"4-3",image:jf.a}]}},Jp=function(e){return e.every(function(e){return!e})},Zp=function(e){var t=Yp(Object(i.useState)(-1),2),n=(t[0],t[1]),a=Yp(Object(i.useState)(!0),2),r=(a[0],a[1]),o=Yp(Object(i.useState)(""),2),u=o[0],c=o[1];Object(i.useEffect)(function(){c("")},[e.columns]);var f="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",d=Xp[f],g=wp.element.createElement(l.Button,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?Jp(e.values):Object(b.isEqual)(e.values,Qp[u||"".concat(e.columns,"-1")]),onClick:function(){c(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(Qp[u||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(s.__)("Reset"));return wp.element.createElement(l.BaseControl,{help:e.help,className:p()(["ugb-columns-width-control","ugb--help-tip-column-width",e.className])},(e.hasIndividualControls||!e.hasIndividualControls&&d[e.columns])&&wp.element.createElement(aa,{label:e.label,afterButton:e.hasIndividualControls?g:null,screens:e.screens}),d[e.columns]&&wp.element.createElement(ql,{options:d[e.columns],onChange:function(t){n(-1),r(!0),c(t),e.onChange(Qp[t])}}),e.hasIndividualControls&&wp.element.createElement(i.Fragment,null,wp.element.createElement(Gp,{value:Jp(e.values)?Qp["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement($p,{value:Jp(e.values)?e.forceBlank?e.values:Qp["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};Zp.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(s.__)("Column Widths",o.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};function ed(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var td=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(b.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=ge(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(i.Fragment,null,a.includes("desktop")&&wp.element.createElement(ud,{screens:a},i.Children.toArray(e.children).map(function(a){return Object(i.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(ed({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(ud,{screens:a,screen:"tablet"},i.Children.toArray(e.children).map(function(a){return Object(i.cloneElement)(a,{value:n("Tablet"),placeholder:n("Tablet")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(ed({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(ud,{screens:a,screen:"mobile"},i.Children.toArray(e.children).map(function(a){return Object(i.cloneElement)(a,{value:n("Mobile"),placeholder:n("Mobile")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(ed({},t("Mobile"),n))}})})))};td.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var nd=td;function ad(e){return(ad="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 rd(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function id(e){return(id=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ld(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function od(e,t){return(od=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var sd=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=id(t).apply(this,arguments))||"object"!==ad(a)&&"function"!=typeof a?ld(n):a).state={screen:Me()},e.onScreenChange=e.onScreenChange.bind(ld(e)),e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&od(e,t)}(t,i["Component"]),n=t,(a=[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(R.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(R.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=i.Children.toArray(this.props.children).map(function(t){return Object(i.cloneElement)(t,{screens:e.props.screens,screen:e.state.screen})}),n=this.state.screen===this.props.screen,a=!this.props.screens.includes(this.state.screen)&&!n&&"desktop"===this.props.screen;return wp.element.createElement(i.Fragment,null,(n||a)&&t)}}])&&rd(n.prototype,a),r&&rd(n,r),t}();sd.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var ud=Object(dt.withInstanceId)(sd);function cd(){return(cd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fd=q.a.createElement("path",{d:"M26.6 40.2h-8.2V27.8H8.8v12.4H.6V9.8h8.2v11.3h9.5V9.8h8.2v30.4zM49.4 40.2h-8.3V24.1c0-2 0-3.7.1-5.4-.5.6-1.1 1.3-1.9 2l-3.4 2.8-4.3-5.2L42 9.8h7.4v30.4z"}),pd=function(e){return q.a.createElement("svg",cd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),fd)};function dd(){return(dd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gd=q.a.createElement("path",{d:"M24.1 39.6H18V27.2H6.6v12.4H.5V10.8h6.1v11.3H18V10.8h6.1v28.8zM49.5 39.6H29.4v-4.2l7.2-7.3c2.1-2.2 3.5-3.7 4.2-4.6.7-.8 1.1-1.6 1.4-2.4.3-.7.4-1.5.4-2.2 0-1.2-.3-2-1-2.6-.6-.6-1.5-.8-2.5-.8-1.1 0-2.2.3-3.2.8s-2.1 1.2-3.3 2.2l-3.3-3.9c1.4-1.2 2.6-2.1 3.5-2.6.9-.5 1.9-.9 3-1.2 1.1-.3 2.3-.4 3.7-.4 1.8 0 3.4.3 4.8 1s2.4 1.6 3.2 2.8 1.1 2.5 1.1 4.1c0 1.3-.2 2.6-.7 3.7-.5 1.2-1.2 2.4-2.2 3.6s-2.7 3-5.2 5.2l-3.7 3.5v.3h12.5v5z"}),md=function(e){return q.a.createElement("svg",dd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),gd)};function bd(){return(bd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hd=q.a.createElement("path",{d:"M24 38.9h-4.6V26.4H6.6V39H2V11.1h4.6v11.4h12.8V11.1H24v27.8zM47.2 17.5c0 1.8-.5 3.2-1.5 4.4-1 1.2-2.5 2-4.3 2.4v.2c2.2.3 3.9 1 5 2.1s1.7 2.6 1.7 4.4c0 2.7-.9 4.7-2.8 6.2s-4.6 2.2-8.1 2.2c-3.1 0-5.7-.5-7.8-1.5v-4c1.2.6 2.4 1 3.8 1.4 1.3.3 2.6.5 3.8.5 2.2 0 3.8-.4 4.8-1.2 1.1-.8 1.6-2 1.6-3.7 0-1.5-.6-2.6-1.8-3.3-1.2-.7-3-1-5.6-1h-2.4V23H36c4.4 0 6.7-1.5 6.7-4.6 0-1.2-.4-2.1-1.2-2.8-.8-.6-1.9-1-3.4-1-1.1 0-2.1.1-3 .4-1 .3-2.1.9-3.5 1.7l-2.2-3.1c2.6-1.9 5.5-2.8 8.9-2.8 2.8 0 5 .6 6.6 1.8 1.5 1.1 2.3 2.8 2.3 4.9z"}),vd=function(e){return q.a.createElement("svg",bd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),hd)};function yd(){return(yd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wd=q.a.createElement("path",{d:"M23.5 37.9h-4.2V26.3H7.4v11.6H3.2V12.2h4.2v10.5h11.8V12.2h4.2v25.7zM46.8 32.3h-3.5v5.6h-4v-5.6H27.5v-3.2l11.7-17h4v16.7h3.5v3.5zm-7.5-3.5v-6.4c0-2.3.1-4.2.2-5.6h-.1c-.3.8-.8 1.7-1.5 2.8l-6.4 9.3h7.8z"}),kd=function(e){return q.a.createElement("svg",yd({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),wd)};function Od(){return(Od=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cd=q.a.createElement("path",{d:"M24.2 36.2h-3.7V26H10v10.2H6.3V13.5H10v9.3h10.5v-9.3h3.7v22.7zM36.3 22c2.3 0 4.1.6 5.4 1.8 1.3 1.2 2 2.9 2 5 0 2.4-.8 4.3-2.3 5.7s-3.7 2-6.5 2c-2.5 0-4.5-.4-6-1.2V32c.8.5 1.8.8 2.9 1.1s2.1.4 3 .4c1.6 0 2.9-.4 3.8-1.1.9-.7 1.3-1.8 1.3-3.2 0-2.7-1.7-4.1-5.2-4.1-.5 0-1.1 0-1.8.1s-1.3.2-1.9.3l-1.6-1 .9-11.1h11.8v3.2h-8.6l-.5 5.8c.4-.1.8-.1 1.3-.2.6-.1 1.2-.2 2-.2z"}),Sd=function(e){return q.a.createElement("svg",Od({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Cd)};function _d(){return(_d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xd=q.a.createElement("path",{d:"M24.1 35.2h-3.3V26h-9.4v9.2H8.1V14.8h3.3v8.3h9.4v-8.3h3.3v20.4zM28.1 26.5c0-8 3.2-11.9 9.7-11.9 1 0 1.9.1 2.6.2v2.7c-.7-.2-1.5-.3-2.4-.3-2.2 0-3.8.6-4.9 1.8-1.1 1.2-1.7 3-1.8 5.6h.2c.4-.8 1-1.3 1.8-1.7.8-.4 1.7-.6 2.8-.6 1.8 0 3.3.6 4.3 1.7s1.5 2.7 1.5 4.6c0 2.1-.6 3.8-1.8 5.1-1.2 1.2-2.8 1.9-4.9 1.9-1.5 0-2.7-.3-3.8-1.1-1.1-.7-1.9-1.7-2.5-3.1-.5-1.4-.8-3-.8-4.9zm7.1 6.2c1.1 0 2-.4 2.6-1.1.6-.7.9-1.8.9-3.1 0-1.2-.3-2.1-.9-2.8-.6-.7-1.4-1-2.6-1-.7 0-1.4.2-1.9.5-.6.3-1.1.7-1.4 1.2-.3.5-.5 1.1-.5 1.6 0 1.3.4 2.4 1.1 3.3.7 1 1.6 1.4 2.7 1.4z"}),Ed=function(e){return q.a.createElement("svg",_d({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),xd)};function jd(){return(jd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pd=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),1),icon:wp.element.createElement(pd,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),2),icon:wp.element.createElement(md,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),3),icon:wp.element.createElement(vd,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),4),icon:wp.element.createElement(kd,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),5),icon:wp.element.createElement(Sd,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",o.i18n),Object(s.__)("Heading",o.i18n),6),icon:wp.element.createElement(Ed,null)}],Td=function(e){return wp.element.createElement(tr,jd({},e,{className:"ugb-heading-buttons-control",controls:Pd}))};Td.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",o.i18n)),value:Pd[0].value};function Bd(){return(Bd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Md=[{value:"left",title:Object(s.__)("Align Left",o.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",o.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",o.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",o.i18n),icon:"editor-justify"}],Nd=function(e){var t=e.justified,n=e.className;return wp.element.createElement(tr,Bd({},Object(b.omit)(e,["justified"]),{className:p()([n,"ugb-align-buttons-control"]),controls:Md.filter(function(e){return!!t||"justify"!==e.value})}))};Nd.defaultProps={className:"",label:Object(s.__)("Align",o.i18n),value:Md[0].value,justified:!1};var Id=Nd;function Ad(){return(Ad=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Dd(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var Rd={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Dd(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,f=o.blockTag,d=void 0===f?"div":f,g=p()([e.className],Object(R.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),m=p()(["ugb-inner-block"],Object(R.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),b=d||r||"div";return wp.element.createElement(b,Ad({},i,{id:u,className:g}),t.styles,Object(R.applyFilters)("stackable.".concat(l,".edit.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:m},Object(R.applyFilters)("stackable.".concat(l,".edit.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(R.applyFilters)("stackable.".concat(l,".edit.output.after"),null,c,t)))}};Rd.Edit.defaultProps={styles:null,mainClass:!0},Rd.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Dd(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,f=o.blockTag,d=void 0===f?"div":f,g=p()([e.className],Object(R.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),m=p()(["ugb-inner-block"],Object(R.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),b=d||r||"div";return wp.element.createElement(b,Ad({},i,{id:u,className:g}),t.styles,Object(R.applyFilters)("stackable.".concat(l,".save.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:m},Object(R.applyFilters)("stackable.".concat(l,".save.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(R.applyFilters)("stackable.".concat(l,".save.output.after"),null,c,t)))},Rd.Save.defaultProps={styles:null,mainClass:!0};var zd=n(24);function Ld(e){return(Ld="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 Fd(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Ud(e){return(Ud=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Hd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vd(e,t){return(Vd=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Gd=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Ud(t).apply(this,arguments))||"object"!==Ld(a)&&"function"!=typeof a?Hd(n):a).state={value:e.props.value},e.uniqueId=Object(b.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(Hd(e)),e.debouncedOnChange=Object(b.debounce)(e.debouncedOnChange.bind(Hd(e)),500,{leading:!0}),e.codeMirror=null,e}var n,a,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vd(e,t)}(t,i["Component"]),n=t,(a=[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){zd.initialize&&(this.codeMirror=Object(zd.initialize)(this.uniqueId,se()(zd.defaultSettings,this.props.editorSettings)),this.codeMirror.codemirror.on("change",this.onChange))}},{key:"debouncedOnChange",value:function(e){this.props.onChange(e||this.state.value)}},{key:"onChange",value:function(e){var t=e.getValue?e.getValue():e;this.setState({value:t}),this.debouncedOnChange(t)}},{key:"render",value:function(){return wp.element.createElement("textarea",{className:"ugb-code-textarea",id:this.uniqueId,value:this.state.value,onChange:this.onChange})}}])&&Fd(n.prototype,a),r&&Fd(n,r),t}();Gd.defaultProps={value:"",onChange:function(){},editorSettings:{}};function qd(){return(qd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wd=q.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),Kd=function(e){return q.a.createElement("svg",qd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Wd)};function $d(){return($d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yd=q.a.createElement("filter",{id:"curve-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qd=q.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),Xd=function(e){return q.a.createElement("svg",$d({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yd,Qd)};function Jd(){return(Jd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zd=q.a.createElement("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}),eg=function(e){return q.a.createElement("svg",Jd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zd)};function tg(){return(tg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ng=q.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ag=q.a.createElement("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}),rg=function(e){return q.a.createElement("svg",tg({viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ng,ag)};function ig(){return(ig=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lg=q.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),og=function(e){return q.a.createElement("svg",ig({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),lg)};function sg(){return(sg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ug=q.a.createElement("filter",{id:"curve-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),cg=q.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),fg=function(e){return q.a.createElement("svg",sg({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ug,cg)};function pg(){return(pg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dg=q.a.createElement("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}),gg=function(e){return q.a.createElement("svg",pg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),dg)};function mg(){return(mg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bg=q.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),hg=q.a.createElement("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}),vg=function(e){return q.a.createElement("svg",mg({viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),bg,hg)};function yg(){return(yg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wg=q.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),kg=function(e){return q.a.createElement("svg",yg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),wg)};function Og(){return(Og=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cg=q.a.createElement("filter",{id:"curve-3-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Sg=q.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),_g=function(e){return q.a.createElement("svg",Og({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Cg,Sg)};function xg(){return(xg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Eg=q.a.createElement("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}),jg=function(e){return q.a.createElement("svg",xg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Eg)};function Pg(){return(Pg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tg=q.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Bg=q.a.createElement("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}),Mg=function(e){return q.a.createElement("svg",Pg({viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Tg,Bg)};function Ng(){return(Ng=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ig=q.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),Ag=function(e){return q.a.createElement("svg",Ng({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ig)};function Dg(){return(Dg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rg=q.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),zg=q.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),Lg=function(e){return q.a.createElement("svg",Dg({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Rg,zg)};function Fg(){return(Fg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ug=q.a.createElement("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}),Hg=function(e){return q.a.createElement("svg",Fg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ug)};function Vg(){return(Vg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gg=q.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),qg=q.a.createElement("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}),Wg=function(e){return q.a.createElement("svg",Vg({viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gg,qg)};function Kg(){return(Kg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $g=q.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),Yg=function(e){return q.a.createElement("svg",Kg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$g)};function Qg(){return(Qg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xg=q.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Jg=q.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),Zg=function(e){return q.a.createElement("svg",Qg({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Xg,Jg)};function em(){return(em=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var tm=q.a.createElement("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}),nm=function(e){return q.a.createElement("svg",em({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),tm)};function am(){return(am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var rm=q.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),im=q.a.createElement("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}),lm=function(e){return q.a.createElement("svg",am({viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),rm,im)};function om(){return(om=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sm=q.a.createElement("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}),um=function(e){return q.a.createElement("svg",om({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),sm)};function cm(){return(cm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fm=q.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pm=q.a.createElement("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}),dm=function(e){return q.a.createElement("svg",cm({viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fm,pm)};function gm(){return(gm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var mm=q.a.createElement("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}),bm=function(e){return q.a.createElement("svg",gm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),mm)};function hm(){return(hm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vm=q.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ym=q.a.createElement("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}),wm=function(e){return q.a.createElement("svg",hm({viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),vm,ym)};function km(){return(km=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Om=q.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),Cm=function(e){return q.a.createElement("svg",km({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Om)};function Sm(){return(Sm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _m=q.a.createElement("filter",{id:"slant-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),xm=q.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),Em=function(e){return q.a.createElement("svg",Sm({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_m,xm)};function jm(){return(jm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pm=q.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),Tm=function(e){return q.a.createElement("svg",jm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Pm)};function Bm(){return(Bm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mm=q.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Nm=q.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),Im=function(e){return q.a.createElement("svg",Bm({viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mm,Nm)};function Am(){return(Am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Dm=q.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),Rm=function(e){return q.a.createElement("svg",Am({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Dm)};function zm(){return(zm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lm=q.a.createElement("filter",{id:"slant-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Fm=q.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Um=function(e){return q.a.createElement("svg",zm({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lm,Fm)};function Hm(){return(Hm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vm=q.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),Gm=function(e){return q.a.createElement("svg",Hm({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vm)};function qm(){return(qm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wm=q.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Km=q.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),$m=function(e){return q.a.createElement("svg",qm({viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Wm,Km)};function Ym(){return(Ym=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qm=q.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),Xm=function(e){return q.a.createElement("svg",Ym({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Qm)};function Jm(){return(Jm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zm=q.a.createElement("filter",{id:"straight-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),eb=q.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),tb=function(e){return q.a.createElement("svg",Jm({viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zm,eb)};function nb(){return(nb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ab=q.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),rb=function(e){return q.a.createElement("svg",nb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ab)};function ib(){return(ib=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lb=q.a.createElement("filter",{id:"wave-1-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ob=q.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),sb=function(e){return q.a.createElement("svg",ib({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),lb,ob)};function ub(){return(ub=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cb=q.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}),fb=function(e){return q.a.createElement("svg",ub({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),cb)};function pb(){return(pb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var db=q.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),gb=q.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}),mb=function(e){return q.a.createElement("svg",pb({viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),db,gb)};function bb(){return(bb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hb=q.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),vb=function(e){return q.a.createElement("svg",bb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),hb)};function yb(){return(yb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wb=q.a.createElement("filter",{id:"wave-2-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),kb=q.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),Ob=function(e){return q.a.createElement("svg",yb({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),wb,kb)};function Cb(){return(Cb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sb=q.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}),_b=function(e){return q.a.createElement("svg",Cb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Sb)};function xb(){return(xb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Eb=q.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),jb=q.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}),Pb=function(e){return q.a.createElement("svg",xb({viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Eb,jb)};function Tb(){return(Tb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bb=q.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),Mb=function(e){return q.a.createElement("svg",Tb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Bb)};function Nb(){return(Nb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ib=q.a.createElement("filter",{id:"wave-3-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ab=q.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Db=function(e){return q.a.createElement("svg",Nb({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ib,Ab)};function Rb(){return(Rb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zb=q.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}),Lb=function(e){return q.a.createElement("svg",Rb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zb)};function Fb(){return(Fb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ub=q.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Hb=q.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}),Vb=function(e){return q.a.createElement("svg",Fb({viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ub,Hb)};function Gb(){return(Gb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qb=q.a.createElement("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}),Wb=function(e){return q.a.createElement("svg",Gb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),qb)};function Kb(){return(Kb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $b=q.a.createElement("filter",{id:"wave-4-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Yb=q.a.createElement("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}),Qb=function(e){return q.a.createElement("svg",Kb({viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$b,Yb)};function Xb(){return(Xb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jb=q.a.createElement("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}),Zb=function(e){return q.a.createElement("svg",Xb({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Jb)};function eh(){return(eh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var th=q.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},q.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),q.a.createElement("feComponentTransfer",null,q.a.createElement("feFuncA",{type:"linear",slope:.4})),q.a.createElement("feMerge",null,q.a.createElement("feMergeNode",null),q.a.createElement("feMergeNode",{in:"SourceGraphic"}))),nh=q.a.createElement("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}),ah={"wave-1":{default:{shape:rb,shadow:sb},inverted:{shape:fb,shadow:mb}},"wave-2":{default:{shape:vb,shadow:Ob},inverted:{shape:_b,shadow:Pb}},"wave-3":{default:{shape:Mb,shadow:Db},inverted:{shape:Lb,shadow:Vb}},"wave-4":{default:{shape:Wb,shadow:Qb},inverted:{shape:Zb,shadow:function(e){return q.a.createElement("svg",eh({viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),th,nh)}}},"curve-1":{default:{shape:Kd,shadow:Xd},inverted:{shape:eg,shadow:rg}},"curve-2":{default:{shape:og,shadow:fg},inverted:{shape:gg,shadow:vg}},"curve-3":{default:{shape:kg,shadow:_g},inverted:{shape:jg,shadow:Mg}},"slant-1":{default:{shape:Cm,shadow:Em},inverted:{shape:Tm,shadow:Im}},"slant-2":{default:{shape:Rm,shadow:Um},inverted:{shape:Gm,shadow:$m}},"straight-1":{default:{shape:Xm,shadow:tb},inverted:{shape:Xm,shadow:tb}},"rounded-1":{default:{shape:Ag,shadow:Lg},inverted:{shape:Hg,shadow:Wg}},"rounded-2":{default:{shape:Yg,shadow:Zg},inverted:{shape:nm,shadow:lm}},"rounded-3":{default:{shape:um,shadow:dm},inverted:{shape:bm,shadow:wm}}},rh=function(e){var t=ah[e.design][e.inverted?"inverted":"default"],n=t.shape,a=t.shadow,r=p()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:r},e.shadow&&wp.element.createElement(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(n,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};rh.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},rh.Save=function(e){return wp.element.createElement(rh,e)};function ih(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lh=function(e){var t,n=p()([e.className,"ugb-img"],(ih(t={},"wp-image-".concat(e.imageId),e.imageId),ih(t,"ugb-img--shape",e.shape),ih(t,"ugb-image--shape-stretch",e.shapeStretch),ih(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:g()(e.alt||void 0),width:e.width||void 0,height:e.height||void 0})};lh.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var oh=n(19),sh=wp.element.createElement(l.Icon,{icon:function(){return Xi(wp.element.createElement(Ki,{width:"20",height:"20"}))}}),uh=wp.element.createElement(l.Icon,{icon:function(){return Xi(wp.element.createElement(Qi,{width:"20",height:"20"}))}});var ch=Object(dt.compose)([Object(ne.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),r=a.getBlockRootClientId,i=a.getBlocksByClientId,l=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?r(n[0]):void 0),o=i(n),s=1===o.length&&o[0]&&"ugb/container"===o[0].name;return{isGroupable:l&&o.length&&!s,isUngroupable:s&&!!o[0].innerBlocks.length,blocksSelection:o,groupingBlockName:"ugb/container"}}),Object(ne.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,r=void 0===a?b.noop:a,i=t.blocksSelection,l=void 0===i?[]:i,o=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=l.map(function(e){return Object(he.cloneBlock)(e)}),t=Object(he.createBlock)("ugb/container",{},e);o(n,t),r()}},onConvertFromGroup:function(){if(l.length){var e=l[0].innerBlocks;e.length&&(o(n,e),r())}}}})])(function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,a=e.isGroupable,r=void 0!==a&&a,l=e.isUngroupable,u=void 0!==l&&l;return Object(ne.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(i.Fragment,null,r&&wp.element.createElement(oh.PluginBlockSettingsMenuItem,{icon:sh,label:Object(s.__)("Group into Container",o.i18n),onClick:t}),u&&wp.element.createElement(oh.PluginBlockSettingsMenuItem,{icon:uh,label:Object(s.__)("Ungroup from Container",o.i18n),onClick:n})):null}),fh=(Object(ne.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(ch),Object(dt.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,r=e.setState,o=e.getJSONBlockAttributes,s=e.setJSONBlockAttributes;return wp.element.createElement(i.Fragment,null,wp.element.createElement(oh.PluginBlockSettingsMenuItem,{icon:"editor-code",label:"Get / Set Block Attributes",onClick:function(){r({openPopover:!0,changed:!1}),setTimeout(function(){return document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()},100)}}),n&&wp.element.createElement(l.Modal,{title:"".concat(Object(b.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;s(e)}r({openPopover:!1})}},wp.element.createElement("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),wp.element.createElement("textarea",{onChange:function(){return r({changed:!0})}},o())))})),ph=Object(dt.compose)([Object(ne.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName:n&&a(n)?a(n).replace(/^\w+\//g,""):"",getJSONBlockAttributes:function(){var t=e("core/block-editor").getBlockName,a=e("core/blocks").getBlockType;if(!n)return{};var r=e("core/block-editor").getBlockAttributes(n),i=t(n).replace(/^\w+\//g,""),l=a(t(n)).attributes,o=Object.keys(r).reduce(function(e,t){return r[t]!==(l[t]?l[t].default:"")&&(e[t]=r[t]),e},{});return o.uniqueClass=void 0,JSON.stringify(Object(R.applyFilters)("stackable.".concat(i,".design.filtered-block-attributes"),o),null,4)}}}),Object(ne.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{!function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Object(ne.select)("core/block-editor"),r=a.getBlockName,i=a.getSelectedBlockClientId,l=a.getBlockAttributes,o=a.hasMultiSelection,s=a.getMultiSelectedBlockClientIds,u=Object(ne.dispatch)("core/block-editor"),c=u.updateBlockAttributes,f=Object(ne.select)("core/blocks"),p=f.getBlockType;if(n||!o()){var d=n||i();if(d){var g=l(d),m=r(d).replace(/^\w+\//g,""),h=p(r(d)).attributes,v=Object.keys(h).reduce(function(e,t){return ye({},e,we({},t,h[t]?h[t].default:""))},{}),y=Object(R.applyFilters)("stackable.".concat(m,".design.filtered-block-attributes"),ye({},v,{},t),g),w=Object(R.applyFilters)("stackable.".concat(m,".design.no-text-attributes"),y,g);A(w),c(d,Object(b.omit)(w,["uniqueClass"]))}}else s().forEach(function(n){e(t,n)})}(JSON.parse(e),n)}catch(e){console.error(e)}}}})])(fh);Object(ne.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(ph);function dh(){return(dh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function gh(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var mh=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,l=e.showBackground,o=e.showVideoBackground,u=gh(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),c=p()([n],{"ugb--has-background-overlay":l&&V(a,r.attributes)});return wp.element.createElement(t,dh({className:c},u),e.children,l&&o&&function(e,t){var n=ge(t.attributes,function(t){return Object(b.camelCase)(Object(s.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),r=n("TabletBackgroundMediaUrl"),l=n("MobileBackgroundMediaUrl"),o=p()(["ugb-video-background"],{"ugb--video-hide-tablet":r,"ugb--video-hide-mobile":l}),u=p()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":l}),c=p()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(i.Fragment,null,Te(a)&&wp.element.createElement("video",{className:o,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:a}),Te(r)&&wp.element.createElement("video",{className:u,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:r}),Te(l)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:l}))}(a,r))};mh.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var bh=function(e){return wp.element.createElement(l.Modal,{title:Object(s.__)("Stackable Welcome Guide",o.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},wp.element.createElement("p",null,Object(s.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",o.i18n)),wp.element.createElement("iframe",{title:Object(s.__)("Video Tutorial",o.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),wp.element.createElement("p",null,wp.element.createElement(l.Button,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(s.__)("Close it, I'm good",o.i18n))))};bh.defaultProps={onRequestClose:function(){}};function hh(){return(hh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vh=q.a.createElement("path",{d:"M38 12H12v26h26V12z"}),yh=function(e){return q.a.createElement("svg",hh({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),vh)};function wh(){return(wh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kh=q.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),Oh=function(e){return q.a.createElement("svg",wh({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),kh)};function Ch(){return(Ch=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sh=q.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),_h=function(e){return q.a.createElement("svg",Ch({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Sh)},xh=void 0;function Eh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function jh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Eh(n,!0).forEach(function(t){Ph(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Eh(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ph(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Th(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Bh=function(e){var t=Th(Object(i.useState)([]),2),n=t[0],a=t[1],r=Th(Object(i.useState)({}),2),l=r[0],u=r[1],c=Th(Object(i.useState)(0),2),f=c[0],d=c[1],g=Th(Object(i.useState)(0),2),m=g[0],h=g[1],v=Th(Object(i.useState)(0),2),y=v[0],w=v[1],k=Th(Object(i.useState)(""),2),O=k[0],C=k[1];return Object(i.useEffect)(function(){Di().then(function(e){var t=e.reduce(function(e,t){if(!e[t]){if(Object(ne.select)("core/edit-post").getPreference("hiddenBlockTypes").includes(t))return e;if(!Object(ne.select)("core/blocks").getBlockType(t))return e;e[t]={count:0,name:t,label:t?Object(ne.select)("core/blocks").getBlockType(t).title:""}}return e},{});u(t)})},[]),Object(i.useEffect)(function(){Object.keys(l).length&&Ii({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(l).reduce(function(e,t){return e[t]=jh({},l[t]),e},{}),r=0,i=0,o=t.reduce(function(t,n){var a=n.block,l=n.type,o=n.plan;return"block"===l&&t[a]&&t[a].count++,e.forceBlock&&e.forceBlock!==n.block||(i++,"free"===o&&r++),t},jh({},n));d(i),h(r),w(i-r),a(Object(b.orderBy)(o,["title"],["asc"]))})},[l,e.search,e.mood,e.colors]),wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement("li",null,wp.element.createElement("div",{className:""===O?"is-active":"","data-count":f,onClick:function(){C(""),e.onSelect({block:"",plan:""})},onKeyPress:function(e){13===e.keyCode&&xh.click()},role:"button",tabIndex:0,"aria-pressed":""===O?"true":"false"},Object(s.__)("All Block Designs",o.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},f))),f!==m&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===O?"is-active":"","data-count":m,onClick:function(){C("free"),e.onSelect({block:"",plan:"free"})},onKeyPress:function(e){13===e.keyCode&&xh.click()},role:"button",tabIndex:0,"aria-pressed":"free"===O?"true":"false"},Object(s.__)("Free Designs",o.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},m)),wp.element.createElement("div",{className:"premium"===O?"is-active":"","data-count":y,onClick:function(){C("premium"),e.onSelect({block:"",plan:"premium"})},onKeyPress:function(e){13===e.keyCode&&xh.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===O?"true":"false"},Object(s.__)("Premium Designs",o.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},y))),wp.element.createElement(Go,null),n.map(function(t,n){var a=O===t.name||t.name===e.forceBlock,r=p()({"is-active":a,"is-disabled":e.forceBlock&&t.name!==e.forceBlock});return wp.element.createElement("li",{key:n},wp.element.createElement("div",{className:r,"data-count":t.count,onClick:function(){e.forceBlock||(C(t.name),e.onSelect({block:t.name,plan:""}))},onKeyPress:function(e){13===e.keyCode&&xh.click()},role:"button",tabIndex:0,"aria-pressed":a?"true":"false"},t.label,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(t.name,"-count")},t.count)))}))};Bh.defaultProps={search:"",mood:"",colors:[],onSelect:function(){},forceBlock:""};var Mh=Bh;function Nh(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 Ih(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ah={red:{color:"#f44336",name:"red"},green:{color:"#4caf50",name:"green"},yellow:{color:"#ffeb3b",name:"yellow"},blue:{color:"#2196f3",name:"blue"},pink:{color:"#e91e63",name:"pink"},gray:{color:"#9e9e9e",name:"gray"},brown:{color:"#795548",name:"brown"},orange:{color:"#ff9800",name:"orange"},purple:{color:"#9c27b0",name:"purple"},black:{color:"#212121",name:"black"},white:{color:"#fff",name:"white"}},Dh=function(e){var t=Ih(Object(i.useState)([]),2),n=t[0],a=t[1];return wp.element.createElement(l.BaseControl,{className:"ugb-modal-design-library__color-list",id:"design-colors"},wp.element.createElement("div",{className:"ugb-modal-design-library__color-list-wrapper"},Object.keys(e.colors).map(function(t){var r=Ah[t],i=r.color,o=r.name;return wp.element.createElement(l.ColorPalette,{key:t,value:n.includes(o)?i:"",colors:[{color:i,name:o}],onChange:function(t){var r;r=t?[].concat(Nh(n),[o]):n.filter(function(e){return e!==o}),a(r),e.onSelect(r)},clearable:!1,disableCustomColors:!0})})))};Dh.defaultProps={onSelect:function(){},colors:Ah};var Rh=Dh;function zh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Lh=function(e){var t=zh(Object(i.useState)(e.search),2),n=t[0],a=t[1],r=zh(Object(i.useState)(),2),u=r[0],c=r[1],f=zh(Object(i.useState)(""),2),p=f[0],d=f[1],g=zh(Object(i.useState)(""),2),m=g[0],b=g[1],h=zh(Object(i.useState)([]),2),v=h[0],y=h[1],w=zh(Object(i.useState)(3),2),k=w[0],O=w[1],C=zh(Object(i.useState)([]),2),S=C[0],_=C[1],x=zh(Object(i.useState)(!0),2),E=x[0],j=x[1],P=zh(Object(i.useState)(!1),2),T=P[0],B=P[1],M=zh(Se("stk__design_library_dev_mode",!1),2),N=M[0],I=M[1];Object(i.useEffect)(function(){return c(e.selectedBlock)},[e.selectedBlock]);var A=zh(Object(i.useState)(n),2),D=A[0],R=A[1],z=zh(Object(i.useState)(null),2),L=z[0],F=z[1];return Object(i.useEffect)(function(){L&&(clearTimeout(L),F(null)),F(setTimeout(function(){R(n)},500))},[n]),Object(i.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(i.useEffect)(function(){T&&(_([]),j(!0)),Ii({type:"block",block:u,plan:p,mood:m,colors:v,search:D,reset:T}).then(function(e){_(e)}).finally(function(){j(!1),B(!1)})},[u,m,v,p,D,T]),wp.element.createElement(l.Modal,{title:Object(s.__)("Stackable Design Library",o.i18n),className:"ugb-modal-design-library",onRequestClose:e.onClose},wp.element.createElement("div",{className:"ugb-modal-design-library__wrapper"},wp.element.createElement("aside",{className:"ugb-modal-design-library__sidebar"},wp.element.createElement(l.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(s.__)("Search designs...",o.i18n),value:n,onChange:function(e){return a(e)},"data-testid":"input-search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(Rh,{onSelect:function(e){y(e)}}),wp.element.createElement(tr,{controls:[{value:"",title:Object(s.__)("All",o.i18n)},{value:"light",title:Object(s.__)("Light",o.i18n)},{value:"dark",title:Object(s.__)("Dark",o.i18n)}],value:m,onChange:function(e){return b(e)}}),wp.element.createElement(Mh,{search:n,mood:m,colors:v,forceBlock:e.selectedBlock,onSelect:function(e){var t=e.block,n=e.plan;c(t),d(n)}}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},o.devMode&&wp.element.createElement(l.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:N,onChange:function(e){Ni(e).then(function(){B(!0)}),I(e)}}),wp.element.createElement(l.Button,{icon:"image-rotate",label:Object(s.__)("Refresh Library",o.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return B(!0)}}),wp.element.createElement(l.Button,{icon:wp.element.createElement(yh,{width:"18",height:"18"}),className:2===k?"is-active":"",label:Object(s.__)("Large preview",o.i18n),onClick:function(){return O(2)}}),wp.element.createElement(l.Button,{icon:wp.element.createElement(_h,{width:"18",height:"18"}),className:3===k?"is-active":"",label:Object(s.__)("Medium preview",o.i18n),onClick:function(){return O(3)}}),wp.element.createElement(l.Button,{icon:wp.element.createElement(Oh,{width:"18",height:"18"}),className:4===k?"is-active":"",label:Object(s.__)("Small preview",o.i18n),onClick:function(){return O(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(cl,{columns:k,onSelect:e.onSelect,isBusy:E,designs:e.selectedBlock?S.filter(function(t){return t.block===e.selectedBlock}):S}))))};Lh.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var Fh=Lh;function Uh(){return(Uh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hh=q.a.createElement("path",{fill:"currentColor",d:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"}),Vh=function(e){return q.a.createElement("svg",Uh({"aria-hidden":"true","data-prefix":"fas","data-icon":"circle-notch",className:"spinner_svg__svg-inline--fa spinner_svg__fa-circle-notch spinner_svg__fa-w-16",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),Hh)};function Gh(){return(Gh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function qh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Wh=function(){return wp.element.createElement(Vh,{className:"ugb-icon-is-loading"})},Kh=function(e){var t=qh(Object(i.useState)(0),2),n=t[0],a=t[1],r=function(){a(n+1)};Object(i.useEffect)(function(){(window.FontAwesome?Promise.resolve(!0):new Promise(function(e,t){var n=240,a=setInterval(function(){window.FontAwesome?(clearInterval(a),e(!0)):n--<0&&(clearInterval(a),t(!1))},250)})).then(r)},[]);var l=Object(b.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(i.RawHTML,l,e.value);if(!window.FontAwesome)return wp.element.createElement(Wh,null);var o=e.value?e.value.replace(/-.*$/,""):e.prefix,s=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(o&&s){var u=xe(o,s);return u?wp.element.createElement(i.RawHTML,l,u):(function(e,t){var n=Ee(e,t);return n?Promise.resolve(n):new Promise(function(n,a){var r=240,i=setInterval(function(){var l=Ee(e,t);window.FontAwesome?(clearInterval(i),n(l)):r--<0&&(clearInterval(i),a(!1))},250)})}(o,s).then(r),wp.element.createElement(Wh,null))}var c=xe("far","smile");return wp.element.createElement(i.RawHTML,Gh({},l,{className:"".concat(e.className," ugb-icon--faded")}),c)};Kh.Content=function(e){var t=Object(b.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(i.RawHTML,t,e.value);var n=e.value?e.value.replace(/-.*$/,""):e.prefix,a=e.value?e.value.replace(/^.*?-/,""):e.iconName,r=xe(n,a);return wp.element.createElement(i.RawHTML,t,r)},Kh.defaultProps={prefix:"",iconName:"",value:""};var $h=Kh;function Yh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Qh=1,Xh=function(e){var t=Yh(Object(i.useState)("ugb-admin-setting-".concat(Qh++)),1)[0],n=p()(["ugb-admin-setting"],function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"ugb-admin-setting--".concat(e.size),e.size));return wp.element.createElement("div",{className:n,id:t},wp.element.createElement("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:t},wp.element.createElement("span",{className:"ugb-admin-setting__label"},e.label),wp.element.createElement("div",{className:"ugb-admin-setting__field"},e.children)),e.help&&wp.element.createElement("p",{className:"ugb-admin-setting__help"},e.help))};Xh.defaultProps={label:""};var Jh=Xh,Zh=function(e){return wp.element.createElement(Jh,e,wp.element.createElement("input",{className:"ugb-admin-text-setting",type:e.type,value:e.value,placeholder:e.placeholder,onChange:function(t){return e.onChange(t.target.value)}}),e.children)};Zh.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:function(){}};var ev=Zh,tv=function(e){return wp.element.createElement(Jh,e,wp.element.createElement("button",{className:"ugb-admin-toggle-setting__button",type:"button",role:"switch","aria-checked":!!e.value,onClick:function(){return e.onChange(!e.value)},style:{minWidth:e.width||void 0}},wp.element.createElement("span",null,e.disabled),wp.element.createElement("span",null,e.enabled)))};tv.defaultProps={label:"",value:!1,placeholder:"",onChange:function(){},disabled:Object(s.__)("Disabled",o.i18n),enabled:Object(s.__)("Enabled",o.i18n),width:""};var nv=tv;function av(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,r=!1,i=void 0;try{for(var l,o=e[Symbol.iterator]();!(a=(l=o.next()).done)&&(n.push(l.value),!t||n.length!==t);a=!0);}catch(e){r=!0,i=e}finally{try{a||null==o.return||o.return()}finally{if(r)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function rv(e){return(rv="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 iv(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 lv(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ov(e){return(ov=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uv(e,t){return(uv=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var cv=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ov(t).apply(this,arguments))||"object"!==rv(a)&&"function"!=typeof a?sv(n):a).toggleBlock=e.toggleBlock.bind(sv(e)),e.enableAllBlocks=e.enableAllBlocks.bind(sv(e)),e.disableAllBlocks=e.disableAllBlocks.bind(sv(e)),e.ajaxTimeout=null,e.state={disabledBlocks:e.props.disabledBlocks||[],isSaving:!1},e}var n,r,u;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uv(e,t)}(t,i["Component"]),n=t,(r=[{key:"componentDidUpdate",value:function(e,t){var n=this;this.state.disabledBlocks!==t.disabledBlocks&&(clearTimeout(this.ajaxTimeout),this.ajaxTimeout=setTimeout(function(){Object(a.send)("stackable_update_disable_blocks",{success:function(){n.setState({isSaving:!1})},error:function(e){n.setState({isSaving:!1}),alert(e)},data:{nonce:o.nonce,disabledBlocks:n.state.disabledBlocks}}),n.setState({isSaving:!0})},600))}},{key:"toggleBlock",value:function(e){this.state.disabledBlocks.includes(e)?this.setState({disabledBlocks:this.state.disabledBlocks.filter(function(t){return t!==e})}):this.setState({disabledBlocks:[].concat(iv(this.state.disabledBlocks),[e])})}},{key:"enableAllBlocks",value:function(){this.setState({disabledBlocks:[]})}},{key:"disableAllBlocks",value:function(){this.setState({disabledBlocks:Object.keys(this.props.blocks)})}},{key:"render",value:function(){var e=this,t=this.props.blocks;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"s-settings-header"},this.state.isSaving&&wp.element.createElement(l.Spinner,null),wp.element.createElement("button",{onClick:this.enableAllBlocks,className:"button button-large button-link"},Object(s.__)("Enable All",o.i18n)),wp.element.createElement("button",{onClick:this.disableAllBlocks,className:"button button-large button-link"},Object(s.__)("Disable All",o.i18n))),wp.element.createElement("div",{className:"s-settings-grid"},Object.keys(t).map(function(n,a){var r=t[n];if(r.sDeprecated)return null;var i=e.state.disabledBlocks.includes(n),l=p()(["s-box","s-box-small"],{"s-is-disabled":i}),u=n.replace(/\w+\//,"");return wp.element.createElement("div",{key:a+1,className:l},wp.element.createElement("img",{src:"".concat(o.welcomeSrcUrl,"/images/block-").concat(u,".svg"),alt:"".concat(r.title," icon"),className:"s-block-icon"}),wp.element.createElement("h4",null,r.title),wp.element.createElement("p",{className:"s-block-description"},r.description),r.sDemoURL&&wp.element.createElement("p",{className:"s-demo-url"},wp.element.createElement("small",null,wp.element.createElement("a",{href:r.sDemoURL,target:"stackable_demo",title:Object(s.sprintf)(Object(s.__)("View %s Demo",o.i18n),r.title)},Object(s.__)("View Block Demo",o.i18n)))),wp.element.createElement("button",{className:"s-toggle-button",onClick:function(){return e.toggleBlock(n)}},wp.element.createElement("span",null,Object(s.__)("Disabled",o.i18n)),wp.element.createElement("span",null,Object(s.__)("Enabled",o.i18n))))})))}}])&&lv(n.prototype,r),u&&lv(n,u),t}(),fv=null,pv=function(){var e=av(Object(i.useState)(!1),2),t=e[0],n=e[1],a=av(Object(i.useState)(""),2),r=a[0],l=a[1];Object(i.useEffect)(function(){c.loadPromise.then(function(){(new c.models.Settings).fetch().then(function(e){n(!!e.stackable_global_force_typography),l(e.stackable_global_content_selector)})})},[]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(ev,{label:Object(s.__)("Content Selector",o.i18n),help:Object(s.__)("The selector to the content area of your theme.",o.i18n),placeholder:".entry-content",value:r,onChange:function(e){clearTimeout(fv),fv=setTimeout(function(){new c.models.Settings({stackable_global_content_selector:e}).save()},500),l(e)}}),wp.element.createElement(nv,{label:Object(s.__)("Force Typography Styles",o.i18n),value:t,onChange:function(e){new c.models.Settings({stackable_global_force_typography:e}).save(),n(e)},disabled:Object(s.__)("Not forced",o.i18n),enabled:Object(s.__)("Force styles",o.i18n)}))},dv=function(e
|