Stackable – Page Builder Gutenberg Blocks - Version 2.17.2

Version Description

  • New: WordPress 5.8 compatibility
  • New: You can now use Stackable blocks in the new Page Template editor
  • New: You can now use Stackable blocks in the new Widgets Editor
  • Change: Removed "Content Selector" Global Settings option, it's no longer needed.
  • Fixed: Some block attributes are now properly pasted when using copy and paste styles
  • Fixed: Post IDs and other numbers are not displayed in Dynamic Contents
  • Fixed: Some block styles when the Optimization setting is enabled
Download this release

Release Info

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

Code changes from version 2.17.1 to 2.17.2

Files changed (2) hide show
  1. dist/admin_welcome.css +1 -1
  2. dist/admin_welcome.js +3 -3
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}.s-getting-started .subtitle,.s-getting-started .title{text-align:center}.s-getting-started .resources__item.s-box,.s-getting-started .resources__item.s-box:last-child{margin-bottom:24px!important}.s-getting-started h2.title{font-size:32px;color:#f00069;line-height:1.2em;margin:8px}.s-getting-started h4{font-size:21px;color:#000;margin-bottom:1em}.s-getting-started h5{font-size:16px;color:#000;margin-bottom:1em}.s-getting-started .indented{margin:1.5em 0 1em 2em}.s-getting-started__centered,.s-getting-started__two-column{margin-bottom:64px!important}.s-getting-started__entry h4,.s-getting-started__entry p,.s-getting-started__entry ul{margin-top:0}.s-getting-started__button,.s-getting-started__button:active{transition:all .1s ease-in-out;text-decoration:none;border:none;color:#fff;padding:12px 20px;text-transform:uppercase;letter-spacing:1px;font-size:14px;cursor:pointer;box-sizing:border-box!important;display:inline-block}.s-getting-started__button.primary,.s-getting-started__button:active.primary{background:linear-gradient(135deg,#b300be,#f00069)}.s-getting-started__button.primary:hover,.s-getting-started__button:active.primary:hover{color:#fff!important;background:linear-gradient(135deg,#f00069,#f00069)!important}.s-getting-started__button.secondary,.s-getting-started__button:active.secondary{background:transparent;box-shadow:inset 0 0 0 1px}.s-getting-started__button.secondary:hover,.s-getting-started__button:active.secondary:hover{color:#fff!important;background:#f00069!important;box-shadow:inset 0 0 0 0!important}.s-getting-started__footer{flex-direction:column;justify-content:center;align-items:center;background-color:#000;border-radius:8px;background-size:cover;background-position:top;padding:64px 40px;color:#fff}.s-getting-started__footer h2{font-size:24px;font-weight:400;letter-spacing:1px;color:#fff}.s-getting-started__footer h2,.s-getting-started__footer p{text-align:center}.s-getting-started__footer .button-group{display:flex;column-gap:16px;margin-top:32px;justify-content:center}.s-getting-started__help-tip{position:relative;padding:24px 24px 24px 65px}.s-getting-started__help-tip h4{font-size:16px;margin:0}.s-getting-started__help-tip p{margin:0}.s-getting-started__help-tip.primary{background-color:#e9feff}.s-getting-started__help-tip.secondary{background-color:#ffffe9}.s-getting-started__help-tip img{width:24px;height:24px;position:absolute;top:24px;left:24px}#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}}@media screen and (min-width:800px){.s-getting-started.s-box.s-box-spaced{padding-left:0!important;padding-right:0!important;max-width:1100px}.s-getting-started__two-column{display:grid;grid-template-columns:1fr 2fr;overflow:hidden}.s-getting-started__two-column .s-getting-started__entry{padding:0 0 0 48px;display:flex;flex-direction:column;justify-content:center}.s-getting-started__two-column .s-image-caption{transform:translateX(32px)}.s-getting-started__two-column.reverse{grid-template-columns:2fr 1fr}.s-getting-started__two-column.reverse .s-getting-started__entry{grid-column:2/3;grid-row:1/2;padding:0 48px 0 0}.s-getting-started__two-column.reverse .s-image-caption{grid-column:1/2;grid-row:1/2;transform:translateX(-32px)}.s-getting-started__centered{max-width:848px;margin:0 auto;padding:0 24px}.inner-columns{grid-template-columns:1fr 1fr;display:grid;grid-column-gap:24px;grid-row-gap:0}}@media screen and (max-width:801px){.s-getting-started__entry{margin:0 0 42px}}
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-header>:not(h1):not(img),body.settings_page_stackable .s-header>:not(h1):not(img){display:none!important}body.settings_page_stackable-getting-started .s-body-container .updated,body.settings_page_stackable .s-body-container .updated{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-toggle-button,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),body.settings_page_stackable .s-settings-grid .s-box .s-demo-url:nth-last-child(2){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;-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-settings-pro:hover{opacity:1}.s-box:hover .s-settings-pro{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}.s-getting-started .subtitle,.s-getting-started .title{text-align:center}.s-getting-started .resources__item.s-box,.s-getting-started .resources__item.s-box:last-child{margin-bottom:24px!important}.s-getting-started h2.title{font-size:32px;color:#f00069;line-height:1.2em;margin:8px}.s-getting-started h4{font-size:21px;color:#000;margin-bottom:1em}.s-getting-started h5{font-size:16px;color:#000;margin-bottom:1em}.s-getting-started .indented{margin:1.5em 0 1em 2em}.s-getting-started__centered,.s-getting-started__two-column{margin-bottom:64px!important}.s-getting-started__entry h4,.s-getting-started__entry p,.s-getting-started__entry ul{margin-top:0}.s-getting-started__button,.s-getting-started__button:active{transition:all .1s ease-in-out;text-decoration:none;border:none;color:#fff;padding:12px 20px;text-transform:uppercase;letter-spacing:1px;font-size:14px;cursor:pointer;box-sizing:border-box!important;display:inline-block}.s-getting-started__button.primary,.s-getting-started__button:active.primary{background:linear-gradient(135deg,#b300be,#f00069)}.s-getting-started__button.primary:hover,.s-getting-started__button:active.primary:hover{color:#fff!important;background:linear-gradient(135deg,#f00069,#f00069)!important}.s-getting-started__button.secondary,.s-getting-started__button:active.secondary{background:transparent;box-shadow:inset 0 0 0 1px}.s-getting-started__button.secondary:hover,.s-getting-started__button:active.secondary:hover{color:#fff!important;background:#f00069!important;box-shadow:inset 0 0 0 0!important}.s-getting-started__footer{flex-direction:column;justify-content:center;align-items:center;background-color:#000;border-radius:8px;background-size:cover;background-position:top;padding:64px 40px;color:#fff}.s-getting-started__footer h2{font-size:24px;font-weight:400;letter-spacing:1px;color:#fff}.s-getting-started__footer h2,.s-getting-started__footer p{text-align:center}.s-getting-started__footer .button-group{display:flex;column-gap:16px;margin-top:32px;justify-content:center}.s-getting-started__help-tip{position:relative;padding:24px 24px 24px 65px}.s-getting-started__help-tip h4{font-size:16px;margin:0}.s-getting-started__help-tip p{margin:0}.s-getting-started__help-tip.primary{background-color:#e9feff}.s-getting-started__help-tip.secondary{background-color:#ffffe9}.s-getting-started__help-tip img{width:24px;height:24px;position:absolute;top:24px;left:24px}#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}[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;display:flex;justify-content:center;align-items:center}.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}}@media screen and (min-width:800px){.s-getting-started.s-box.s-box-spaced{padding-left:0!important;padding-right:0!important;max-width:1100px}.s-getting-started__two-column{display:grid;grid-template-columns:1fr 2fr;overflow:hidden}.s-getting-started__two-column .s-getting-started__entry{padding:0 0 0 48px;display:flex;flex-direction:column;justify-content:center}.s-getting-started__two-column .s-image-caption{transform:translateX(32px)}.s-getting-started__two-column.reverse{grid-template-columns:2fr 1fr}.s-getting-started__two-column.reverse .s-getting-started__entry{grid-column:2/3;grid-row:1/2;padding:0 48px 0 0}.s-getting-started__two-column.reverse .s-image-caption{grid-column:1/2;grid-row:1/2;transform:translateX(-32px)}.s-getting-started__centered{max-width:848px;margin:0 auto;padding:0 24px}.inner-columns{grid-template-columns:1fr 1fr;display:grid;grid-column-gap:24px;grid-row-gap:0}}@media screen and (max-width:801px){.s-getting-started__entry{margin:0 0 42px}}
dist/admin_welcome.js CHANGED
@@ -9,12 +9,12 @@ var admin_welcome=function(e){var t={};function n(a){if(t[a])return t[a].exports
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
- !function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)&&a.length){var l=r.apply(null,a);l&&e.push(l)}else if("object"===i)for(var o in a)n.call(a,o)&&a[o]&&e.push(o)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=wp.hooks},function(e,t,n){var a=n(118),r=n(119),i=n(120);e.exports=function(e,t){return a(e)||r(e,t)||i()}},function(e,t,n){e.exports=n(140)()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=wp.compose},function(e,t,n){var a=n(121),r=n(122),i=n(123);e.exports=function(e){return a(e)||r(e)||i()}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}e.exports=function(e,t,a){return t&&n(e.prototype,t),a&&n(e,a),e}},function(e,t,n){var a=n(32),r=n(12);e.exports=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?r(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var a=n(124);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}},function(e,t){e.exports=wp.data},function(e,t,n){"use strict";t.a=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}},function(e,t,n){e.exports=n(136)},function(e,t){e.exports=wp.blockEditor},function(e,t,n){var a=n(139);e.exports=function(e,t){if(null==e)return{};var n,r,i=a(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){function n(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)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise(function(r,i){var l=e.apply(t,a);function o(e){n(l,r,i,o,s,"next",e)}function s(e){n(l,r,i,o,s,"throw",e)}o(void 0)})}}},function(e,t,n){e.exports=function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,a){return e.concat(t).map(function(e){return n(e,a)})}function r(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function i(e,t,a){var i={};return a.isMergeableObject(e)&&r(e).forEach(function(t){i[t]=n(e[t],a)}),r(t).forEach(function(r){a.isMergeableObject(t[r])&&e[r]?i[r]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(r,a)(e[r],t[r],a):i[r]=n(t[r],a)}),i}function l(t,r,l){(l=l||{}).arrayMerge=l.arrayMerge||a,l.isMergeableObject=l.isMergeableObject||e;var o=Array.isArray(r);return o===Array.isArray(t)?o?l.arrayMerge(t,r,l):i(t,r,l):n(r,l)}return l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return l(e,n,t)},{})},l}()},function(e,t){e.exports=wp.api},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,i,l,o){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,r,i,l,o],c=0;(s=new Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";e.exports=function(){}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=a=function(e){return n(e)}:e.exports=a=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},a(t)}e.exports=a},function(e,t){e.exports=wp.editPost},function(e,t){e.exports=wp.ajax},function(e,t,n){"use strict";var a;!function(r){if("function"!=typeof i){var i=function(e){return e};i.nonNative=!0}const l=i("plaintext"),o=i("html"),s=i("comment"),u=/<(\w*)>/g,c=/<\/?([^\s\/>]+)/;function p(e,t,n){return d(e=e||"",f(t=t||[],n=n||""))}function f(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=u.exec(e);)t.add(n[1])}else i.nonNative||"function"!=typeof e[i.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:l,tag_buffer:"",depth:0,in_quote_char:""}}function d(e,t){let n=t.allowable_tags,a=t.tag_replacement,r=t.state,i=t.tag_buffer,u=t.depth,c=t.in_quote_char,p="";for(let t=0,f=e.length;t<f;t++){let f=e[t];if(r===l)switch(f){case"<":r=o,i+=f;break;default:p+=f}else if(r===o)switch(f){case"<":if(c)break;u++;break;case">":if(c)break;if(u){u--;break}c="",r=l,i+=">",n.has(g(i))?p+=i:p+=a,i="";break;case'"':case"'":c=f===c?"":c||f,i+=f;break;case"-":"<!-"===i&&(r=s),i+=f;break;case" ":case"\n":if("<"===i){r=l,p+="< ",i="";break}i+=f;break;default:i+=f}else if(r===s)switch(f){case">":"--"==i.slice(-2)&&(r=l),i="";break;default:i+=f}}return t.state=r,t.tag_buffer=i,t.depth=u,t.in_quote_char=c,p}function g(e){let t=c.exec(e);return t?t[1].toLowerCase():null}p.init_streaming_mode=function(e,t){let n=f(e=e||[],t=t||"");return function(e){return d(e||"",n)}},void 0===(a=function(){return p}.call(t,n,t,e))||(e.exports=a)}()},function(e,t,n){"use strict";var a=n(128),r=n(133),i=n(135);e.exports=function(e){var t,n=a(e);return n.space?((t=Array(3))[0]=i(n.values[0],0,255),t[1]=i(n.values[1],0,255),t[2]=i(n.values[2],0,255),"h"===n.space[0]&&(t=r.rgb(t)),t.push(i(n.alpha,0,1)),t):[]}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(153)},function(e,t){e.exports=wp.codeEditor},function(e,t,n){"use strict";var a=Object.prototype.hasOwnProperty,r=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)void 0!==e[a]&&(n[a]=e[a]);return n};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var i=t[a],l=i.obj[i.prop],o=Object.keys(l),s=0;s<o.length;++s){var u=o[s],c=l[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:l,prop:u}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var a=[],i=0;i<n.length;++i)void 0!==n[i]&&a.push(n[i]);t.obj[t.prop]=a}}}(t),e},decode:function(e,t,n){var a=e.replace(/\+/g," ");if("iso-8859-1"===n)return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(e){return a}},encode:function(e,t,n){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var r="",l=0;l<a.length;++l){var o=a.charCodeAt(l);45===o||46===o||95===o||126===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?r+=a.charAt(l):o<128?r+=i[o]:o<2048?r+=i[192|o>>6]+i[128|63&o]:o<55296||o>=57344?r+=i[224|o>>12]+i[128|o>>6&63]+i[128|63&o]:(l+=1,o=65536+((1023&o)<<10|1023&a.charCodeAt(l)),r+=i[240|o>>18]+i[128|o>>12&63]+i[128|o>>6&63]+i[128|63&o])}return r},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(r(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return r(t)&&!r(n)&&(o=l(t,i)),r(t)&&r(n)?(n.forEach(function(n,r){if(a.call(t,r)){var l=t[r];l&&"object"==typeof l&&n&&"object"==typeof n?t[r]=e(l,n,i):t.push(n)}else t[r]=n}),t):Object.keys(n).reduce(function(t,r){var l=n[r];return a.call(t,r)?t[r]=e(t[r],l,i):t[r]=l,t},o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!0;var l={},o=void 0,s=void 0;for(o=0,s=n.length;o<s;o++)l[n[o]]=!0;for(o=0,s=r.length;o<s;o++){var u=r[o],c=e[u],p=t[u];if(c!==p){if(!l[u]||null===c||null===p||"object"!==(void 0===c?"undefined":a(c))||"object"!==(void 0===p?"undefined":a(p)))return!0;var f=Object.keys(c),d=Object.keys(p);if(f.length!==d.length)return!0;for(var g=0,m=f.length;g<m;g++){var h=f[g];if(c[h]!==p[h])return!0}}}return!1}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(126);t.default=a.isDarkColor,e.exports=t.default},function(e,t,n){"use strict";var a=n(137),r=n(138),i=n(46);e.exports={formats:i,parse:r,stringify:a}},,function(e,t,n){"use strict";
13
  /*
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 p=0;p<o.length;p++)i.call(n,o[p])&&(s[o[p]]=n[o[p]])}}return s}},function(e,t,n){"use strict";var a=String.prototype.replace,r=/%20/g,i=n(39),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/higher-order-with-design-layout-selector-basic.a9cc4da.png"},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(142).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":"Akaya Kanadaka","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Akaya Telivigala","variants":["regular"],"subsets":["latin","latin-ext","telugu"]},{"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","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","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":"Andika New Basic","variants":["regular","italic","700","700italic"],"subsets":["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":"Antonio","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"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":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"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","latin-ext"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","500","600","700","italic","500italic","600italic","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","500","600","700","italic","500italic","600italic","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","500","600","700","800"],"subsets":["hebrew","latin","latin-ext"]},{"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":"Ballet","variants":["regular"],"subsets":["latin","latin-ext","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":"Benne","variants":["regular"],"subsets":["kannada","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 Inline Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Text","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":"Bodoni Moda","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"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":"Brygada 1918","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"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":"Castoro","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"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","500","600","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":"Dela Gothic One","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext","vietnamese"]},{"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":"DotGothic16","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"Fraunces","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":"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":"Goldman","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Hachi Maru Pop","variants":["regular"],"subsets":["cyrillic","japanese","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","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imbue","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"JetBrains Mono","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"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","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","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":"Karantina","variants":["300","regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Karla","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"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":"Kiwi Maru","variants":["300","regular","500"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"Langar","variants":["regular"],"subsets":["gurmukhi","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","variants":["100","300","regular","500","600","700","800"],"subsets":["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 Barcode EAN13 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","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"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","latin-ext","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","vietnamese"]},{"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":"Nerko One","variants":["regular"],"subsets":["latin","latin-ext"]},{"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":"New Tegomin","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Newsreader","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Oi","variants":["regular"],"subsets":["greek","latin","latin-ext","vietnamese"]},{"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":"Orelega One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","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":"Potta One","variants":["regular"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"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":"Reggae One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"RocknRoll One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"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":"Shippori Mincho","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho B1","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"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 Grotesk","variants":["300","regular","500","600","700"],"subsets":["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":"Stick","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"Syne Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Syne Tactile","variants":["regular"],"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":"Texturina","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":"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":"Train One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"Trispace","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Truculenta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Xanh Mono","variants":["regular","italic"],"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":"Yusei Magic","variants":["regular"],"subsets":["japanese","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":"Zen Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"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(11)),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){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=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}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=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}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){function n(t,a){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,a)}e.exports=n},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}},p=Date.now();t.unstable_now=function(){return Date.now()-p},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 f=window.performance,d=window.Date,g=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=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 h&&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 f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var b=d.now();t.unstable_now=function(){return d.now()-b}}var v=!1,y=null,w=-1,k=5,C=0;l=function(){return t.unstable_now()>=C},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 O=new MessageChannel,x=O.port2;O.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();C=e+k;try{y(!0,e)?x.postMessage(null):(v=!1,y=null)}catch(e){throw x.postMessage(null),e}}else v=!1},a=function(e){y=e,v||(v=!0,x.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 S(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 T=[],P=[],B=1,M=null,N=3,I=!1,D=!1,R=!1;function z(e){for(var t=S(P);null!==t;){if(null===t.callback)E(P);else{if(!(t.startTime<=e))break;E(P),t.sortIndex=t.expirationTime,_(T,t)}t=S(P)}}function A(e){if(R=!1,z(e),!D)if(null!==S(T))D=!0,a(L);else{var t=S(P);null!==t&&r(A,t.startTime-e)}}function L(e,n){D=!1,R&&(R=!1,i()),I=!0;var a=N;try{for(z(n),M=S(T);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===S(T)&&E(T),z(n)}else E(T);M=S(T)}if(null!==M)var u=!0;else{var c=S(P);null!==c&&r(A,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,_(P,e),null===S(T)&&e===S(P)&&(R?i():R=!0,r(A,s-o))):(e.sortIndex=l,_(T,e),D||I||(D=!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();z(e);var n=S(T);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(){D||I||(D=!0,a(L))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(T)},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(3),r=n.n(a),i=n(10),l=n.n(i),o=n(14),s=n.n(o),u=n(15),c=n.n(u),p=n(16),f=n.n(p),d=n(17),g=n.n(d),m=n(18),h=n.n(m),b=n(12),v=n.n(b),y=n(19),w=n.n(y),k=n(4),C=n(34),O=n(21),x=n(6),_=n(1);Object(O.a)(function(){var e=document.querySelector(".s-news-box-content");e&&""===e.innerHTML&&(Object(k.render)(wp.element.createElement("div",null,wp.element.createElement(x.Spinner,null)),e),Object(C.send)("stackable_news_feed_ajax",{success:function(t){e.innerHTML=t},error:function(e){alert(e)},data:{nonce:_.nonceNews}}))});var S=n(0),E={"ugb/accordion":{title:Object(S.__)("Accordion",_.i18n),description:Object(S.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",_.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",_.i18n),description:Object(S.__)("Start with the building block of all page layouts.",_.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",_.i18n),description:Object(S.__)("Introduce new sections of your content in style.",_.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",_.i18n),description:Object(S.__)("Display a quote in style.",_.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",_.i18n),description:Object(S.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",_.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",_.i18n),description:Object(S.__)("Add a customizable button.",_.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",_.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.",_.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",_.i18n),description:Object(S.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",_.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",_.i18n),description:Object(S.__)("Add a block that displays content in multiple columns. Get advanced options on how you want your columns to look.",_.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",_.i18n),description:Object(S.__)("A styled container that you can add other blocks inside. Use this to create unique layouts.",_.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",_.i18n),description:Object(S.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",_.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",_.i18n),description:Object(S.__)("Choose from over a hundred block designs from the Stackable Design Library.",_.i18n)},"ugb/divider":{title:Object(S.__)("Divider",_.i18n),description:Object(S.__)("Add a pause between your content.",_.i18n)},"ugb/expand":{title:Object(S.__)("Expand / Show More",_.i18n),description:Object(S.__)("Display a small snippet of text. Your readers can toggle it to show more information.",_.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",_.i18n),description:Object(S.__)("Display multiple product features or services. You can use Feature Grids one after another.",_.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",_.i18n),description:Object(S.__)("Display a product feature or a service in a large area.",_.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",_.i18n),description:Object(S.__)("A large header title area. Typically used at the very top of a page.",_.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",_.i18n),description:Object(S.__)("Pick an icon or upload your own SVG icon to decorate your content.",_.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",_.i18n),description:Object(S.__)("An unordered list with icons. You can use this as a list of features or benefits.",_.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",_.i18n),description:Object(S.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",_.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",_.i18n),description:Object(S.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",_.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",_.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!"',_.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",_.i18n),description:Object(S.__)("Display the different pricing tiers of your business.",_.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",_.i18n),description:Object(S.__)("A fancy separator to be placed between containers and content.",_.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",_.i18n),description:Object(S.__)("Sometimes you just need some space.",_.i18n)},"ugb/team-member":{title:Object(S.__)("Team Member",_.i18n),description:Object(S.__)("Display members of your team or your office. Use multiple Team Member blocks if you have a large team.",_.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",_.i18n),description:Object(S.__)("Showcase what your users say about your product or service.",_.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",_.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.",_.i18n),sDemoURL:"https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}},j=n(27),T=n(7),P=n.n(T),B=n(8),M=n.n(B),N=n(35),I=n.n(N),D=n(23),R=n(5),z=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(F,M()({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(r()({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(r()({},n("Url"),e))},onChangeNewTab:function(e){return t(r()({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(r()({},n("NoFollow"),e))},onChangeIcon:function(e){return t(r()({},n("Icon"),e))},isSelected:e.isSelected},e))};z.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(z.Content=function(e){var t=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a};return wp.element.createElement(F.Content,M()({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var A=1,L=function(e){function t(){var e;return c()(this,t),e=g()(this,h()(t).apply(this,arguments)),r()(v()(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=A++,e.onButtonClickHandler=e.onButtonClickHandler.bind(v()(e)),e.outsideClickHandler=e.outsideClickHandler.bind(v()(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(v()(e)),e}return w()(t,e),f()(t,[{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,i=void 0===a?"":a,l=t.size,o=void 0===l?"normal":l,s=t.text,u=void 0===s?"":s,c=t.onChange,p=void 0===c?function(){}:c,f=t.design,d=void 0===f?"basic":f,g=t.shadow,m=void 0===g?0:g,h=t.iconPosition,b=void 0===h?"":h,v=t.hoverEffect,y=void 0===v?"":v,w=t.ghostToNormalEffect,C=void 0!==w&&w,O=t.url,x=void 0===O?"":O,E=t.newTab,j=void 0===E?"":E,T=t.noFollow,B=void 0===T?"":T,M=t.onChangeUrl,N=void 0===M?null:M,I=t.onChangeNewTab,R=void 0===I?null:I,z=t.onChangeNoFollow,A=void 0===z?null:z,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,W=P()([i,"ugb-button","ugb-button--size-".concat(o)],(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":C},r()(e,"ugb--hover-effect-".concat(y),"link"!==d&&y),r()(e,"ugb--shadow-".concat(m),"basic"===d&&m),r()(e,"ugb-button--design-".concat(d),"basic"!==d),r()(e,"ugb-button--has-icon",H),r()(e,"ugb-button--icon-position-".concat(b),b),e)),q=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:q,onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:W},H&&"link"!==d&&wp.element.createElement(k.Fragment,null,!F&&wp.element.createElement(Vo,{value:H}),F&&wp.element.createElement(Ko,{value:H,onChange:F,isOpen:n?K:null})),!n&&wp.element.createElement(D.RichText,{tagName:"span",className:"link"===d?"":"ugb-button--inner",placeholder:Object(S.__)("Button text",_.i18n),value:u,onChange:p,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),K&&wp.element.createElement(yt,{value:x,onChange:N,newTab:j,noFollow:B,onChangeNewTab:R,onChangeNoFollow:A,disableSuggestions:this.props.disableSuggestions})))}}]),t}(k.Component);L.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},L.Content=function(e){var t,n=e.iconButton,a=e.className,i=void 0===a?"":a,l=e.size,o=void 0===l?"normal":l,s=e.url,u=void 0===s?"":s,c=e.icon,p=void 0===c?null:c,f=e.text,d=void 0===f?"":f,g=e.design,m=void 0===g?"basic":g,h=e.newTab,b=void 0!==h&&h,v=e.shadow,y=void 0===v?0:v,w=e.iconPosition,k=void 0!==w&&w,C=e.hoverEffect,O=void 0===C?"":C,x=e.noFollow,_=void 0!==x&&x,S=e.ghostToNormalEffect,E=void 0!==S&&S,j=e.target,T=void 0===j?"":j,B=e.role,N=void 0===B?"":B,R=e.title,z=void 0===R?"":R,A=e.containerClassName,L=void 0===A?"":A,F=P()([i,"ugb-button","ugb-button--size-".concat(o)],(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":E},r()(t,"ugb--hover-effect-".concat(O),"link"!==m&&O),r()(t,"ugb--shadow-".concat(y),"basic"===m&&y),r()(t,"ugb-button--design-".concat(m),"basic"!==m),r()(t,"ugb-button--has-icon",p),r()(t,"ugb-button--icon-position-".concat(k),k),t)),U=P()(["ugb-button-container",L]),H=[];b&&(H.push("noopener"),H.push("noreferrer")),_&&H.push("nofollow");var V={};return N&&(V.role=N),wp.element.createElement("div",{className:U},(d||n)&&wp.element.createElement("a",M()({className:F,href:u,target:T||b?T||"_blank":void 0,rel:e.rel||H.join(" "),title:I()(z)},V),p&&"link"!==m&&wp.element.createElement(Vo.Content,{value:p}),!n&&wp.element.createElement(D.RichText.Content,{tagName:"span",className:"link"===m?"":"ugb-button--inner",value:d})))};var F=L,U=[],H={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"},V=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},G=function(e){if(!U.includes(e)){if(document&&V(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=H[_.locale]?"&subset=".concat(H):"";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)}U.push(e)}},W=function(e){return V(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"'},q=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&G(n)})};var K=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(R.camelCase)(Object(S.sprintf)(e,t))},i=Oe(n,r,""),l=a.importantSize,o=void 0!==l&&l,s=a.important,u=void 0===s||s,c=a.inherit,p=void 0===c||c,f=a.inheritMax,d=void 0===f?50:f,g=a.inheritMin,m={},h=i("FontSize"),b=i("TabletFontSize"),v=i("MobileFontSize");if("tablet"!==t&&"mobile"!==t)m={fontFamily:""!==i("FontFamily")?W(i("FontFamily")):void 0,fontSize:""!==h?Ce("".concat(h).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(m={lineHeight:""!==i("TabletLineHeight")?"".concat(i("TabletLineHeight")).concat(i("TabletLineHeightUnit")||"em"):void 0},p){var y=xe(h,{min:g,max:d});y&&(m.fontSize="".concat(y).concat(i("FontSizeUnit")||"px"))}b&&(m.fontSize=i("TabletFontSize","%s".concat(i("TabletFontSizeUnit")||"px")))}else{if(m={lineHeight:""!==i("MobileLineHeight")?"".concat(i("MobileLineHeight")).concat(i("MobileLineHeightUnit")||"em"):void 0},p){var w=xe(h,{min:g,max:d});w&&(m.fontSize="".concat(w).concat(i("FontSizeUnit")||"px"));var k=xe(b,{min:g,max:d});k?m.fontSize="".concat(k).concat(i("TabletFontSizeUnit")||"px"):(w||b)&&(m.fontSize=void 0)}v&&(m.fontSize=i("MobileFontSize","%s".concat(i("MobileFontSizeUnit")||"px")))}return u?ke(m):m},$=n(9);function Y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var Q={},X=function(){Q=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},function(e){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($.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)]=K("%s","desktop",a,{important:!0}),Q={},e});var J=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(Q).length&&!t||X(),Q[e]||Q.p||21};Object(O.a)(function(){X()});var Z=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(R.camelCase)(Object(S.sprintf)(e,t))},a=Oe(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")};var ee=n(26),te=n.n(ee);var ne=n(2),ae=n.n(ne);function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=ae.a.createElement("circle",{cx:50,cy:50,r:50}),le=function(e){return ae.a.createElement("svg",re({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),ie)};function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var se=ae.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),ue=function(e){return ae.a.createElement("svg",oe({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),se)};function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pe=ae.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 fe={circle:le,square:ue,blob1:function(e){return ae.a.createElement("svg",ce({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),pe)}},de=function(e){var t=Object($.applyFilters)("stackable.image.shape.svgs",fe);return t[e]?t[e]:null},ge=n(20),me=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||""}},he=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]||me(e):null};window._stackableCachedImageData={};var be=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},ve=function(e){return window._stackableCachedImageData[e]||null};n(42),n(36);function ye(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 we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ke=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.keys(e).reduce(function(n,a){return we({},n,r()({},a,Ce(e[a],t)))},{})},Ce=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},Oe=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(R.lowerFirst)(e)},o=void 0===e[l(a)]?"":e[l(a)];return""!==o?r?Object(S.sprintf)(r.replace(/%$/,"%%"),o):o:i}},xe=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(R.clamp)(e,parseFloat(a),parseFloat(i));if(!isNaN(l))return parseFloat(l)!==parseFloat(e)?l:void 0}};var _e={facebook:{label:Object(S.__)("Facebook",_.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",_.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",_.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",_.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",_.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",_.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",_.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>'}},Se=n(29);function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Te=["uniqueClass"],Pe={};var Be=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Object(ge.select)("core/block-editor"),i=a.getBlockName,l=a.getSelectedBlockClientId,o=a.getBlockAttributes,s=a.hasMultiSelection,u=a.getMultiSelectedBlockClientIds,c=Object(ge.dispatch)("core/block-editor"),p=c.updateBlockAttributes,f=Object(ge.select)("core/blocks"),d=f.getBlockType;if(n||!s()){var g=n||l();if(g){var m=o(g),h=i(g).replace(/^\w+\//g,""),b=d(i(g)).attributes,v=Object.keys(b).reduce(function(e,t){return je({},e,r()({},t,b[t]?b[t].default:""))},{}),y=Object($.applyFilters)("stackable.".concat(h,".design.filtered-block-attributes"),je({},v,{},t),m),w=Object($.applyFilters)("stackable.".concat(h,".design.no-text-attributes"),y,m);q(w),p(g,Object(R.omit)(w,["uniqueClass"]))}}else u().forEach(function(n){e(t,n)})},Me=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(k.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=l()(n,2),r=a[0],i=a[1],o=function(t){try{var n=t instanceof Function?t(r):t;i(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[r,o]},Ne=function(){return void 0!==Se.registerBlockCollection};var Ie=function(e,t){var n=De(e,t);return n?n.html[0]:""},De=function(e,t){return window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null},Re=n(22),ze=n.n(Re),Ae=n(25),Le=n.n(Ae),Fe=n(30),Ue=n.n(Fe);n(43);var He=function(e){return e.match(/(mp4|webm|ogg)$/i)},Ve="desktop",Ge=function(){return Ve},We=!1,qe=function(){return We};function Ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ke(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ke(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ye=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a},i=Object.keys(_e).reduce(function(e,i){var l;return $e({},e,(l={},r()(l,"".concat(i,"Url"),a("".concat(i,"Url"))),r()(l,"onChange".concat(Object(R.upperFirst)(i),"Url"),function(e){return t(r()({},n("".concat(i,"Url")),e))}),l))},{});return wp.element.createElement(tt,M()({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(r()({},n("NewTab"),e))},isSelected:e.isSelected},i,e))};Ye.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(Ye.Content=function(e){var t=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a},a=Object.keys(_e).reduce(function(e,t){return $e({},e,r()({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(tt.Content,M()({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 Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Je=function(e){return wp.element.createElement(k.Fragment,null,Object.keys(_e).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(R.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(R.upperFirst)(t))])&&wp.element.createElement(F,M()({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:_e[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(R.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},Ze=Object.keys(_e).reduce(function(e,t){var n;return Xe({},e,(n={},r()(n,"".concat(t,"Url"),""),r()(n,"show".concat(Object(R.upperFirst)(t)),null),n))},{});Je.defaultProps=Xe({useSocialColors:!0},Ze),Je.Content=function(e){return wp.element.createElement(k.Fragment,null,Object.keys(_e).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(R.upperFirst)(t))]&&wp.element.createElement(F.Content,M()({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:_e[t].icon,url:e["".concat(t,"Url")]||"#"},e))}))};var et=Object.keys(_e).reduce(function(e,t){var n;return Xe({},e,(n={},r()(n,"".concat(t,"Url"),""),r()(n,"show".concat(Object(R.upperFirst)(t)),null),n))},{});Je.Content.defaultProps=Xe({useSocialColors:!0},et);var tt=Je;function nt(){return(nt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var at=ae.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),rt=ae.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),it=ae.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"}),lt=function(e){return ae.a.createElement("svg",nt({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),at,rt,it)};function ot(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 st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ut=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,r=e.className,i=e.allowedTypes,l=e.render,o=e.hasRemove,s=e.style,u=P()([r,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),c=st({},s,{backgroundImage:n&&!l?"url(".concat(n,")"):void 0});return wp.element.createElement(D.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(st({},t,{url:n,width:a,height:r}))},allowedTypes:i,value:t,render:function(e){return n&&l?wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:c,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&o&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(x.Dashicon,{icon:"no"})),l):wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:c,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&o&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(x.Dashicon,{icon:"no"})),!n&&wp.element.createElement(lt,null))}})};ut.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var ct=function(e){return wp.element.createElement(x.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(D.URLInput,M()({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(R.omit)(e,["label","help"]))))};ct.defaultProps={label:Object(S.__)("URL",_.i18n),help:null,value:"",onChange:function(){}};var pt=ct,ft=Object(k.forwardRef)(function(e,t){var n=P()([e.className,"ugb-button-component"]);return wp.element.createElement(x.Button,M()({},e,{className:n,ref:t}))});function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gt(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 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}var ht=Object(k.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?mt(Object(n),!0).forEach(function(t){dt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},gt(e,["className","isPressed"]),{className:P()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":"true",focusable:"false"});return Object(k.createElement)("svg",a)},{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(k.createElement)(function(e){return Object(k.createElement)("path",e)},{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"})),bt=[{id:"opensInNewTab",title:Object(S.__)("Opens in new tab",_.i18n)},{id:"noFollowLink",title:Object(S.__)("Nofollow link",_.i18n)}],vt=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=bt.filter(function(t){switch(t.id){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;default:return!0}});return wp.element.createElement(x.Popover,{className:a,focusOnMount:!1,position:e.position},wp.element.createElement(D.__experimentalLinkControl,{value:n,settings:r,showSuggestions:!e.disableSuggestions,onChange:function(t){var a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow},r=Object(R.omitBy)(Object(R.omit)(t,"id","title","type"),function(e,t){return n[t]===e});Object(R.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",_.i18n),value:t}),wp.element.createElement(ft,{icon:ht,type:"submit"}))))};vt.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var yt=vt,wt=n(13);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}var Ct=Object(S.__)("(current %s: %s)",_.i18n),Ot=Object(wt.compose)([D.withColorContext,Object(wt.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.disableCustomColors,n=e.label,a=e.onChange,i=e.value,l=e.className,o=void 0===l?"":l,s=Object(R.compact)(e.colors.map(function(e){return Object(R.isPlainObject)(e)?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){r()(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}({},e,{name:e.name||e.fallback||e.color||Object(S.__)("Untitled Color",_.i18n)}):null})),u=Object(D.getColorObjectByColorValue)(s,i),c=u&&u.name,p=Object(S.sprintf)(Ct,n.toLowerCase(),c||i),f=i;"string"==typeof i&&i.includes("--stk-global-color")&&i.match(/#[\d\w]{6}/)&&(f=i.match(/#[\d\w]{6}/)[0]);var d=wp.element.createElement(k.Fragment,null,n,f&&wp.element.createElement(x.ColorIndicator,{colorValue:f,"aria-label":p}));return wp.element.createElement(x.BaseControl,{className:P()([o,"editor-color-palette-control"]),id:"editor-color-palette-control",label:d},wp.element.createElement(x.ColorPalette,M()({className:"editor-color-palette-control__color-palette",value:f,onChange:function(e){var t=Object(D.getColorObjectByColorValue)(s,e);a(Object($.applyFilters)("stackable.color-palette-control.change",e,t))}},{colors:s,disableCustomColors:t})))}),xt=function(e){return Array.isArray(e)?e.map(function(e){var t,n=l()(e,2),a=n[0],r=n[1];return[a,'"'.concat((t=r,Object(R.escape)(unescape(t))),'"')].join("=")}).join(" "):""},_t=function(e){var t=Object(k.useRef)(),n=Object(k.useState)(!1),a=l()(n,2),i=a[0],o=a[1],s=Object(k.useState)(xt(e.value)),u=l()(s,2),c=u[0],p=u[1];Object(k.useEffect)(function(){t.current!==document.activeElement&&p(xt(e.value))},[JSON.stringify(e.value)]);var f=Object(k.useCallback)(function(t){var n;p(t);var a=document.createElement("div");a.innerHTML="<div ".concat(t," />");var i=(null===(n=a.children[0])||void 0===n?void 0:n.attributes)||[],l=[],s=!1;""===a.innerHTML&&""!==t.trim()&&(s=!0);for(var u=0;u<i.length;u++)if(!e.invalidHtmlAttributes.includes(i[u].name))try{var c=document.createElement("div");Object(k.render)(wp.element.createElement("div",r()({},i[u].name,i[u].value)),c),Object(k.unmountComponentAtNode)(c),document.createElement("div").setAttribute(i[u].name,i[u].value),l.push([i[u].name,escape(i[u].value)])}catch(e){s=!0}o(s),e.onChange(l)},[p,e.invalidHtmlAttributes,e.onChange,o]),d=Object(k.useCallback)(function(){Array.isArray(e.value)&&e.value.length>0&&p(xt(e.value))},[JSON.stringify(e.value)]);return wp.element.createElement(x.TextControl,{ref:t,"data-testid":"custom-attributes",className:"ugb-custom-attributes-control",label:Object(S.__)("Custom Attributes",_.i18n),value:c,onBlur:d,onChange:f,help:wp.element.createElement(k.Fragment,null,Object(S.__)("You can type in custom HTML attributes for this block in the field above.",_.i18n)," ",Object(S.__)("Example:",_.i18n),wp.element.createElement("br",null),wp.element.createElement("code",null,'data-id="my-title"'),wp.element.createElement("br",null),wp.element.createElement(x.ExternalLink,{href:"https://docs.wpstackable.com/article/461-how-to-use-custom-attributes?utm_source=inspector&utm_campaign=learnmore&utm_medium=gutenberg",target:"_docs"},Object(S.__)("Learn more about Custom Attributes",_.i18n)),i&&wp.element.createElement("span",{className:"ugb-custom-attributes-control__error"},Object(S.__)("There is an error in your custom attribute",_.i18n)))})};_t.defaultProps={label:"",value:[],invalidHtmlAttributes:[],onChange:function(){}};var St=n(24),Et=n.n(St);Object(wt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return c()(this,n),g()(this,h()(n).apply(this,arguments))}return w()(n,t),f()(n,[{key:"componentDidMount",value:function(){q(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}]),n}(k.Component),r()(t,"defaultProps",{attributes:{}}),n},"withGoogleFont");var jt=n(11),Tt=n.n(jt);Object(wt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e;return c()(this,n),(e=g()(this,h()(n).apply(this,arguments))).setAttributes=e.setAttributes.bind(v()(e)),e}return w()(n,t),f()(n,[{key:"componentDidUpdate",value:function(e){Object(R.isEqual)(e.attributes,this.props.attributes)||Object($.doAction)("stackable.setAttributes.after")}},{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object($.applyFilters)("stackable.setAttributes",e,this.props);n=Object($.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,M()({},this.props,{setAttributes:this.setAttributes}))}}]),n}(k.Component),r()(t,"propTypes",{setAttributes:Tt.a.func.isRequired}),n},"withSetAttributeHook");function Pt(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}Object(wt.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return c()(this,n),g()(this,h()(n).apply(this,arguments))}return w()(n,t),f()(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.clientId,a="ugb-".concat(n.substring(0,7));t.uniqueClass?t.uniqueClass!==a&&document.querySelectorAll(".".concat(t.uniqueClass)).length>1&&(this.props.attributes.uniqueClass=a):this.props.attributes.uniqueClass=a}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}]),n}(k.Component),r()(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object($.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(s()(e),["uniqueClass"])}),Object($.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?Pt(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var Bt=function(e){return document.querySelector(".ugb-panel--".concat(e))},Mt=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},Nt=function(e){e&&(e.classList.contains("is-active")||e.click())},It=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}Dt(e)}},Dt=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,!Ne()){var r=document.querySelector(".edit-post-sidebar-header");a-=r?r.getBoundingClientRect().height-1:0}document.querySelector(".edit-post-sidebar").scrollTop+=a};function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var zt=!1,At={".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"},Lt={},Ft=[".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"],Ut=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Lt[e],{},At)};Object(O.a)(function(){if(!zt&&(zt=!0,Element.prototype.matches)){var e=Object($.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=Ut(r);if(i){var l=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(l=e[n],!0)}),[].concat(s()(l),Ft).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=Bt(e);if(t){var n=Mt(t);Nt(n),It(t)}if(!t){[".ugb-tab--style",".ugb-tab--layout",".ugb-tab--section",".ugb-tag--advanced"].some(function(n){var a=document.querySelector(n);return Nt(a),(t=Bt(e))&&It(t),!!t})}return t}(i[e])})})}}})}});var Ht=function(e){return Object(wt.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return c()(this,a),g()(this,h()(a).apply(this,arguments))}return w()(a,n),f()(a,[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=P()([this.props.className],r()({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,M()({},this.props,{className:a}))}}]),a}(k.Component),r()(n,"defaultProps",{className:""}),a},"withHelpTip")},Vt=null,Gt={},Wt=[],qt=function(e){return e.replace(/^[\w-]+\//,"")},Kt=function(){var e=Le()(ze.a.mark(function e(){var t,n,a=arguments;return ze.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],Vt&&!t){e.next=9;break}return e.next=4,Ue()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:Vt=e.sent,t&&(Gt={},Wt=[]);case 9:return e.abrupt("return",Vt);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),$t=function(){var e=Le()(ze.a.mark(function e(t){var n,a;return ze.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=qt(t),Gt[n]){e.next=8;break}return e.next=4,Ue()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Gt[n]=e.sent;case 8:return e.abrupt("return",Gt[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Yt=function(){var e=Le()(ze.a.mark(function e(t){var n;return ze.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(Wt[t]){e.next=7;break}return e.next=3,Ue()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:Wt[t]=e.sent;case 7:return e.abrupt("return",Wt[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Qt=function(){var e=Le()(ze.a.mark(function e(){var t,n,a=arguments;return ze.a.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,Ue()({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(O.a)(function(){});var Xt=function(){var e=Le()(ze.a.mark(function e(t){var n,a,r,i,l,o,s,u,c,p,f,d,g,m,h,b,v,y;return ze.a.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,p=void 0===c?[]:c,f=t.categories,d=void 0===f?[]:f,g=t.search,m=void 0===g?"":g,h=t.reset,b=void 0!==h&&h,e.t0=Object,e.next=4,Kt(b);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})),p&&p.length&&(v=v.filter(function(e){return e.colors.some(function(e){return p.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)}}(),Jt=function(){var e=Le()(ze.a.mark(function e(t){var n,a,r,i,l,o;return ze.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Kt();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,$t(i);case 8:return o=e.sent,e.abrupt("return",o[t]);case 12:if(!l){e.next=16;break}return e.next=15,Yt(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)}}(),Zt=function(){var e=Le()(ze.a.mark(function e(){var t;return ze.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Kt();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)}}(),en=n(49),tn=n.n(en),nn=function(e){var t=e.image,n=e.label,a=e.className,r=Et()(e,["image","label","className"]),i=t?t.match(/https?:/i)?t:_.srcUrl?"".concat(_.srcUrl,"/").concat(t):t:"",l="free"!==r.plan,o=l&&!_.isPro&&_.showProNotice;if(l&&!_.isPro&&!_.showProNotice)return null;var s=P()(["ugb-design-layout-selector__item",a],{"is-premium":r.plan&&!_.isPro&&"free"!==r.plan,"is-locked":o}),u=o?"div":"button";return wp.element.createElement(u,M()({className:s},r),wp.element.createElement("div",{className:"ugb-design-layout-selector__wrapper"},o&&wp.element.createElement(x.Icon,{className:"ugb-design-layout-selector__lock",icon:"lock"}),o&&wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=design-library-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",className:"ugb-design-layout-selector__item-premium-button ugb-shadow-4 button button-secondary",target:"_premium",title:Object(S.__)("Learn More",_.i18n)},Object(S.__)("Learn More",_.i18n)),wp.element.createElement("img",{className:"ugb-design-layout-selector__image",src:i,alt:n})),wp.element.createElement("div",{className:"ugb-design-layout-selector__label"},n))};nn.defaultProps={name:"",label:"",className:""};var an=nn;function rn(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 ln={image:tn.a,plan:"free",label:"Basic",id:"basic"},on=function(e){var t=e.name,n=Object(k.useState)([]),a=l()(n,2),i=a[0],o=a[1],s=Object(k.useState)([]),u=l()(s,2),c=u[0],p=u[1],f=Object(k.useState)(!1),d=l()(f,2),g=d[0],m=d[1],h=Object(k.useState)(!0),b=l()(h,2),v=b[0],y=b[1];Object(k.useEffect)(function(){var t=e.name.split("/")[1],n=Object($.applyFilters)("stackable.".concat(t,".edit.layouts"),[]).map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rn(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{plan:e.premium?"premium":"free"})});o(n.length?n:[ln]),Xt({type:"block",block:t}).then(function(t){var a;p(t),y(!1),!t.length&&n.length<=1&&e.setAttributes({design:(null===(a=n[0])||void 0===a?void 0:a.value)||ln.id})})},[]);var w=wp.element.createElement(k.Fragment,null,wp.element.createElement(x.Icon,{icon:"admin-settings"}),Object(S.__)("Pick a layout or design",_.i18n)),C=!!i.length&&wp.element.createElement("div",{className:"ugb-design-layout-selector__layout-items"},(i.filter(function(e){return!Object($.applyFilters)("stackable.".concat(t,".edit.inspector.layout.excludeDesigns"),[]).includes(e.value)})||[]).map(function(t){return wp.element.createElement(an,M()({className:"ugb-design-layout-selector__layout-item",onClick:function(){t.premium&&!_.isPro||(0,e.setAttributes)({design:t.value})},key:t.label},t))})),O=P()("ugb-design-layout-selector__design-library",{"is-busy":v}),E=!!c.length&&wp.element.createElement("div",{className:O},wp.element.createElement("div",{className:"components-placeholder__fieldset ugb-design-layout-selector__design-container"},v&&wp.element.createElement("div",{className:"ugb-design-layout-selector__spinner","data-testid":"spinner"},wp.element.createElement(x.Spinner,null)),wp.element.createElement("div",{className:"ugb-design-layout-selector__design-items"},(c||[]).map(function(t){var n={image:t.image,plan:t.plan,label:t.label};return wp.element.createElement(an,M()({className:"ugb-design-layout-selector__design-item",onClick:function(){(_.isPro||"free"===t.plan)&&(m(!0),Jt(t.id).then(function(t){m(!1),Be(t.attributes,e.clientId)}).catch(function(){m(!1)}))},key:t.label},n))})))),j=P()("ugb-design-layout-selector",{"is-busy":g});return wp.element.createElement(x.Placeholder,{className:j,label:w},g&&wp.element.createElement("div",{className:"ugb-design-layout-selector__spinner","data-testid":"spinner"},wp.element.createElement(x.Spinner,null)),wp.element.createElement("div",{className:"ugb-design-layout-selector__content"},!!i.length&&wp.element.createElement("div",{className:"components-placeholder__instructions"},Object(S.__)("Select a variation to start with.",_.i18n)),C,!!c.length&&wp.element.createElement("div",{className:"components-placeholder__instructions"},!!i.length&&Object(S.__)("Or pick from our Design Library.",_.i18n),!i.length&&Object(S.__)("Select a design from our library to start with.",_.i18n)),E),wp.element.createElement("div",{className:"ugb-design-layout-selector__close-button"},wp.element.createElement(x.ButtonGroup,null,wp.element.createElement(ft,{isLink:!0,isLarge:!0,onClick:function(){if(i.length){var t=i.find(function(e){return!!_.isPro||!e.premium});(0,e.setAttributes)({design:t.value})}}},Object(S.__)("Skip",_.i18n))),!_.isPro&&_.showProNotice&&(!!i.length&&i.some(function(e){return"premium"===e.plan})||!!c.length&&c.some(function(e){return"premium"===e.plan}))&&wp.element.createElement("p",{className:"ugb-design-layout-selector__notice"},Object(S.__)("You can hide premium hints in the settings",_.i18n))))};on.defaultProps={name:""};var sn=on;function un(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 cn=["ugb/column","ugb/columns"],pn=(Object(wt.createHigherOrderComponent)(function(e){var t=function(t){var n=void 0!==t.attributes.design&&""===t.attributes.design;return Object(k.useMemo)(function(){return!cn.includes(t.name)},[])&&n?wp.element.createElement(sn,t):wp.element.createElement(e,t)};return t.defaultProps=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e.defaultProps||{},{attributes:{}}),t},"withDesignLayoutSelector"),function(e){return wp.element.createElement(x.SelectControl,M()({},e,{options:[{value:"",label:Object(S.__)("None",_.i18n)},{value:"normal",label:Object(S.__)("Normal",_.i18n)},{value:"multiply",label:Object(S.__)("Multiply",_.i18n)},{value:"screen",label:Object(S.__)("Screen",_.i18n)},{value:"overlay",label:Object(S.__)("Overlay",_.i18n)},{value:"darken",label:Object(S.__)("Darken",_.i18n)},{value:"lighten",label:Object(S.__)("Lighten",_.i18n)},{value:"color-dodge",label:Object(S.__)("Color Dodge",_.i18n)},{value:"color-burn",label:Object(S.__)("Color Burn",_.i18n)},{value:"hard-light",label:Object(S.__)("Hard Light",_.i18n)},{value:"soft-light",label:Object(S.__)("Soft Light",_.i18n)},{value:"difference",label:Object(S.__)("Difference",_.i18n)},{value:"exclusion",label:Object(S.__)("Exclusion",_.i18n)},{value:"hue",label:Object(S.__)("Hue",_.i18n)},{value:"saturation",label:Object(S.__)("Saturation",_.i18n)},{value:"color",label:Object(S.__)("Color",_.i18n)},{value:"luminosity",label:Object(S.__)("Luminosity",_.i18n)},{value:"initial",label:Object(S.__)("Initial",_.i18n)},{value:"inherit",label:Object(S.__)("Inherit",_.i18n)},{value:"unset",label:Object(S.__)("Unset",_.i18n)}]}))});pn.defaultProps={label:Object(S.__)("Mix Blend Mode",_.i18n),help:Object(S.__)("Not supported in all browsers.",_.i18n)};var fn=Object(wt.compose)(Ht("background-blend-mode"))(pn);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 gn=ae.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),mn=ae.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),hn=ae.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 ae.a.createElement("svg",dn({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),gn,mn,hn)},vn=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(x.BaseControl,{help:e.help},wp.element.createElement(Zn,{label:e.label,screens:e.screens}),wp.element.createElement(D.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(k.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(x.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",_.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)))}})))};vn.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var yn=vn,wn=function(e){return wp.element.createElement(x.TextareaControl,M()({},e,{help:wp.element.createElement(k.Fragment,null,wp.element.createElement(x.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(S.__)("Describe the purpose of the image",_.i18n)),Object(S.__)("Leave empty if the image is purely decorative.",_.i18n))}))};wn.defaultProps={label:Object(S.__)("Alt Text (Alternative Text)",_.i18n)};var kn=wn,Cn=n(50),On=n.n(Cn),xn=n(51),_n=n.n(xn),Sn=n(52),En=n.n(Sn),jn=n(53),Tn=n.n(jn),Pn=function(e){return wp.element.createElement(k.Fragment,null,wp.element.createElement(Hi,M()({},e,{className:P()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[].concat(s()(e.hasDefault?[{label:Object(S.__)("Default",_.i18n),value:"",image:On.a}]:[]),[{label:Object(S.__)("Square",_.i18n),value:"square",image:_n.a},{label:Object(S.__)("Circle",_.i18n),value:"circle",image:En.a},{label:Object(S.sprintf)(Object(S.__)("Blob %s",_.i18n),1),value:"blob1",image:Tn.a}],s()(Object($.applyFilters)("stackable.image.control.shapes",[])))})),_.showProNotice&&wp.element.createElement(cs,{type:"image"}))};Pn.defaultProps={className:"",label:Object(S.__)("Shape",_.i18n),selected:"",hasDefault:!0};var Bn=Pn,Mn=function(e){var t=e.imageData?he(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(k.Fragment,null,e.onChangeShape&&wp.element.createElement(Bn,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Flip Shape Horizontally",_.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Flip Shape Vertically",_.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Stretch Shape Mask",_.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};Mn.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Nn=Object(wt.compose)([Object(ge.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(Mn),In=function(e){var t=e.imageSizes,n=e.value,a=e.className,r=Et()(e,["imageSizes","value","className"]),i=function(e){return Object(R.map)(e,function(e){var t=e.name;return{value:e.slug,label:t}})}(t);return Object(R.isEmpty)(i)?null:wp.element.createElement(x.SelectControl,M()({},r,{value:n||"large",options:i,className:P()(a,["ugb--help-tip-image-size"])}))};In.defaultProps={className:"",label:Object(S.__)("Image Size"),value:"large",imageSizes:[],onChange:function(){}};var Dn=Object(wt.compose)([Object(ge.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(In),Rn=function(e){var t=e.label,n=e.setAttributes,a=e.enablePaddingTop,r=e.enablePaddingRight,i=e.enablePaddingBottom,l=e.enablePaddingLeft,o=e.attributes,s=o.columnPaddingTop,u=void 0===s?"":s,c=o.columnPaddingBottom,p=void 0===c?"":c,f=o.columnPaddingRight,d=void 0===f?"":f,g=o.columnPaddingLeft,m=void 0===g?"":g,h=o.columnPaddingUnit,b=void 0===h?"px":h,v=o.tabletColumnPaddingTop,y=void 0===v?"":v,w=o.tabletColumnPaddingBottom,C=void 0===w?"":w,O=o.tabletColumnPaddingRight,x=void 0===O?"":O,_=o.tabletColumnPaddingLeft,S=void 0===_?"":_,E=o.tabletColumnPaddingUnit,j=void 0===E?"px":E,T=o.mobileColumnPaddingTop,P=void 0===T?"":T,B=o.mobileColumnPaddingBottom,M=void 0===B?"":B,N=o.mobileColumnPaddingRight,I=void 0===N?"":N,D=o.mobileColumnPaddingLeft,R=void 0===D?"":D,z=o.mobileColumnPaddingUnit,A=void 0===z?"px":z;return wp.element.createElement(k.Fragment,null,wp.element.createElement(zo,{label:t,className:"ugb--help-tip-advanced-column-paddings",defaultLocked:!0,min:[0,0,0],sliderMax:[500,100,100],step:1,valueDesktop:{top:u,right:d,bottom:p,left:m},valueDesktopUnit:b,onChangeDesktop:function(e){n({columnPaddingTop:e.top,columnPaddingRight:e.right,columnPaddingBottom:e.bottom,columnPaddingLeft:e.left})},onChangeDesktopUnit:function(e){return n({columnPaddingUnit:e})},valueTablet:{top:y,right:x,bottom:C,left:S},valueTabletUnit:j,onChangeTablet:function(e){n({tabletColumnPaddingTop:e.top,tabletColumnPaddingBottom:e.bottom,tabletColumnPaddingRight:e.right,tabletColumnPaddingLeft:e.left})},onChangeTabletUnit:function(e){return n({tabletColumnPaddingUnit:e})},valueMobile:{top:P,right:I,bottom:M,left:R},valueMobileUnit:A,onChangeMobile:function(e){n({mobileColumnPaddingTop:e.top,mobileColumnPaddingBottom:e.bottom,mobileColumnPaddingRight:e.right,mobileColumnPaddingLeft:e.left})},onChangeMobileUnit:function(e){return n({mobileColumnPaddingUnit:e})},enableTop:a,enableRight:r,enableBottom:i,enableLeft:l}))};Rn.defaultProps={setAttributes:function(){},label:Object(S.__)("Column Paddings",_.i18n),attributes:{},enablePaddingTop:!0,enablePaddingRight:!0,enablePaddingBottom:!0,enablePaddingLeft:!0};var zn=n(32),An=n.n(zn);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=ae.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 ae.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=ae.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 ae.a.createElement("svg",Hn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Vn)};function Wn(){return(Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.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 ae.a.createElement("svg",Wn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),qn)},$n={desktop:wp.element.createElement(Un,null),tablet:wp.element.createElement(Kn,null),mobile:wp.element.createElement(Gn,null)},Yn={desktop:Object(S.__)("Desktop",_.i18n),tablet:Object(S.__)("Tablet",_.i18n),mobile:Object(S.__)("Mobile",_.i18n)},Qn=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={screen:Ge(),isScreenPickerOpen:qe(),isMouseOver:!1},e}return w()(t,e),f()(t,[{key:"onChangeScreen",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e}),function(e){Ve=e}(e),Object($.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($.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object($.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object($.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($.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object($.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object($.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(ft,{className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:$n[t],showTooltip:!1,label:Yn[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(x.Popover,{focusOnMount:!1,position:"bottom center",className:"components-tooltip","aria-hidden":"true"},Yn[t]))}))}}]),t}(k.Component);Qn.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var Xn=Object(wt.withInstanceId)(Qn),Jn=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(Xn,{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))};Jn.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var Zn=Jn,ea=!!x.__experimentalNumberControl,ta=function(e){var t=e.allowReset,n=e.withInputField,a=e.isShiftStepEnabled,r=Et()(e,["allowReset","withInputField","isShiftStepEnabled"]),i=Object(k.useState)(""===e.value||isNaN(e.value)?"":e.value),o=l()(i,2),s=o[0],u=o[1],c=function(t){if(u(t),!isNaN(t)){var n=parseFloat(t);if(!isNaN(n))return void e.onChange(Object(R.clamp)(n,e.min,e.max))}e.onChange(e.resetFallbackValue)},p=P()(["ugb-range-control",e.className],{"ugb-range-control--blank":""===s}),f=""===s,d=e.initialPosition||e.placeholder||"",g=function(e,t,n){var a=(e-t)/(n-t)*100;return"".concat(Object(R.clamp)(a,0,100),"%")}((f?d:s)||e.sliderMin||e.min||0,e.sliderMin||e.min||0,e.sliderMax||e.max||100);return wp.element.createElement("div",{className:p,style:{"--ugb-advanced-range-control--width":g}},wp.element.createElement(x.RangeControl,M()({},r,{initialPosition:"",onChange:c,withInputField:!1,allowReset:!1,max:null!==e.sliderMax?e.sliderMax:e.max,min:null!==e.sliderMin?e.sliderMin:e.min})),n&&ea&&wp.element.createElement(x.__experimentalNumberControl,{disabled:e.disabled,isShiftStepEnabled:a,max:e.max,min:e.min,onChange:c,onBlur:function(){if(!isNaN(s)){var t=parseFloat(s);if(!isNaN(t))return void u(Object(R.clamp)(t,e.min,e.max))}u(e.resetFallbackValue)},shiftStep:e.shiftStep,step:e.step,value:s,placeholder:null!==e.placeholder?e.placeholder:d}),t&&wp.element.createElement(ft,{className:"components-range-control__reset",disabled:e.disabled,isSecondary:!0,isSmall:!0,onClick:function(){u(e.resetFallbackValue),e.onChange(e.resetFallbackValue)}},Object(S.__)("Reset",_.i18n)))};ta.defaultProps={className:"",allowReset:!1,withInputField:!0,isShiftStepEnabled:!0,max:1/0,min:-1/0,sliderMax:null,sliderMin:null,shiftStep:10,step:1,resetFallbackValue:"",placeholder:null,initialPosition:0,onChange:function(){}};var na=ta;function aa(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 ra=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aa(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(R.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,t.placeholder=e.placeholder;var a=e.placeholder;if(Array.isArray(a)||"object"!==An()(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 i=Ge()||"desktop";a=void 0!==a[i]?a[i]: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)}var l=P()(["ugb-advanced-range-control",e.className]);return wp.element.createElement(x.BaseControl,{help:e.help,className:l},wp.element.createElement(Zn,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(na,t))};ra.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:"",min:0,max:100};var ia=ra,la=function(e){return wp.element.createElement(x.BaseControl,{help:e.help,className:P()("ugb-advanced-select-control",e.className)},wp.element.createElement(Zn,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.SelectControl,Object(R.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};la.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var oa=la,sa=function(e){return wp.element.createElement(x.BaseControl,{help:e.help,className:P()("ugb-advanced-text-control",e.className)},wp.element.createElement(Zn,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.TextControl,Object(R.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};sa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var ua=n(54),ca=n.n(ua);function pa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var fa=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return da(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"string"==typeof e?a.test(e):a.test(e.label)||a.test(e.value)})},da=function(e){return!(!e.length||"object"!==An()(e[0].options))},ga=function(e,t){if(!t.length)return e;if(!da(t)){var n=t.filter(function(t){return("string"==typeof t?t: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},ma=function(e){return e.value},ha=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},ba=function(e){return e.options},va=function(){return!0},ya=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={value:"",label:"",suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(v()(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(v()(e)),e.onChange=e.onChange.bind(v()(e)),e.onFocus=e.onFocus.bind(v()(e)),e.autosuggestDiv=Object(k.createRef)(),e}return w()(t,e),f()(t,[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:ga(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(this.props.disableAutoIndex)this.setState({suggestions:fa("",this.props.options)});else if("input-focused"!==n&&"suggestion-selected"!==n){var a=fa(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"componentDidMount",value:function(){this.props.options.length&&this.props.value&&this.setState({value:this.props.value,label:this.props.value?ga(this.props.value,this.props.options):this.props.value,suggestions:fa(this.props.disableAutoIndex?"":this.props.value,this.props.options)})}},{key:"componentWillReceiveProps",value:function(e){this.setState({value:e.value,label:e.value?ga(e.value,e.options):e.value,suggestions:fa(this.props.disableAutoIndex?"":e.value,e.options)})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this,t=this.state,n=t.label,a=t.suggestions,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pa(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({placeholder:this.props.placeholder,value:n,onChange:this.onChange,onFocus:this.onFocus,type:"search"},this.props.inputProps);return wp.element.createElement(x.BaseControl,{help:this.props.help,className:P()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(Zn,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(ca.a,{multiSection:da(this.props.options),suggestions:a,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.props.onSuggestionSelected,getSuggestionValue:this.props.getSuggestionValue||ma,renderSuggestion:function(t){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":t.value,id:"ugb-autosuggest-option--".concat(t.id||Object(R.kebabCase)(t.value))},e.props.renderOption?e.props.renderOption(t):t.label)},renderSectionTitle:ha,getSectionSuggestions:ba,shouldRenderSuggestions:va,inputProps:i,renderInputComponent:this.props.renderInputComponent?this.props.renderInputComponent:function(e){return wp.element.createElement("input",e)}}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}]),t}(k.Component);ya.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(S.__)("No matches found",_.i18n),renderOption:null,highlightValueOnFocus:!1,placeholder:"",getSuggestionValue:null,disableAutoIndex:!1,onSuggestionSelected:function(){},renderInputComponent:null,inputProps:{}};var wa=ya;function ka(){return(ka=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ca=ae.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"}),Oa=function(e){return ae.a.createElement("svg",ka({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ca)};function xa(){return(xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _a=ae.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"}),Sa=function(e){return ae.a.createElement("svg",xa({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),_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=ae.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"}),Ta=function(e){return ae.a.createElement("svg",Ea({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ja)};function Pa(){return(Pa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.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"}),Ma=function(e){return ae.a.createElement("svg",Pa({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=ae.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"}),Da=function(e){return ae.a.createElement("svg",Na({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ia)};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=ae.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"}),Aa=function(e){return ae.a.createElement("svg",Ra({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),za)};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=ae.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"}),Ua=function(e){return ae.a.createElement("svg",La({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Fa)};function Ha(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 Va=[{value:"flex-start",title:Object(S.__)("Align Left",_.i18n),icon:wp.element.createElement(Ta,null)},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:wp.element.createElement(Sa,null)},{value:"flex-end",title:Object(S.__)("Align Right",_.i18n),icon:wp.element.createElement(Ma,null)}],Ga=[{value:"flex-start",title:Object(S.__)("Align Top",_.i18n),icon:wp.element.createElement(Aa,null)},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:wp.element.createElement(Ua,null)},{value:"flex-end",title:Object(S.__)("Align Bottom",_.i18n),icon:wp.element.createElement(Oa,null)},{value:"stretch",title:Object(S.__)("Stretch",_.i18n),icon:wp.element.createElement(Da,null)}],Wa={"flex-horizontal":Va,"flex-vertical":[{value:"flex-start",title:Object(S.__)("Align Top",_.i18n),icon:wp.element.createElement(Aa,null)},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:wp.element.createElement(Ua,null)},{value:"flex-end",title:Object(S.__)("Align Bottom",_.i18n),icon:wp.element.createElement(Oa,null)}],"flex-vertical-with-stretch":Ga},qa=function(e){var t="string"==typeof e.controls?Wa[e.controls]:e.controls,n=P()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(x.BaseControl,{help:e.help,className:P()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(Zn,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.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?Ha(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{onClick:function(){e.isToggleOnly&&t.value===e.value||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(ft,M()({key:n},a))}),className:n}))};qa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0,isSmall:!1,isToggleOnly:!1};var Ka=qa,$a=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(ia,M()({},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)}}))};$a.defaultProps={label:Object(S.__)("Font Size",_.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};var Ya=$a,Qa=n(55).map(function(e){return{label:e.family,value:e.family}}),Xa=function(e){var t=Object(k.useMemo)(function(){return Object($.applyFilters)("stackable.font-family-control.options",[{id:"system-fonts",title:Object(S.__)("System Fonts",_.i18n),options:[{label:Object(S.__)("Sans-Serif",_.i18n),value:"Sans-Serif"},{label:Object(S.__)("Serif",_.i18n),value:"Serif"},{label:Object(S.__)("Serif Alternative",_.i18n),value:"Serif-Alt"},{label:Object(S.__)("Monospace",_.i18n),value:"Monospace"}]},{id:"google-fonts",title:Object(S.__)("Google Fonts",_.i18n),options:Qa}])},[]);return wp.element.createElement(wa,M()({options:t,highlightValueOnFocus:!0},e,{onChange:function(t){Qa.some(function(e){return e.value===t&&(G(t),!0)}),e.onChange(t)}}))};Xa.defaultProps={onChange:function(){},label:Object(S.__)("Font Family",_.i18n),value:""};var Ja=Xa;function Za(){return(Za=Object.assign||function(e){for(var t=1;t<arguments.length;t++){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 er(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 tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nr(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){tr(e,t,n[t])})}return e}function ar(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rr(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 ir(e,t,n){return t&&rr(e.prototype,t),n&&rr(e,n),e}function lr(e){return(lr="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 or(e){return(or="function"==typeof Symbol&&"symbol"===lr(Symbol.iterator)?function(e){return lr(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":lr(e)})(e)}function sr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ur(e,t){return!t||"object"!==or(t)&&"function"!=typeof t?sr(e):t}function cr(e){return(cr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function pr(e,t){return(pr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function fr(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&&pr(e,t)}var dr=n(37),gr=n(28),mr=n.n(gr);function hr(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 br=function(){function e(){ar(this,e),tr(this,"refs",{})}return ir(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(vr)}}]),e}();function vr(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function yr(e,t){return Object.keys(e).reduce(function(n,a){return-1===t.indexOf(a)&&(n[a]=e[a]),n},{})}var wr={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},kr=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 Cr(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}function Or(e,t){e.style["".concat(kr,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function xr(e,t){e.style["".concat(kr,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function _r(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function Sr(e,t,n){return Math.max(e,Math.min(n,t))}function Er(e){return"px"===e.substr(-2)?parseFloat(e):0}function jr(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function Tr(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function Pr(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 Br(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:Br(e.parentNode,t,a)}}function Mr(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);mr()(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 mr()(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 Nr(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:Nr(e.parentNode):null}var Ir=27,Dr=32,Rr=37,zr=38,Ar=39,Lr=40,Fr={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Ur(e){return null!=e.sortableHandle}var Hr=function(){function e(t,n){ar(this,e),this.container=t,this.onScrollCallback=n}return ir(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,p=this.container,f=p.scrollTop,d=p.scrollLeft,g=p.scrollHeight,m=p.scrollWidth,h=0===f,b=g-f-p.clientHeight==0,v=0===d,y=m-d-p.clientWidth==0;n.y>=r.y-l/2&&!b?(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&&!h?(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 Vr={axis:Tt.a.oneOf(["x","y","xy"]),contentWindow:Tt.a.any,disableAutoscroll:Tt.a.bool,distance:Tt.a.number,getContainer:Tt.a.func,getHelperDimensions:Tt.a.func,helperClass:Tt.a.string,helperContainer:Tt.a.oneOfType([Tt.a.func,"undefined"==typeof HTMLElement?Tt.a.any:Tt.a.instanceOf(HTMLElement)]),hideSortableGhost:Tt.a.bool,keyboardSortingTransitionDuration:Tt.a.number,lockAxis:Tt.a.string,lockOffset:Tt.a.oneOfType([Tt.a.number,Tt.a.string,Tt.a.arrayOf(Tt.a.oneOfType([Tt.a.number,Tt.a.string]))]),lockToContainerEdges:Tt.a.bool,onSortEnd:Tt.a.func,onSortMove:Tt.a.func,onSortOver:Tt.a.func,onSortStart:Tt.a.func,pressDelay:Tt.a.number,pressThreshold:Tt.a.number,keyCodes:Tt.a.shape({lift:Tt.a.arrayOf(Tt.a.number),drop:Tt.a.arrayOf(Tt.a.number),cancel:Tt.a.arrayOf(Tt.a.number),up:Tt.a.arrayOf(Tt.a.number),down:Tt.a.arrayOf(Tt.a.number)}),shouldCancelStart:Tt.a.func,transitionDuration:Tt.a.number,updateBeforeSortStart:Tt.a.func,useDragHandle:Tt.a.bool,useWindowAsScrollContainer:Tt.a.bool},Gr={lift:[Dr],drop:[Dr],cancel:[Ir],up:[zr,Rr],down:[Lr,Ar]},Wr={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:Gr,shouldCancelStart:function(e){return-1!==[Fr.Input,Fr.Textarea,Fr.Select,Fr.Option,Fr.Button].indexOf(e.target.tagName)||!!_r(e.target,function(e){return"true"===e.contentEditable})},transitionDuration:300,useWindowAsScrollContainer:!1},qr=Object.keys(Vr);var Kr={index:Tt.a.number.isRequired,collection:Tt.a.oneOfType([Tt.a.number,Tt.a.string]),disabled:Tt.a.bool},$r=Object.keys(Kr);var Yr=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 ar(this,n),tr(sr(sr(t=ur(this,cr(n).call(this,e)))),"state",{}),tr(sr(sr(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=Pr(e);var i=_r(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&&!_r(e.target,Ur))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!==Fr.Anchor||e.preventDefault(),a||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}}}),tr(sr(sr(t)),"nodeIsChild",function(e){return e.sortableInfo.manager===t.manager}),tr(sr(sr(t)),"handleMove",function(e){var n=t.props,a=n.distance,r=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=Pr(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))}}),tr(sr(sr(t)),"handleEnd",function(){t.touched=!1,t.cancel()}),tr(sr(sr(t)),"cancel",function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)}),tr(sr(sr(t)),"handlePress",function(e){try{var n=t.manager.getActive(),a=function(){if(n){var a=function(){var n,a,r,u,m,h,b=f.sortableInfo.index,v=(n=f,{bottom:Er((a=window.getComputedStyle(n)).marginBottom),left:Er(a.marginLeft),right:Er(a.marginRight),top:Er(a.marginTop)}),y=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:Er(t.gridColumnGap),y:Er(t.gridRowGap)}:{x:0,y:0}}(t.container),w=t.scrollContainer.getBoundingClientRect(),k=l({index:b,node:f,collection:d});if(t.node=f,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=f.getBoundingClientRect(),t.containerBoundingRect=w,t.index=b,t.newIndex=b,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=Br(f,t.container),t.initialOffset=Pr(g?nr({},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=f).querySelectorAll(u),hr((h=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===Fr.Canvas&&m[t].width>0&&m[t].height>0&&e.getContext("2d").drawImage(m[t],0,0)}),h)),Cr(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=f,Cr(f,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},g){var C=p?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,O=C.top,x=C.left,_=C.width,S=O+C.height,E=x+_;t.axis.x&&(t.minTranslate.x=x-t.boundingClientRect.left,t.maxTranslate.x=E-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=O-t.boundingClientRect.top,t.maxTranslate.y=S-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(p?0:w.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(p?t.contentWindow.innerWidth:w.left+w.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(p?0:w.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(p?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?f:t.contentWindow,g?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(wr.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),wr.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)})),t.setState({sorting:!0,sortingIndex:b}),c&&c({node:f,index:b,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,p=r.useWindowAsScrollContainer,f=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=f.sortableInfo.index;return Promise.resolve(u({collection:d,index:t,node:f,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)}}),tr(sr(sr(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)}),tr(sr(sr(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)):(wr.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),wr.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}))),t.helper.parentNode.removeChild(t.helper),a&&t.sortableGhost&&Cr(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=s.length;u<c;u++){var p=s[u],f=p.node;p.edgeOffset=null,p.boundingClientRect=null,Or(f,null),xr(f,null),p.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}),tr(sr(sr(t)),"autoscroll",function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var a=nr({},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,Or(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})}}),tr(sr(sr(t)),"onAutoScroll",function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()}),tr(sr(sr(t)),"handleKeyDown",function(e){var n=e.keyCode,a=t.props,r=a.shouldCancelStart,i=a.keyCodes,l=nr({},Gr,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))}),tr(sr(sr(t)),"keyLift",function(e){var n=e.target,a=_r(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)}),tr(sr(sr(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||Tr(s,u),p=o.translate||{x:0,y:0},f=c.top+p.y-u.top,d=c.left+p.x-u.left,g=i<r,m=g&&t.axis.x?s.offsetWidth-t.width:0,h=g&&t.axis.y?s.offsetHeight-t.height:0;t.handleSortMove({pageX:d+m,pageY:f+h,ignoreTransition:0===e})}}),tr(sr(sr(t)),"keyDrop",function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()}),tr(sr(sr(t)),"handleKeyEnd",function(e){t.manager.active&&t.keyDrop(e)}),tr(sr(sr(t)),"isValidSortingTarget",function(e){var n=t.props.useDragHandle,a=e.target,r=_r(a,function(e){return null!=e.sortableInfo});return r&&r.sortableInfo&&!r.sortableInfo.disabled&&(n?Ur(a):a.sortableInfo)}),function(e){mr()(!(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 br,t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return fr(n,ne["Component"]),ir(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:Nr(e.container)||e.container,e.autoScroller=new Hr(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach(function(t){return wr[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 wr[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=Pr(e),p={x:c.x-this.initialOffset.x,y:c.y-this.initialOffset.y};if(p.y-=window.pageYOffset-this.initialWindowScroll.top,p.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=p,r){var f=function(e){var t=e.height,n=e.width,a=e.lockOffset,r=Array.isArray(a)?a:[a,a];mr()(2===r.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",a);var i=er(r,2),l=i[0],o=i[1];return[Mr({height:t,lockOffset:l,width:n}),Mr({height:t,lockOffset:o,width:n})]}({height:this.height,lockOffset:a,width:this.width}),d=er(f,2),g=d[0],m=d[1],h={x:this.width/2-g.x,y:this.height/2-g.y},b={x:this.width/2-m.x,y:this.height/2-m.y};p.x=Sr(this.minTranslate.x+h.x,this.maxTranslate.x-b.x,p.x),p.y=Sr(this.minTranslate.y+h.y,this.maxTranslate.y-b.y,p.y)}"x"===n?p.y=0:"y"===n&&(p.x=0),s&&o&&!u&&xr(this.helper,o),Or(this.helper,p)}},{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 p=0,f=l.length;p<f;p++){var d=l[p].node,g=d.sortableInfo.index,m=d.offsetWidth,h=d.offsetHeight,b={height:this.height>h?h/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[p].edgeOffset;k||(k=Br(d,this.container),l[p].edgeOffset=k,u&&(l[p].boundingClientRect=Tr(d,r)));var C=p<l.length-1&&l[p+1],O=p>0&&l[p-1];C&&!C.edgeOffset&&(C.edgeOffset=Br(C.node,this.container),u&&(C.boundingClientRect=Tr(C.node,r))),g!==this.index?(t&&xr(d,t),this.axis.x?this.axis.y?y||g<this.index&&(o+i.left-b.width<=k.left&&s+i.top<=k.top+b.height||s+i.top+b.height<=k.top)?(w.x=this.width+this.marginOffset.x,k.left+w.x>this.containerBoundingRect.width-b.width&&C&&(w.x=C.edgeOffset.left-k.left,w.y=C.edgeOffset.top-k.top),null===this.newIndex&&(this.newIndex=g)):(v||g>this.index&&(o+i.left+b.width>=k.left&&s+i.top+b.height>=k.top||s+i.top+b.height>=k.top+h))&&(w.x=-(this.width+this.marginOffset.x),k.left+w.x<this.containerBoundingRect.left+b.width&&O&&(w.x=O.edgeOffset.left-k.left,w.y=O.edgeOffset.top-k.top),this.newIndex=g):v||g>this.index&&o+i.left+b.width>=k.left?(w.x=-(this.width+this.marginOffset.x),this.newIndex=g):(y||g<this.index&&o+i.left<=k.left+b.width)&&(w.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=g)):this.axis.y&&(v||g>this.index&&s+i.top+b.height>=k.top?(w.y=-(this.height+this.marginOffset.y),this.newIndex=g):(y||g<this.index&&s+i.top<=k.top+b.height)&&(w.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=g))),Or(d,w),l[p].translate=w):n&&(this.sortableGhost=d,Cr(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),u&&(this.newIndex=c);var x=u?this.prevIndex:c;a&&this.newIndex!==x&&a({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:x,isKeySorting:u,nodes:l,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return mr()(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(dr.findDOMNode)(this):e(a.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=a.withRef?"wrappedInstance":null;return Object(ne.createElement)(e,Za({ref:t},yr(this.props,qr)))}},{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}(),tr(t,"displayName",jr("sortableList",e)),tr(t,"defaultProps",Wr),tr(t,"propTypes",Vr),tr(t,"childContextTypes",{manager:Tt.a.object.isRequired}),n}(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),Qr=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 ar(this,n),ur(this,cr(n).apply(this,arguments))}return fr(n,ne["Component"]),ir(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(dr.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 mr()(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(ne.createElement)(e,Za({ref:t},yr(this.props,$r)))}}]),n}(),tr(t,"displayName",jr("sortableElement",e)),tr(t,"contextTypes",{manager:Tt.a.object.isRequired}),tr(t,"propTypes",Kr),tr(t,"defaultProps",{collection:0}),n}(function(e){var t=e.value,n=(e.key,e.index,Et()(e,["value","key","index"]));return wp.element.createElement("div",M()({className:"ugb-sort-control__item"},n),t)}),Xr=!1,Jr=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(R.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(x.BaseControl,{help:t.help,className:P()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(Zn,M()({label:t.label},Object(R.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(ft,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(S.__)("Reset")):null})),wp.element.createElement(Yr,{onSortStart:function(){return Xr=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,r=e.newIndex;Xr=!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(Qr,{key:n,index:n,value:e,onMouseEnter:function(){Xr||t.onHover(n)},onMouseLeave:function(){Xr||t.onHover(null)}})})))};Jr.defaultProps={className:"",help:"",label:Object(S.__)("Column Arrangement",_.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};function Zr(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 ei(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ti={},ni={};Object($.addAction)("stackable.inspector.tab.click","stackable/panel-memory",function(e,t){ni[e]=t}),Object($.addAction)("stackable.inspector.tab.initial","stackable/panel-memory",function(e,t){void 0===ni[e]&&(ni[e]=t)});var ai=function(e){var t=function(t){var n=Object(k.useMemo)(function(){return Object(ge.select)("core/block-editor").getSelectedBlockClientId()},[]),a=ei({},t,{onToggle:function(e,a){if(n&&t.withCaching){var r=(l=a.current,(o=l.closest("[data-ugb-tab]"))?o.getAttribute("data-ugb-tab"):""),i="".concat(n,"-").concat(r);ni[n]=r,ti[i]=e?t.title:null}var l,o;t.onToggle(e)}});if(n&&t.withCaching){var r=ni[n]||"",i="".concat(n,"-").concat(r),l=ti[i];l?a.initialOpen=l===t.title:null===l&&(a.initialOpen=!1)}return wp.element.createElement(k.Fragment,null,wp.element.createElement(e,a))};return t.defaultProps=ei({},e.defaultProps||{},{withCaching:!0}),t};function ri(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 ii=1,li=function(e){function t(e){var n;return c()(this,t),(n=g()(this,h()(t).apply(this,arguments))).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(v()(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(v()(n)),n.instanceId=ii++,n.panelRef=Object(k.createRef)(),n}return w()(t,e),f()(t,[{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?ri(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ri(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,r()({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object($.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object($.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?Dt(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&Dt(this.panelRef.current)}this.props.onToggle(!this.state.opened,this.panelRef)}},{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"],r()({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(x.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(k.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(x.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||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",_.i18n):Object(S.__)("Advanced",_.i18n)))}}]),t}(k.Component);li.defaultProps={id:"",className:"",title:Object(S.__)("Settings",_.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:"",onToggle:function(){}};var oi=ai(li);var si=function(e){var t=e.blockProps;return wp.element.createElement(oi,M()({title:Object(S.__)("Spacing",_.i18n)},e,{className:P()(["ugb--help-tip-spacing",e.className])}),Object($.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object($.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};si.defaultProps={className:"",blockProps:{}};var ui=function(e){var t=P()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};ui.defaultProps={tab:"layout"};var ci=function(e){var t=Object(k.useState)(!1),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)(""),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)([]),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)(!0),m=l()(g,2),h=m[0],b=m[1],v=Object(k.useState)(""),y=l()(v,2),w=y[0],C=y[1];return Object(k.useEffect)(function(){var t=!0;return Xt({type:"block",block:e.block,search:s}).then(function(e){t&&d(e)}).finally(function(){t&&b(!1)}),function(){t=!1}},[e.block,s]),wp.element.createElement("div",null,wp.element.createElement(ft,{className:"ugb-design-library-control__open-library",label:Object(S.__)("Open Design Library",_.i18n),isSmall:!0,isLink:!0,onClick:function(){return r(!0)}},Object(S.__)("Open Design Library",_.i18n)),wp.element.createElement(x.TextControl,{placeholder:Object(S.__)("E.g. light, dark, red, minimalist...",_.i18n),value:s,onChange:function(e){return u(e)}}),!_.isPro&&wp.element.createElement(Ka,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(S.__)("All",_.i18n),wp.element.createElement("span",null,f.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",_.i18n),wp.element.createElement("span",null,f.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",_.i18n),wp.element.createElement("span",null,f.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:w,onChange:function(e){return C(e)}}),wp.element.createElement(Pi,{designs:f.filter(function(e){var t=e.plan;return!w||t===w}),isBusy:h,onSelect:e.onSelect}),a&&wp.element.createElement(Om,{search:s,selectedBlock:e.block,onClose:function(){r(!1),u("")},onSelect:function(t){e.onSelect(t),r(!1)}}))};ci.defaultProps={block:"",onSelect:function(){}};function pi(){return(pi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.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"}),di=ae.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}),gi=ae.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"}),mi=ae.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"}),hi=function(e){return ae.a.createElement("svg",pi({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),fi,di,gi,mi)};function bi(){return(bi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vi=ae.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"}),yi=function(e){return ae.a.createElement("svg",bi({xmlns:"http://www.w3.org/2000/svg"},e),vi)};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=ae.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"}),Ci=function(e){return ae.a.createElement("svg",wi({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ki)},Oi=function(e){return Object(k.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(O.a)(function(){if(!document.querySelector("svg.ugb-stackable-gradient")){var e=document.createElement("DIV");e.setAttribute("style","height: 0; width: 0; overflow: hidden;"),e.setAttribute("aria-hidden","true"),document.querySelector("body").appendChild(e),Object(k.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 xi=function(e){var t=e.className;return wp.element.createElement(hi,{className:t,width:"20",height:"20"})},_i=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={isOpen:!1,slide:0},e.open=e.open.bind(v()(e)),e.close=e.close.bind(v()(e)),e.prev=e.prev.bind(v()(e)),e.next=e.next.bind(v()(e)),e}return w()(t,e),f()(t,[{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=".concat(this.props.buttonUtmSource,"&utm_campaign=learnmore&utm_medium=gutenberg"),target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(x.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",_.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",_.i18n)},wp.element.createElement(xi,null),Object(S.__)("Upgrade to Premium",_.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",_.i18n)},Object(S.__)("Try Premium Demo",_.i18n)))))}}]),t}(k.Component);_i.defaultProps={button:Object(S.__)("Learn More",_.i18n),buttonClassName:"button button-secondary",tag:"div",buttonUtmSource:"editor-learn-more"};var Si=_i,Ei=function(e){var t=e.designId,n=e.image,a=e.label,i=e.onClick,o=e.plan,s=e.isPro,u=Object(k.useState)(!1),c=l()(u,2),p=c[0],f=c[1],d=Object(k.useState)(!1),g=l()(d,2),m=g[0],h=g[1],b=P()(["ugb-design-library-item"],r()({"ugb--is-busy":p},"ugb--is-".concat(o),!s&&"free"!==o));return wp.element.createElement("div",{className:b,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}},p&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(x.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),Jt(t).then(function(e){f(!1),i(e)}))}},!s&&"free"!==o&&wp.element.createElement(x.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&&!m&&wp.element.createElement("span",null,a),!s&&"free"!==o&&m&&wp.element.createElement(Si,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(k.Fragment,null,e.premiumLabel)})))};Ei.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:_.isPro,premiumLabel:Object(S.__)("Go Premium",_.i18n)};var ji=Ei,Ti=function(e){var t=e.designs,n=e.isBusy,a=e.onSelect,i=P()(["ugb-design-library-items"],r()({},"ugb-design-library-items--columns-".concat(e.columns),!n&&e.columns));return wp.element.createElement("div",{className:i},(t||[]).map(function(e,t){return wp.element.createElement(ji,{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(x.Spinner,null)),!n&&!(t||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(S.__)("No designs found",_.i18n)))};Ti.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var Pi=Ti;n(156);function Bi(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 Mi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bi(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ni={},Ii=function(e){var t=function(t){var n,a=t.initialTab||Ni[t.blockProps.clientId]||(n=t.blockProps,Pe[n.name]||(Pe[n.name]=Object(Se.createBlock)(n.name).attributes),Object.keys(Pe[n.name]).every(function(e){return!!Te.includes(e)||Pe[n.name][e]===n.attributes[e]})?Object(R.first)(t.tabs)||"layout":"style");Object($.doAction)("stackable.inspector.tab.initial",t.blockProps.clientId,a);var r=Mi({},t,{initialTab:a,onClick:function(e){Ni[t.blockProps.clientId]=e,Object($.doAction)("stackable.inspector.tab.click",t.blockProps.clientId,e),t.onClick(e)}});return wp.element.createElement(k.Fragment,null,wp.element.createElement(e,r))};return t.defaultProps=Mi({},e.defaultProps||{}),t},Di=[{value:"layout",title:Object(S.__)("Layout",_.i18n),label:Object(S.__)("Layout Tab",_.i18n),icon:"admin-settings"},{value:"style",title:Object(S.__)("Style",_.i18n),label:Object(S.__)("Style Tab",_.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(S.__)("Advanced",_.i18n),label:Object(S.__)("Advanced Tab",_.i18n),icon:"admin-tools"}],Ri=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(v()(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(v()(e)),e.select=e.select.bind(v()(e)),e.containerDiv=Object(k.createRef)(),e.props.onTabFirstOpen(e.state.activeTab),e}return w()(t,e),f()(t,[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t&&setTimeout(function(){var n;t&&(t.setAttribute("data-ugb-tab",e),null===(n=t.closest(".edit-post-sidebar"))||void 0===n||n.classList.add("ugb--has-panel-tabs"))},1)}},{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,n=e.target.closest(".components-panel__body-toggle");n&&("layout"!==this.state.activeTab&&(t=n,[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(e){0!==e.offsetHeight&&e.parentElement.parentElement.classList.contains("is-opened")&&t!==e&&e.click()}),this.props.onClickPanel(n.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"},Di.map(function(t,n){var a=t.value,r=t.title,i=t.label,l=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(x.Icon,{icon:l}),r):null})))}}]),t}(k.Component);Ri.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null,onTabFirstOpen:function(){}};Ii(Ri);var zi=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(R.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(ft,{className:"ugb-global-style-control__item-button",onClick:function(t){t.preventDefault(),t.stopPropagation(),e.onEdit(e.value)},label:Object(S.__)("Edit Style",_.i18n),isTertiary:!0,icon:"edit"}))};zi.defaultProps={largePreview:!1,renderPreview:function(){},onEdit:function(){}};var Ai=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(wa,{className:a,label:e.label,onChange:e.onChange,value:e.style,options:t,renderOption:function(t){return wp.element.createElement(zi,M()({},t,{largePreview:e.largePreview,onEdit:e.onEdit,renderPreview:e.renderPreview}))}},e.value&&wp.element.createElement(ft,{icon:"edit",label:Object(S.__)("Edit Style",_.i18n),isSecondary:!0,onClick:function(){return e.onEdit(e.value)}}),e.value&&wp.element.createElement(ft,{icon:"editor-unlink",label:Object(S.__)("Unlink Style",_.i18n),isSecondary:!0,disabled:!e.value,onClick:e.onUnlink}))};Ai.defaultProps={className:"",label:Object(S.__)("Style",_.i18n),value:"",options:[],onChange:function(){},onEdit:function(){},onUnlink:function(){},renderPreview:null,largePreview:!1};var Li=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,o=e.label,s=t?t.match(/https?:/i)?t:_.srcUrl?"".concat(_.srcUrl,"/").concat(t):t:"",u=n?n.match(/https?:/i)?n:_.srcUrl?"".concat(_.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},u&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:u,alt:o,width:r,height:l}),s&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:s,alt:o,width:r,height:l}),wp.element.createElement("span",{className:"design-label"},o))};function Fi(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 Ui=function(e){var t=e.options.filter(function(e){return!e.premium||_.isPro}).map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fi(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(Li,{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(x.RadioControl,M()({},Object(R.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};Ui.defaultProps={className:"",columns:2,selected:"",options:[],onChange:function(){}};var Hi=Ui,Vi=n(56),Gi=n.n(Vi),Wi=n(57),qi=n.n(Wi),Ki=n(58),$i=n.n(Ki),Yi=n(59),Qi=n.n(Yi),Xi=n(60),Ji=n.n(Xi),Zi=n(61),el=n.n(Zi),tl=n(62),nl=n.n(tl),al=n(63),rl=n.n(al),il=n(64),ll=n.n(il),ol=n(65),sl=n.n(ol),ul=n(66),cl=n.n(ul),pl=n(67),fl=n.n(pl),dl=n(68),gl=n.n(dl),ml=[{image:sl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),1),value:"wave-1"},{image:ll.a,label:Object(S.__)("Straight",_.i18n),value:"straight-1"},{image:cl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),2),value:"wave-2"},{image:fl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),3),value:"wave-3"},{image:gl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),4),value:"wave-4"},{image:nl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Slant",_.i18n),1),value:"slant-1"},{image:rl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Slant",_.i18n),2),value:"slant-2"},{image:Gi.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Curve",_.i18n),1),value:"curve-1"},{image:qi.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Curve",_.i18n),2),value:"curve-2"},{image:$i.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Curve",_.i18n),3),value:"curve-3"},{image:Qi.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Rounded",_.i18n),1),value:"rounded-1"},{image:Ji.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Rounded",_.i18n),2),value:"rounded-2"},{image:el.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Rounded",_.i18n),3),value:"rounded-3"}];Object($.addFilter)("stackable.separator.edit.layouts","default",function(e){return Object(R.uniqBy)([].concat(s()(e),ml),"value")});var hl=function(e){var t=(Object($.applyFilters)("stackable.separator.edit.layouts",[])||[]).filter(function(t){return-1===Object(R.findIndex)(e.excludeDesigns,function(e){return e===t.value})});return wp.element.createElement(x.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Hi,M()({options:t},Object(R.omit)(e,["label","help"]))))};hl.defaultProps={label:"",help:"",excludeDesigns:[]};function bl(){return(bl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vl=ae.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"}),yl=function(e){return ae.a.createElement("svg",bl({viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},e),vl)},wl=Object(wt.withInstanceId)(Object(wt.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,r=e.setState;return wp.element.createElement(x.BaseControl,M()({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(R.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(ft,{isSecondary:!0,className:"ugb-icon-control__icon-button",onClick:function(){r(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},e.value&&wp.element.createElement(Vo,{value:e.value}),!e.value&&wp.element.createElement(yl,{style:{opacity:.3}})),n&&wp.element.createElement(Nl,{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(ft,{onClick:function(){e.onReset?e.onReset():e.onChange(""),r({openPopover:!1})},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},Object(S.__)("Reset",_.i18n))))}));wl.defaultProps={label:Object(S.__)("Icon",_.i18n),value:"",returnSVGValue:!0,onChange:function(){}};var kl=wl;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)}var Ol=ae.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"}),xl=function(e){return ae.a.createElement("svg",Cl({"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),Ol)},_l=function(){var e=Le()(ze.a.mark(function e(){var t,n,a,r,i=arguments;return ze.a.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]:_.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 Sl(t,n).forEach(function(t){e.push(t)}),e},[]));case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Sl=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].concat(s()(e.membership.free),s()(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}})},El=n(69),jl=null,Tl=null,Pl=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},Bl=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},Ml=function(e){var t=Object(k.useState)(""),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)([]),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)(!1),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)(!1),m=l()(g,2),h=m[0],b=m[1],v=e.returnSVGValue;Object(k.useEffect)(function(){var e=!0;return clearTimeout(jl),jl=setTimeout(function(){e&&(d(!0),_l(a).then(function(t){e&&u(t)}).finally(function(){e&&d(!1)}))},500),function(){e=!1,clearTimeout(jl)}},[a]),Object(k.useEffect)(function(){Tl||(Tl=wp.data.select("core/block-editor").getSettings().mediaUpload),h?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Tl&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Tl})},[h]);var y=P()(["ugb-icon-popover__label-container"],{"ugb-icon--has-settings":_.isPro,"ugb-icon--has-upload":v,"ugb-icon--has-reset":e.allowReset});return wp.element.createElement(x.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef},wp.element.createElement(x.PanelBody,null,wp.element.createElement(El.FileDrop,{onFrameDragEnter:function(){return b(!0)},onFrameDragLeave:function(){return b(!1)},onFrameDrop:function(){return b(!1)},onDrop:function(t){if(v&&t.length)if("image/svg+xml"===t[0].type){var n=new FileReader;n.onload=function(t){b(!1);var n=Bl(Pl(t.target.result));e.onChange(n),e.onClose()},n.readAsText(t[0])}else b(!1);else b(!1)}},wp.element.createElement("div",{className:y},wp.element.createElement(x.TextControl,{className:"ugb-icon-popover__input",value:a,onChange:r,placeholder:Object(S.__)("Type to search icon",_.i18n)}),_.isPro&&wp.element.createElement(ft,{className:"ugb-icon-popover__settings-button",icon:"admin-generic",href:_.settingsUrl+"#icon-settings",target:"_settings",iconSize:"16",label:Object(S.__)("Icon Settings",_.i18n),showTooltip:!0,isSmall:!0,isSecondary:!0}),v&&wp.element.createElement(ft,{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=Bl(Pl(t.target.result));e.onChange(n),e.onClose()},a.readAsText(n[0])}else b(!1)},n.click()},isSmall:!0,isPrimary:!0,className:"components-range-control__upload"},Object(S.__)("Upload SVG",_.i18n)),e.allowReset&&wp.element.createElement(ft,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},Object(S.__)("Clear icon",_.i18n))),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},f&&wp.element.createElement(x.Spinner,null),!f&&s.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(Bl(Ie(a,r))):e.onChange(i,a,r),e.onClose()}},wp.element.createElement(Tm,{prefix:a,iconName:r}))}),!f&&!s.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(S.__)("No matches found",_.i18n))),v&&h&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-indicator"},wp.element.createElement(xl,{height:"40",width:"40"}),Object(S.__)("Drop your SVG here",_.i18n)))))};Ml.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};var Nl=Ml,Il=function(e){return wp.element.createElement(ip,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(Ip,{label:e.label,className:P()([e.className,"ugb--help-tip-alignment-all"])}))};Il.defaultProps={className:"",setAttributes:function(){},blockAttributes:{},label:Object(S.__)("Align",_.i18n)};var Dl=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})},Rl=function(e){var t=e.color||"transparent";if(Array.isArray(t)){var n=t,a=l()(n,2),r=a[0],i=a[1];t="linear-gradient(90deg, ".concat(r||"transparent",", ").concat(i||"transparent",")")}var o=P()(["components-circular-option-picker__option-wrapper","ugb-button-icon-popover-control-color-preview"],{"ugb-button-icon-popover-control-color-preview--transparent":!t||"transparent"===t});return wp.element.createElement(k.Fragment,null,wp.element.createElement("div",{className:o},wp.element.createElement(ft,{className:"components-circular-option-picker__option",label:Object(S.__)("Selected color",_.i18n),style:{background:t},onClick:e.onClick,ref:e._ref}),e.children))};Rl.defaultProps={color:"",onClick:function(){},_ref:null};var zl=Rl;function Al(){return(Al=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),Fl=ae.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),Ul=ae.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"}),Hl=function(e){return ae.a.createElement("svg",Al({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),Ll,Fl,Ul)},Vl=function(e){return wp.element.createElement(k.Fragment,null,wp.element.createElement("div",{className:"components-circular-option-picker__option-wrapper ugb-button-icon-popover-control-image-preview"},wp.element.createElement(ft,{className:"components-circular-option-picker__option",label:Object(S.__)("Selected image",_.i18n),style:{backgroundImage:e.imageUrl?"url(".concat(e.imageUrl,")"):void 0},onClick:e.onClick,ref:e._ref},!e.imageUrl&&wp.element.createElement(Hl,null)),e.children))};Vl.defaultProps={imageUrl:"",onClick:function(){},_ref:null};var Gl=Vl;function Wl(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 ql=1,Kl=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={open:!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(v()(e)),e.handleClose=e.handleClose.bind(v()(e)),e.handleMouseLeave=e.handleMouseLeave.bind(v()(e)),e.handleMouseEnter=e.handleMouseEnter.bind(v()(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(v()(e)),e.handleReset=e.handleReset.bind(v()(e)),e.buttonRef=Object(k.createRef)(),e.buttonRefColorPreview=Object(k.createRef)(),e.buttonRefImagePreview=Object(k.createRef)(),e.instanceId=ql++,e}return w()(t,e),f()(t,[{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?Wl(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,r()({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object($.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($.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){var t,n,a,r;(null===(t=window.wp)||void 0===t?void 0:null===(n=t.media)||void 0===n?void 0:null===(a=n.frame)||void 0===a?void 0:null===(r=a.el)||void 0===r?void 0:r.clientHeight)||this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&e.target.closest("button")!==this.buttonRefColorPreview.current&&e.target.closest("button")!==this.buttonRefImagePreview.current&&(e.target.closest(".ugb-button-icon-control__popover")||this.handleClose())}},{key:"render",value:function(){var e=this;return wp.element.createElement(x.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(x.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(k.Fragment,null,wp.element.createElement(ft,{onClick:this.handleReset,className:"ugb-button-icon-control__reset",label:Object(S.__)("Reset",_.i18n),icon:"image-rotate"}),this.state.showResetPopover&&wp.element.createElement(x.Popover,{onClickOutside:function(){return e.setState({showResetPopover:!1})},focusOnMount:!1,position:"bottom center",className:"ugb-button-icon-control__reset-popover"},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(x.ButtonGroup,null,wp.element.createElement(ft,{onClick:function(){e.setState({showResetPopover:!1}),e.props.onReset()},isDestructive:!0,isSecondary:!0,isSmall:!0},Object(S.__)("Reset",_.i18n)),wp.element.createElement(ft,{onClick:function(){return e.setState({showResetPopover:!1})},isSmall:!0},Object(S.__)("Cancel",_.i18n))))),this.props.hasImagePreview&&wp.element.createElement(Gl,{imageUrl:this.props.imageUrlPreview,onClick:this.handleOpen,_ref:this.buttonRefImagePreview}),this.props.hasColorPreview&&wp.element.createElement(zl,{color:this.props.colorPreview,onClick:this.handleOpen,_ref:this.buttonRefColorPreview}),this.props.renderCustomPreview&&this.props.renderCustomPreview(),wp.element.createElement(ft,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(S.__)("Edit",_.i18n),isSecondary:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(x.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},wp.element.createElement(x.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))))}}]),t}(k.Component);Kl.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",colorPreview:null,imageUrlPreview:"",hasColorPreview:!1,hasImagePreview:!1,renderCustomPreview:null};var $l=Kl,Yl=function(e){var t=he(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(k.Fragment,null,e.onChangeImage&&wp.element.createElement(yn,{label:Object(S.__)("Image",_.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(Nn,{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(Dl,null),e.onChangeAlt&&wp.element.createElement(kn,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(Dn,{label:Object(S.__)("Image Size",_.i18n),value:e.size,onChange:function(t){var n=he(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(k.Fragment,null,wp.element.createElement(op,null,wp.element.createElement(ia,{label:Object(S.__)("Image Width",_.i18n),value:e.width,placeholder:e.placeholder,max:n,min:0,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(op,{screen:"tablet"},wp.element.createElement(ia,{label:Object(S.__)("Image Width",_.i18n),value:e.tabletWidth,max:n,min:0,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(op,{screen:"mobile"},wp.element.createElement(ia,{label:Object(S.__)("Image Width",_.i18n),value:e.mobileWidth,max:n,min:0,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&wp.element.createElement(k.Fragment,null,("number"==typeof e.width||e.width)&&wp.element.createElement(op,null,wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Force square image",_.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&wp.element.createElement(op,{screen:"tablet"},wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Force square image",_.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&wp.element.createElement(op,{screen:"mobile"},wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Force square image",_.i18n),checked:e.mobileSquare,onChange:e.onChangeMobileSquare,className:"ugb--help-tip-image-square"}))),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(ia,{label:Object(S.__)("Border Radius",_.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(ia,{label:Object(S.__)("Shadow / Outline",_.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",_.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};Yl.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 Ql=Object(wt.compose)(Object(ge.withSelect)(function(e,t){var n=e("core").getMedia;return be(t.id,e),{imageData:t.id?n(t.id):null}}))(Yl),Xl=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=Oe(e.blockAttributes,n,"");return wp.element.createElement(Ql,M()({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,l=e.id,o=e.width,s=e.height;t((a={},r()(a,n("Url"),i),r()(a,n("Id"),l),r()(a,n("Width"),o),r()(a,n("Height"),s),a))},alt:a("Alt"),onChangeAlt:function(e){return t(r()({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,i,l){var o;t((o={},r()(o,n("Size"),e),r()(o,n("Url"),a),r()(o,n("Width"),i),r()(o,n("Height"),l),o))},shape:a("Shape"),onChangeShape:function(e){return t(r()({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(r()({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(r()({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(r()({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(r()({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var i;t((i={},r()(i,n("Width"),e),r()(i,n("Height"),a),i))},onChangeTabletWidth:function(e){return t(r()({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(r()({},n("MobileWidth"),e))},square:a("Square"),tabletSquare:a("TabletSquare"),mobileSquare:a("MobileSquare"),onChangeSquare:function(e){return t(r()({},n("Square"),e))},onChangeTabletSquare:function(e){return t(r()({},n("TabletSquare"),e))},onChangeMobileSquare:function(e){return t(r()({},n("MobileSquare"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(r()({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(r()({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(r()({},n("BlendMode"),e))}},e))};Xl.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Jl=function(e){return wp.element.createElement(k.Fragment,null,e.onChangeImage&&wp.element.createElement(yn,{label:Object(S.__)("Image",_.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(Dn,{label:Object(S.__)("Image Size",_.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=ve(e)||be(e,ge.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(oa,{label:Object(S.__)("Background Image Position",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(oa,{label:Object(S.__)("Background Image Repeat",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(oa,{label:Object(S.__)("Background Image Size",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(ia,{label:Object(S.__)("Custom Size",_.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};Jl.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 Zl=Object(wt.compose)(Object(ge.withSelect)(function(e,t){var n=e("core").getMedia;return be(t.id,e),{imageData:t.id?n(t.id):null}}))(Jl),eo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=Oe(e.blockAttributes,n,"");return wp.element.createElement(Zl,M()({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("Url"),i),r()(a,n("Id"),l),a))},size:a("Size"),onChangeSize:function(e,a){var i;t((i={},r()(i,n("Size"),e),r()(i,n("Url"),a),i))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(r()({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(r()({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(r()({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(r()({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(r()({},n("BackgroundCustomSizeUnit"),e))}},e))};eo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var to=function(e){var t=Object(k.useMemo)(function(){return"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder(J(e.htmlTag,!0))):e.fontSize||e.placeholder||J(e.htmlTag,!0)},[e.htmlTag,e.fontSize]);return wp.element.createElement(k.Fragment,null,wp.element.createElement($l,{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(Ja,{label:Object(S.__)("Font Family",_.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(k.Fragment,null,wp.element.createElement(op,null,wp.element.createElement(Ya,M()({label:Object(S.__)("Size",_.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(op,{screen:"tablet"},wp.element.createElement(Ya,M()({label:Object(S.__)("Size",_.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(op,{screen:"mobile"},wp.element.createElement(Ya,M()({label:Object(S.__)("Size",_.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(x.SelectControl,{label:Object(S.__)("Weight",_.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",_.i18n),value:""},{label:Object(S.__)("Normal",_.i18n),value:"normal"},{label:Object(S.__)("Bold",_.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(x.SelectControl,{label:Object(S.__)("Transform",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Uppercase",_.i18n),value:"uppercase"},{label:Object(S.__)("Lowercase",_.i18n),value:"lowercase"},{label:Object(S.__)("Capitalize",_.i18n),value:"capitalize"},{label:Object(S.__)("None",_.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(k.Fragment,null,wp.element.createElement(op,null,wp.element.createElement(ia,{label:Object(S.__)("Line-Height",_.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(op,{screen:"tablet"},wp.element.createElement(ia,{label:Object(S.__)("Line-Height",_.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(op,{screen:"mobile"},wp.element.createElement(ia,{label:Object(S.__)("Line-Height",_.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(ia,{label:Object(S.__)("Letter Spacing",_.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(k.Fragment,null,wp.element.createElement(op,null,wp.element.createElement(Ya,M()({label:Object(S.__)("Size",_.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(op,{screen:"tablet"},wp.element.createElement(Ya,M()({label:Object(S.__)("Size",_.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(op,{screen:"mobile"},wp.element.createElement(Ya,M()({label:Object(S.__)("Size",_.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};to.defaultProps={label:Object(S.__)("Typography",_.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 no=to,ao=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(no,M()({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(r()({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(r()({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(r()({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(r()({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(r()({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(r()({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(r()({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(r()({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(r()({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(r()({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(r()({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(r()({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(r()({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(r()({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(r()({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(r()({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((e={},r()(e,n("FontFamily"),""),r()(e,n("FontSize"),""),r()(e,n("TabletFontSize"),""),r()(e,n("MobileFontSize"),""),r()(e,n("FontSizeUnit"),"px"),r()(e,n("TabletFontSizeUnit"),"px"),r()(e,n("MobileFontSizeUnit"),"px"),r()(e,n("FontWeight"),""),r()(e,n("TextTransform"),""),r()(e,n("LetterSpacing"),""),r()(e,n("LineHeight"),""),r()(e,n("TabletLineHeight"),""),r()(e,n("MobileLineHeight"),""),r()(e,n("LineHeightUnit"),"em"),r()(e,n("TabletLineHeightUnit"),"em"),r()(e,n("MobileLineHeightUnit"),"em"),e))}},e))};ao.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var ro=ao,io=function(e){return wp.element.createElement(k.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(x.BaseControl,{id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(Ka,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&wp.element.createElement(Ot,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.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(ia,{label:Object(S.__)("Background Color Opacity",_.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(Ot,{label:Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement($l,{label:Object(S.__)("Adv. Gradient Color Settings",_.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(ia,{label:Object(S.__)("Gradient Direction (degrees)",_.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(ia,{label:Object(S.sprintf)(Object(S.__)("Color %d Location",_.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(ia,{label:Object(S.sprintf)(Object(S.__)("Color %d Location",_.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",_.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(Dl,null),e.onChangeBackgroundMedia&&wp.element.createElement(k.Fragment,null,wp.element.createElement(op,null,wp.element.createElement(yn,{label:e.backgroundMediaAllowVideo?Object(S.__)("Background Image or Video",_.i18n):Object(S.__)("Background Image",_.i18n),help:e.backgroundMediaAllowVideo?Object(S.__)("Use .mp4 format for videos",_.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(op,{screen:"tablet"},wp.element.createElement(yn,{label:e.backgroundMediaAllowVideo?Object(S.__)("Background Image or Video",_.i18n):Object(S.__)("Background Image",_.i18n),help:e.backgroundMediaAllowVideo?Object(S.__)("Use .mp4 format for videos",_.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(op,{screen:"mobile"},wp.element.createElement(yn,{label:e.backgroundMediaAllowVideo?Object(S.__)("Background Image or Video",_.i18n):Object(S.__)("Background Image",_.i18n),help:e.backgroundMediaAllowVideo?Object(S.__)("Use .mp4 format for videos",_.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(ia,{label:Object(S.__)("Background Media Tint Strength",_.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(He).length>0)&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Fixed Background",_.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($l,{label:Object(S.__)("Adv. Background Image Settings",_.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(op,null,wp.element.createElement(oa,{label:Object(S.__)("Image Position",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(op,{screen:"tablet"},wp.element.createElement(oa,{label:Object(S.__)("Image Position",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(op,{screen:"mobile"},wp.element.createElement(oa,{label:Object(S.__)("Image Position",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(op,null,wp.element.createElement(oa,{label:Object(S.__)("Image Repeat",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(op,{screen:"tablet"},wp.element.createElement(oa,{label:Object(S.__)("Image Repeat",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(op,{screen:"mobile"},wp.element.createElement(oa,{label:Object(S.__)("Image Repeat",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(op,null,wp.element.createElement(oa,{label:Object(S.__)("Image Size",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(op,{screen:"tablet"},wp.element.createElement(oa,{label:Object(S.__)("Image Size",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(op,{screen:"mobile"},wp.element.createElement(oa,{label:Object(S.__)("Image Size",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(op,null,wp.element.createElement(ia,{label:Object(S.__)("Custom Size",_.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(op,{screen:"tablet"},wp.element.createElement(ia,{label:Object(S.__)("Custom Size",_.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(op,{screen:"mobile"},wp.element.createElement(ia,{label:Object(S.__)("Custom Size",_.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",_.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};io.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",_.i18n),labelBackgroundColor:Object(S.__)("Background Color",_.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 lo=io,oo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(lo,M()({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(r()({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(r()({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(r()({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(r()({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("BackgroundMediaURL"),i),r()(a,n("BackgroundMediaID"),l),a))},onChangeTabletBackgroundMedia:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("TabletBackgroundMediaURL"),i),r()(a,n("TabletBackgroundMediaID"),l),a))},onChangeMobileBackgroundMedia:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("MobileBackgroundMediaURL"),i),r()(a,n("MobileBackgroundMediaID"),l),a))},onChangeBackgroundTintStrength:function(e,a){var i;t((i={},r()(i,n("BackgroundTintStrength"),e),r()(i,n("BackgroundColor"),a),i))},onChangeFixedBackground:function(e){return t(r()({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(r()({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(r()({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(r()({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(r()({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((e={},r()(e,n("BackgroundGradientDirection"),""),r()(e,n("BackgroundGradientBlendMode"),""),r()(e,n("BackgroundGradientLocation1"),""),r()(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(r()({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(r()({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(r()({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(r()({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(r()({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(r()({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(r()({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(r()({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(r()({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(r()({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(r()({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(r()({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(r()({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(r()({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(r()({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(r()({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((e={},r()(e,n("BackgroundPosition"),""),r()(e,n("TabletBackgroundPosition"),""),r()(e,n("MobileBackgroundPosition"),""),r()(e,n("BackgroundRepeat"),""),r()(e,n("TabletBackgroundRepeat"),""),r()(e,n("MobileBackgroundRepeat"),""),r()(e,n("BackgroundSize"),""),r()(e,n("TabletBackgroundSize"),""),r()(e,n("MobileBackgroundSize"),""),r()(e,n("BackgroundCustomSize"),""),r()(e,n("TabletBackgroundCustomSize"),""),r()(e,n("MobileBackgroundCustomSize"),""),r()(e,n("BackgroundCustomSizeUnit"),"%"),r()(e,n("TabletBackgroundCustomSizeUnit"),"%"),r()(e,n("MobileBackgroundCustomSizeUnit"),"%"),r()(e,n("BackgroundImageBlendMode"),""),e))}},e))};oo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var so=n(70),uo=n.n(so),co=n(71),po=n.n(co),fo=n(72),go=n.n(fo),mo=n(73),ho=n.n(mo),bo=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(k.Fragment,null,e.onChangeUrl&&wp.element.createElement(pt,{label:Object(S.__)("Link / URL",_.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Open link in new tab",_.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Nofollow link",_.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(Dl,null),e.onChangeDesign&&wp.element.createElement(Hi,{label:Object(S.__)("Design",_.i18n),selected:t,options:[{label:Object(S.__)("Basic",_.i18n),value:"basic",image:uo.a},{label:Object(S.__)("Ghost",_.i18n),value:"ghost",image:po.a},{label:Object(S.__)("Plain",_.i18n),value:"plain",image:ho.a}].concat(s()(e.onChangeUseSocialColors?[]:[{label:Object(S.__)("Link",_.i18n),value:"link",image:go.a}]),s()(Object($.applyFilters)("stackable.button-controls.layouts",[]))),onChange:e.onChangeDesign,columns:4}),wp.element.createElement(Dl,null),e.onChangeUseSocialColors&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Use social colors",_.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(k.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(x.BaseControl,{id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(Ka,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(Ot,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.i18n),1):Object(S.__)("Button Color",_.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(Ot,{label:Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(ia,{label:Object(S.__)("Gradient Direction (degrees)",_.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(Ot,{label:Object(S.__)("Text Color",_.i18n),value:e.textColor,onChange:e.onChangeTextColor})),"link"!==t&&wp.element.createElement(Dl,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Change to Normal Button on Hover",_.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(x.SelectControl,{label:Object(S.__)("Hover Effect",_.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(S.__)("None",_.i18n)},{value:"lift",label:Object(S.__)("Lift",_.i18n)},{value:"scale",label:Object(S.__)("Scale",_.i18n)},{value:"lift-scale",label:Object(S.__)("Lift & Scale",_.i18n)},{value:"scale-more",label:Object(S.__)("Scale More",_.i18n)},{value:"lift-scale-more",label:Object(S.__)("Lift & Scale More",_.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(ia,{label:e.hoverOpacityLabel,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($l,{label:e.hoverColorsLabel,onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(Ot,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.i18n),1):Object(S.__)("Button Color",_.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(Ot,{label:Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(ia,{label:Object(S.__)("Gradient Direction (degrees)",_.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(Ot,{label:Object(S.__)("Text Color",_.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(Dl,null),e.hasTypography&&"link"!==t&&wp.element.createElement(ro,{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(x.SelectControl,{label:Object(S.__)("Button Size",_.i18n),value:n,options:[{value:"tiny",label:Object(S.__)("Tiny",_.i18n)},{value:"small",label:Object(S.__)("Small",_.i18n)},{value:"normal",label:Object(S.__)("Normal",_.i18n)},{value:"medium",label:Object(S.__)("Medium",_.i18n)},{value:"large",label:Object(S.__)("Large",_.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(ia,{label:Object(S.__)("Border Radius",_.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(Ns,{label:Object(S.__)("Vertical Padding",_.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(Ns,{label:Object(S.__)("Horizontal Padding",_.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(ia,{label:Object(S.__)("Border Width",_.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(ia,{label:Object(S.__)("Shadow",_.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),e.onChangeOpacity&&wp.element.createElement(ia,{label:Object(S.__)("Opacity",_.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),e.onChangeIcon&&"link"!==t&&wp.element.createElement(Dl,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(kl,{label:Object(S.__)("Icon",_.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement($l,{label:Object(S.__)("Adv. Icon Settings",_.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(ia,{label:Object(S.__)("Icon Size",_.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(x.SelectControl,{label:Object(S.__)("Icon Position",_.i18n),value:e.iconPosition,options:[{value:"",label:Object(S.__)("Left",_.i18n)},{value:"right",label:Object(S.__)("Right",_.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(ia,{label:Object(S.__)("Icon Spacing",_.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};bo.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:"",hoverOpacityLabel:Object(S.__)("Hover Opacity",_.i18n),hoverTextColor:"",hoverColorsLabel:Object(S.__)("Hover Colors",_.i18n),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 vo=bo,yo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=Oe(e.blockAttributes,n,"");return wp.element.createElement(vo,M()({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(r()({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(r()({},n("Url"),e))},onChangeNewTab:function(e){return t(r()({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(r()({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(r()({},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(r()({},n("Opacity"),e))},onChangeTextColor:function(e){return t(r()({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(r()({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(r()({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(r()({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(r()({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((e={},r()(e,n("HoverBackgroundColor"),""),r()(e,n("HoverBackgroundColor2"),""),r()(e,n("HoverBackgroundGradientDirection"),""),r()(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverOpacityLabel:e.hoverOpacityLabel,hoverColorsLabel:e.hoverColorsLabel,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(r()({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(r()({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(r()({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(r()({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(r()({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(r()({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(r()({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(r()({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(r()({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(r()({},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:e.enableIcon?function(e){return t(r()({},n("Icon"),e))}:null,onResetAdvancedIcon:function(){var e;t((e={},r()(e,n("IconSize"),""),r()(e,n("IconPosition"),""),r()(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(r()({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(r()({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(r()({},n("IconSpacing"),e))}},e))};yo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},enableIcon:!0,hoverOpacityLabel:Object(S.__)("Hover Opacity",_.i18n),hoverColorsLabel:Object(S.__)("Hover Colors",_.i18n)};var wo=yo,ko=function(e){return wp.element.createElement(k.Fragment,null,e.onChangeBorderType&&wp.element.createElement(Ka,{label:Object(S.__)("Borders",_.i18n),controls:[{value:"",title:Object(S.__)("None",_.i18n)},{value:"solid",title:Object(S.__)("Solid",_.i18n)},{value:"dashed",title:Object(S.__)("Dashed",_.i18n)},{value:"dotted",title:Object(S.__)("Dotted",_.i18n)}],className:"ugb-border-controls__border-type-toolbar",value:e.borderType,onChange:e.onChangeBorderType,fullwidth:!0,isSmall:!0}),e.onChangeBorderWidth&&e.borderType&&wp.element.createElement(zo,{label:Object(S.__)("Border Width"),units:["px"],min:0,max:99,step:1,sliderMax:5,defaultLocked:!0,valueDesktop:{top:e.borderWidthTop,right:e.borderWidthRight,bottom:e.borderWidthBottom,left:e.borderWidthLeft},onChangeDesktop:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeBorderWidth({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):"",borderType:e.borderType?void 0:"solid"})},valueTablet:{top:e.tabletBorderWidthTop,right:e.tabletBorderWidthRight,bottom:e.tabletBorderWidthBottom,left:e.tabletBorderWidthLeft},onChangeTablet:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeTabletBorderWidth({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},valueMobile:{top:e.mobileBorderWidthTop,right:e.mobileBorderWidthRight,bottom:e.mobileBorderWidthBottom,left:e.mobileBorderWidthLeft},onChangeMobile:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeMobileBorderWidth({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},placeholder:"1",placeholderTop:"1",placeholderLeft:"1",placeholderBottom:"1",placeholderRight:"1"}),e.onChangeBorderColor&&e.borderType&&wp.element.createElement(Ot,{value:e.borderColor,onChange:function(t){e.onChangeBorderColor({color:t,borderType:e.borderType?void 0:"solid"})},label:Object(S.__)("Border Color",_.i18n)}))};ko.defaultProps={onResetBorder:function(){},borderType:"",onChangeBorderType:function(){},borderWidthTop:"",borderWidthRight:"",borderWidthBottom:"",borderWidthLeft:"",tabletBorderWidthTop:"",tabletBorderWidthRight:"",tabletBorderWidthBottom:"",tabletBorderWidthLeft:"",mobileBorderWidthTop:"",mobileBorderWidthRight:"",mobileBorderWidthBottom:"",mobileBorderWidthLeft:"",onChangeBorderWidth:function(){},onChangeTabletBorderWidth:function(){},onChangeMobileBorderWidth:function(){},borderColor:"",onChangeBorderColor:function(){}};var Co=ko,Oo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=Oe(e.blockAttributes,n,"");return wp.element.createElement(Co,M()({borderType:a("BorderType"),onChangeBorderType:function(e){return t(r()({},n("BorderType"),e))},onResetBorder:function(){t(r()({},n("BorderType"),""))},borderWidthTop:a("BorderWidthTop"),borderWidthRight:a("BorderWidthRight"),borderWidthBottom:a("BorderWidthBottom"),borderWidthLeft:a("BorderWidthLeft"),tabletBorderWidthTop:a("TabletBorderWidthTop"),tabletBorderWidthRight:a("TabletBorderWidthRight"),tabletBorderWidthBottom:a("TabletBorderWidthBottom"),tabletBorderWidthLeft:a("TabletBorderWidthLeft"),mobileBorderWidthTop:a("MobileBorderWidthTop"),mobileBorderWidthRight:a("MobileBorderWidthRight"),mobileBorderWidthBottom:a("MobileBorderWidthBottom"),mobileBorderWidthLeft:a("MobileBorderWidthLeft"),onChangeBorderWidth:function(e){var a,i=e.top,l=e.right,o=e.bottom,s=e.left,u=e.borderType,c=(a={},r()(a,n("BorderWidthTop"),i),r()(a,n("BorderWidthRight"),l),r()(a,n("BorderWidthBottom"),o),r()(a,n("BorderWidthLeft"),s),a);u&&(c[n("BorderType")]=u),t(c)},onChangeTabletBorderWidth:function(e){var a,i=e.top,l=e.right,o=e.bottom,s=e.left;t((a={},r()(a,n("TabletBorderWidthTop"),i),r()(a,n("TabletBorderWidthRight"),l),r()(a,n("TabletBorderWidthBottom"),o),r()(a,n("TabletBorderWidthLeft"),s),a))},onChangeMobileBorderWidth:function(e){var a,i=e.top,l=e.right,o=e.bottom,s=e.left;t((a={},r()(a,n("MobileBorderWidthTop"),i),r()(a,n("MobileBorderWidthRight"),l),r()(a,n("MobileBorderWidthBottom"),o),r()(a,n("MobileBorderWidthLeft"),s),a))},borderColor:a("BorderColor"),onChangeBorderColor:function(e){var a=e.color,i=e.borderType,l=r()({},n("BorderColor"),a);i&&(l[n("BorderType")]=i),t(l)}},e))};Oo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var xo=n(74),_o=n.n(xo),So=n(75),Eo=n.n(So),jo=n(76),To=n.n(jo),Po=function(e){var t=e.design?e.design:"basic",n="shaped"===t||"outlined"===t;return wp.element.createElement(k.Fragment,null,e.onChangeIcon&&wp.element.createElement(kl,{label:Object(S.__)("Icon",_.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&wp.element.createElement(Hi,{label:Object(S.__)("Design",_.i18n),selected:e.design,columns:3,options:[{label:Object(S.__)("Plain",_.i18n),value:"plain",image:_o.a},{label:Object(S.__)("Shaped",_.i18n),value:"shaped",image:Eo.a},{label:Object(S.__)("Outlined",_.i18n),value:"outlined",image:To.a}].concat(s()(Object($.applyFilters)("stackable.icon-controls.edit.layouts",[]))),onChange:e.onChangeDesign}),_.showProNotice&&wp.element.createElement(cs,{title:Object(S.__)("Say Hello to Gorgeous Icons 👋",_.i18n),description:Object(S.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",_.i18n)}),_.showProNotice&&wp.element.createElement(x.BaseControl,{label:Object(S.__)("Icon Color Type",_.i18n),id:"icon-color-type"},wp.element.createElement(Ka,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n),className:"ugb--is-premium",disabled:!0},{value:"multicolor",title:Object(S.__)("Multicolor",_.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),Object($.applyFilters)("stackable.icon-controls.edit.color",wp.element.createElement(k.Fragment,null,e.onChangeColor&&wp.element.createElement(Ot,{label:Object(S.__)("Icon Color",_.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&wp.element.createElement(Dl,null),n&&e.onChangeBackgroundColor&&wp.element.createElement(k.Fragment,null,_.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&wp.element.createElement(x.BaseControl,{label:Object(S.__)("Icon Shape / Outline Color",_.i18n),id:"icon-shape-color-type"},wp.element.createElement(Ka,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),Object($.applyFilters)("stackable.icon-controls.edit.background-color",wp.element.createElement(k.Fragment,null,e.onChangeBackgroundColor&&wp.element.createElement(Ot,{label:Object(S.__)("Icon Shape / Outline Color",_.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&wp.element.createElement(ia,{label:"shaped"===e.design?Object(S.__)("Icon Shape Border Radius",_.i18n):Object(S.__)("Outline Border Radius",_.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:50,step:1,allowReset:!0,placeholder:50}),e.onChangePadding&&wp.element.createElement(ia,{label:"shaped"===e.design?Object(S.__)("Icon Shape Padding",_.i18n):Object(S.__)("Outline Padding",_.i18n),value:e.padding,onChange:e.onChangePadding,min:0,max:150,step:1,allowReset:!0,placeholder:20}),"shaped"===t&&e.onChangeShadow&&wp.element.createElement(ia,{label:Object(S.__)("Shadow / Outline",_.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(ia,{label:Object(S.__)("Outline Width",_.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&wp.element.createElement(Dl,null)),e.onChangeSize&&wp.element.createElement(k.Fragment,null,wp.element.createElement(op,null,wp.element.createElement(ia,{label:Object(S.__)("Icon Size",_.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),wp.element.createElement(op,{screen:"tablet"},wp.element.createElement(ia,{label:Object(S.__)("Icon Size",_.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),wp.element.createElement(op,{screen:"mobile"},wp.element.createElement(ia,{label:Object(S.__)("Icon Size",_.i18n),value:e.mobileSize,max:e.sizeMax,onChange:e.onChangeMobileSize,allowReset:!0,placeholder:e.tabletSize||e.size||50}))),e.onChangeOpacity&&wp.element.createElement(ia,{label:Object(S.__)("Icon Opacity",_.i18n),value:e.opacity,min:0,max:1,step:.1,onChange:e.onChangeOpacity,allowReset:!0,placeholder:"1.0"}),e.onChangeRotation&&wp.element.createElement(ia,{label:Object(S.__)("Icon Rotation",_.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),Object($.applyFilters)("stackable.icon-controls.edit.after",null,e))};Po.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 Bo=Po,Mo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=Oe(e.blockAttributes,n,"");return wp.element.createElement(Bo,M()({icon:a("Icon"),onChangeIcon:function(e){return t(r()({},n("Icon"),e))},design:a("Design")||"plain",onChangeDesign:function(e){return t(r()({},n("Design"),e))},colorType:a("ColorType"),onChangeColorType:function(e){return t(r()({},n("ColorType"),e))},color:a("Color"),onChangeColor:function(e){return t(r()({},n("Color"),e))},color2:a("Color2"),onChangeColor2:function(e){return t(r()({},n("Color2"),e))},colorGradientDirection:a("ColorGradientDirection"),onChangeColorGradientDirection:function(e){return t(r()({},n("ColorGradientDirection"),e))},color3:a("Color3"),onChangeColor3:function(e){return t(r()({},n("Color3"),e))},color4:a("Color4"),onChangeColor4:function(e){return t(r()({},n("Color4"),e))},color5:a("Color5"),onChangeColor5:function(e){return t(r()({},n("Color5"),e))},color6:a("Color6"),onChangeColor6:function(e){return t(r()({},n("Color6"),e))},color7:a("Color7"),onChangeColor7:function(e){return t(r()({},n("Color7"),e))},color8:a("Color8"),onChangeColor8:function(e){return t(r()({},n("Color8"),e))},color9:a("Color9"),onChangeColor9:function(e){return t(r()({},n("Color9"),e))},color10:a("Color10"),onChangeColor10:function(e){return t(r()({},n("Color10"),e))},multiOpacity1:a("MultiOpacity1"),onChangeMultiOpacity1:function(e){return t(r()({},n("MultiOpacity1"),e))},multiOpacity2:a("MultiOpacity2"),onChangeMultiOpacity2:function(e){return t(r()({},n("MultiOpacity2"),e))},multiOpacity3:a("MultiOpacity3"),onChangeMultiOpacity3:function(e){return t(r()({},n("MultiOpacity3"),e))},multiOpacity4:a("MultiOpacity4"),onChangeMultiOpacity4:function(e){return t(r()({},n("MultiOpacity4"),e))},multiOpacity5:a("MultiOpacity5"),onChangeMultiOpacity5:function(e){return t(r()({},n("MultiOpacity5"),e))},multiOpacity6:a("MultiOpacity6"),onChangeMultiOpacity6:function(e){return t(r()({},n("MultiOpacity6"),e))},multiOpacity7:a("MultiOpacity7"),onChangeMultiOpacity7:function(e){return t(r()({},n("MultiOpacity7"),e))},multiOpacity8:a("MultiOpacity8"),onChangeMultiOpacity8:function(e){return t(r()({},n("MultiOpacity8"),e))},multiOpacity9:a("MultiOpacity9"),onChangeMultiOpacity9:function(e){return t(r()({},n("MultiOpacity9"),e))},multiOpacity10:a("MultiOpacity10"),onChangeMultiOpacity10:function(e){return t(r()({},n("MultiOpacity10"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(r()({},n("BorderRadius"),e))},padding:a("Padding"),onChangePadding:function(e){return t(r()({},n("Padding"),e))},outlineWidth:a("OutlineWidth"),onChangeOutlineWidth:function(e){return t(r()({},n("OutlineWidth"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(r()({},n("Shadow"),e))},backgroundColorType:a("BackgroundColorType"),onChangeBackgroundColorType:function(e){return t(r()({},n("BackgroundColorType"),e))},backgroundColor:a("BackgroundColor"),onChangeBackgroundColor:function(e){return t(r()({},n("BackgroundColor"),e))},backgroundColor2:a("BackgroundColor2"),onChangeBackgroundColor2:function(e){return t(r()({},n("BackgroundColor2"),e))},backgroundColorGradientDirection:a("BackgroundColorGradientDirection"),onChangeBackgroundColorGradientDirection:function(e){return t(r()({},n("BackgroundColorGradientDirection"),e))},size:a("Size"),tabletSize:a("TabletSize"),mobileSize:a("MobileSize"),sizeMax:e.sizeMax,onChangeSize:function(e){return t(r()({},n("Size"),e))},onChangeTabletSize:function(e){return t(r()({},n("TabletSize"),e))},onChangeMobileSize:function(e){return t(r()({},n("MobileSize"),e))},opacity:a("Opacity"),onChangeOpacity:function(e){return t(r()({},n("Opacity"),e))},rotation:a("Rotation"),onChangeRotation:function(e){return t(r()({},n("Rotation"),e))},showBackgroundShape:a("ShowBackgroundShape"),onChangeShowBackgroundShape:function(e){return t(r()({},n("ShowBackgroundShape"),e))},backgroundShape:a("BackgroundShape")||"blob1",onChangeBackgroundShape:function(e){return t(r()({},n("BackgroundShape"),e))},backgroundShapeOpacity:a("BackgroundShapeOpacity"),onChangeBackgroundShapeOpacity:function(e){return t(r()({},n("BackgroundShapeOpacity"),e))},backgroundShapeSize:a("BackgroundShapeSize"),onChangeBackgroundShapeSize:function(e){return t(r()({},n("BackgroundShapeSize"),e))},backgroundShapeColor:a("BackgroundShapeColor"),onChangeBackgroundShapeColor:function(e){return t(r()({},n("BackgroundShapeColor"),e))},backgroundShapeOffsetHorizontal:a("BackgroundShapeOffsetHorizontal"),onChangeBackgroundShapeHorizontalOffset:function(e){return t(r()({},n("BackgroundShapeOffsetHorizontal"),e))},backgroundShapeOffsetVertical:a("BackgroundShapeOffsetVertical"),onChangeBackgroundShapeVerticalOffset:function(e){return t(r()({},n("BackgroundShapeOffsetVertical"),e))}},e))};Mo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var No=function(e){return wp.element.createElement(k.Fragment,null,e.socialUrlFields&&wp.element.createElement(k.Fragment,null,Object.keys(_e).map(function(t){return wp.element.createElement(x.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(S.sprintf)(Object(S._x)("%s Link","name",_.i18n),_e[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(R.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Open link in new tab",_.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(Dl,null),wp.element.createElement(wo,{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}))};No.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var Io=No,Do=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(Io,M()({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(r()({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(r()({},n("UseSocialColors"),e))}},e))};Do.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Ro=function(e){var t=Object(R.pick)(e,["label","units","screens","defaultLocked","enableTop","enableRight","enableBottom","enableLeft","className","sliderMax","sliderMin"]),n=Array.isArray(e.min)?e.min:[e.min,e.min,e.min],a=Array.isArray(e.max)?e.max:[e.max,e.max,e.max],r=Array.isArray(e.sliderMin)?e.sliderMin:[e.sliderMin,e.sliderMin,e.sliderMin],i=Array.isArray(e.sliderMax)?e.sliderMax:[e.sliderMax,e.sliderMax,e.sliderMax],l=Array.isArray(e.step)?e.step:[e.step,e.step,e.step];return wp.element.createElement(k.Fragment,null,wp.element.createElement(op,{screen:"desktop"},wp.element.createElement(Ns,M()({},t,{min:n[0],max:a[0],sliderMin:r[0],sliderMax:i[0],step:l[0],top:e.valueDesktop.top,right:e.valueDesktop.right,bottom:e.valueDesktop.bottom,left:e.valueDesktop.left,unit:e.valueDesktopUnit||e.units[0],onChange:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeDesktop({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:function(t){return e.onChangeDesktopUnit(t)},placeholder:e.placeholder,placeholderTop:e.placeholderTop,placeholderLeft:e.placeholderLeft,placeholderBottom:e.placeholderBottom,placeholderRight:e.placeholderRight}))),wp.element.createElement(op,{screen:"tablet"},wp.element.createElement(Ns,M()({},t,{min:n[1],max:a[1],sliderMin:r[1],sliderMax:i[1],step:l[1],top:e.valueTablet.top,right:e.valueTablet.right,bottom:e.valueTablet.bottom,left:e.valueTablet.left,unit:e.valueTabletUnit||e.units[0],onChange:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeTablet({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:function(t){return e.onChangeTabletUnit(t)}}))),wp.element.createElement(op,{screen:"mobile"},wp.element.createElement(Ns,M()({},t,{min:n[2],max:a[2],sliderMin:r[2],sliderMax:i[2],step:l[2],top:e.valueMobile.top,right:e.valueMobile.right,bottom:e.valueMobile.bottom,left:e.valueMobile.left,unit:e.valueMobileUnit||e.units[0],onChange:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeMobile({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:function(t){return e.onChangeMobileUnit(t)}}))))};Ro.defaultProps={label:Object(S.__)("Spacing",_.i18n),defaultLocked:!0,units:["px","em","%"],screens:["desktop","tablet","mobile"],min:0,max:1/0,sliderMax:null,sliderMin:null,step:1,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,valueDesktop:{},valueTablet:{},valueMobile:{},valueDesktopUnit:"",valueTabletUnit:"",valueMobileUnit:"",onChangeDesktop:function(){},onChangeTablet:function(){},onChangeMobile:function(){},onChangeDesktopUnit:function(){},onChangeTabletUnit:function(){},onChangeMobileUnit:function(){},placeholderTop:"60",placeholderLeft:"35",placeholderBottom:"60",placeholderRight:"35",placeholder:"",className:"ugb--help-tip-advanced-column-paddings"};var zo=Ro;function Ao(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 Lo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ao(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ao(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Fo=function(e,t){var n=de(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},Uo=function(e){var t=Object($.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},Ho=function(e){var t=Lo({},e,{value:"string"==typeof e.value?Uo(e.value):e.value}),n=P()(["ugb-icon-inner-svg",e.className],r()({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(Tm,M()({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=P()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],r()({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=Fo(a,e.backgroundShape)),a=Object($.applyFilters)("stackable.component.svg-icon",a,t)};Ho.defaultProps={className:"",value:"",design:"",colorType:"",showBackgroundShape:!1,backgroundShape:"",shadow:"",gradientColor1:"",gradientColor2:"",gradientDirection:0},(Ho.Content=function(e){var t=Lo({},e,{value:"string"==typeof e.value?Uo(e.value):e.value}),n=P()(["ugb-icon-inner-svg",e.className],r()({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(Tm.Content,M()({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=P()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],r()({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=Fo(a,e.backgroundShape)),a=Object($.applyFilters)("stackable.component.svg-icon",a,t)}).defaultProps=Lo({},Ho.defaultProps);var Vo=Ho,Go=function(e){var t=Oe(e.blockAttributes,function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(Vo,M()({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))};Go.defaultProps={attrNameTemplate:"%s",blockAttributes:{}},Go.Content=function(e){var t=Oe(e.blockAttributes,function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(Vo.Content,M()({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))},Go.defaultProps={attrNameTemplate:"%s",blockAttributes:{}};var Wo=Go,qo=Object(wt.withInstanceId)(function(e){var t=Object(k.useState)(!1),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)(!1),o=l()(i,2),s=o[0],u=o[1],c=e.instanceId,p=e.isOpen,f=e.onChange,d=Et()(e,["instanceId","isOpen","onChange"]);return Object(k.useEffect)(function(){e.onToggle(a)},[a]),wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(c)},wp.element.createElement(ft,{className:"ugb-svg-icon-placeholder__button",onClick:function(){s?(r(!1),u(!1)):r(!0)}},wp.element.createElement(Wo,d)),(null!==p&&p||null===p&&a)&&wp.element.createElement(Nl,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(c))?u(!0):(r(!1),u(!1))},onClose:function(){return r(!1)},onChange:f}))});qo.defaultProps={isOpen:null,className:"",value:"",onChange:function(){},onToggle:function(){}};var Ko=qo;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 Yo=ae.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),Qo=ae.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),Xo=ae.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"}),Jo=ae.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),Zo=ae.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),es=ae.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),ts=ae.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),ns=ae.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"}),as=ae.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"}),rs=ae.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"}),is=ae.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"}),ls=function(e){return ae.a.createElement("svg",$o({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),Yo,Qo,Xo,Jo,Zo,es,ts,ns,as,rs,is)},os={layout:{title:Object(S.__)("Say Hello to More Layouts 👋",_.i18n),description:Object(S.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},design:{title:Object(S.__)("Say Hello to More Designs 👋",_.i18n),description:Object(S.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},image:{title:Object(S.__)("Say Hello to More Shapes 👋",_.i18n),description:Object(S.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},effect:{title:Object(S.__)("Say Hello to More Effects 👋",_.i18n),description:Object(S.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},advanced:{title:Object(S.__)("Say Hello to Fine-Grained Controls 👋",_.i18n),description:Object(S.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},postsBlock:{title:Object(S.__)("Say Hello to More Post Controls 👋",_.i18n),description:Object(S.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)}},ss=function(e){var t=P()(["ugb-design-control-pro-note",e.className]);return wp.element.createElement("div",{className:t},e.isDismissible&&wp.element.createElement(ft,{className:"ugb-design-control-pro-note__close",icon:"no-alt",isTertiary:!0,onClick:e.onClose}),wp.element.createElement(ls,{className:"ugb-design-control-pro-note__logo"}),wp.element.createElement("h4",null,e.title||os[e.type].title),wp.element.createElement("p",null,e.description||os[e.type].description),e.showButton&&wp.element.createElement(Si,{button:e.button||os[e.type].button,buttonUtmSource:e.buttonUtmSource}),e.showHideNote&&wp.element.createElement("p",{className:"ugb-design-control-pro-note__notice"},Object(S.__)("You can hide premium hints in the settings",_.i18n)))};ss.defaultProps={className:"",type:"layout",title:"",description:"",button:"",showButton:!0,showHideNote:!0,isDismissible:!1,onClose:function(){},buttonUtmSource:void 0};var us=ss,cs=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(v()(e)),e}return w()(t,e),f()(t,[{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(us,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}]),t}(k.Component);function ps(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 fs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ps(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ps(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ds=function(e){function t(){var e;c()(this,t);var n=(e=g()(this,h()(t).apply(this,arguments))).getEnabledValues(),a=!n.length||n.every(function(e){return e===n[0]}),r=n.every(function(e){return""===e});return e.state={locked:r?e.props.defaultLocked:a},e.onToggleLock=e.onToggleLock.bind(v()(e)),e.onChangeTop=e.onChangeTop.bind(v()(e)),e.onChangeRight=e.onChangeRight.bind(v()(e)),e.onChangeBottom=e.onChangeBottom.bind(v()(e)),e.onChangeLeft=e.onChangeLeft.bind(v()(e)),e}return w()(t,e),f()(t,[{key:"getEnabledValues",value:function(){return[].concat(s()(this.props.enableTop?[this.props.top]:[]),s()(this.props.enableRight?[this.props.right]:[]),s()(this.props.enableBottom?[this.props.bottom]:[]),s()(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(s()(this.props.enableTop?["top"]:[]),s()(this.props.enableRight?["right"]:[]),s()(this.props.enableBottom?["bottom"]:[]),s()(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(R.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(fs({},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(fs({},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(fs({},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(fs({},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(x.BaseControl,{help:this.props.help,className:P()("ugb-four-number-control",this.props.className)},wp.element.createElement(Zn,{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",_.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(S.__)("auto",_.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(S.__)("Top",_.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",_.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(S.__)("Right",_.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",_.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(S.__)("Bottom",_.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",_.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(S.__)("Left",_.i18n))),wp.element.createElement(ft,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(x.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}]),t}(k.Component);ds.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(wt.withInstanceId)(ds);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)}var ms=ae.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),hs=ae.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"}),bs=function(e){return ae.a.createElement("svg",gs({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ms,hs)};function vs(){return(vs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ys=ae.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),ws=ae.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"}),ks=function(e){return ae.a.createElement("svg",vs({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ys,ws)};function Cs(){return(Cs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Os=ae.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),xs=ae.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"}),_s=function(e){return ae.a.createElement("svg",Cs({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Os,xs)};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)}var Es=ae.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),js=ae.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"}),Ts=function(e){return ae.a.createElement("svg",Ss({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Es,js)};function Ps(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 Bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ps(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ps(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ms=function(e){function t(){var e;c()(this,t);var n=(e=g()(this,h()(t).apply(this,arguments))).getEnabledValues(),a=e.firstValue(),r=Object.values(n).every(function(e){return e===a}),i=Object.values(n).every(function(e){return""===e});return e.state={locked:i?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(v()(e)),e.onChangeAll=e.onChangeAll.bind(v()(e)),e.onChangeTop=e.onChangeTop.bind(v()(e)),e.onChangeRight=e.onChangeRight.bind(v()(e)),e.onChangeBottom=e.onChangeBottom.bind(v()(e)),e.onChangeLeft=e.onChangeLeft.bind(v()(e)),e}return w()(t,e),f()(t,[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return Bs({},t,r()({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(s()(this.props.enableTop?["top"]:[]),s()(this.props.enableRight?["right"]:[]),s()(this.props.enableBottom?["bottom"]:[]),s()(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(R.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(Bs({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(Bs({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(Bs({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(Bs({},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-"),i={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition,sliderMin:this.props.sliderMin,sliderMax:this.props.sliderMax},l=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(i.min=this.props.min[l]),Array.isArray(this.props.max)&&(i.max=this.props.max[l]),Array.isArray(this.props.sliderMin)&&(i.sliderMin=this.props.sliderMin[l]),Array.isArray(this.props.sliderMax)&&(i.sliderMax=this.props.sliderMax[l]),Array.isArray(this.props.step)&&(i.step=this.props.step[l]),Array.isArray(this.props.placeholder)&&(i.placeholder=this.props.placeholder[l]),Array.isArray(this.props.initialPosition)&&(i.initialPosition=this.props.initialPosition[l]);var o=P()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),s=wp.element.createElement(ft,{className:o,onClick:this.onToggleLock,icon:wp.element.createElement(x.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(x.BaseControl,{help:this.props.help,className:P()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(Zn,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:s}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(ia,M()({id:"".concat(r,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},i))),!this.state.locked&&wp.element.createElement(k.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Top",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Ts,null))),wp.element.createElement(ia,M()({id:"".concat(r,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},i,{placeholder:this.props.placeholderTop||i.placeholder}))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Right",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(_s,null))),wp.element.createElement(ia,M()({id:"".concat(r,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},i,{placeholder:this.props.placeholderRight||i.placeholder}))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Bottom",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(bs,null))),wp.element.createElement(ia,M()({id:"".concat(r,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},i,{placeholder:this.props.placeholderBottom||i.placeholder}))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Left",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(ks,null))),wp.element.createElement(ia,M()({id:"".concat(r,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},i,{placeholder:this.props.placeholderLeft||i.placeholder})))))}}]),t}(k.Component);Ms.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:-1/0,max:1/0,sliderMin:null,sliderMax:null,step:1,placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",initialPosition:""};var Ns=Ms,Is=n(77),Ds=n.n(Is),Rs=n(78),zs=n.n(Rs),As=n(79),Ls=n.n(As),Fs=n(80),Us=n.n(Fs),Hs=n(81),Vs=n.n(Hs),Gs=n(82),Ws=n.n(Gs),qs=n(83),Ks=n.n(qs),$s=n(84),Ys=n.n($s),Qs=n(85),Xs=n.n(Qs),Js=n(86),Zs=n.n(Js),eu=n(87),tu=n.n(eu),nu=n(88),au=n.n(nu),ru=n(89),iu=n.n(ru),lu=n(90),ou=n.n(lu),su=n(91),uu=n.n(su),cu=n(92),pu=n.n(cu),fu=n(93),du=n.n(fu),gu=n(94),mu=n.n(gu),hu=n(95),bu=n.n(hu),vu=n(96),yu=n.n(vu),wu=n(97),ku=n.n(wu),Cu=n(98),Ou=n.n(Cu),xu=n(99),_u=n.n(xu),Su=n(100),Eu=n.n(Su),ju=n(101),Tu=n.n(ju),Pu=n(102),Bu=n.n(Pu),Mu=n(103),Nu=n.n(Mu),Iu=n(104),Du=n.n(Iu),Ru=n(105),zu=n.n(Ru),Au=n(106),Lu=n.n(Au);function Fu(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 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)}function Hu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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,t,n){return t&&Vu(e.prototype,t),n&&Vu(e,n),e}function Wu(e){return(Wu="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 qu(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!t||"object"!==Wu(t)&&"function"!=typeof t?qu(e):t}function $u(e){return($u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Yu(e,t){return(Yu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Qu(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&&Yu(e,t)}function Xu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ju=n(31),Zu=n.n(Ju),ec=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 tc(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 nc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tc(Object(n),!0).forEach(function(t){Xu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ac=function(e){function t(){var e,n;Hu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Xu(qu(n=Ku(this,(e=$u(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 nc({},e,{onMouseDown:ec(e.onMouseDown,a),onTouchStart:ec(e.onTouchStart,r)})}),n}return Qu(t,ne["Component"]),Gu(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&&ae.a.Children.only(r)}}]),t}();ac.propTypes={};var rc=ac,ic=function(e){function t(){return Hu(this,t),Ku(this,$u(t).apply(this,arguments))}return Qu(t,ne["Component"]),Gu(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&&ae.a.Children.only(i)}}]),t}();ic.propTypes={},ic.defaultProps={count:10};var lc=ic;function oc(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 sc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oc(Object(n),!0).forEach(function(t){Xu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var uc=function(e){function t(){var e,n;Hu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Xu(qu(n=Ku(this,(e=$u(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 sc({},e,{onMouseDown:ec(e.onMouseDown,a),onTouchStart:ec(e.onTouchStart,r)})}),n}return Qu(t,ne["Component"]),Gu(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=[],p=0;p<l.length+1;p++){var f=l[p-1],d=l[p];0===p&&!0===a?f={id:"$",value:u[0],percent:0}:p===l.length&&!0===r&&(d={id:"$",value:u[1],percent:100}),f&&d&&c.push({id:"".concat(f.id,"-").concat(d.id),source:f,target:d})}var g=n({getEventData:o,activeHandleID:s,tracks:c,getTrackProps:e});return g&&ae.a.Children.only(g)}}]),t}();uc.propTypes={},uc.defaultProps={left:!0,right:!0};var cc=uc;function pc(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 fc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(n),!0).forEach(function(t){Xu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var dc=function(e){function t(){var e,n;Hu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Xu(qu(n=Ku(this,(e=$u(t)).call.apply(e,[this].concat(r)))),"autofocus",function(e){e.target.focus()}),Xu(qu(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 fc({},t,{onKeyDown:ec(t.onKeyDown,function(t){return r(t,e)}),onMouseDown:ec(t.onMouseDown,n.autofocus,function(t){return i(t,e)}),onTouchStart:ec(t.onTouchStart,function(t){return l(t,e)})})}),n}return Qu(t,ne["Component"]),Gu(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&&ae.a.Children.only(a)}}]),t}();dc.propTypes={};var gc=dc;function mc(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 hc="react-compound-slider:";function bc(e){return function(t,n){return t.val>n.val?e?-1:1:n.val>t.val?e?1:-1:0}}function vc(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(mc(e.slice(0,r)),[{key:l,val:n}],mc(e.slice(r+1))).sort(bc(a))}return e}function yc(e,t){if(!e)return[0,0];var n=e.getBoundingClientRect();return[t?n.top:n.left,t?n.bottom:n.right]}function wc(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 kc(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function Cc(){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,Zu()(!a,"".concat(hc," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t}).map(function(e,t){return{key:"$$-".concat(t),val:e}}).sort(bc(t)),changes:r}}var Oc=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN};var xc,_c;1===(xc=Oc).length&&(_c=xc,xc=function(e,t){return Oc(_c(e),t)});var Sc=Array.prototype,Ec=(Sc.slice,Sc.map,Math.sqrt(50)),jc=Math.sqrt(10),Tc=Math.sqrt(2),Pc=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>=Ec?10:i>=jc?5:i>=Tc?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(i>=Ec?10:i>=jc?5:i>=Tc?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 Bc=function(){function e(){Hu(this,e),this.domain=[0,1],this.range=[0,1],this.interpolator=null}return Gu(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 Pc(t[0],t[t.length-1],e||10)}}]),e}();function Mc(e,t,n){return Math.min(Math.max(e,t),n)}var Nc=function e(){var t=this;Hu(this,e),Xu(this,"setDomain",function(e){return t.domain=e.slice(),t}),Xu(this,"setRange",function(e){return t.range=e.slice(),t}),Xu(this,"setStep",function(e){return t.step=e,t}),Xu(this,"getValue",function(e){var n=Fu(t.domain,2),a=n[0],r=n[1],i=Fu(t.range,2),l=i[0],o=i[1],s=t.step,u=(Mc(e,a,r)-a)/(r-a);return Mc(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]},Ic="undefined"!=typeof window&&"undefined"!=typeof document,Dc=function(){},Rc=function(e,t,n,a){var r=a?e-t:e+t;return a?Math.max(n[0],r):Math.min(n[1],r)},zc=function(e,t,n,a){var r=a?e+t:e-t;return a?Math.min(n[1],r):Math.max(n[0],r)},Ac=function(e){function t(){var e,n;Hu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return Xu(qu(n=Ku(this,(e=$u(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}),Xu(qu(n),"slider",ae.a.createRef()),Xu(qu(n),"onKeyDown",function(e,t){var a=["ArrowRight","ArrowUp"],r=["ArrowDown","ArrowLeft"],i=qu(n),l=i.state.handles,o=i.props,s=o.step,u=o.reversed,c=o.vertical,p=o.domain,f=e.key||e.keyCode;if(a.concat(r).includes(f)){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,h=m;a.includes(f)?h=Rc(m,s,p,u):r.includes(f)&&(h=zc(m,s,p,u));var b=l.map(function(e){return e.key===t?{key:e.key,val:h}:e});n.submitUpdate(b,!0)}}}),Xu(qu(n),"onMouseDown",function(e,t){n.onStart(e,t,!1)}),Xu(qu(n),"onTouchStart",function(e,t){wc(e)||n.onStart(e,t,!0)}),Xu(qu(n),"getEventData",function(e,t){var a,r=qu(n),i=r.state,l=i.pixelToStep,o=i.valueToPerc,s=r.props.vertical;return l.setDomain(yc(n.slider.current,s)),{value:a=t?l.getValue(kc(s,e)):l.getValue(s?e.clientY:e.pageX),percent:o.getValue(a)}}),Xu(qu(n),"onMouseMove",function(e){var t=qu(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;i.setDomain(yc(n.slider.current,s));var c=vc(r,l,i.getValue(s?e.clientY:e.pageX),u);n.submitUpdate(c)}),Xu(qu(n),"onTouchMove",function(e){var t=qu(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;if(!wc(e)){i.setDomain(yc(n.slider.current,s));var c=vc(r,l,i.getValue(kc(s,e)),u);n.submitUpdate(c)}}),Xu(qu(n),"onMouseUp",function(){var e=qu(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}),Ic&&(document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onMouseUp))}),Xu(qu(n),"onTouchEnd",function(){var e=qu(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}),Ic&&(document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onTouchEnd))}),n}return Qu(t,ne["PureComponent"]),Gu(t,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain(yc(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){Ic&&(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(yc(c.current,s)),n=t?l.getValue(kc(s,e)):l.getValue(s?e.clientY:e.pageX);for(var p=null,f=1/0,d=0;d<i.length;d++){var g=i[d],m=g.key,h=g.val,b=Math.abs(h-n);b<f&&(p=m,f=b)}var v=vc(i,p,n,u);this.setState({activeHandleID:p},function(){a.submitUpdate(v,!0),t?a.addTouchEvents():a.addMouseEvents()})}},{key:"addMouseEvents",value:function(){Ic&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){Ic&&(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),Zu()(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 p=o?a:-a,f=0;f<n.length;f++){var d=n[f],g=n[f+1];if(g&&d.val===g.val){if(f===l){var m=g.val+p;if(i(m)===m){var h=e(n,vc(n,g.key,g.val+p,r),a,r,i);return h===n?t:h}return t}var b=d.val+p;if(i(b)===b){var v=e(n,vc(n,d.key,d.val+p,r),a,r,i);return v===n?t:v}return t}}return n}(c,e,r,o,s);break;default:u=e,Zu()(!1,"".concat(hc," 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,p=i.flatten,f=n.map(function(e){var t=e.key,n=e.val;return{id:t,value:n,percent:a.getValue(n)}}),d=ae.a.Children.map(this.props.children,function(t){return!t||t.type.name!==rc.name&&t.type.name!==lc.name&&t.type.name!==cc.name&&t.type.name!==gc.name?t:ae.a.cloneElement(t,{scale:a,handles:f,activeHandleID:r,getEventData:e.getEventData,emitKeyboard:c?Dc:e.onKeyDown,emitMouse:c?Dc:e.onMouseDown,emitTouch:c?Dc:e.onTouchStart})});return p?ae.a.createElement(ne.Fragment,null,ae.a.createElement(u,Uu({},s,{style:o,className:l,ref:this.slider})),d):ae.a.createElement(u,Uu({},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,p=t.valueToPerc,f=t.valueToStep,d=t.pixelToStep,g={};if(p&&f&&d||(p=new Bc,f=new Nc,d=new Nc,g.valueToPerc=p,g.valueToStep=f,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=Fu(l,2),h=m[0],b=m[1];f.setStep(r).setRange([h,b]).setDomain([h,b]),!0===o?(p.setDomain([h,b]).setRange([100,0]),d.setStep(r).setRange([b,h])):(p.setDomain([h,b]).setRange([0,100]),d.setStep(r).setRange([h,b])),Zu()(b>h,"".concat(hc," Max must be greater than min (even if reversed). Max is ").concat(b,". Min is ").concat(h,"."));var v=Cc(i||t.values,o,f,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=Cc(i,o,f,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}();Ac.propTypes={},Ac.defaultProps={mode:1,step:.1,domain:[0,100],component:"div",rootProps:{},rootStyle:{},vertical:!1,reversed:!1,onChange:Dc,onUpdate:Dc,onSlideStart:Dc,onSlideEnd:Dc,disabled:!1,flatten:!1,warnOnChanges:!1};var Lc=Ac;Lc.Rail=rc,Lc.Ticks=lc,Lc.Tracks=cc,Lc.Handles=gc;var Fc={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},Uc={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},Hc=function(e){var t=e.getRailProps;return wp.element.createElement(k.Fragment,null,wp.element.createElement("div",M()({style:Fc},t())),wp.element.createElement("div",{style:Uc}))},Vc=function(e){var t=l()(e.domain,2),n=t[0],a=t[1],r=e.handle,i=r.id,o=r.value,s=r.percent,u=e.disabled,c=void 0!==u&&u,p=e.getHandleProps;return wp.element.createElement("button",M()({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":o,disabled:c,style:{left:"".concat(s,"%")}},p(i)))},Gc=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},Wc={position:"relative",width:"100%"},qc=[0,100],Kc=function(e){var t=0;return[].concat(s()(e),[100]).map(function(e){var n=e-t;return t+=n,n})},$c=function(e){var t=0;return s()(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},[])},Yc=function(e){return wp.element.createElement(Lc,{className:"ugb-column-widths-control__columns-slider",rootStyle:Wc,mode:function(e,t){var n,a,r=e.map(function(e){return e.val}),i=t.map(function(e){return e.val});if(Object(R.isEqual)(r,i))return t;if(n=i,(a=[0].concat(s()(n),[100])).some(function(e,t){return 0!==t&&e-a[t-1]<10})){var o=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]}(r,i),u=l()(o,2);u[0];(function(e,t,n){var a=Kc(e),r=Gc(a,n);return $c(r)})(i,0,u[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(Kc(t))},domain:qc,values:$c(e.value)},wp.element.createElement(rc,null,function(e){var t=e.getRailProps;return wp.element.createElement(Hc,{getRailProps:t})}),wp.element.createElement(gc,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(Vc,{key:e.id,handle:e,domain:qc,getHandleProps:n})}))}))};Yc.defaultProps={onChange:function(){},value:[]};var Qc=Yc,Xc=function(e){return e.every(function(e){return!e})},Jc=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:Xc(e.value)?"column":void 0,justifyContent:Xc(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=s()(e.value);r[n]=isNaN(a)?"":a,e.onChange(r)},onBlur:function(){var t=Gc(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(Gc(t))}})}))};Jc.defaultProps={onChange:function(){},value:[]};var Zc=Jc,ep={"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]},tp={plain:{2:[{value:"2-1",image:Ds.a},{value:"2-2",image:zs.a},{value:"2-3",image:Ls.a}],3:[{value:"3-1",image:Us.a},{value:"3-2",image:Vs.a},{value:"3-3",image:Ws.a},{value:"3-4",image:Ks.a}],4:[{value:"4-1",image:Ys.a},{value:"4-2",image:Xs.a},{value:"4-3",image:Zs.a}]},grid:{2:[{value:"2-1",image:tu.a},{value:"2-2",image:au.a},{value:"2-3",image:iu.a}],3:[{value:"3-1",image:ou.a},{value:"3-2",image:uu.a},{value:"3-3",image:pu.a},{value:"3-4",image:du.a}],4:[{value:"4-1",image:mu.a},{value:"4-2",image:bu.a},{value:"4-3",image:yu.a}]},uneven:{2:[{value:"2-1",image:ku.a},{value:"2-2",image:Ou.a},{value:"2-3",image:_u.a}],3:[{value:"3-1",image:Eu.a},{value:"3-2",image:Tu.a},{value:"3-3",image:Bu.a},{value:"3-4",image:Nu.a}],4:[{value:"4-1",image:Du.a},{value:"4-2",image:zu.a},{value:"4-3",image:Lu.a}]}},np=function(e){return e.every(function(e){return!e})},ap=function(e){var t=Object(k.useState)(-1),n=l()(t,2),a=(n[0],n[1]),r=Object(k.useState)(!0),i=l()(r,2),o=(i[0],i[1]),s=Object(k.useState)(""),u=l()(s,2),c=u[0],p=u[1];Object(k.useEffect)(function(){p("")},[e.columns]);var f="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",d=tp[f],g=wp.element.createElement(ft,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?np(e.values):Object(R.isEqual)(e.values,ep[c||"".concat(e.columns,"-1")]),onClick:function(){p(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(ep[c||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(S.__)("Reset"));return wp.element.createElement(x.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(Zn,{label:e.label,afterButton:e.hasIndividualControls?g:null,screens:e.screens}),d[e.columns]&&wp.element.createElement(Hi,{options:d[e.columns],onChange:function(t){a(-1),o(!0),p(t),e.onChange(ep[t])}}),e.hasIndividualControls&&wp.element.createElement(k.Fragment,null,wp.element.createElement(Qc,{value:np(e.values)?ep["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement(Zc,{value:np(e.values)?e.forceBlank?e.values:ep["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};ap.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(S.__)("Column Widths",_.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};var rp=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},n=Oe(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(k.Fragment,null,a.includes("desktop")&&wp.element.createElement(op,{screens:a},k.Children.toArray(e.children).map(function(a){return Object(k.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(r()({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(op,{screens:a,screen:"tablet"},k.Children.toArray(e.children).map(function(a){return Object(k.cloneElement)(a,{value:n("Tablet"),placeholder:n("Tablet")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(r()({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(op,{screens:a,screen:"mobile"},k.Children.toArray(e.children).map(function(a){return Object(k.cloneElement)(a,{value:n("Mobile"),placeholder:n("Mobile")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(r()({},t("Mobile"),n))}})})))};rp.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var ip=rp,lp=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={screen:Ge()},e.onScreenChange=e.onScreenChange.bind(v()(e)),e}return w()(t,e),f()(t,[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object($.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object($.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=k.Children.toArray(this.props.children).map(function(t){return Object(k.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(k.Fragment,null,(n||a)&&t)}}]),t}(k.Component);lp.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var op=Object(wt.withInstanceId)(lp);function sp(){return(sp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var up=ae.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"}),cp=function(e){return ae.a.createElement("svg",sp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),up)};function pp(){return(pp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fp=ae.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"}),dp=function(e){return ae.a.createElement("svg",pp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),fp)};function gp(){return(gp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var mp=ae.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"}),hp=function(e){return ae.a.createElement("svg",gp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),mp)};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 vp=ae.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"}),yp=function(e){return ae.a.createElement("svg",bp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),vp)};function kp(){return(kp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cp=ae.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"}),Op=function(e){return ae.a.createElement("svg",kp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Cp)};function xp(){return(xp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _p=ae.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"}),Sp=function(e){return ae.a.createElement("svg",xp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),_p)};function Ep(){return(Ep=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jp=ae.a.createElement("path",{d:"M15.2 10.8H24c6.2 0 10.8 2.1 10.8 8.6 0 6.2-4.6 9-10.6 9h-4v10.2h-4.9V10.8zm8.6 13.7c4.2 0 6.1-1.7 6.1-5.1 0-3.5-2.2-4.6-6.3-4.6h-3.4v9.7h3.6z"}),Tp=function(e){return ae.a.createElement("svg",Ep({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),jp)},Pp=[{value:"h1",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),1),icon:wp.element.createElement(cp,null)},{value:"h2",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),2),icon:wp.element.createElement(dp,null)},{value:"h3",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),3),icon:wp.element.createElement(hp,null)},{value:"h4",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),4),icon:wp.element.createElement(yp,null)},{value:"h5",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),5),icon:wp.element.createElement(Op,null)},{value:"h6",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),6),icon:wp.element.createElement(Sp,null)},{value:"p",title:Object(S.sprintf)(Object(S._x)("%s","Nth Title",_.i18n),Object(S.__)("Paragraph",_.i18n)),icon:wp.element.createElement(Tp,null)}],Bp=function(e){return wp.element.createElement(Ka,M()({},e,{className:"ugb-heading-buttons-control",controls:Pp}))};Bp.defaultProps={label:Object(S.sprintf)(Object(S._x)("%s HTML Tag","component"),Object(S.__)("Title",_.i18n)),value:Pp[0].value};var Mp=[{value:"left",title:Object(S.__)("Align Left",_.i18n),icon:"editor-alignleft"},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(S.__)("Align Right",_.i18n),icon:"editor-alignright"},{value:"justify",title:Object(S.__)("Justified",_.i18n),icon:"editor-justify"}],Np=function(e){var t=e.justified,n=e.className;return wp.element.createElement(Ka,M()({},Object(R.omit)(e,["justified"]),{className:P()([n,"ugb-align-buttons-control"]),controls:Mp.filter(function(e){return!!t||"justify"!==e.value})}))};Np.defaultProps={className:"",label:Object(S.__)("Align",_.i18n),value:Mp[0].value,justified:!1};var Ip=Np,Dp={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Et()(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,p=o.blockTag,f=void 0===p?"div":p,d=P()([e.className],Object($.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),g=P()(["ugb-inner-block"],Object($.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),m=Object($.applyFilters)("stackable.".concat(l,".main-block.extraProps"),i,t),h=""!==u?u:void 0,b=f||r||"div";return wp.element.createElement(b,M()({},m,{id:h,className:d}),t.styles,Object($.applyFilters)("stackable.".concat(l,".edit.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:g},Object($.applyFilters)("stackable.".concat(l,".edit.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object($.applyFilters)("stackable.".concat(l,".edit.output.after"),null,c,t)))}};Dp.Edit.defaultProps={styles:null,mainClass:!0},Dp.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Et()(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,p=o.blockTag,f=void 0===p?"div":p,d=P()([e.className],Object($.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),g=P()(["ugb-inner-block"],Object($.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),m=Object($.applyFilters)("stackable.".concat(l,".main-block.extraProps"),i,t),h=""!==u?u:void 0,b=f||r||"div";return wp.element.createElement(b,M()({},m,{id:h,className:d}),t.styles,Object($.applyFilters)("stackable.".concat(l,".save.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:g},Object($.applyFilters)("stackable.".concat(l,".save.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object($.applyFilters)("stackable.".concat(l,".save.output.after"),null,c,t)))},Dp.Save.defaultProps={styles:null,mainClass:!0};var Rp=n(38),zp=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={value:e.props.value},e.uniqueId=Object(R.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(v()(e)),e.debouncedOnChange=Object(R.debounce)(e.debouncedOnChange.bind(v()(e)),500,{leading:!0}),e.codeMirror=null,e}return w()(t,e),f()(t,[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){Rp.initialize&&(this.codeMirror=Object(Rp.initialize)(this.uniqueId,te()(Rp.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})}}]),t}(k.Component);zp.defaultProps={value:"",onChange:function(){},editorSettings:{}};function Ap(){return(Ap=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lp=ae.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"}),Fp=function(e){return ae.a.createElement("svg",Ap({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lp)};function Up(){return(Up=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hp=ae.a.createElement("filter",{id:"curve-1-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Vp=ae.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"}),Gp=function(e){return ae.a.createElement("svg",Up({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),Hp,Vp)};function Wp(){return(Wp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qp=ae.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"}),Kp=function(e){return ae.a.createElement("svg",Wp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),qp)};function $p(){return($p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yp=ae.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qp=ae.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"}),Xp=function(e){return ae.a.createElement("svg",$p({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),Yp,Qp)};function Jp(){return(Jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zp=ae.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"}),ef=function(e){return ae.a.createElement("svg",Jp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zp)};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)}var nf=ae.a.createElement("filter",{id:"curve-2-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),af=ae.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"}),rf=function(e){return ae.a.createElement("svg",tf({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),nf,af)};function lf(){return(lf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var of=ae.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"}),sf=function(e){return ae.a.createElement("svg",lf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),of)};function uf(){return(uf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cf=ae.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pf=ae.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"}),ff=function(e){return ae.a.createElement("svg",uf({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),cf,pf)};function df(){return(df=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gf=ae.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"}),mf=function(e){return ae.a.createElement("svg",df({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gf)};function hf(){return(hf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bf=ae.a.createElement("filter",{id:"curve-3-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),vf=ae.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"}),yf=function(e){return ae.a.createElement("svg",hf({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),bf,vf)};function wf(){return(wf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kf=ae.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"}),Cf=function(e){return ae.a.createElement("svg",wf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),kf)};function Of(){return(Of=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xf=ae.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),_f=ae.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"}),Sf=function(e){return ae.a.createElement("svg",Of({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),xf,_f)};function Ef(){return(Ef=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jf=ae.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"}),Tf=function(e){return ae.a.createElement("svg",Ef({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),jf)};function Pf(){return(Pf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bf=ae.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Mf=ae.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"}),Nf=function(e){return ae.a.createElement("svg",Pf({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),Bf,Mf)};function If(){return(If=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Df=ae.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"}),Rf=function(e){return ae.a.createElement("svg",If({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Df)};function zf(){return(zf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Af=ae.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Lf=ae.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"}),Ff=function(e){return ae.a.createElement("svg",zf({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),Af,Lf)};function Uf(){return(Uf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hf=ae.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"}),Vf=function(e){return ae.a.createElement("svg",Uf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hf)};function Gf(){return(Gf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Wf=ae.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),qf=ae.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"}),Kf=function(e){return ae.a.createElement("svg",Gf({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),Wf,qf)};function $f(){return($f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yf=ae.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"}),Qf=function(e){return ae.a.createElement("svg",$f({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yf)};function Xf(){return(Xf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jf=ae.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Zf=ae.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"}),ed=function(e){return ae.a.createElement("svg",Xf({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),Jf,Zf)};function td(){return(td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.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"}),ad=function(e){return ae.a.createElement("svg",td({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),nd)};function rd(){return(rd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var id=ae.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ld=ae.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"}),od=function(e){return ae.a.createElement("svg",rd({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),id,ld)};function sd(){return(sd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ud=ae.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"}),cd=function(e){return ae.a.createElement("svg",sd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ud)};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 fd=ae.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),dd=ae.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"}),gd=function(e){return ae.a.createElement("svg",pd({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),fd,dd)};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 hd=ae.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),bd=function(e){return ae.a.createElement("svg",md({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),hd)};function vd(){return(vd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.a.createElement("filter",{id:"slant-1-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),wd=ae.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),kd=function(e){return ae.a.createElement("svg",vd({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),yd,wd)};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 Od=ae.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),xd=function(e){return ae.a.createElement("svg",Cd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Od)};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 Sd=ae.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ed=ae.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),jd=function(e){return ae.a.createElement("svg",_d({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),Sd,Ed)};function Td(){return(Td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),Bd=function(e){return ae.a.createElement("svg",Td({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Pd)};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=ae.a.createElement("filter",{id:"slant-2-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Id=ae.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Dd=function(e){return ae.a.createElement("svg",Md({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),Nd,Id)};function Rd(){return(Rd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),Ad=function(e){return ae.a.createElement("svg",Rd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),zd)};function Ld(){return(Ld=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ud=ae.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),Hd=function(e){return ae.a.createElement("svg",Ld({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),Fd,Ud)};function Vd(){return(Vd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),Wd=function(e){return ae.a.createElement("svg",Vd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gd)};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 Kd=ae.a.createElement("filter",{id:"straight-1-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),$d=ae.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),Yd=function(e){return ae.a.createElement("svg",qd({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),Kd,$d)};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 Xd=ae.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"}),Jd=function(e){return ae.a.createElement("svg",Qd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),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=ae.a.createElement("filter",{id:"wave-1-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),tg=ae.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"}),ng=function(e){return ae.a.createElement("svg",Zd({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),eg,tg)};function ag(){return(ag=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.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"}),ig=function(e){return ae.a.createElement("svg",ag({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),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=ae.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),sg=ae.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"}),ug=function(e){return ae.a.createElement("svg",lg({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),og,sg)};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 pg=ae.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"}),fg=function(e){return ae.a.createElement("svg",cg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pg)};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=ae.a.createElement("filter",{id:"wave-2-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),mg=ae.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"}),hg=function(e){return ae.a.createElement("svg",dg({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),gg,mg)};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 vg=ae.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"}),yg=function(e){return ae.a.createElement("svg",bg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),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=ae.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Cg=ae.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"}),Og=function(e){return ae.a.createElement("svg",wg({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),kg,Cg)};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 _g=ae.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"}),Sg=function(e){return ae.a.createElement("svg",xg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_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=ae.a.createElement("filter",{id:"wave-3-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Tg=ae.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"}),Pg=function(e){return ae.a.createElement("svg",Eg({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),jg,Tg)};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 Mg=ae.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"}),Ng=function(e){return ae.a.createElement("svg",Bg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),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 Dg=ae.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Rg=ae.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"}),zg=function(e){return ae.a.createElement("svg",Ig({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),Dg,Rg)};function Ag(){return(Ag=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.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"}),Fg=function(e){return ae.a.createElement("svg",Ag({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),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=ae.a.createElement("filter",{id:"wave-4-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Vg=ae.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"}),Gg=function(e){return ae.a.createElement("svg",Ug({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),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 qg=ae.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"}),Kg=function(e){return ae.a.createElement("svg",Wg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),qg)};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=ae.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},ae.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ae.a.createElement("feComponentTransfer",null,ae.a.createElement("feFuncA",{type:"linear",slope:.4})),ae.a.createElement("feMerge",null,ae.a.createElement("feMergeNode",null),ae.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qg=ae.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"}),Xg={"wave-1":{default:{shape:Jd,shadow:ng},inverted:{shape:ig,shadow:ug}},"wave-2":{default:{shape:fg,shadow:hg},inverted:{shape:yg,shadow:Og}},"wave-3":{default:{shape:Sg,shadow:Pg},inverted:{shape:Ng,shadow:zg}},"wave-4":{default:{shape:Fg,shadow:Gg},inverted:{shape:Kg,shadow:function(e){return ae.a.createElement("svg",$g({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),Yg,Qg)}}},"curve-1":{default:{shape:Fp,shadow:Gp},inverted:{shape:Kp,shadow:Xp}},"curve-2":{default:{shape:ef,shadow:rf},inverted:{shape:sf,shadow:ff}},"curve-3":{default:{shape:mf,shadow:yf},inverted:{shape:Cf,shadow:Sf}},"slant-1":{default:{shape:bd,shadow:kd},inverted:{shape:xd,shadow:jd}},"slant-2":{default:{shape:Bd,shadow:Dd},inverted:{shape:Ad,shadow:Hd}},"straight-1":{default:{shape:Wd,shadow:Yd},inverted:{shape:Wd,shadow:Yd}},"rounded-1":{default:{shape:Tf,shadow:Nf},inverted:{shape:Rf,shadow:Ff}},"rounded-2":{default:{shape:Vf,shadow:Kf},inverted:{shape:Qf,shadow:ed}},"rounded-3":{default:{shape:ad,shadow:od},inverted:{shape:cd,shadow:gd}}},Jg=function(e){var t=Xg[e.design||"wave-1"][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)};Jg.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},Jg.Save=function(e){return wp.element.createElement(Jg,e)};var Zg=function(e){var t,n=P()([e.className,"ugb-img"],(t={},r()(t,"wp-image-".concat(e.imageId),e.imageId),r()(t,"ugb-img--shape",e.shape),r()(t,"ugb-image--shape-stretch",e.shapeStretch),r()(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:I()(e.alt||void 0),width:e.width||void 0,height:e.height||void 0})};Zg.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var em=n(33),tm=wp.element.createElement(x.Icon,{icon:function(){return Oi(wp.element.createElement(yi,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}}),nm=wp.element.createElement(x.Icon,{icon:function(){return Oi(wp.element.createElement(Ci,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}});var am=Object(wt.compose)([Object(ge.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(ge.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,r=void 0===a?R.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(Se.cloneBlock)(e)}),t=Object(Se.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,i=e.isUngroupable,l=void 0!==i&&i;return Object(ge.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(k.Fragment,null,r&&wp.element.createElement(em.PluginBlockSettingsMenuItem,{icon:tm,label:Object(S.__)("Group into Container",_.i18n),onClick:t}),l&&wp.element.createElement(em.PluginBlockSettingsMenuItem,{icon:nm,label:Object(S.__)("Ungroup from Container",_.i18n),onClick:n})):null}),rm=(Object(ge.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(am),Object(wt.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,r=e.setState,i=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(k.Fragment,null,wp.element.createElement(em.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(x.Modal,{title:"".concat(Object(R.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;l(e)}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})}},i())))})),im=Object(wt.compose)([Object(ge.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($.applyFilters)("stackable.".concat(i,".design.filtered-block-attributes"),o),null,4)}}}),Object(ge.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{var t=JSON.parse(e);Be(t,n)}catch(e){console.error(e)}}}})])(rm),lm=(Object(ge.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(im),function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,i=e.showBackground,l=e.showVideoBackground,o=Et()(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),s=P()([n],{"ugb--has-background-overlay":i&&Z(a,r.attributes)});return wp.element.createElement(t,M()({className:s},Object(R.omit)(o,"index")),e.children,i&&l&&function(e,t){var n=Oe(t.attributes,function(t){return Object(R.camelCase)(Object(S.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),r=n("TabletBackgroundMediaUrl"),i=n("MobileBackgroundMediaUrl"),l=P()(["ugb-video-background"],{"ugb--video-hide-tablet":r,"ugb--video-hide-mobile":i}),o=P()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":i}),s=P()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(k.Fragment,null,He(a)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:a}),He(r)&&wp.element.createElement("video",{className:o,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:r}),He(i)&&wp.element.createElement("video",{className:s,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:i}))}(a,r),Object($.applyFilters)("stackable.div-background.output.after",null,e,r))});lm.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var om=function(e){return wp.element.createElement(x.Modal,{title:Object(S.__)("Stackable Welcome Guide",_.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.",_.i18n)),wp.element.createElement("iframe",{title:Object(S.__)("Video Tutorial",_.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(ft,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(S.__)("Close it, I'm good",_.i18n))))};om.defaultProps={onRequestClose:function(){}};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=ae.a.createElement("path",{d:"M38 12H12v26h26V12z"}),cm=function(e){return ae.a.createElement("svg",sm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),um)};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 fm=ae.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"}),dm=function(e){return ae.a.createElement("svg",pm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),fm)};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=ae.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"}),hm=function(e){return ae.a.createElement("svg",gm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),mm)},bm=void 0;function vm(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 ym(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vm(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vm(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var wm=function(e){var t=Object(k.useState)([]),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)({}),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)({}),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)(0),m=l()(g,2),h=m[0],b=m[1],v=Object(k.useState)(0),y=l()(v,2),w=y[0],C=y[1],O=Object(k.useState)(0),x=l()(O,2),E=x[0],j=x[1],T=Object(k.useState)(""),B=l()(T,2),M=B[0],N=B[1],I=e.viewBy;Object(k.useEffect)(function(){Zt().then(function(e){var t=e.reduce(function(e,t){if(!e[t]){if(Object(ge.select)("core/edit-post").getPreference("hiddenBlockTypes").includes(t))return e;if(!Object(ge.select)("core/blocks").getBlockType(t))return e;e[t]={count:0,name:t,label:t?Object(ge.select)("core/blocks").getBlockType(t).title:""}}return e},{});d(t)})},[]),Object(k.useEffect)(function(){Object.keys(f).length&&Xt({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(f).reduce(function(e,t){return e[t]=ym({},f[t]),e},{}),a=Object.keys(s).reduce(function(e,t){return void 0!==e[t]&&(e[t].num=0),e},{}),i=0,l=0,o=t.reduce(function(t,n){var r=n.block,o=n.type,s=n.plan,u=n.categories;if("block"===o&&t[r]&&t[r].count++,e.forceBlock&&e.forceBlock!==n.block||(l++,"free"===s&&i++),u&&3===u.length){var c=Object(R.last)(u);void 0===a[c]&&(a[c]={label:Object(R.startCase)(Object(R.last)(u)),num:0,isPremium:"free"!==s}),a[c].num++}return t},ym({},n));u(a),b(l),C(i),j(l-i),r(Object(R.orderBy)(o,["title"],["asc"]))})},[f,e.search,e.mood]);var D=Object(k.useMemo)(function(){var e=Object.keys(s);return _.isPro||e.sort(function(e,t){return!s[e].isPremium&&s[t].isPremium?-1:s[e].isPremium&&!s[t].isPremium?1:0}),e},[JSON.stringify(s)]),z=!0;return wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement(Ka,{controls:[{value:"ui-kits",title:Object(S.__)("UI Kits",_.i18n)},{value:"block-designs",title:Object(S.__)("Block Designs",_.i18n)}],value:I,onChange:e.onChangeViewBy,isSmall:!0,fullwidth:!1,isToggleOnly:!0}),"ui-kits"===I&&D.reduce(function(t,n,a){var r=(""===M&&0===a||M===n)&&!e.forceBlock,i=P()({"is-active":r,"is-disabled":e.forceBlock}),l=s[n].label,o=s[n].num;return!_.isPro&&z&&s[n].isPremium&&(t.push(wp.element.createElement(Dl,null)),z=!1),t.push(wp.element.createElement("li",{key:a},wp.element.createElement("div",{className:i,"data-count":o,onClick:function(){e.forceBlock||(N(n),e.onSelect({block:"",plan:"",categories:[n]}))},onKeyPress:function(e){13===e.keyCode&&bm.click()},role:"button",tabIndex:0,"aria-pressed":r?"true":"false"},l,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(l,"-count")},o)))),t},[]),"block-designs"===I&&wp.element.createElement("li",null,wp.element.createElement("div",{className:""===M?"is-active":"","data-count":h,onClick:function(){N(""),e.onSelect({block:"",plan:"",categories:[]})},onKeyPress:function(e){13===e.keyCode&&bm.click()},role:"button",tabIndex:0,"aria-pressed":""===M?"true":"false"},Object(S.__)("All Block Designs",_.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},h))),"block-designs"===I&&h!==w&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===M?"is-active":"","data-count":w,onClick:function(){N("free"),e.onSelect({block:"",plan:"free",categories:[]})},onKeyPress:function(e){13===e.keyCode&&bm.click()},role:"button",tabIndex:0,"aria-pressed":"free"===M?"true":"false"},Object(S.__)("Free Designs",_.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},w)),wp.element.createElement("div",{className:"premium"===M?"is-active":"","data-count":E,onClick:function(){N("premium"),e.onSelect({block:"",plan:"premium",categories:[]})},onKeyPress:function(e){13===e.keyCode&&bm.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===M?"true":"false"},Object(S.__)("Premium Designs",_.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},E))),"block-designs"===I&&wp.element.createElement(Dl,null),"block-designs"===I&&a.map(function(t,n){var a=M===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||(N(t.name),e.onSelect({block:t.name,plan:"",categories:[]}))},onKeyPress:function(e){13===e.keyCode&&bm.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)))}))};wm.defaultProps={search:"",mood:"",colors:[],categories:[],onSelect:function(){},forceBlock:"",viewBy:"",onChangeViewBy:function(){}};var km=wm,Cm=function(e){var t=Object(k.useState)(e.search),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)(),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)(""),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)([]),m=l()(g,2),h=m[0],b=m[1],v=Object(k.useState)(3),y=l()(v,2),w=y[0],C=y[1],O=Object(k.useState)([]),E=l()(O,2),j=E[0],T=E[1],P=Object(k.useState)(!0),B=l()(P,2),M=B[0],N=B[1],I=Object(k.useState)(!1),D=l()(I,2),z=D[0],A=D[1],L=Object(k.useState)(e.selectedBlock?"block-designs":"ui-kits"),F=l()(L,2),U=F[0],H=F[1],V=Me("stk__design_library_dev_mode",!1),G=l()(V,2),W=G[0],q=G[1],K=Object(k.useState)(""),$=l()(K,2),Y=$[0],Q=$[1];Object(k.useEffect)(function(){return u(e.selectedBlock)},[e.selectedBlock]);var X=Object(k.useState)(a),J=l()(X,2),Z=J[0],ee=J[1],te=Object(k.useState)(null),ne=l()(te,2),ae=ne[0],re=ne[1];Object(k.useEffect)(function(){ae&&(clearTimeout(ae),re(null)),re(setTimeout(function(){ee(a)},500))},[a]),Object(k.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(k.useEffect)(function(){z&&(T([]),N(!0)),Xt({type:"block",block:s,plan:f,categories:h,search:Z,reset:z}).then(function(e){T(e),Y||e.some(function(e){return _.isPro||"free"!==e.plan?!!_.isPro&&(Q(Object(R.last)(e.categories)),!0):(Q(Object(R.last)(e.categories)),!0)})}).finally(function(){N(!1),A(!1)})},[s,f,h,Z,z]);var ie=Object(k.useMemo)(function(){var t=e.selectedBlock?j.filter(function(t){return t.block===e.selectedBlock}):j;return"ui-kits"===U&&0===h.length&&(t=t.filter(function(e){return e.categories.includes(Y)})),t},[e.selectedBlock,j,U,h.length,Y]);return wp.element.createElement(x.Modal,{title:Object(S.__)("Stackable Design Library",_.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(x.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(S.__)("E.g. light, dark, red, minimalist...",_.i18n),value:a,onChange:function(e){return r(e)},"data-testid":"input-search",type:"search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(km,{search:a,categories:h,forceBlock:e.selectedBlock,viewBy:U,onSelect:function(e){var t=e.block,n=e.plan,a=e.categories;u(t),d(n),b(a)},onChangeViewBy:H}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},_.devMode&&wp.element.createElement(x.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:W,onChange:function(e){Qt(e).then(function(){A(!0)}),q(e)}}),wp.element.createElement(ft,{icon:"image-rotate",label:Object(S.__)("Refresh Library",_.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return A(!0)}}),wp.element.createElement(ft,{icon:wp.element.createElement(cm,{width:"18",height:"18"}),className:2===w?"is-active":"",label:Object(S.__)("Large preview",_.i18n),onClick:function(){return C(2)}}),wp.element.createElement(ft,{icon:wp.element.createElement(hm,{width:"18",height:"18"}),className:3===w?"is-active":"",label:Object(S.__)("Medium preview",_.i18n),onClick:function(){return C(3)}}),wp.element.createElement(ft,{icon:wp.element.createElement(dm,{width:"18",height:"18"}),className:4===w?"is-active":"",label:Object(S.__)("Small preview",_.i18n),onClick:function(){return C(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(Pi,{columns:w,onSelect:e.onSelect,isBusy:M,designs:ie}))))};Cm.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var Om=Cm;function xm(){return(xm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ae.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"}),Sm=function(e){return ae.a.createElement("svg",xm({"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),_m)},Em=function(){return wp.element.createElement(Sm,{className:"ugb-icon-is-loading"})},jm=function(e){var t=Object(k.useState)(0),n=l()(t,2),a=n[0],r=n[1],i=function(){r(a+1)};Object(k.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(i)},[]);var o=Object(R.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(k.RawHTML,o,e.value);if(!window.FontAwesome)return wp.element.createElement(Em,null);var s=e.value?e.value.replace(/-.*$/,""):e.prefix,u=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(s&&u){var c=Ie(s,u);return c?wp.element.createElement(k.RawHTML,o,c):(function(e,t){var n=De(e,t);return n?Promise.resolve(n):new Promise(function(n,a){var r=240,i=setInterval(function(){var l=De(e,t);window.FontAwesome?(clearInterval(i),n(l)):r--<0&&(clearInterval(i),a(!1))},250)})}(s,u).then(i),wp.element.createElement(Em,null))}var p=Ie("far","smile");return wp.element.createElement(k.RawHTML,M()({},o,{className:"".concat(e.className," ugb-icon--faded")}),p)};jm.Content=function(e){var t=Object(R.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(k.RawHTML,t,e.value);var n=e.value?e.value.replace(/-.*$/,""):e.prefix,a=e.value?e.value.replace(/^.*?-/,""):e.iconName,r=Ie(n,a);return wp.element.createElement(k.RawHTML,t,r)},jm.defaultProps={prefix:"",iconName:"",value:""};var Tm=jm,Pm=1,Bm=function(e){var t=Object(k.useState)("ugb-admin-setting-".concat(Pm++)),n=l()(t,1)[0],a=P()(["ugb-admin-setting"],r()({},"ugb-admin-setting--".concat(e.size),e.size));return wp.element.createElement("div",{className:a,id:n},wp.element.createElement("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:n},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))};Bm.defaultProps={label:""};var Mm=Bm,Nm=function(e){return wp.element.createElement(Mm,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)};Nm.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:function(){}};var Im=Nm,Dm=function(e){return wp.element.createElement(Mm,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)))};Dm.defaultProps={label:"",value:!1,placeholder:"",onChange:function(){},disabled:Object(S.__)("Disabled",_.i18n),enabled:Object(S.__)("Enabled",_.i18n),width:""};var Rm=Dm,zm=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).toggleBlock=e.toggleBlock.bind(v()(e)),e.enableAllBlocks=e.enableAllBlocks.bind(v()(e)),e.disableAllBlocks=e.disableAllBlocks.bind(v()(e)),e.ajaxTimeout=null,e.state={disabledBlocks:e.props.disabledBlocks||[],isSaving:!1},e}return w()(t,e),f()(t,[{key:"componentDidUpdate",value:function(e,t){var n=this;this.state.disabledBlocks!==t.disabledBlocks&&(clearTimeout(this.ajaxTimeout),this.ajaxTimeout=setTimeout(function(){Object(C.send)("stackable_update_disable_blocks",{success:function(){n.setState({isSaving:!1})},error:function(e){n.setState({isSaving:!1}),alert(e)},data:{nonce:_.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(s()(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(x.Spinner,null),wp.element.createElement("button",{onClick:this.enableAllBlocks,className:"button button-large button-link"},Object(S.__)("Enable All",_.i18n)),wp.element.createElement("button",{onClick:this.disableAllBlocks,className:"button button-large button-link"},Object(S.__)("Disable All",_.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}),o=n.replace(/\w+\//,"");return wp.element.createElement("div",{key:a+1,className:l},wp.element.createElement("img",{src:"".concat(_.welcomeSrcUrl,"/images/block-").concat(o,".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",_.i18n),r.title)},Object(S.__)("View Block Demo",_.i18n)))),wp.element.createElement("button",{className:"s-toggle-button",onClick:function(){return e.toggleBlock(n)}},wp.element.createElement("span",null,Object(S.__)("Disabled",_.i18n)),wp.element.createElement("span",null,Object(S.__)("Enabled",_.i18n))))})))}}]),t}(k.Component),Am=null,Lm=function(){var e=Object(k.useState)(!1),t=l()(e,2),n=t[0],a=t[1],r=Object(k.useState)(""),i=l()(r,2),o=i[0],s=i[1];Object(k.useEffect)(function(){j.loadPromise.then(function(){(new j.models.Settings).fetch().then(function(e){a(!!e.stackable_global_force_typography),s(e.stackable_global_content_selector)})})},[]);return wp.element.createElement(k.Fragment,null,wp.element.createElement(Im,{label:Object(S.__)("Content Selector",_.i18n),help:Object(S.__)("The selector to the content area of your theme.",_.i18n),placeholder:".entry-content",value:o,onChange:function(e){clearTimeout(Am),Am=setTimeout(function(){new j.models.Settings({stackable_global_content_selector:e}).save()},500),s(e)}}),wp.element.createElement(Rm,{label:Object(S.__)("Force Typography Styles",_.i18n),value:n,onChange:function(e){new j.models.Settings({stackable_global_force_typography:e}).save(),a(e)},disabled:Object(S.__)("Not forced",_.i18n),enabled:Object(S.__)("Force styles",_.i18n)}))},Fm=function(e){var t=Object(k.useState)(!1),n=l()(t,2),a=n[0],i=n[1],o=Object(k.useState)(!1),s=l()(o,2),u=s[0],c=s[1],p=Object(k.useState)(!1),f=l()(p,2),d=f[0],g=f[1],m=Object(k.useState)(!1),h=l()(m,2),b=h[0],v=h[1];Object(k.useEffect)(function(){v(!0),j.loadPromise.then(function(){(new j.models.Settings).fetch().then(function(e){i(!!e.stackable_help_tooltip_disabled),c("1"===e.stackable_load_v1_styles),g("1"===e.stackable_show_pro_notices),v(!1)})})},[]);var y=function(e,t){v(!0),new j.models.Settings(r()({},e,t)).save().then(function(){return v(!1)})};return wp.element.createElement("div",null,e.showProNoticesOption&&wp.element.createElement(x.CheckboxControl,{label:Object(S.__)('Show "Go premium" notices',_.i18n),checked:d,onChange:function(e){y("stackable_show_pro_notices",e?"1":""),g(e)}}),wp.element.createElement(x.CheckboxControl,{label:Object(S.__)("Don't show help video tooltips",_.i18n),checked:a,onChange:function(e){y("stackable_help_tooltip_disabled",e?"1":""),i(e)}}),wp.element.createElement(x.CheckboxControl,{label:Object(S.__)("Load version 1 block stylesheet for backward compatibility",_.i18n),checked:u,onChange:function(e){y("stackable_load_v1_styles",e?"1":""),c(e)}}),b&&wp.element.createElement("div",{className:"ugb--saving-wrapper"},wp.element.createElement(x.Spinner,null)))};Fm.defaultProps={showProNoticesOption:!1};var Um=function(){var e=Object(k.useState)(!1),t=l()(e,2),n=t[0],a=t[1];Object(k.useEffect)(function(){j.loadPromise.then(function(){(new j.models.Settings).fetch().then(function(e){a(!!e.stackable_optimize_script_load)})})},[]);return wp.element.createElement(k.Fragment,null,wp.element.createElement(Rm,{label:Object(S.__)("Frontend JS & CSS Files",_.i18n),value:n,onChange:function(e){new j.models.Settings({stackable_optimize_script_load:e}).save(),a(e)},disabled:Object(S.__)("Load across entire site",_.i18n),enabled:Object(S.__)("Load only in posts with Stackable blocks",_.i18n)}))};Object(O.a)(function(){Object(k.render)(wp.element.createElement(zm,{blocks:E,disabledBlocks:_.disabledBlocks}),document.querySelector(".s-settings-wrapper")),Object(k.render)(wp.element.createElement(Fm,{showProNoticesOption:_.showProNoticesOption}),document.querySelector(".s-other-options-wrapper")),Object(k.render)(wp.element.createElement(Lm,null),document.querySelector(".s-global-settings")),Object(k.render)(wp.element.createElement(Um,null),document.querySelector(".s-optimization-settings"))})}]);
9
  Licensed under the MIT License (MIT), see
10
  http://jedwatson.github.io/classnames
11
  */
12
+ !function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var i=typeof a;if("string"===i||"number"===i)e.push(a);else if(Array.isArray(a)&&a.length){var l=r.apply(null,a);l&&e.push(l)}else if("object"===i)for(var o in a)n.call(a,o)&&a[o]&&e.push(o)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=wp.hooks},function(e,t,n){var a=n(118),r=n(119),i=n(120);e.exports=function(e,t){return a(e)||r(e,t)||i()}},function(e,t,n){e.exports=n(140)()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=wp.compose},function(e,t,n){var a=n(121),r=n(122),i=n(123);e.exports=function(e){return a(e)||r(e)||i()}},function(e,t){e.exports=wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}e.exports=function(e,t,a){return t&&n(e.prototype,t),a&&n(e,a),e}},function(e,t,n){var a=n(31),r=n(12);e.exports=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?r(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var a=n(124);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}},function(e,t,n){"use strict";t.a=function(e){if("complete"===document.readyState||"interactive"===document.readyState)return e();document.addEventListener("DOMContentLoaded",e)}},function(e,t,n){e.exports=n(136)},function(e,t){e.exports=wp.blockEditor},function(e,t,n){var a=n(139);e.exports=function(e,t){if(null==e)return{};var n,r,i=a(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){function n(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)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise(function(r,i){var l=e.apply(t,a);function o(e){n(l,r,i,o,s,"next",e)}function s(e){n(l,r,i,o,s,"throw",e)}o(void 0)})}}},function(e,t,n){e.exports=function(){"use strict";var e=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var n=Object.prototype.toString.call(e);return"[object RegExp]"===n||"[object Date]"===n||function(e){return e.$$typeof===t}(e)}(e)},t="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function a(e,t,a){return e.concat(t).map(function(e){return n(e,a)})}function r(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}(e))}function i(e,t,a){var i={};return a.isMergeableObject(e)&&r(e).forEach(function(t){i[t]=n(e[t],a)}),r(t).forEach(function(r){a.isMergeableObject(t[r])&&e[r]?i[r]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(r,a)(e[r],t[r],a):i[r]=n(t[r],a)}),i}function l(t,r,l){(l=l||{}).arrayMerge=l.arrayMerge||a,l.isMergeableObject=l.isMergeableObject||e;var o=Array.isArray(r);return o===Array.isArray(t)?o?l.arrayMerge(t,r,l):i(t,r,l):n(r,l)}return l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return l(e,n,t)},{})},l}()},function(e,t){e.exports=wp.api},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,i,l,o){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,r,i,l,o],c=0;(s=new Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t){e.exports=wp.apiFetch},function(e,t,n){"use strict";e.exports=function(){}},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=a=function(e){return n(e)}:e.exports=a=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},a(t)}e.exports=a},function(e,t){e.exports=wp.blocks},function(e,t){e.exports=wp.editPost},function(e,t){e.exports=wp.ajax},function(e,t,n){"use strict";var a;!function(r){if("function"!=typeof i){var i=function(e){return e};i.nonNative=!0}const l=i("plaintext"),o=i("html"),s=i("comment"),u=/<(\w*)>/g,c=/<\/?([^\s\/>]+)/;function p(e,t,n){return d(e=e||"",f(t=t||[],n=n||""))}function f(e,t){return{allowable_tags:e=function(e){let t=new Set;if("string"==typeof e){let n;for(;n=u.exec(e);)t.add(n[1])}else i.nonNative||"function"!=typeof e[i.iterator]?"function"==typeof e.forEach&&e.forEach(t.add,t):t=new Set(e);return t}(e),tag_replacement:t,state:l,tag_buffer:"",depth:0,in_quote_char:""}}function d(e,t){if("string"!=typeof e)throw new TypeError("'html' parameter must be a string");let n=t.allowable_tags,a=t.tag_replacement,r=t.state,i=t.tag_buffer,u=t.depth,c=t.in_quote_char,p="";for(let t=0,f=e.length;t<f;t++){let f=e[t];if(r===l)switch(f){case"<":r=o,i+=f;break;default:p+=f}else if(r===o)switch(f){case"<":if(c)break;u++;break;case">":if(c)break;if(u){u--;break}c="",r=l,i+=">",n.has(g(i))?p+=i:p+=a,i="";break;case'"':case"'":c=f===c?"":c||f,i+=f;break;case"-":"<!-"===i&&(r=s),i+=f;break;case" ":case"\n":if("<"===i){r=l,p+="< ",i="";break}i+=f;break;default:i+=f}else if(r===s)switch(f){case">":"--"==i.slice(-2)&&(r=l),i="";break;default:i+=f}}return t.state=r,t.tag_buffer=i,t.depth=u,t.in_quote_char=c,p}function g(e){let t=c.exec(e);return t?t[1].toLowerCase():null}p.init_streaming_mode=function(e,t){let n=f(e=e||[],t=t||"");return function(e){return d(e||"",n)}},void 0===(a=function(){return p}.call(t,n,t,e))||(e.exports=a)}()},function(e,t,n){"use strict";var a=n(128),r=n(133),i=n(135);e.exports=function(e){var t,n=a(e);return n.space?((t=Array(3))[0]=i(n.values[0],0,255),t[1]=i(n.values[1],0,255),t[2]=i(n.values[2],0,255),"h"===n.space[0]&&(t=r.rgb(t)),t.push(i(n.alpha,0,1)),t):[]}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(153)},function(e,t){e.exports=wp.codeEditor},function(e,t,n){"use strict";var a=Object.prototype.hasOwnProperty,r=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)void 0!==e[a]&&(n[a]=e[a]);return n};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var i=t[a],l=i.obj[i.prop],o=Object.keys(l),s=0;s<o.length;++s){var u=o[s],c=l[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:l,prop:u}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var a=[],i=0;i<n.length;++i)void 0!==n[i]&&a.push(n[i]);t.obj[t.prop]=a}}}(t),e},decode:function(e,t,n){var a=e.replace(/\+/g," ");if("iso-8859-1"===n)return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(e){return a}},encode:function(e,t,n){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var r="",l=0;l<a.length;++l){var o=a.charCodeAt(l);45===o||46===o||95===o||126===o||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?r+=a.charAt(l):o<128?r+=i[o]:o<2048?r+=i[192|o>>6]+i[128|63&o]:o<55296||o>=57344?r+=i[224|o>>12]+i[128|o>>6&63]+i[128|63&o]:(l+=1,o=65536+((1023&o)<<10|1023&a.charCodeAt(l)),r+=i[240|o>>18]+i[128|o>>12&63]+i[128|o>>6&63]+i[128|63&o])}return r},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(r(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return r(t)&&!r(n)&&(o=l(t,i)),r(t)&&r(n)?(n.forEach(function(n,r){if(a.call(t,r)){var l=t[r];l&&"object"==typeof l&&n&&"object"==typeof n?t[r]=e(l,n,i):t.push(n)}else t[r]=n}),t):Object.keys(n).reduce(function(t,r){var l=n[r];return a.call(t,r)?t[r]=e(t[r],l,i):t[r]=l,t},o)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!0;var l={},o=void 0,s=void 0;for(o=0,s=n.length;o<s;o++)l[n[o]]=!0;for(o=0,s=r.length;o<s;o++){var u=r[o],c=e[u],p=t[u];if(c!==p){if(!l[u]||null===c||null===p||"object"!==(void 0===c?"undefined":a(c))||"object"!==(void 0===p?"undefined":a(p)))return!0;var f=Object.keys(c),d=Object.keys(p);if(f.length!==d.length)return!0;for(var g=0,m=f.length;g<m;g++){var h=f[g];if(c[h]!==p[h])return!0}}}return!1}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(126);t.default=a.isDarkColor,e.exports=t.default},function(e,t,n){"use strict";var a=n(137),r=n(138),i=n(46);e.exports={formats:i,parse:r,stringify:a}},,function(e,t,n){"use strict";
13
  /*
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 p=0;p<o.length;p++)i.call(n,o[p])&&(s[o[p]]=n[o[p]])}}return s}},function(e,t,n){"use strict";var a=String.prototype.replace,r=/%20/g,i=n(39),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/higher-order-with-design-layout-selector-basic.a9cc4da.png"},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(142).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":"Akaya Kanadaka","variants":["regular"],"subsets":["kannada","latin","latin-ext"]},{"family":"Akaya Telivigala","variants":["regular"],"subsets":["latin","latin-ext","telugu"]},{"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","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","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","vietnamese"]},{"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":"Andika New Basic","variants":["regular","italic","700","700italic"],"subsets":["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":"Antonio","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"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":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"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","latin-ext"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","latin-ext","tamil","vietnamese"]},{"family":"Arimo","variants":["regular","500","600","700","italic","500italic","600italic","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","500","600","700","italic","500italic","600italic","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","500","600","700","800"],"subsets":["hebrew","latin","latin-ext"]},{"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":"Ballet","variants":["regular"],"subsets":["latin","latin-ext","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":"Benne","variants":["regular"],"subsets":["kannada","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 Inline Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Inline Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Big Shoulders Stencil Text","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","vietnamese"]},{"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":"Bodoni Moda","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bona Nova","variants":["regular","italic","700"],"subsets":["cyrillic","cyrillic-ext","greek","hebrew","latin","latin-ext","vietnamese"]},{"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":"Brygada 1918","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"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":"Castoro","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"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","500","600","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","latin-ext"]},{"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":"Dela Gothic One","variants":["regular"],"subsets":["cyrillic","greek","japanese","latin","latin-ext","vietnamese"]},{"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":"DotGothic16","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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 SC","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":"Festive","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Fraunces","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":"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":"Fuggles","variants":["regular"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Goldman","variants":["regular","700"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Hachi Maru Pop","variants":["regular"],"subsets":["cyrillic","japanese","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","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imbue","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"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","vietnamese"]},{"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":"JetBrains Mono","variants":["100","200","300","regular","500","600","700","800","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"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","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","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":"Karantina","variants":["300","regular","700"],"subsets":["hebrew","latin","latin-ext"]},{"family":"Karla","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"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":"Kiwi Maru","variants":["300","regular","500"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"Langar","variants":["regular"],"subsets":["gurmukhi","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","variants":["100","300","regular","500","600","700","800"],"subsets":["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 Barcode EAN13 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","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext","vietnamese"]},{"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","latin-ext","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","vietnamese"]},{"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":"Nerko One","variants":["regular"],"subsets":["latin","latin-ext"]},{"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":"New Tegomin","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Newsreader","variants":["200","300","regular","500","600","700","800","200italic","300italic","italic","500italic","600italic","700italic","800italic"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Oi","variants":["regular"],"subsets":["greek","latin","latin-ext","vietnamese"]},{"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":"Orelega One","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","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":"Otomanopee One","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"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":"Potta One","variants":["regular"],"subsets":["japanese","latin","latin-ext","vietnamese"]},{"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":"Qahiri","variants":["regular"],"subsets":["arabic","latin"]},{"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","vietnamese"]},{"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":["cyrillic-ext","latin","latin-ext","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","500","600","700"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Reggae One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"RocknRoll One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"STIX Two Math","variants":["regular"],"subsets":["cyrillic","cyrillic-ext","greek","latin","latin-ext","vietnamese"]},{"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","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"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":"Shippori Mincho","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"family":"Shippori Mincho B1","variants":["regular","500","600","700","800"],"subsets":["japanese","latin","latin-ext"]},{"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 Grotesk","variants":["300","regular","500","600","700"],"subsets":["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":"Stick","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"Syne Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Syne Tactile","variants":["regular"],"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":"Texturina","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":"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":"Tourney","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":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Train One","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext"]},{"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":"Trispace","variants":["100","200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","vietnamese"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Truculenta","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","vietnamese"]},{"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":"Uchen","variants":["regular"],"subsets":["latin","tibetan"]},{"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":"Xanh Mono","variants":["regular","italic"],"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":"Yomogi","variants":["regular"],"subsets":["cyrillic","japanese","latin","latin-ext","vietnamese"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Yusei Magic","variants":["regular"],"subsets":["japanese","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":"Zen Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Zen Loop","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Zen Tokyo Zoo","variants":["regular"],"subsets":["latin","latin-ext"]},{"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(11)),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){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=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}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=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}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t){function n(t,a){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,a)}e.exports=n},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}},p=Date.now();t.unstable_now=function(){return Date.now()-p},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 f=window.performance,d=window.Date,g=window.setTimeout,m=window.clearTimeout;if("undefined"!=typeof console){var h=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 h&&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 f&&"function"==typeof f.now)t.unstable_now=function(){return f.now()};else{var b=d.now();t.unstable_now=function(){return d.now()-b}}var v=!1,y=null,w=-1,k=5,C=0;l=function(){return t.unstable_now()>=C},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 O=new MessageChannel,x=O.port2;O.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();C=e+k;try{y(!0,e)?x.postMessage(null):(v=!1,y=null)}catch(e){throw x.postMessage(null),e}}else v=!1},a=function(e){y=e,v||(v=!0,x.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 S(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 T=[],P=[],B=1,M=null,N=3,I=!1,D=!1,R=!1;function z(e){for(var t=S(P);null!==t;){if(null===t.callback)E(P);else{if(!(t.startTime<=e))break;E(P),t.sortIndex=t.expirationTime,_(T,t)}t=S(P)}}function A(e){if(R=!1,z(e),!D)if(null!==S(T))D=!0,a(L);else{var t=S(P);null!==t&&r(A,t.startTime-e)}}function L(e,n){D=!1,R&&(R=!1,i()),I=!0;var a=N;try{for(z(n),M=S(T);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===S(T)&&E(T),z(n)}else E(T);M=S(T)}if(null!==M)var u=!0;else{var c=S(P);null!==c&&r(A,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,_(P,e),null===S(T)&&e===S(P)&&(R?i():R=!0,r(A,s-o))):(e.sortIndex=l,_(T,e),D||I||(D=!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();z(e);var n=S(T);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(){D||I||(D=!0,a(L))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(T)},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(3),r=n.n(a),i=n(10),l=n.n(i),o=n(14),s=n.n(o),u=n(16),c=n.n(u),p=n(17),f=n.n(p),d=n(18),g=n.n(d),m=n(19),h=n.n(m),b=n(12),v=n.n(b),y=n(20),w=n.n(y),k=n(4),C=n(34),O=n(21),x=n(6),_=n(1);Object(O.a)(function(){var e=document.querySelector(".s-news-box-content");e&&""===e.innerHTML&&(Object(k.render)(wp.element.createElement("div",null,wp.element.createElement(x.Spinner,null)),e),Object(C.send)("stackable_news_feed_ajax",{success:function(t){e.innerHTML=t},error:function(e){alert(e)},data:{nonce:_.nonceNews}}))});var S=n(0),E={"ugb/accordion":{title:Object(S.__)("Accordion",_.i18n),description:Object(S.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",_.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",_.i18n),description:Object(S.__)("Start with the building block of all page layouts.",_.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",_.i18n),description:Object(S.__)("Introduce new sections of your content in style.",_.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",_.i18n),description:Object(S.__)("Display a quote in style.",_.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",_.i18n),description:Object(S.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",_.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",_.i18n),description:Object(S.__)("Add a customizable button.",_.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",_.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.",_.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",_.i18n),description:Object(S.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",_.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",_.i18n),description:Object(S.__)("Add a block that displays content in multiple columns. Get advanced options on how you want your columns to look.",_.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",_.i18n),description:Object(S.__)("A styled container that you can add other blocks inside. Use this to create unique layouts.",_.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",_.i18n),description:Object(S.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",_.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",_.i18n),description:Object(S.__)("Choose from over a hundred block designs from the Stackable Design Library.",_.i18n)},"ugb/divider":{title:Object(S.__)("Divider",_.i18n),description:Object(S.__)("Add a pause between your content.",_.i18n)},"ugb/expand":{title:Object(S.__)("Expand / Show More",_.i18n),description:Object(S.__)("Display a small snippet of text. Your readers can toggle it to show more information.",_.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",_.i18n),description:Object(S.__)("Display multiple product features or services. You can use Feature Grids one after another.",_.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",_.i18n),description:Object(S.__)("Display a product feature or a service in a large area.",_.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",_.i18n),description:Object(S.__)("A large header title area. Typically used at the very top of a page.",_.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",_.i18n),description:Object(S.__)("Pick an icon or upload your own SVG icon to decorate your content.",_.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",_.i18n),description:Object(S.__)("An unordered list with icons. You can use this as a list of features or benefits.",_.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",_.i18n),description:Object(S.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",_.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",_.i18n),description:Object(S.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",_.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",_.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!"',_.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",_.i18n),description:Object(S.__)("Display the different pricing tiers of your business.",_.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",_.i18n),description:Object(S.__)("A fancy separator to be placed between containers and content.",_.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",_.i18n),description:Object(S.__)("Sometimes you just need some space.",_.i18n)},"ugb/team-member":{title:Object(S.__)("Team Member",_.i18n),description:Object(S.__)("Display members of your team or your office. Use multiple Team Member blocks if you have a large team.",_.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",_.i18n),description:Object(S.__)("Showcase what your users say about your product or service.",_.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",_.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.",_.i18n),sDemoURL:"https://wpstackable.com/video-popup-block/?utm_source=welcome&utm_medium=settings&utm_campaign=view_demo&utm_content=demolink"}},j=n(27),T=n(7),P=n.n(T),B=n(8),M=n.n(B),N=n(35),I=n.n(N),D=n(23),R=n(5),z=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(F,M()({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(r()({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(r()({},n("Url"),e))},onChangeNewTab:function(e){return t(r()({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(r()({},n("NoFollow"),e))},onChangeIcon:function(e){return t(r()({},n("Icon"),e))},isSelected:e.isSelected},e))};z.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(z.Content=function(e){var t=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a};return wp.element.createElement(F.Content,M()({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var A=1,L=function(e){function t(){var e;return c()(this,t),e=g()(this,h()(t).apply(this,arguments)),r()(v()(e),"hideUrlPopup",function(){var t=document.body;document.querySelector('iframe[name="editor-canvas"]')&&(t=document.querySelector('iframe[name="editor-canvas"]').contentWindow.document.body),t.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=A++,e.onButtonClickHandler=e.onButtonClickHandler.bind(v()(e)),e.outsideClickHandler=e.outsideClickHandler.bind(v()(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(v()(e)),e}return w()(t,e),f()(t,[{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;if(!this.state.openPopup){var t=document.body;document.querySelector('iframe[name="editor-canvas"]')&&(t=document.querySelector('iframe[name="editor-canvas"]').contentWindow.document.body),t.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,i=void 0===a?"":a,l=t.size,o=void 0===l?"normal":l,s=t.text,u=void 0===s?"":s,c=t.onChange,p=void 0===c?function(){}:c,f=t.design,d=void 0===f?"basic":f,g=t.shadow,m=void 0===g?0:g,h=t.iconPosition,b=void 0===h?"":h,v=t.hoverEffect,y=void 0===v?"":v,w=t.ghostToNormalEffect,C=void 0!==w&&w,O=t.url,x=void 0===O?"":O,E=t.newTab,j=void 0===E?"":E,T=t.noFollow,B=void 0===T?"":T,M=t.onChangeUrl,N=void 0===M?null:M,I=t.onChangeNewTab,R=void 0===I?null:I,z=t.onChangeNoFollow,A=void 0===z?null:z,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,W=P()([i,"ugb-button","ugb-button--size-".concat(o)],(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":C},r()(e,"ugb--hover-effect-".concat(y),"link"!==d&&y),r()(e,"ugb--shadow-".concat(m),"basic"===d&&m),r()(e,"ugb-button--design-".concat(d),"basic"!==d),r()(e,"ugb-button--has-icon",H),r()(e,"ugb-button--icon-position-".concat(b),b),e)),q=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:q,onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:W},H&&"link"!==d&&wp.element.createElement(k.Fragment,null,!F&&wp.element.createElement(Ko,{value:H}),F&&wp.element.createElement(Xo,{value:H,onChange:F,isOpen:n?K:null})),!n&&wp.element.createElement(D.RichText,{tagName:"span",className:"link"===d?"":"ugb-button--inner",placeholder:Object(S.__)("Button text",_.i18n),value:u,onChange:p,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),K&&wp.element.createElement(Ct,{value:x,onChange:N,newTab:j,noFollow:B,onChangeNewTab:R,onChangeNoFollow:A,disableSuggestions:this.props.disableSuggestions})))}}]),t}(k.Component);L.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},L.Content=function(e){var t,n=e.iconButton,a=e.className,i=void 0===a?"":a,l=e.size,o=void 0===l?"normal":l,s=e.url,u=void 0===s?"":s,c=e.icon,p=void 0===c?null:c,f=e.text,d=void 0===f?"":f,g=e.design,m=void 0===g?"basic":g,h=e.newTab,b=void 0!==h&&h,v=e.shadow,y=void 0===v?0:v,w=e.iconPosition,k=void 0!==w&&w,C=e.hoverEffect,O=void 0===C?"":C,x=e.noFollow,_=void 0!==x&&x,S=e.ghostToNormalEffect,E=void 0!==S&&S,j=e.target,T=void 0===j?"":j,B=e.role,N=void 0===B?"":B,R=e.title,z=void 0===R?"":R,A=e.containerClassName,L=void 0===A?"":A,F=P()([i,"ugb-button","ugb-button--size-".concat(o)],(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":E},r()(t,"ugb--hover-effect-".concat(O),"link"!==m&&O),r()(t,"ugb--shadow-".concat(y),"basic"===m&&y),r()(t,"ugb-button--design-".concat(m),"basic"!==m),r()(t,"ugb-button--has-icon",p),r()(t,"ugb-button--icon-position-".concat(k),k),t)),U=P()(["ugb-button-container",L]),H=[];b&&(H.push("noopener"),H.push("noreferrer")),_&&H.push("nofollow");var V={};return N&&(V.role=N),wp.element.createElement("div",{className:U},(d||n)&&wp.element.createElement("a",M()({className:F,href:u,target:T||b?T||"_blank":void 0,rel:e.rel||H.join(" "),title:I()(z)},V),p&&"link"!==m&&wp.element.createElement(Ko.Content,{value:p}),!n&&wp.element.createElement(D.RichText.Content,{tagName:"span",className:"link"===m?"":"ugb-button--inner",value:d})))};var F=L,U={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"},H=function(e){var t=e.replace(/ /g,"+"),n=U[_.locale]?"&subset=".concat(U):"";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)},V=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},G=function(e){setTimeout(function(){var t=function(t){if(t&&V(e)){if(q(e,t))return;var n=W(e);t.appendChild(n)}},n=$e();t(n),n!==document.querySelector("head")&&t(document.querySelector("head"))},50)},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.createElement("link");return t.classList.add("ugb-google-fonts"),t.setAttribute("data-font-name",e),t.setAttribute("href",H(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t},q=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.querySelector("head");return t.querySelector('[data-font-name="'.concat(e,'"]'))},K=function(e){return V(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"'},$=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&G(n)})};var Y=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(R.camelCase)(Object(S.sprintf)(e,t))},i=_e(n,r,""),l=a.importantSize,o=void 0!==l&&l,s=a.important,u=void 0===s||s,c=a.inherit,p=void 0===c||c,f=a.inheritMax,d=void 0===f?50:f,g=a.inheritMin,m={},h=i("FontSize"),b=i("TabletFontSize"),v=i("MobileFontSize");if("tablet"!==t&&"mobile"!==t)m={fontFamily:""!==i("FontFamily")?K(i("FontFamily")):void 0,fontSize:""!==h?xe("".concat(h).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(m={lineHeight:""!==i("TabletLineHeight")?"".concat(i("TabletLineHeight")).concat(i("TabletLineHeightUnit")||"em"):void 0},p){var y=Se(h,{min:g,max:d});y&&(m.fontSize="".concat(y).concat(i("FontSizeUnit")||"px"))}b&&(m.fontSize=i("TabletFontSize","%s".concat(i("TabletFontSizeUnit")||"px")))}else{if(m={lineHeight:""!==i("MobileLineHeight")?"".concat(i("MobileLineHeight")).concat(i("MobileLineHeightUnit")||"em"):void 0},p){var w=Se(h,{min:g,max:d});w&&(m.fontSize="".concat(w).concat(i("FontSizeUnit")||"px"));var k=Se(b,{min:g,max:d});k?m.fontSize="".concat(k).concat(i("TabletFontSizeUnit")||"px"):(w||b)&&(m.fontSize=void 0)}v&&(m.fontSize=i("MobileFontSize","%s".concat(i("MobileFontSizeUnit")||"px")))}return u?Oe(m):m},Q=n(9);function X(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 J={},Z=function(){J=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(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(Q.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)]=Y("%s","desktop",a,{important:!0}),J={},e});var ee=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(J).length&&!t||Z(),J[e]||J.p||21};Object(O.a)(function(){Z()});var te=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(R.camelCase)(Object(S.sprintf)(e,t))},a=_e(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")};var ne=n(26),ae=n.n(ne);var re=n(2),ie=n.n(re);function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=ie.a.createElement("circle",{cx:50,cy:50,r:50}),se=function(e){return ie.a.createElement("svg",le({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),oe)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=ie.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),pe=function(e){return ie.a.createElement("svg",ue({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function fe(){return(fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=ie.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 ge={circle:se,square:pe,blob1:function(e){return ie.a.createElement("svg",fe({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),de)}},me=function(e){var t=Object(Q.applyFilters)("stackable.image.shape.svgs",ge);return t[e]?t[e]:null},he=n(15),be=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||""}},ve=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]||be(e):null};window._stackableCachedImageData={};var ye=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},we=function(e){return window._stackableCachedImageData[e]||null};n(42),n(36);function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Oe=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Object.keys(e).reduce(function(n,a){return Ce({},n,r()({},a,xe(e[a],t)))},{})},xe=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},_e=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(R.lowerFirst)(e)},o=void 0===e[l(a)]?"":e[l(a)];return""!==o?r?Object(S.sprintf)(r.replace(/%$/,"%%"),o):o:i}},Se=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(R.clamp)(e,parseFloat(a),parseFloat(i));if(!isNaN(l))return parseFloat(l)!==parseFloat(e)?l:void 0}};var Ee={facebook:{label:Object(S.__)("Facebook",_.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",_.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",_.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",_.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",_.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",_.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",_.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>'}},je=n(32);function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Be=["uniqueClass"],Me={};var Ne=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=Object(he.select)("core/block-editor"),i=a.getBlockName,l=a.getSelectedBlockClientId,o=a.getBlockAttributes,s=a.hasMultiSelection,u=a.getMultiSelectedBlockClientIds,c=Object(he.dispatch)("core/block-editor"),p=c.updateBlockAttributes,f=Object(he.select)("core/blocks"),d=f.getBlockType;if(n||!s()){var g=n||l();if(g){var m=o(g),h=i(g).replace(/^\w+\//g,""),b=d(i(g)).attributes,v=Object.keys(b).reduce(function(e,t){return Pe({},e,r()({},t,b[t]?b[t].default:""))},{}),y=Object(Q.applyFilters)("stackable.".concat(h,".design.filtered-block-attributes"),Pe({},v,{},t),m),w=Object(Q.applyFilters)("stackable.".concat(h,".design.no-text-attributes"),y,m);$(w),p(g,Object(R.omit)(w,["uniqueClass"]))}}else u().forEach(function(n){e(t,n)})},Ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(k.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=l()(n,2),r=a[0],i=a[1],o=function(t){try{var n=t instanceof Function?t(r):t;i(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[r,o]};var De=function(e,t){var n=Re(e,t);return n?n.html[0]:""},Re=function(e,t){return window.FontAwesome?window.FontAwesome.icon({prefix:e,iconName:t}):null},ze=n(22),Ae=n.n(ze),Le=n(25),Fe=n.n(Le),Ue=n(29),He=n.n(Ue);n(43);var Ve=function(e){return e.match(/(mp4|webm|ogg)$/i)},Ge="desktop",We=function(){return Ge},qe=!1,Ke=function(){return qe},$e=function(){var e=document.querySelector("head");return Ye()&&(e=document.querySelector('iframe[name="editor-canvas"]').contentWindow.document.querySelector("head")),e},Ye=function(){return!!document.querySelector('iframe[name="editor-canvas"]')};function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Je=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a},i=Object.keys(Ee).reduce(function(e,i){var l;return Xe({},e,(l={},r()(l,"".concat(i,"Url"),a("".concat(i,"Url"))),r()(l,"onChange".concat(Object(R.upperFirst)(i),"Url"),function(e){return t(r()({},n("".concat(i,"Url")),e))}),l))},{});return wp.element.createElement(rt,M()({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(r()({},n("NewTab"),e))},isSelected:e.isSelected},i,e))};Je.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(Je.Content=function(e){var t=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[t(n)];return 0===r?r:r||a},a=Object.keys(Ee).reduce(function(e,t){return Xe({},e,r()({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(rt.Content,M()({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 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){r()(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}var tt=function(e){return wp.element.createElement(k.Fragment,null,Object.keys(Ee).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(R.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(R.upperFirst)(t))])&&wp.element.createElement(F,M()({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:Ee[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(R.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},nt=Object.keys(Ee).reduce(function(e,t){var n;return et({},e,(n={},r()(n,"".concat(t,"Url"),""),r()(n,"show".concat(Object(R.upperFirst)(t)),null),n))},{});tt.defaultProps=et({useSocialColors:!0},nt),tt.Content=function(e){return wp.element.createElement(k.Fragment,null,Object.keys(Ee).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(R.upperFirst)(t))]&&wp.element.createElement(F.Content,M()({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:Ee[t].icon,url:e["".concat(t,"Url")]||"#"},e))}))};var at=Object.keys(Ee).reduce(function(e,t){var n;return et({},e,(n={},r()(n,"".concat(t,"Url"),""),r()(n,"show".concat(Object(R.upperFirst)(t)),null),n))},{});tt.Content.defaultProps=et({useSocialColors:!0},at);var rt=tt;function it(){return(it=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var lt=ie.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),ot=ie.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),st=ie.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"}),ut=function(e){return ie.a.createElement("svg",it({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),lt,ot,st)};function ct(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 pt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ft=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,r=e.className,i=e.allowedTypes,l=e.render,o=e.hasRemove,s=e.style,u=P()([r,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),c=pt({},s,{backgroundImage:n&&!l?"url(".concat(n,")"):void 0});return wp.element.createElement(D.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(pt({},t,{url:n,width:a,height:r}))},allowedTypes:i,value:t,render:function(e){return n&&l?wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:c,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&o&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(x.Dashicon,{icon:"no"})),l):wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:c,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&o&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(x.Dashicon,{icon:"no"})),!n&&wp.element.createElement(ut,null))}})};ft.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var dt=function(e){return wp.element.createElement(x.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(D.URLInput,M()({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(R.omit)(e,["label","help"]))))};dt.defaultProps={label:Object(S.__)("URL",_.i18n),help:null,value:"",onChange:function(){}};var gt=dt,mt=Object(k.forwardRef)(function(e,t){var n=P()([e.className,"ugb-button-component"]);return wp.element.createElement(x.Button,M()({},e,{className:n,ref:t}))});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}function bt(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 vt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var yt=Object(k.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?vt(Object(n),!0).forEach(function(t){ht(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},bt(e,["className","isPressed"]),{className:P()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":"true",focusable:"false"});return Object(k.createElement)("svg",a)},{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(k.createElement)(function(e){return Object(k.createElement)("path",e)},{d:"M16 4h2v9H7v3l-5-4 5-4v3h9V4z"})),wt=[{id:"opensInNewTab",title:Object(S.__)("Opens in new tab",_.i18n)},{id:"noFollowLink",title:Object(S.__)("Nofollow link",_.i18n)}],kt=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=wt.filter(function(t){switch(t.id){case"opensInNewTab":return e.onChangeNewTab;case"noFollowLink":return e.onChangeNoFollow;default:return!0}});return wp.element.createElement(x.Popover,{className:a,focusOnMount:!1,position:e.position},wp.element.createElement(D.__experimentalLinkControl,{value:n,settings:r,showSuggestions:!e.disableSuggestions,onChange:function(t){var a={url:e.onChange,opensInNewTab:e.onChangeNewTab,noFollowLink:e.onChangeNoFollow},r=Object(R.omitBy)(Object(R.omit)(t,"id","title","type"),function(e,t){return n[t]===e});Object(R.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",_.i18n),value:t}),wp.element.createElement(mt,{icon:yt,type:"submit"}))))};kt.defaultProps={value:"",disableSuggestions:!1,onChange:null,position:"bottom center",newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var Ct=kt,Ot=n(13);function xt(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 _t=Object(S.__)("(current %s: %s)",_.i18n),St=Object(Ot.compose)([D.withColorContext,Object(Ot.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.disableCustomColors,n=e.label,a=e.onChange,i=e.value,l=e.className,o=void 0===l?"":l,s=Object(R.compact)(e.colors.map(function(e){return Object(R.isPlainObject)(e)?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xt(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xt(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",_.i18n)}):null})),u=Object(D.getColorObjectByColorValue)(s,i),c=u&&u.name,p=Object(S.sprintf)(_t,n.toLowerCase(),c||i),f=i;"string"==typeof i&&i.includes("--stk-global-color")&&i.match(/#[\d\w]{6}/)&&(f=i.match(/#[\d\w]{6}/)[0]);var d=wp.element.createElement(k.Fragment,null,n,f&&wp.element.createElement(x.ColorIndicator,{colorValue:f,"aria-label":p}));return wp.element.createElement(x.BaseControl,{className:P()([o,"editor-color-palette-control"]),id:"editor-color-palette-control",label:d},wp.element.createElement(x.ColorPalette,M()({className:"editor-color-palette-control__color-palette",value:f,onChange:function(e){var t=Object(D.getColorObjectByColorValue)(s,e);a(Object(Q.applyFilters)("stackable.color-palette-control.change",e,t))}},{colors:s,disableCustomColors:t})))}),Et=function(e){return Array.isArray(e)?e.map(function(e){var t,n=l()(e,2),a=n[0],r=n[1];return[a,'"'.concat((t=r,Object(R.escape)(unescape(t))),'"')].join("=")}).join(" "):""},jt=function(e){var t=Object(k.useRef)(),n=Object(k.useState)(!1),a=l()(n,2),i=a[0],o=a[1],s=Object(k.useState)(Et(e.value)),u=l()(s,2),c=u[0],p=u[1];Object(k.useEffect)(function(){t.current!==document.activeElement&&p(Et(e.value))},[JSON.stringify(e.value)]);var f=Object(k.useCallback)(function(t){var n;p(t);var a=document.createElement("div");a.innerHTML="<div ".concat(t," />");var i=(null===(n=a.children[0])||void 0===n?void 0:n.attributes)||[],l=[],s=!1;""===a.innerHTML&&""!==t.trim()&&(s=!0);for(var u=0;u<i.length;u++)if(!e.invalidHtmlAttributes.includes(i[u].name))try{var c=document.createElement("div");Object(k.render)(wp.element.createElement("div",r()({},i[u].name,i[u].value)),c),Object(k.unmountComponentAtNode)(c),document.createElement("div").setAttribute(i[u].name,i[u].value),l.push([i[u].name,escape(i[u].value)])}catch(e){s=!0}o(s),e.onChange(l)},[p,e.invalidHtmlAttributes,e.onChange,o]),d=Object(k.useCallback)(function(){Array.isArray(e.value)&&e.value.length>0&&p(Et(e.value))},[JSON.stringify(e.value)]);return wp.element.createElement(x.TextControl,{ref:t,"data-testid":"custom-attributes",className:"ugb-custom-attributes-control",label:Object(S.__)("Custom Attributes",_.i18n),value:c,onBlur:d,onChange:f,help:wp.element.createElement(k.Fragment,null,Object(S.__)("You can type in custom HTML attributes for this block in the field above.",_.i18n)," ",Object(S.__)("Example:",_.i18n),wp.element.createElement("br",null),wp.element.createElement("code",null,'data-id="my-title"'),wp.element.createElement("br",null),wp.element.createElement(x.ExternalLink,{href:"https://docs.wpstackable.com/article/461-how-to-use-custom-attributes?utm_source=inspector&utm_campaign=learnmore&utm_medium=gutenberg",target:"_docs"},Object(S.__)("Learn more about Custom Attributes",_.i18n)),i&&wp.element.createElement("span",{className:"ugb-custom-attributes-control__error"},Object(S.__)("There is an error in your custom attribute",_.i18n)))})};jt.defaultProps={label:"",value:[],invalidHtmlAttributes:[],onChange:function(){}};var Tt=n(24),Pt=n.n(Tt);Object(Ot.createHigherOrderComponent)(function(e){var t=function(t){var n=Object(he.useSelect)(function(e){var t,n;return null===(t=(n=e("core/edit-post")).isEditingTemplate)||void 0===t?void 0:t.call(n)});return Object(k.useEffect)(function(){$(t.attributes)},[n]),wp.element.createElement(e,t)};return t.defaultProps={attributes:{}},t},"withGoogleFont");var Bt=n(11),Mt=n.n(Bt);Object(Ot.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e;return c()(this,n),(e=g()(this,h()(n).apply(this,arguments))).setAttributes=e.setAttributes.bind(v()(e)),e}return w()(n,t),f()(n,[{key:"componentDidUpdate",value:function(e){Object(R.isEqual)(e.attributes,this.props.attributes)||Object(Q.doAction)("stackable.setAttributes.after")}},{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(Q.applyFilters)("stackable.setAttributes",e,this.props);n=Object(Q.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,M()({},this.props,{setAttributes:this.setAttributes}))}}]),n}(k.Component),r()(t,"propTypes",{setAttributes:Mt.a.func.isRequired}),n},"withSetAttributeHook");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}Object(Ot.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return c()(this,n),g()(this,h()(n).apply(this,arguments))}return w()(n,t),f()(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.clientId,a="ugb-".concat(n.substring(0,7));t.uniqueClass?t.uniqueClass!==a&&document.querySelectorAll(".".concat(t.uniqueClass)).length>1&&(this.props.attributes.uniqueClass=a):this.props.attributes.uniqueClass=a}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}]),n}(k.Component),r()(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(Q.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(s()(e),["uniqueClass"])}),Object(Q.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){r()(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 It=function(e){return document.querySelector(".ugb-panel--".concat(e))},Dt=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},Rt=function(e){e&&(e.classList.contains("is-active")||e.click())},zt=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}At(e)}},At=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar, .edit-widgets-sidebar"),a=e.getBoundingClientRect().top+2;a-=t?t.getBoundingClientRect().height:0,a-=n.getBoundingClientRect().top,document.querySelector(".edit-post-sidebar, .edit-widgets-sidebar").scrollTop+=a};function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}var Ft=!1,Ut={".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"},Ht={},Vt=[".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"],Gt=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Ht[e],{},Ut)};Object(O.a)(function(){if(!Ft&&(Ft=!0,Element.prototype.matches)){var e=Object(Q.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){if(!wp.customize){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=Gt(r);if(i){var l=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(l=e[n],!0)}),[].concat(s()(l),Vt).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=It(e);if(t){var n=Dt(t);Rt(n),zt(t)}if(!t){[".ugb-tab--style",".ugb-tab--layout",".ugb-tab--section",".ugb-tag--advanced"].some(function(n){var a=document.querySelector(n);return Rt(a),(t=It(e))&&zt(t),!!t})}return t}(i[e])})})}}}})}});var Wt=function(e){return Object(Ot.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return c()(this,a),g()(this,h()(a).apply(this,arguments))}return w()(a,n),f()(a,[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=P()([this.props.className],r()({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,M()({},this.props,{className:a}))}}]),a}(k.Component),r()(n,"defaultProps",{className:""}),a},"withHelpTip")},qt=null,Kt={},$t=[],Yt=function(e){return e.replace(/^[\w-]+\//,"")},Qt=function(){var e=Fe()(Ae.a.mark(function e(){var t,n,a=arguments;return Ae.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],qt&&!t){e.next=9;break}return e.next=4,He()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:qt=e.sent,t&&(Kt={},$t=[]);case 9:return e.abrupt("return",qt);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Xt=function(){var e=Fe()(Ae.a.mark(function e(t){var n,a;return Ae.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Yt(t),Kt[n]){e.next=8;break}return e.next=4,He()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Kt[n]=e.sent;case 8:return e.abrupt("return",Kt[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Jt=function(){var e=Fe()(Ae.a.mark(function e(t){var n;return Ae.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if($t[t]){e.next=7;break}return e.next=3,He()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:$t[t]=e.sent;case 7:return e.abrupt("return",$t[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Zt=function(){var e=Fe()(Ae.a.mark(function e(){var t,n,a=arguments;return Ae.a.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,He()({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(O.a)(function(){});var en=function(){var e=Fe()(Ae.a.mark(function e(t){var n,a,r,i,l,o,s,u,c,p,f,d,g,m,h,b,v,y;return Ae.a.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,p=void 0===c?[]:c,f=t.categories,d=void 0===f?[]:f,g=t.search,m=void 0===g?"":g,h=t.reset,b=void 0!==h&&h,e.t0=Object,e.next=4,Qt(b);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})),p&&p.length&&(v=v.filter(function(e){return e.colors.some(function(e){return p.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)}}(),tn=function(){var e=Fe()(Ae.a.mark(function e(t){var n,a,r,i,l,o;return Ae.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Qt();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,Xt(i);case 8:return o=e.sent,e.abrupt("return",o[t]);case 12:if(!l){e.next=16;break}return e.next=15,Jt(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)}}(),nn=function(){var e=Fe()(Ae.a.mark(function e(){var t;return Ae.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Qt();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)}}(),an=n(49),rn=n.n(an),ln=function(e){var t=e.image,n=e.label,a=e.className,r=Pt()(e,["image","label","className"]),i=t?t.match(/https?:/i)?t:_.srcUrl?"".concat(_.srcUrl,"/").concat(t):t:"",l="free"!==r.plan,o=l&&!_.isPro&&_.showProNotice;if(l&&!_.isPro&&!_.showProNotice)return null;var s=P()(["ugb-design-layout-selector__item",a],{"is-premium":r.plan&&!_.isPro&&"free"!==r.plan,"is-locked":o}),u=o?"div":"button";return wp.element.createElement(u,M()({className:s},r),wp.element.createElement("div",{className:"ugb-design-layout-selector__wrapper"},o&&wp.element.createElement(x.Icon,{className:"ugb-design-layout-selector__lock",icon:"lock"}),o&&wp.element.createElement("a",{href:"https://wpstackable.com/upgrade/?utm_source=design-library-learn-more&utm_campaign=learnmore&utm_medium=gutenberg",className:"ugb-design-layout-selector__item-premium-button ugb-shadow-4 button button-secondary",target:"_premium",title:Object(S.__)("Learn More",_.i18n)},Object(S.__)("Learn More",_.i18n)),wp.element.createElement("img",{className:"ugb-design-layout-selector__image",src:i,alt:n})),wp.element.createElement("div",{className:"ugb-design-layout-selector__label"},n))};ln.defaultProps={name:"",label:"",className:""};var on=ln;function sn(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 un={image:rn.a,plan:"free",label:"Basic",id:"basic"},cn=function(e){var t=e.name,n=Object(k.useState)([]),a=l()(n,2),i=a[0],o=a[1],s=Object(k.useState)([]),u=l()(s,2),c=u[0],p=u[1],f=Object(k.useState)(!1),d=l()(f,2),g=d[0],m=d[1],h=Object(k.useState)(!0),b=l()(h,2),v=b[0],y=b[1];Object(k.useEffect)(function(){var t=e.name.split("/")[1],n=Object(Q.applyFilters)("stackable.".concat(t,".edit.layouts"),[]).map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sn(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{plan:e.premium?"premium":"free"})});o(n.length?n:[un]),en({type:"block",block:t}).then(function(t){var a;p(t),y(!1),!t.length&&n.length<=1&&e.setAttributes({design:(null===(a=n[0])||void 0===a?void 0:a.value)||un.id})})},[]);var w=wp.element.createElement(k.Fragment,null,wp.element.createElement(x.Icon,{icon:"admin-settings"}),Object(S.__)("Pick a layout or design",_.i18n)),C=!!i.length&&wp.element.createElement("div",{className:"ugb-design-layout-selector__layout-items"},(i.filter(function(e){return!Object(Q.applyFilters)("stackable.".concat(t,".edit.inspector.layout.excludeDesigns"),[]).includes(e.value)})||[]).map(function(t){return wp.element.createElement(on,M()({className:"ugb-design-layout-selector__layout-item",onClick:function(){t.premium&&!_.isPro||(0,e.setAttributes)({design:t.value})},key:t.label},t))})),O=P()("ugb-design-layout-selector__design-library",{"is-busy":v}),E=!!c.length&&wp.element.createElement("div",{className:O},wp.element.createElement("div",{className:"components-placeholder__fieldset ugb-design-layout-selector__design-container"},v&&wp.element.createElement("div",{className:"ugb-design-layout-selector__spinner","data-testid":"spinner"},wp.element.createElement(x.Spinner,null)),wp.element.createElement("div",{className:"ugb-design-layout-selector__design-items"},(c||[]).map(function(t){var n={image:t.image,plan:t.plan,label:t.label};return wp.element.createElement(on,M()({className:"ugb-design-layout-selector__design-item",onClick:function(){(_.isPro||"free"===t.plan)&&(m(!0),tn(t.id).then(function(t){m(!1),Ne(t.attributes,e.clientId)}).catch(function(){m(!1)}))},key:t.label},n))})))),j=P()("ugb-design-layout-selector",{"is-busy":g});return wp.element.createElement(x.Placeholder,{className:j,label:w},g&&wp.element.createElement("div",{className:"ugb-design-layout-selector__spinner","data-testid":"spinner"},wp.element.createElement(x.Spinner,null)),wp.element.createElement("div",{className:"ugb-design-layout-selector__content"},!!i.length&&wp.element.createElement("div",{className:"components-placeholder__instructions"},Object(S.__)("Select a variation to start with.",_.i18n)),C,!!c.length&&wp.element.createElement("div",{className:"components-placeholder__instructions"},!!i.length&&Object(S.__)("Or pick from our Design Library.",_.i18n),!i.length&&Object(S.__)("Select a design from our library to start with.",_.i18n)),E),wp.element.createElement("div",{className:"ugb-design-layout-selector__close-button"},wp.element.createElement(x.ButtonGroup,null,wp.element.createElement(mt,{isLink:!0,isLarge:!0,onClick:function(){if(i.length){var t=i.find(function(e){return!!_.isPro||!e.premium});(0,e.setAttributes)({design:t.value})}}},Object(S.__)("Skip",_.i18n))),!_.isPro&&_.showProNotice&&(!!i.length&&i.some(function(e){return"premium"===e.plan})||!!c.length&&c.some(function(e){return"premium"===e.plan}))&&wp.element.createElement("p",{className:"ugb-design-layout-selector__notice"},Object(S.__)("You can hide premium hints in the settings",_.i18n))))};cn.defaultProps={name:""};var pn=cn;function fn(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 dn=["ugb/column","ugb/columns"],gn=(Object(Ot.createHigherOrderComponent)(function(e){var t=function(t){var n=void 0!==t.attributes.design&&""===t.attributes.design;return Object(k.useMemo)(function(){return!dn.includes(t.name)},[])&&n?wp.element.createElement(pn,t):wp.element.createElement(e,t)};return t.defaultProps=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fn(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e.defaultProps||{},{attributes:{}}),t},"withDesignLayoutSelector"),function(e){return wp.element.createElement(x.SelectControl,M()({},e,{options:[{value:"",label:Object(S.__)("None",_.i18n)},{value:"normal",label:Object(S.__)("Normal",_.i18n)},{value:"multiply",label:Object(S.__)("Multiply",_.i18n)},{value:"screen",label:Object(S.__)("Screen",_.i18n)},{value:"overlay",label:Object(S.__)("Overlay",_.i18n)},{value:"darken",label:Object(S.__)("Darken",_.i18n)},{value:"lighten",label:Object(S.__)("Lighten",_.i18n)},{value:"color-dodge",label:Object(S.__)("Color Dodge",_.i18n)},{value:"color-burn",label:Object(S.__)("Color Burn",_.i18n)},{value:"hard-light",label:Object(S.__)("Hard Light",_.i18n)},{value:"soft-light",label:Object(S.__)("Soft Light",_.i18n)},{value:"difference",label:Object(S.__)("Difference",_.i18n)},{value:"exclusion",label:Object(S.__)("Exclusion",_.i18n)},{value:"hue",label:Object(S.__)("Hue",_.i18n)},{value:"saturation",label:Object(S.__)("Saturation",_.i18n)},{value:"color",label:Object(S.__)("Color",_.i18n)},{value:"luminosity",label:Object(S.__)("Luminosity",_.i18n)},{value:"initial",label:Object(S.__)("Initial",_.i18n)},{value:"inherit",label:Object(S.__)("Inherit",_.i18n)},{value:"unset",label:Object(S.__)("Unset",_.i18n)}]}))});gn.defaultProps={label:Object(S.__)("Mix Blend Mode",_.i18n),help:Object(S.__)("Not supported in all browsers.",_.i18n)};var mn=Object(Ot.compose)(Wt("background-blend-mode"))(gn);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 bn=ie.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),vn=ie.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),yn=ie.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"}),wn=function(e){return ie.a.createElement("svg",hn({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),bn,vn,yn)},kn=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(x.BaseControl,{help:e.help},wp.element.createElement(na,{label:e.label,screens:e.screens}),wp.element.createElement(D.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(k.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(x.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",_.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(wn,null)))}})))};kn.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var Cn=kn,On=function(e){return wp.element.createElement(x.TextareaControl,M()({},e,{help:wp.element.createElement(k.Fragment,null,wp.element.createElement(x.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(S.__)("Describe the purpose of the image",_.i18n)),Object(S.__)("Leave empty if the image is purely decorative.",_.i18n))}))};On.defaultProps={label:Object(S.__)("Alt Text (Alternative Text)",_.i18n)};var xn=On,_n=n(50),Sn=n.n(_n),En=n(51),jn=n.n(En),Tn=n(52),Pn=n.n(Tn),Bn=n(53),Mn=n.n(Bn),Nn=function(e){return wp.element.createElement(k.Fragment,null,wp.element.createElement(qi,M()({},e,{className:P()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[].concat(s()(e.hasDefault?[{label:Object(S.__)("Default",_.i18n),value:"",image:Sn.a}]:[]),[{label:Object(S.__)("Square",_.i18n),value:"square",image:jn.a},{label:Object(S.__)("Circle",_.i18n),value:"circle",image:Pn.a},{label:Object(S.sprintf)(Object(S.__)("Blob %s",_.i18n),1),value:"blob1",image:Mn.a}],s()(Object(Q.applyFilters)("stackable.image.control.shapes",[])))})),_.showProNotice&&wp.element.createElement(gs,{type:"image"}))};Nn.defaultProps={className:"",label:Object(S.__)("Shape",_.i18n),selected:"",hasDefault:!0};var In=Nn,Dn=function(e){var t=e.imageData?ve(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(k.Fragment,null,e.onChangeShape&&wp.element.createElement(In,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Flip Shape Horizontally",_.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Flip Shape Vertically",_.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Stretch Shape Mask",_.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};Dn.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Rn=Object(Ot.compose)([Object(he.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(Dn),zn=function(e){var t=e.imageSizes,n=e.value,a=e.className,r=Pt()(e,["imageSizes","value","className"]),i=function(e){return Object(R.map)(e,function(e){var t=e.name;return{value:e.slug,label:t}})}(t);return Object(R.isEmpty)(i)?null:wp.element.createElement(x.SelectControl,M()({},r,{value:n||"large",options:i,className:P()(a,["ugb--help-tip-image-size"])}))};zn.defaultProps={className:"",label:Object(S.__)("Image Size"),value:"large",imageSizes:[],onChange:function(){}};var An=Object(Ot.compose)([Object(he.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(zn),Ln=function(e){var t=e.label,n=e.setAttributes,a=e.enablePaddingTop,r=e.enablePaddingRight,i=e.enablePaddingBottom,l=e.enablePaddingLeft,o=e.attributes,s=o.columnPaddingTop,u=void 0===s?"":s,c=o.columnPaddingBottom,p=void 0===c?"":c,f=o.columnPaddingRight,d=void 0===f?"":f,g=o.columnPaddingLeft,m=void 0===g?"":g,h=o.columnPaddingUnit,b=void 0===h?"px":h,v=o.tabletColumnPaddingTop,y=void 0===v?"":v,w=o.tabletColumnPaddingBottom,C=void 0===w?"":w,O=o.tabletColumnPaddingRight,x=void 0===O?"":O,_=o.tabletColumnPaddingLeft,S=void 0===_?"":_,E=o.tabletColumnPaddingUnit,j=void 0===E?"px":E,T=o.mobileColumnPaddingTop,P=void 0===T?"":T,B=o.mobileColumnPaddingBottom,M=void 0===B?"":B,N=o.mobileColumnPaddingRight,I=void 0===N?"":N,D=o.mobileColumnPaddingLeft,R=void 0===D?"":D,z=o.mobileColumnPaddingUnit,A=void 0===z?"px":z;return wp.element.createElement(k.Fragment,null,wp.element.createElement(Uo,{label:t,className:"ugb--help-tip-advanced-column-paddings",defaultLocked:!0,min:[0,0,0],sliderMax:[500,100,100],step:1,valueDesktop:{top:u,right:d,bottom:p,left:m},valueDesktopUnit:b,onChangeDesktop:function(e){n({columnPaddingTop:e.top,columnPaddingRight:e.right,columnPaddingBottom:e.bottom,columnPaddingLeft:e.left})},onChangeDesktopUnit:function(e){return n({columnPaddingUnit:e})},valueTablet:{top:y,right:x,bottom:C,left:S},valueTabletUnit:j,onChangeTablet:function(e){n({tabletColumnPaddingTop:e.top,tabletColumnPaddingBottom:e.bottom,tabletColumnPaddingRight:e.right,tabletColumnPaddingLeft:e.left})},onChangeTabletUnit:function(e){return n({tabletColumnPaddingUnit:e})},valueMobile:{top:P,right:I,bottom:M,left:R},valueMobileUnit:A,onChangeMobile:function(e){n({mobileColumnPaddingTop:e.top,mobileColumnPaddingBottom:e.bottom,mobileColumnPaddingRight:e.right,mobileColumnPaddingLeft:e.left})},onChangeMobileUnit:function(e){return n({mobileColumnPaddingUnit:e})},enableTop:a,enableRight:r,enableBottom:i,enableLeft:l}))};Ln.defaultProps={setAttributes:function(){},label:Object(S.__)("Column Paddings",_.i18n),attributes:{},enablePaddingTop:!0,enablePaddingRight:!0,enablePaddingBottom:!0,enablePaddingLeft:!0};var Fn=n(31),Un=n.n(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=ie.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"}),Gn=function(e){return ie.a.createElement("svg",Hn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Vn)};function Wn(){return(Wn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.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"}),Kn=function(e){return ie.a.createElement("svg",Wn({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),qn)};function $n(){return($n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yn=ie.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"}),Qn=function(e){return ie.a.createElement("svg",$n({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Yn)},Xn={desktop:wp.element.createElement(Gn,null),tablet:wp.element.createElement(Qn,null),mobile:wp.element.createElement(Kn,null)},Jn={desktop:Object(S.__)("Desktop",_.i18n),tablet:Object(S.__)("Tablet",_.i18n),mobile:Object(S.__)("Mobile",_.i18n)},Zn=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={screen:We(),isScreenPickerOpen:Ke(),isMouseOver:!1},e}return w()(t,e),f()(t,[{key:"onChangeScreen",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e}),function(e){Ge=e}(e),Object(Q.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(Q.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(Q.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(Q.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(Q.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(Q.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(Q.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(mt,{className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:Xn[t],showTooltip:!1,label:Jn[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(x.Popover,{focusOnMount:!1,position:"bottom center",className:"components-tooltip","aria-hidden":"true"},Jn[t]))}))}}]),t}(k.Component);Zn.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var ea=Object(Ot.withInstanceId)(Zn),ta=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(ea,{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))};ta.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var na=ta,aa=!!x.__experimentalNumberControl,ra=function(e){var t=e.allowReset,n=e.withInputField,a=e.isShiftStepEnabled,r=Pt()(e,["allowReset","withInputField","isShiftStepEnabled"]),i=Object(k.useState)(""===e.value||isNaN(e.value)?"":e.value),o=l()(i,2),s=o[0],u=o[1],c=function(t){if(u(t),!isNaN(t)){var n=parseFloat(t);if(!isNaN(n))return void e.onChange(Object(R.clamp)(n,e.min,e.max))}e.onChange(e.resetFallbackValue)},p=P()(["ugb-range-control",e.className],{"ugb-range-control--blank":""===s}),f=""===s,d=e.initialPosition||e.placeholder||"",g=function(e,t,n){var a=(e-t)/(n-t)*100;return"".concat(Object(R.clamp)(a,0,100),"%")}((f?d:s)||e.sliderMin||e.min||0,e.sliderMin||e.min||0,e.sliderMax||e.max||100);return wp.element.createElement("div",{className:p,style:{"--ugb-advanced-range-control--width":g}},wp.element.createElement(x.RangeControl,M()({},r,{initialPosition:"",onChange:c,withInputField:!1,allowReset:!1,max:null!==e.sliderMax?e.sliderMax:e.max,min:null!==e.sliderMin?e.sliderMin:e.min})),n&&aa&&wp.element.createElement(x.__experimentalNumberControl,{disabled:e.disabled,isShiftStepEnabled:a,max:e.max,min:e.min,onChange:c,onBlur:function(){if(!isNaN(s)){var t=parseFloat(s);if(!isNaN(t))return void u(Object(R.clamp)(t,e.min,e.max))}u(e.resetFallbackValue)},shiftStep:e.shiftStep,step:e.step,value:s,placeholder:null!==e.placeholder?e.placeholder:d}),t&&wp.element.createElement(mt,{className:"components-range-control__reset",disabled:e.disabled,isSecondary:!0,isSmall:!0,onClick:function(){u(e.resetFallbackValue),e.onChange(e.resetFallbackValue)}},Object(S.__)("Reset",_.i18n)))};ra.defaultProps={className:"",allowReset:!1,withInputField:!0,isShiftStepEnabled:!0,max:1/0,min:-1/0,sliderMax:null,sliderMin:null,shiftStep:10,step:1,resetFallbackValue:"",placeholder:null,initialPosition:0,onChange:function(){}};var ia=ra;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}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?la(n,!0).forEach(function(t){r()(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(R.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,t.placeholder=e.placeholder;var a=e.placeholder;if(Array.isArray(a)||"object"!==Un()(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 i=We()||"desktop";a=void 0!==a[i]?a[i]: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)}var l=P()(["ugb-advanced-range-control",e.className]);return wp.element.createElement(x.BaseControl,{help:e.help,className:l},wp.element.createElement(na,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(ia,t))};oa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:"",min:0,max:100};var sa=oa,ua=function(e){return wp.element.createElement(x.BaseControl,{help:e.help,className:P()("ugb-advanced-select-control",e.className)},wp.element.createElement(na,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.SelectControl,Object(R.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,pa=function(e){return wp.element.createElement(x.BaseControl,{help:e.help,className:P()("ugb-advanced-text-control",e.className)},wp.element.createElement(na,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.TextControl,Object(R.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};pa.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var fa=n(54),da=n.n(fa);function ga(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 ma=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return ha(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"string"==typeof e?a.test(e):a.test(e.label)||a.test(e.value)})},ha=function(e){return!(!e.length||"object"!==Un()(e[0].options))},ba=function(e,t){if(!t.length)return e;if(!ha(t)){var n=t.filter(function(t){return("string"==typeof t?t: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},va=function(e){return e.value},ya=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},wa=function(e){return e.options},ka=function(){return!0},Ca=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={value:"",label:"",suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(v()(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(v()(e)),e.onChange=e.onChange.bind(v()(e)),e.onFocus=e.onFocus.bind(v()(e)),e.autosuggestDiv=Object(k.createRef)(),e}return w()(t,e),f()(t,[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:ba(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(this.props.disableAutoIndex)this.setState({suggestions:ma("",this.props.options)});else if("input-focused"!==n&&"suggestion-selected"!==n){var a=ma(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"componentDidMount",value:function(){this.props.options.length&&this.props.value&&this.setState({value:this.props.value,label:this.props.value?ba(this.props.value,this.props.options):this.props.value,suggestions:ma(this.props.disableAutoIndex?"":this.props.value,this.props.options)})}},{key:"componentWillReceiveProps",value:function(e){this.setState({value:e.value,label:e.value?ba(e.value,e.options):e.value,suggestions:ma(this.props.disableAutoIndex?"":e.value,e.options)})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this,t=this.state,n=t.label,a=t.suggestions,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ga(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ga(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({placeholder:this.props.placeholder,value:n,onChange:this.onChange,onFocus:this.onFocus,type:"search"},this.props.inputProps);return wp.element.createElement(x.BaseControl,{help:this.props.help,className:P()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(na,{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:ha(this.props.options),suggestions:a,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,onSuggestionSelected:this.props.onSuggestionSelected,getSuggestionValue:this.props.getSuggestionValue||va,renderSuggestion:function(t){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":t.value,id:"ugb-autosuggest-option--".concat(t.id||Object(R.kebabCase)(t.value))},e.props.renderOption?e.props.renderOption(t):t.label)},renderSectionTitle:ya,getSectionSuggestions:wa,shouldRenderSuggestions:ka,inputProps:i,renderInputComponent:this.props.renderInputComponent?this.props.renderInputComponent:function(e){return wp.element.createElement("input",e)}}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel),this.props.children))}}]),t}(k.Component);Ca.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(S.__)("No matches found",_.i18n),renderOption:null,highlightValueOnFocus:!1,placeholder:"",getSuggestionValue:null,disableAutoIndex:!1,onSuggestionSelected:function(){},renderInputComponent:null,inputProps:{}};var Oa=Ca;function xa(){return(xa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _a=ie.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"}),Sa=function(e){return ie.a.createElement("svg",xa({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),_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=ie.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"}),Ta=function(e){return ie.a.createElement("svg",Ea({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ja)};function Pa(){return(Pa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.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"}),Ma=function(e){return ie.a.createElement("svg",Pa({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=ie.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"}),Da=function(e){return ie.a.createElement("svg",Na({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ia)};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=ie.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"}),Aa=function(e){return ie.a.createElement("svg",Ra({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),za)};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=ie.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"}),Ua=function(e){return ie.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=ie.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"}),Ga=function(e){return ie.a.createElement("svg",Ha({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Va)};function Wa(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 qa=[{value:"flex-start",title:Object(S.__)("Align Left",_.i18n),icon:wp.element.createElement(Ma,null)},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:wp.element.createElement(Ta,null)},{value:"flex-end",title:Object(S.__)("Align Right",_.i18n),icon:wp.element.createElement(Da,null)}],Ka=[{value:"flex-start",title:Object(S.__)("Align Top",_.i18n),icon:wp.element.createElement(Ua,null)},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:wp.element.createElement(Ga,null)},{value:"flex-end",title:Object(S.__)("Align Bottom",_.i18n),icon:wp.element.createElement(Sa,null)},{value:"stretch",title:Object(S.__)("Stretch",_.i18n),icon:wp.element.createElement(Aa,null)}],$a={"flex-horizontal":qa,"flex-vertical":[{value:"flex-start",title:Object(S.__)("Align Top",_.i18n),icon:wp.element.createElement(Ua,null)},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:wp.element.createElement(Ga,null)},{value:"flex-end",title:Object(S.__)("Align Bottom",_.i18n),icon:wp.element.createElement(Sa,null)}],"flex-vertical-with-stretch":Ka},Ya=function(e){var t="string"==typeof e.controls?$a[e.controls]:e.controls,n=P()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(x.BaseControl,{help:e.help,className:P()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(na,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.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?Wa(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wa(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{onClick:function(){e.isToggleOnly&&t.value===e.value||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(mt,M()({key:n},a))}),className:n}))};Ya.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0,isSmall:!1,isToggleOnly:!1};var Qa=Ya,Xa=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,M()({},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)}}))};Xa.defaultProps={label:Object(S.__)("Font Size",_.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[0,0],max:[150,7],step:[1,.05],units:["px","em"],placeholder:""};var Ja=Xa,Za=n(55).map(function(e){return{label:e.family,value:e.family}}),er=function(e){var t=Object(k.useMemo)(function(){return Object(Q.applyFilters)("stackable.font-family-control.options",[{id:"system-fonts",title:Object(S.__)("System Fonts",_.i18n),options:[{label:Object(S.__)("Sans-Serif",_.i18n),value:"Sans-Serif"},{label:Object(S.__)("Serif",_.i18n),value:"Serif"},{label:Object(S.__)("Serif Alternative",_.i18n),value:"Serif-Alt"},{label:Object(S.__)("Monospace",_.i18n),value:"Monospace"}]},{id:"google-fonts",title:Object(S.__)("Google Fonts",_.i18n),options:Za}])},[]);return wp.element.createElement(Oa,M()({options:t,highlightValueOnFocus:!0},e,{onChange:function(t){Za.some(function(e){return e.value===t&&(G(t),!0)}),e.onChange(t)}}))};er.defaultProps={onChange:function(){},label:Object(S.__)("Font Family",_.i18n),value:""};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)}function ar(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 rr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ir(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){rr(e,t,n[t])})}return e}function lr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function or(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 sr(e,t,n){return t&&or(e.prototype,t),n&&or(e,n),e}function ur(e){return(ur="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 cr(e){return(cr="function"==typeof Symbol&&"symbol"===ur(Symbol.iterator)?function(e){return ur(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":ur(e)})(e)}function pr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fr(e,t){return!t||"object"!==cr(t)&&"function"!=typeof t?pr(e):t}function dr(e){return(dr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gr(e,t){return(gr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function mr(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&&gr(e,t)}var hr=n(37),br=n(28),vr=n.n(br);function yr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var wr=function(){function e(){lr(this,e),rr(this,"refs",{})}return sr(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(kr)}}]),e}();function kr(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function Cr(e,t){return Object.keys(e).reduce(function(n,a){return-1===t.indexOf(a)&&(n[a]=e[a]),n},{})}var Or={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},xr=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 _r(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}function Sr(e,t){e.style["".concat(xr,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function Er(e,t){e.style["".concat(xr,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function jr(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function Tr(e,t,n){return Math.max(e,Math.min(n,t))}function Pr(e){return"px"===e.substr(-2)?parseFloat(e):0}function Br(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function Mr(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function Nr(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 Ir(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:Ir(e.parentNode,t,a)}}function Dr(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);vr()(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 vr()(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 Rr(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:Rr(e.parentNode):null}var zr=27,Ar=32,Lr=37,Fr=38,Ur=39,Hr=40,Vr={Anchor:"A",Button:"BUTTON",Canvas:"CANVAS",Input:"INPUT",Option:"OPTION",Textarea:"TEXTAREA",Select:"SELECT"};function Gr(e){return null!=e.sortableHandle}var Wr=function(){function e(t,n){lr(this,e),this.container=t,this.onScrollCallback=n}return sr(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,p=this.container,f=p.scrollTop,d=p.scrollLeft,g=p.scrollHeight,m=p.scrollWidth,h=0===f,b=g-f-p.clientHeight==0,v=0===d,y=m-d-p.clientWidth==0;n.y>=r.y-l/2&&!b?(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&&!h?(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 qr={axis:Mt.a.oneOf(["x","y","xy"]),contentWindow:Mt.a.any,disableAutoscroll:Mt.a.bool,distance:Mt.a.number,getContainer:Mt.a.func,getHelperDimensions:Mt.a.func,helperClass:Mt.a.string,helperContainer:Mt.a.oneOfType([Mt.a.func,"undefined"==typeof HTMLElement?Mt.a.any:Mt.a.instanceOf(HTMLElement)]),hideSortableGhost:Mt.a.bool,keyboardSortingTransitionDuration:Mt.a.number,lockAxis:Mt.a.string,lockOffset:Mt.a.oneOfType([Mt.a.number,Mt.a.string,Mt.a.arrayOf(Mt.a.oneOfType([Mt.a.number,Mt.a.string]))]),lockToContainerEdges:Mt.a.bool,onSortEnd:Mt.a.func,onSortMove:Mt.a.func,onSortOver:Mt.a.func,onSortStart:Mt.a.func,pressDelay:Mt.a.number,pressThreshold:Mt.a.number,keyCodes:Mt.a.shape({lift:Mt.a.arrayOf(Mt.a.number),drop:Mt.a.arrayOf(Mt.a.number),cancel:Mt.a.arrayOf(Mt.a.number),up:Mt.a.arrayOf(Mt.a.number),down:Mt.a.arrayOf(Mt.a.number)}),shouldCancelStart:Mt.a.func,transitionDuration:Mt.a.number,updateBeforeSortStart:Mt.a.func,useDragHandle:Mt.a.bool,useWindowAsScrollContainer:Mt.a.bool},Kr={lift:[Ar],drop:[Ar],cancel:[zr],up:[Fr,Lr],down:[Hr,Ur]},$r={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:Kr,shouldCancelStart:function(e){return-1!==[Vr.Input,Vr.Textarea,Vr.Select,Vr.Option,Vr.Button].indexOf(e.target.tagName)||!!jr(e.target,function(e){return"true"===e.contentEditable})},transitionDuration:300,useWindowAsScrollContainer:!1},Yr=Object.keys(qr);var Qr=Object(re.createContext)({manager:{}});var Xr={index:Mt.a.number.isRequired,collection:Mt.a.oneOfType([Mt.a.number,Mt.a.string]),disabled:Mt.a.bool},Jr=Object.keys(Xr);var Zr=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;lr(this,n),rr(pr(pr(t=fr(this,dr(n).call(this,e)))),"state",{}),rr(pr(pr(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=Nr(e);var i=jr(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&&!jr(e.target,Gr))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!==Vr.Anchor||e.preventDefault(),a||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}}}),rr(pr(pr(t)),"nodeIsChild",function(e){return e.sortableInfo.manager===t.manager}),rr(pr(pr(t)),"handleMove",function(e){var n=t.props,a=n.distance,r=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var i=Nr(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))}}),rr(pr(pr(t)),"handleEnd",function(){t.touched=!1,t.cancel()}),rr(pr(pr(t)),"cancel",function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)}),rr(pr(pr(t)),"handlePress",function(e){try{var n=t.manager.getActive(),a=function(){if(n){var a=function(){var n,a,r,u,m,h,b=f.sortableInfo.index,v=(n=f,{bottom:Pr((a=window.getComputedStyle(n)).marginBottom),left:Pr(a.marginLeft),right:Pr(a.marginRight),top:Pr(a.marginTop)}),y=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:Pr(t.gridColumnGap),y:Pr(t.gridRowGap)}:{x:0,y:0}}(t.container),w=t.scrollContainer.getBoundingClientRect(),k=l({index:b,node:f,collection:d});if(t.node=f,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=f.getBoundingClientRect(),t.containerBoundingRect=w,t.index=b,t.newIndex=b,t.axis={x:i.indexOf("x")>=0,y:i.indexOf("y")>=0},t.offsetEdge=Ir(f,t.container),t.initialOffset=Nr(g?ir({},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=f).querySelectorAll(u),yr((h=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===Vr.Canvas&&m[t].width>0&&m[t].height>0&&e.getContext("2d").drawImage(m[t],0,0)}),h)),_r(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=f,_r(f,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},g){var C=p?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,O=C.top,x=C.left,_=C.width,S=O+C.height,E=x+_;t.axis.x&&(t.minTranslate.x=x-t.boundingClientRect.left,t.maxTranslate.x=E-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=O-t.boundingClientRect.top,t.maxTranslate.y=S-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(p?0:w.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(p?t.contentWindow.innerWidth:w.left+w.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(p?0:w.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(p?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?e.target:t.contentWindow,g?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(Or.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),Or.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)})),t.setState({sorting:!0,sortingIndex:b}),c&&c({node:f,index:b,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,p=r.useWindowAsScrollContainer,f=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=f.sortableInfo.index;return Promise.resolve(u({collection:d,index:t,node:f,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)}}),rr(pr(pr(t)),"handleSortMove",function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.cancelable&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)}),rr(pr(pr(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)):(Or.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),Or.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}))),t.helper.parentNode.removeChild(t.helper),a&&t.sortableGhost&&_r(t.sortableGhost,{opacity:"",visibility:""});for(var u=0,c=s.length;u<c;u++){var p=s[u],f=p.node;p.edgeOffset=null,p.boundingClientRect=null,Sr(f,null),Er(f,null),p.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}),rr(pr(pr(t)),"autoscroll",function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var a=ir({},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,Sr(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})}}),rr(pr(pr(t)),"onAutoScroll",function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()}),rr(pr(pr(t)),"handleKeyDown",function(e){var n=e.keyCode,a=t.props,r=a.shouldCancelStart,i=a.keyCodes,l=ir({},Kr,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))}),rr(pr(pr(t)),"keyLift",function(e){var n=e.target,a=jr(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)}),rr(pr(pr(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||Mr(s,u),p=o.translate||{x:0,y:0},f=c.top+p.y-u.top,d=c.left+p.x-u.left,g=i<r,m=g&&t.axis.x?s.offsetWidth-t.width:0,h=g&&t.axis.y?s.offsetHeight-t.height:0;t.handleSortMove({pageX:d+m,pageY:f+h,ignoreTransition:0===e})}}),rr(pr(pr(t)),"keyDrop",function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()}),rr(pr(pr(t)),"handleKeyEnd",function(e){t.manager.active&&t.keyDrop(e)}),rr(pr(pr(t)),"isValidSortingTarget",function(e){var n=t.props.useDragHandle,a=e.target,r=jr(a,function(e){return null!=e.sortableInfo});return r&&r.sortableInfo&&!r.sortableInfo.disabled&&(n?Gr(a):a.sortableInfo)});var a=new wr;return function(e){vr()(!(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=a,t.wrappedInstance=Object(re.createRef)(),t.sortableContextValue={manager:a},t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return mr(n,re["Component"]),sr(n,[{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:Rr(e.container)||e.container,e.autoScroller=new Wr(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach(function(t){return Or[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 Or[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=Nr(e),p={x:c.x-this.initialOffset.x,y:c.y-this.initialOffset.y};if(p.y-=window.pageYOffset-this.initialWindowScroll.top,p.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=p,r){var f=function(e){var t=e.height,n=e.width,a=e.lockOffset,r=Array.isArray(a)?a:[a,a];vr()(2===r.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",a);var i=ar(r,2),l=i[0],o=i[1];return[Dr({height:t,lockOffset:l,width:n}),Dr({height:t,lockOffset:o,width:n})]}({height:this.height,lockOffset:a,width:this.width}),d=ar(f,2),g=d[0],m=d[1],h={x:this.width/2-g.x,y:this.height/2-g.y},b={x:this.width/2-m.x,y:this.height/2-m.y};p.x=Tr(this.minTranslate.x+h.x,this.maxTranslate.x-b.x,p.x),p.y=Tr(this.minTranslate.y+h.y,this.maxTranslate.y-b.y,p.y)}"x"===n?p.y=0:"y"===n&&(p.x=0),s&&o&&!u&&Er(this.helper,o),Sr(this.helper,p)}},{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 p=0,f=l.length;p<f;p++){var d=l[p].node,g=d.sortableInfo.index,m=d.offsetWidth,h=d.offsetHeight,b={height:this.height>h?h/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[p].edgeOffset;k||(k=Ir(d,this.container),l[p].edgeOffset=k,u&&(l[p].boundingClientRect=Mr(d,r)));var C=p<l.length-1&&l[p+1],O=p>0&&l[p-1];C&&!C.edgeOffset&&(C.edgeOffset=Ir(C.node,this.container),u&&(C.boundingClientRect=Mr(C.node,r))),g!==this.index?(t&&Er(d,t),this.axis.x?this.axis.y?y||g<this.index&&(o+i.left-b.width<=k.left&&s+i.top<=k.top+b.height||s+i.top+b.height<=k.top)?(w.x=this.width+this.marginOffset.x,k.left+w.x>this.containerBoundingRect.width-b.width&&C&&(w.x=C.edgeOffset.left-k.left,w.y=C.edgeOffset.top-k.top),null===this.newIndex&&(this.newIndex=g)):(v||g>this.index&&(o+i.left+b.width>=k.left&&s+i.top+b.height>=k.top||s+i.top+b.height>=k.top+h))&&(w.x=-(this.width+this.marginOffset.x),k.left+w.x<this.containerBoundingRect.left+b.width&&O&&(w.x=O.edgeOffset.left-k.left,w.y=O.edgeOffset.top-k.top),this.newIndex=g):v||g>this.index&&o+i.left+b.width>=k.left?(w.x=-(this.width+this.marginOffset.x),this.newIndex=g):(y||g<this.index&&o+i.left<=k.left+b.width)&&(w.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=g)):this.axis.y&&(v||g>this.index&&s+i.top+b.height>=k.top?(w.y=-(this.height+this.marginOffset.y),this.newIndex=g):(y||g<this.index&&s+i.top<=k.top+b.height)&&(w.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=g))),Sr(d,w),l[p].translate=w):n&&(this.sortableGhost=d,_r(d,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),u&&(this.newIndex=c);var x=u?this.prevIndex:c;a&&this.newIndex!==x&&a({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:x,isKeySorting:u,nodes:l,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return vr()(a.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.wrappedInstance.current}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?Object(hr.findDOMNode)(this):e(a.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=a.withRef?this.wrappedInstance:null;return Object(re.createElement)(Qr.Provider,{value:this.sortableContextValue},Object(re.createElement)(e,nr({ref:t},Cr(this.props,Yr))))}},{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}(),rr(t,"displayName",Br("sortableList",e)),rr(t,"defaultProps",$r),rr(t,"propTypes",qr),n}(function(e){var t=e.children;return wp.element.createElement("div",{className:"ugb-sort-control__container"},t)}),ei=function(e){var t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return n=t=function(t){function n(){var e,t;lr(this,n);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return rr(pr(pr(t=fr(this,(e=dr(n)).call.apply(e,[this].concat(r))))),"wrappedInstance",Object(re.createRef)()),t}return mr(n,re["Component"]),sr(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(hr.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 vr()(a.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=a.withRef?this.wrappedInstance:null;return Object(re.createElement)(e,nr({ref:t},Cr(this.props,Jr)))}}]),n}(),rr(t,"displayName",Br("sortableElement",e)),rr(t,"contextType",Qr),rr(t,"propTypes",Xr),rr(t,"defaultProps",{collection:0}),n}(function(e){var t=e.value,n=(e.key,e.index,Pt()(e,["value","key","index"]));return wp.element.createElement("div",M()({className:"ugb-sort-control__item"},n),t)}),ti=!1,ni=function e(t){for(var n=t.values?t.values.splice(0,t.num):Object(R.range)(t.num).map(function(e){return e+1});n.length<t.num;)n.push(n.length+1);return wp.element.createElement(x.BaseControl,{help:t.help,className:P()(["ugb-sort-control",t.className,"ugb-sort-control--axis-".concat(t.axis)])},wp.element.createElement(na,M()({label:t.label},Object(R.omit)(t,Object.keys(e.defaultProps)),{afterButton:t.hasReset?wp.element.createElement(mt,{disabled:!t.values,onClick:function(){return t.onChange("",{oldIndex:0,newIndex:0})},isSmall:!0,isSecondary:!0},Object(S.__)("Reset")):null})),wp.element.createElement(Zr,{onSortStart:function(){return ti=!0},onSortOver:function(e){var n=e.newIndex;t.onHover(n)},onSortEnd:function(e){var a=e.oldIndex,r=e.newIndex;ti=!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(ei,{key:n,index:n,value:e,onMouseEnter:function(){ti||t.onHover(n)},onMouseLeave:function(){ti||t.onHover(null)}})})))};ni.defaultProps={className:"",help:"",label:Object(S.__)("Column Arrangement",_.i18n),num:2,axis:"x",values:null,onChange:function(){},onHover:function(){},hasReset:!1};function ai(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 ri(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ai(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ai(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var ii={},li={};Object(Q.addAction)("stackable.inspector.tab.click","stackable/panel-memory",function(e,t){li[e]=t}),Object(Q.addAction)("stackable.inspector.tab.initial","stackable/panel-memory",function(e,t){void 0===li[e]&&(li[e]=t)});var oi=function(e){var t=function(t){var n=Object(k.useMemo)(function(){return Object(he.select)("core/block-editor").getSelectedBlockClientId()},[]),a=ri({},t,{onToggle:function(e,a){if(n&&t.withCaching){var r=(l=a.current,(o=l.closest("[data-ugb-tab]"))?o.getAttribute("data-ugb-tab"):""),i="".concat(n,"-").concat(r);li[n]=r,ii[i]=e?t.title:null}var l,o;t.onToggle(e)}});if(n&&t.withCaching){var r=li[n]||"",i="".concat(n,"-").concat(r),l=ii[i];l?a.initialOpen=l===t.title:null===l&&(a.initialOpen=!1)}return wp.element.createElement(k.Fragment,null,wp.element.createElement(e,a))};return t.defaultProps=ri({},e.defaultProps||{},{withCaching:!0}),t};function si(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 ui=1,ci=function(e){function t(e){var n;return c()(this,t),(n=g()(this,h()(t).apply(this,arguments))).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(v()(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(v()(n)),n.instanceId=ui++,n.panelRef=Object(k.createRef)(),n}return w()(t,e),f()(t,[{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?si(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):si(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,r()({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(Q.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(Q.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, .edit-widgets-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?At(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&At(this.panelRef.current)}this.props.onToggle(!this.state.opened,this.panelRef)}},{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"],r()({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(x.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(k.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(x.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||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",_.i18n):Object(S.__)("Advanced",_.i18n)))}}]),t}(k.Component);ci.defaultProps={id:"",className:"",title:Object(S.__)("Settings",_.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:"",onToggle:function(){}};var pi=oi(ci);var fi=function(e){var t=e.blockProps;return wp.element.createElement(pi,M()({title:Object(S.__)("Spacing",_.i18n)},e,{className:P()(["ugb--help-tip-spacing",e.className])}),Object(Q.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(Q.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};fi.defaultProps={className:"",blockProps:{}};var di=function(e){var t=P()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};di.defaultProps={tab:"layout"};var gi=function(e){var t=Object(k.useState)(!1),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)(""),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)([]),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)(!0),m=l()(g,2),h=m[0],b=m[1],v=Object(k.useState)(""),y=l()(v,2),w=y[0],C=y[1];return Object(k.useEffect)(function(){var t=!0;return en({type:"block",block:e.block,search:s}).then(function(e){t&&d(e)}).finally(function(){t&&b(!1)}),function(){t=!1}},[e.block,s]),wp.element.createElement("div",null,wp.element.createElement(mt,{className:"ugb-design-library-control__open-library",label:Object(S.__)("Open Design Library",_.i18n),isSmall:!0,isLink:!0,onClick:function(){return r(!0)}},Object(S.__)("Open Design Library",_.i18n)),wp.element.createElement(x.TextControl,{placeholder:Object(S.__)("E.g. light, dark, red, minimalist...",_.i18n),value:s,onChange:function(e){return u(e)}}),!_.isPro&&wp.element.createElement(Qa,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(S.__)("All",_.i18n),wp.element.createElement("span",null,f.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",_.i18n),wp.element.createElement("span",null,f.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",_.i18n),wp.element.createElement("span",null,f.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:w,onChange:function(e){return C(e)}}),wp.element.createElement(Ii,{designs:f.filter(function(e){var t=e.plan;return!w||t===w}),isBusy:h,onSelect:e.onSelect}),a&&wp.element.createElement(Em,{search:s,selectedBlock:e.block,onClose:function(){r(!1),u("")},onSelect:function(t){e.onSelect(t),r(!1)}}))};gi.defaultProps={block:"",onSelect:function(){}};function mi(){return(mi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hi=ie.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"}),bi=ie.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=ie.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"}),yi=ie.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"}),wi=function(e){return ie.a.createElement("svg",mi({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),hi,bi,vi,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 Ci=ie.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"}),Oi=function(e){return ie.a.createElement("svg",ki({xmlns:"http://www.w3.org/2000/svg"},e),Ci)};function xi(){return(xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _i=ie.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"}),Si=function(e){return ie.a.createElement("svg",xi({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),_i)},Ei=function(e){return Object(k.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient ".concat(e.props.className||"")})};Object(O.a)(function(){if(!document.querySelector("svg.ugb-stackable-gradient")){var e=document.createElement("DIV");e.setAttribute("style","height: 0; width: 0; overflow: hidden;"),e.setAttribute("aria-hidden","true"),document.querySelector("body").appendChild(e),Object(k.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(e){var t=e.className;return wp.element.createElement(wi,{className:t,width:"20",height:"20"})},Ti=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={isOpen:!1,slide:0},e.open=e.open.bind(v()(e)),e.close=e.close.bind(v()(e)),e.prev=e.prev.bind(v()(e)),e.next=e.next.bind(v()(e)),e}return w()(t,e),f()(t,[{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=".concat(this.props.buttonUtmSource,"&utm_campaign=learnmore&utm_medium=gutenberg"),target:"_premium",onClick:this.open,className:this.props.buttonClassName},this.props.button),this.state.isOpen&&wp.element.createElement(x.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",_.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",_.i18n)},wp.element.createElement(ji,null),Object(S.__)("Upgrade to Premium",_.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",_.i18n)},Object(S.__)("Try Premium Demo",_.i18n)))))}}]),t}(k.Component);Ti.defaultProps={button:Object(S.__)("Learn More",_.i18n),buttonClassName:"button button-secondary",tag:"div",buttonUtmSource:"editor-learn-more"};var Pi=Ti,Bi=function(e){var t=e.designId,n=e.image,a=e.label,i=e.onClick,o=e.plan,s=e.isPro,u=Object(k.useState)(!1),c=l()(u,2),p=c[0],f=c[1],d=Object(k.useState)(!1),g=l()(d,2),m=g[0],h=g[1],b=P()(["ugb-design-library-item"],r()({"ugb--is-busy":p},"ugb--is-".concat(o),!s&&"free"!==o));return wp.element.createElement("div",{className:b,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}},p&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(x.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),tn(t).then(function(e){f(!1),i(e)}))}},!s&&"free"!==o&&wp.element.createElement(x.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&&!m&&wp.element.createElement("span",null,a),!s&&"free"!==o&&m&&wp.element.createElement(Pi,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(k.Fragment,null,e.premiumLabel)})))};Bi.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:_.isPro,premiumLabel:Object(S.__)("Go Premium",_.i18n)};var Mi=Bi,Ni=function(e){var t=e.designs,n=e.isBusy,a=e.onSelect,i=P()(["ugb-design-library-items"],r()({},"ugb-design-library-items--columns-".concat(e.columns),!n&&e.columns));return wp.element.createElement("div",{className:i},(t||[]).map(function(e,t){return wp.element.createElement(Mi,{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(x.Spinner,null)),!n&&!(t||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(S.__)("No designs found",_.i18n)))};Ni.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var Ii=Ni;n(156);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 Ri(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Di(n,!0).forEach(function(t){r()(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}var zi={},Ai=function(e){var t=function(t){var n,a=t.initialTab||zi[t.blockProps.clientId]||(n=t.blockProps,Me[n.name]||(Me[n.name]=Object(je.createBlock)(n.name).attributes),Object.keys(Me[n.name]).every(function(e){return!!Be.includes(e)||Me[n.name][e]===n.attributes[e]})?Object(R.first)(t.tabs)||"layout":"style");Object(Q.doAction)("stackable.inspector.tab.initial",t.blockProps.clientId,a);var r=Ri({},t,{initialTab:a,onClick:function(e){zi[t.blockProps.clientId]=e,Object(Q.doAction)("stackable.inspector.tab.click",t.blockProps.clientId,e),t.onClick(e)}});return wp.element.createElement(k.Fragment,null,wp.element.createElement(e,r))};return t.defaultProps=Ri({},e.defaultProps||{}),t},Li=[{value:"layout",title:Object(S.__)("Layout",_.i18n),label:Object(S.__)("Layout Tab",_.i18n),icon:"admin-settings"},{value:"style",title:Object(S.__)("Style",_.i18n),label:Object(S.__)("Style Tab",_.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(S.__)("Advanced",_.i18n),label:Object(S.__)("Advanced Tab",_.i18n),icon:"admin-tools"}],Fi=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(v()(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(v()(e)),e.select=e.select.bind(v()(e)),e.containerDiv=Object(k.createRef)(),e.props.onTabFirstOpen(e.state.activeTab),e}return w()(t,e),f()(t,[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t&&setTimeout(function(){var n;t&&(t.setAttribute("data-ugb-tab",e),null===(n=t.closest(".edit-post-sidebar, .edit-widgets-sidebar"))||void 0===n||n.classList.add("ugb--has-panel-tabs"))},1)}},{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, .edit-widgets-sidebar").classList.remove("ugb--has-panel-tabs")),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t,n,a=e.target.closest(".components-panel__body-toggle");a&&("layout"!==this.state.activeTab&&(t=a,[].forEach.call((null===(n=document.querySelector(".edit-post-sidebar, .edit-widgets-sidebar"))||void 0===n?void 0:n.querySelectorAll(".components-panel__body .components-panel__body-toggle"))||[],function(e){0!==e.offsetHeight&&e.parentElement.parentElement.classList.contains("is-opened")&&t!==e&&e.click()}),this.props.onClickPanel(a.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"},Li.map(function(t,n){var a=t.value,r=t.title,i=t.label,l=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(x.Icon,{icon:l}),r):null})))}}]),t}(k.Component);Fi.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null,onTabFirstOpen:function(){}};Ai(Fi);var Ui=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(R.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(mt,{className:"ugb-global-style-control__item-button",onClick:function(t){t.preventDefault(),t.stopPropagation(),e.onEdit(e.value)},label:Object(S.__)("Edit Style",_.i18n),isTertiary:!0,icon:"edit"}))};Ui.defaultProps={largePreview:!1,renderPreview:function(){},onEdit:function(){}};var Hi=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(Oa,{className:a,label:e.label,onChange:e.onChange,value:e.style,options:t,renderOption:function(t){return wp.element.createElement(Ui,M()({},t,{largePreview:e.largePreview,onEdit:e.onEdit,renderPreview:e.renderPreview}))}},e.value&&wp.element.createElement(mt,{icon:"edit",label:Object(S.__)("Edit Style",_.i18n),isSecondary:!0,onClick:function(){return e.onEdit(e.value)}}),e.value&&wp.element.createElement(mt,{icon:"editor-unlink",label:Object(S.__)("Unlink Style",_.i18n),isSecondary:!0,disabled:!e.value,onClick:e.onUnlink}))};Hi.defaultProps={className:"",label:Object(S.__)("Style",_.i18n),value:"",options:[],onChange:function(){},onEdit:function(){},onUnlink:function(){},renderPreview:null,largePreview:!1};var Vi=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,o=e.label,s=t?t.match(/https?:/i)?t:_.srcUrl?"".concat(_.srcUrl,"/").concat(t):t:"",u=n?n.match(/https?:/i)?n:_.srcUrl?"".concat(_.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},u&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:u,alt:o,width:r,height:l}),s&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:s,alt:o,width:r,height:l}),wp.element.createElement("span",{className:"design-label"},o))};function Gi(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 Wi=function(e){var t=e.options.filter(function(e){return!e.premium||_.isPro}).map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gi(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(Vi,{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(x.RadioControl,M()({},Object(R.omit)(e,["label"]),{className:"ugb-design-control",selected:e.selected,options:t,onChange:e.onChange})))};Wi.defaultProps={className:"",columns:2,selected:"",options:[],onChange:function(){}};var qi=Wi,Ki=n(56),$i=n.n(Ki),Yi=n(57),Qi=n.n(Yi),Xi=n(58),Ji=n.n(Xi),Zi=n(59),el=n.n(Zi),tl=n(60),nl=n.n(tl),al=n(61),rl=n.n(al),il=n(62),ll=n.n(il),ol=n(63),sl=n.n(ol),ul=n(64),cl=n.n(ul),pl=n(65),fl=n.n(pl),dl=n(66),gl=n.n(dl),ml=n(67),hl=n.n(ml),bl=n(68),vl=n.n(bl),yl=[{image:fl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),1),value:"wave-1"},{image:cl.a,label:Object(S.__)("Straight",_.i18n),value:"straight-1"},{image:gl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),2),value:"wave-2"},{image:hl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),3),value:"wave-3"},{image:vl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Wave",_.i18n),4),value:"wave-4"},{image:ll.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Slant",_.i18n),1),value:"slant-1"},{image:sl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Slant",_.i18n),2),value:"slant-2"},{image:$i.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Curve",_.i18n),1),value:"curve-1"},{image:Qi.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Curve",_.i18n),2),value:"curve-2"},{image:Ji.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Curve",_.i18n),3),value:"curve-3"},{image:el.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Rounded",_.i18n),1),value:"rounded-1"},{image:nl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Rounded",_.i18n),2),value:"rounded-2"},{image:rl.a,label:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Rounded",_.i18n),3),value:"rounded-3"}];Object(Q.addFilter)("stackable.separator.edit.layouts","default",function(e){return Object(R.uniqBy)([].concat(s()(e),yl),"value")});var wl=function(e){var t=(Object(Q.applyFilters)("stackable.separator.edit.layouts",[])||[]).filter(function(t){return-1===Object(R.findIndex)(e.excludeDesigns,function(e){return e===t.value})});return wp.element.createElement(x.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(qi,M()({options:t},Object(R.omit)(e,["label","help"]))))};wl.defaultProps={label:"",help:"",excludeDesigns:[]};function kl(){return(kl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cl=ie.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"}),Ol=function(e){return ie.a.createElement("svg",kl({viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},e),Cl)},xl=Object(Ot.withInstanceId)(Object(Ot.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,r=e.setState;return wp.element.createElement(x.BaseControl,M()({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(R.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(mt,{isSecondary:!0,className:"ugb-icon-control__icon-button",onClick:function(){r(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},e.value&&wp.element.createElement(Ko,{value:e.value}),!e.value&&wp.element.createElement(Ol,{style:{opacity:.3}})),n&&wp.element.createElement(zl,{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(mt,{onClick:function(){e.onReset?e.onReset():e.onChange(""),r({openPopover:!1})},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},Object(S.__)("Reset",_.i18n))))}));xl.defaultProps={label:Object(S.__)("Icon",_.i18n),value:"",returnSVGValue:!0,onChange:function(){}};var _l=xl;function Sl(){return(Sl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var El=ie.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"}),jl=function(e){return ie.a.createElement("svg",Sl({"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),El)},Tl=function(){var e=Fe()(Ae.a.mark(function e(){var t,n,a,r,i=arguments;return Ae.a.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]:_.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 Pl(t,n).forEach(function(t){e.push(t)}),e},[]));case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Pl=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[].concat(s()(e.membership.free),s()(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}})},Bl=n(69),Ml=null,Nl=null,Il=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},Dl=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},Rl=function(e){var t=Object(k.useState)(""),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)([]),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)(!1),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)(!1),m=l()(g,2),h=m[0],b=m[1],v=e.returnSVGValue;Object(k.useEffect)(function(){var e=!0;return clearTimeout(Ml),Ml=setTimeout(function(){e&&(d(!0),Tl(a).then(function(t){e&&u(t)}).finally(function(){e&&d(!1)}))},500),function(){e=!1,clearTimeout(Ml)}},[a]),Object(k.useEffect)(function(){Nl||(Nl=wp.data.select("core/block-editor").getSettings().mediaUpload),h?wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:null}):wp.data.select("core/block-editor").getSettings().mediaUpload!==Nl&&wp.data.dispatch("core/block-editor").updateSettings({mediaUpload:Nl})},[h]);var y=P()(["ugb-icon-popover__label-container"],{"ugb-icon--has-settings":_.isPro,"ugb-icon--has-upload":v,"ugb-icon--has-reset":e.allowReset});return wp.element.createElement(x.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside,position:e.position,anchorRef:e.anchorRef},wp.element.createElement(x.PanelBody,null,wp.element.createElement(Bl.FileDrop,{onFrameDragEnter:function(){return b(!0)},onFrameDragLeave:function(){return b(!1)},onFrameDrop:function(){return b(!1)},onDrop:function(t){if(v&&t.length)if("image/svg+xml"===t[0].type){var n=new FileReader;n.onload=function(t){b(!1);var n=Dl(Il(t.target.result));e.onChange(n),e.onClose()},n.readAsText(t[0])}else b(!1);else b(!1)}},wp.element.createElement("div",{className:y},wp.element.createElement(x.TextControl,{className:"ugb-icon-popover__input",value:a,onChange:r,placeholder:Object(S.__)("Type to search icon",_.i18n)}),_.isPro&&wp.element.createElement(mt,{className:"ugb-icon-popover__settings-button",icon:"admin-generic",href:_.settingsUrl+"#icon-settings",target:"_settings",iconSize:"16",label:Object(S.__)("Icon Settings",_.i18n),showTooltip:!0,isSmall:!0,isSecondary:!0}),v&&wp.element.createElement(mt,{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=Dl(Il(t.target.result));e.onChange(n),e.onClose()},a.readAsText(n[0])}else b(!1)},n.click()},isSmall:!0,isPrimary:!0,className:"components-range-control__upload"},Object(S.__)("Upload SVG",_.i18n)),e.allowReset&&wp.element.createElement(mt,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isSecondary:!0,className:"components-range-control__reset"},Object(S.__)("Clear icon",_.i18n))),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},f&&wp.element.createElement(x.Spinner,null),!f&&s.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(Dl(De(a,r))):e.onChange(i,a,r),e.onClose()}},wp.element.createElement(Nm,{prefix:a,iconName:r}))}),!f&&!s.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(S.__)("No matches found",_.i18n))),v&&h&&wp.element.createElement("div",{className:"ugb-icon-popover__drop-indicator"},wp.element.createElement(jl,{height:"40",width:"40"}),Object(S.__)("Drop your SVG here",_.i18n)))))};Rl.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},returnSVGValue:!0,allowReset:!0,anchorRef:void 0,position:"center"};var zl=Rl,Al=function(e){return wp.element.createElement(up,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(Ap,{label:e.label,className:P()([e.className,"ugb--help-tip-alignment-all"])}))};Al.defaultProps={className:"",setAttributes:function(){},blockAttributes:{},label:Object(S.__)("Align",_.i18n)};var Ll=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})},Fl=function(e){var t=e.color||"transparent";if(Array.isArray(t)){var n=t,a=l()(n,2),r=a[0],i=a[1];t="linear-gradient(90deg, ".concat(r||"transparent",", ").concat(i||"transparent",")")}var o=P()(["components-circular-option-picker__option-wrapper","ugb-button-icon-popover-control-color-preview"],{"ugb-button-icon-popover-control-color-preview--transparent":!t||"transparent"===t});return wp.element.createElement(k.Fragment,null,wp.element.createElement("div",{className:o},wp.element.createElement(mt,{className:"components-circular-option-picker__option",label:Object(S.__)("Selected color",_.i18n),style:{background:t},onClick:e.onClick,ref:e._ref}),e.children))};Fl.defaultProps={color:"",onClick:function(){},_ref:null};var Ul=Fl;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)}var Vl=ie.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),Gl=ie.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),Wl=ie.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"}),ql=function(e){return ie.a.createElement("svg",Hl({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),Vl,Gl,Wl)},Kl=function(e){return wp.element.createElement(k.Fragment,null,wp.element.createElement("div",{className:"components-circular-option-picker__option-wrapper ugb-button-icon-popover-control-image-preview"},wp.element.createElement(mt,{className:"components-circular-option-picker__option",label:Object(S.__)("Selected image",_.i18n),style:{backgroundImage:e.imageUrl?"url(".concat(e.imageUrl,")"):void 0},onClick:e.onClick,ref:e._ref},!e.imageUrl&&wp.element.createElement(ql,null)),e.children))};Kl.defaultProps={imageUrl:"",onClick:function(){},_ref:null};var $l=Kl;function Yl(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 Ql=1,Xl=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={open:!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(v()(e)),e.handleClose=e.handleClose.bind(v()(e)),e.handleMouseLeave=e.handleMouseLeave.bind(v()(e)),e.handleMouseEnter=e.handleMouseEnter.bind(v()(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(v()(e)),e.handleReset=e.handleReset.bind(v()(e)),e.buttonRef=Object(k.createRef)(),e.buttonRefColorPreview=Object(k.createRef)(),e.buttonRefImagePreview=Object(k.createRef)(),e.instanceId=Ql++,e}return w()(t,e),f()(t,[{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?Yl(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,r()({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(Q.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(Q.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){var t,n,a,r;(null===(t=window.wp)||void 0===t?void 0:null===(n=t.media)||void 0===n?void 0:null===(a=n.frame)||void 0===a?void 0:null===(r=a.el)||void 0===r?void 0:r.clientHeight)||this.state.isMouseOutside&&e.target.closest("button")!==this.buttonRef.current&&e.target.closest("button")!==this.buttonRefColorPreview.current&&e.target.closest("button")!==this.buttonRefImagePreview.current&&(e.target.closest(".ugb-button-icon-control__popover")||this.handleClose())}},{key:"render",value:function(){var e=this;return wp.element.createElement(x.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(x.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(k.Fragment,null,wp.element.createElement(mt,{onClick:this.handleReset,className:"ugb-button-icon-control__reset",label:Object(S.__)("Reset",_.i18n),icon:"image-rotate"}),this.state.showResetPopover&&wp.element.createElement(x.Popover,{onClickOutside:function(){return e.setState({showResetPopover:!1})},focusOnMount:!1,position:"bottom center",className:"ugb-button-icon-control__reset-popover"},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(x.ButtonGroup,null,wp.element.createElement(mt,{onClick:function(){e.setState({showResetPopover:!1}),e.props.onReset()},isDestructive:!0,isSecondary:!0,isSmall:!0},Object(S.__)("Reset",_.i18n)),wp.element.createElement(mt,{onClick:function(){return e.setState({showResetPopover:!1})},isSmall:!0},Object(S.__)("Cancel",_.i18n))))),this.props.hasImagePreview&&wp.element.createElement($l,{imageUrl:this.props.imageUrlPreview,onClick:this.handleOpen,_ref:this.buttonRefImagePreview}),this.props.hasColorPreview&&wp.element.createElement(Ul,{color:this.props.colorPreview,onClick:this.handleOpen,_ref:this.buttonRefColorPreview}),this.props.renderCustomPreview&&this.props.renderCustomPreview(),wp.element.createElement(mt,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(S.__)("Edit",_.i18n),isSecondary:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(x.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",anchorRef:this.buttonRef.current,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},wp.element.createElement(x.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))))}}]),t}(k.Component);Xl.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",colorPreview:null,imageUrlPreview:"",hasColorPreview:!1,hasImagePreview:!1,renderCustomPreview:null};var Jl=Xl,Zl=function(e){var t=ve(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(k.Fragment,null,e.onChangeImage&&wp.element.createElement(Cn,{label:Object(S.__)("Image",_.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(Rn,{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(Ll,null),e.onChangeAlt&&wp.element.createElement(xn,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(An,{label:Object(S.__)("Image Size",_.i18n),value:e.size,onChange:function(t){var n=ve(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(k.Fragment,null,wp.element.createElement(pp,null,wp.element.createElement(sa,{label:Object(S.__)("Image Width",_.i18n),value:e.width,placeholder:e.placeholder,max:n,min:0,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(pp,{screen:"tablet"},wp.element.createElement(sa,{label:Object(S.__)("Image Width",_.i18n),value:e.tabletWidth,max:n,min:0,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(pp,{screen:"mobile"},wp.element.createElement(sa,{label:Object(S.__)("Image Width",_.i18n),value:e.mobileWidth,max:n,min:0,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&wp.element.createElement(k.Fragment,null,("number"==typeof e.width||e.width)&&wp.element.createElement(pp,null,wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Force square image",_.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.tabletWidth||e.tabletWidth)&&wp.element.createElement(pp,{screen:"tablet"},wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Force square image",_.i18n),checked:e.tabletSquare,onChange:e.onChangeTabletSquare,className:"ugb--help-tip-image-square"})),("number"==typeof e.mobileWidth||e.mobileWidth)&&wp.element.createElement(pp,{screen:"mobile"},wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Force square image",_.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",_.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",_.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(mn,{label:Object(S.__)("Blend Mode",_.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};Zl.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 eo=Object(Ot.compose)(Object(he.withSelect)(function(e,t){var n=e("core").getMedia;return ye(t.id,e),{imageData:t.id?n(t.id):null}}))(Zl),to=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=_e(e.blockAttributes,n,"");return wp.element.createElement(eo,M()({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,l=e.id,o=e.width,s=e.height;t((a={},r()(a,n("Url"),i),r()(a,n("Id"),l),r()(a,n("Width"),o),r()(a,n("Height"),s),a))},alt:a("Alt"),onChangeAlt:function(e){return t(r()({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,i,l){var o;t((o={},r()(o,n("Size"),e),r()(o,n("Url"),a),r()(o,n("Width"),i),r()(o,n("Height"),l),o))},shape:a("Shape"),onChangeShape:function(e){return t(r()({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(r()({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(r()({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(r()({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(r()({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var i;t((i={},r()(i,n("Width"),e),r()(i,n("Height"),a),i))},onChangeTabletWidth:function(e){return t(r()({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(r()({},n("MobileWidth"),e))},square:a("Square"),tabletSquare:a("TabletSquare"),mobileSquare:a("MobileSquare"),onChangeSquare:function(e){return t(r()({},n("Square"),e))},onChangeTabletSquare:function(e){return t(r()({},n("TabletSquare"),e))},onChangeMobileSquare:function(e){return t(r()({},n("MobileSquare"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(r()({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(r()({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(r()({},n("BlendMode"),e))}},e))};to.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var no=function(e){return wp.element.createElement(k.Fragment,null,e.onChangeImage&&wp.element.createElement(Cn,{label:Object(S.__)("Image",_.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(An,{label:Object(S.__)("Image Size",_.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=we(e)||ye(e,he.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",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.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",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.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",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.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",_.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};no.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 ao=Object(Ot.compose)(Object(he.withSelect)(function(e,t){var n=e("core").getMedia;return ye(t.id,e),{imageData:t.id?n(t.id):null}}))(no),ro=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=_e(e.blockAttributes,n,"");return wp.element.createElement(ao,M()({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("Url"),i),r()(a,n("Id"),l),a))},size:a("Size"),onChangeSize:function(e,a){var i;t((i={},r()(i,n("Size"),e),r()(i,n("Url"),a),i))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(r()({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(r()({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(r()({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(r()({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(r()({},n("BackgroundCustomSizeUnit"),e))}},e))};ro.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var io=function(e){var t=Object(k.useMemo)(function(){return"function"==typeof e.placeholder?e.fontSize||Math.round(e.placeholder(ee(e.htmlTag,!0))):e.fontSize||e.placeholder||ee(e.htmlTag,!0)},[e.htmlTag,e.fontSize]);return wp.element.createElement(k.Fragment,null,wp.element.createElement(Jl,{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(tr,{label:Object(S.__)("Font Family",_.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(k.Fragment,null,wp.element.createElement(pp,null,wp.element.createElement(Ja,M()({label:Object(S.__)("Size",_.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(pp,{screen:"tablet"},wp.element.createElement(Ja,M()({label:Object(S.__)("Size",_.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(pp,{screen:"mobile"},wp.element.createElement(Ja,M()({label:Object(S.__)("Size",_.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(x.SelectControl,{label:Object(S.__)("Weight",_.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",_.i18n),value:""},{label:Object(S.__)("Normal",_.i18n),value:"normal"},{label:Object(S.__)("Bold",_.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(x.SelectControl,{label:Object(S.__)("Transform",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Uppercase",_.i18n),value:"uppercase"},{label:Object(S.__)("Lowercase",_.i18n),value:"lowercase"},{label:Object(S.__)("Capitalize",_.i18n),value:"capitalize"},{label:Object(S.__)("None",_.i18n),value:"none"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(k.Fragment,null,wp.element.createElement(pp,null,wp.element.createElement(sa,{label:Object(S.__)("Line-Height",_.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(pp,{screen:"tablet"},wp.element.createElement(sa,{label:Object(S.__)("Line-Height",_.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(pp,{screen:"mobile"},wp.element.createElement(sa,{label:Object(S.__)("Line-Height",_.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",_.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(k.Fragment,null,wp.element.createElement(pp,null,wp.element.createElement(Ja,M()({label:Object(S.__)("Size",_.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(pp,{screen:"tablet"},wp.element.createElement(Ja,M()({label:Object(S.__)("Size",_.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(pp,{screen:"mobile"},wp.element.createElement(Ja,M()({label:Object(S.__)("Size",_.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobileFontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};io.defaultProps={label:Object(S.__)("Typography",_.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 lo=io,oo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(lo,M()({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(r()({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(r()({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(r()({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(r()({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(r()({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(r()({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(r()({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(r()({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(r()({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(r()({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(r()({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(r()({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(r()({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(r()({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(r()({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(r()({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((e={},r()(e,n("FontFamily"),""),r()(e,n("FontSize"),""),r()(e,n("TabletFontSize"),""),r()(e,n("MobileFontSize"),""),r()(e,n("FontSizeUnit"),"px"),r()(e,n("TabletFontSizeUnit"),"px"),r()(e,n("MobileFontSizeUnit"),"px"),r()(e,n("FontWeight"),""),r()(e,n("TextTransform"),""),r()(e,n("LetterSpacing"),""),r()(e,n("LineHeight"),""),r()(e,n("TabletLineHeight"),""),r()(e,n("MobileLineHeight"),""),r()(e,n("LineHeightUnit"),"em"),r()(e,n("TabletLineHeightUnit"),"em"),r()(e,n("MobileLineHeightUnit"),"em"),e))}},e))};oo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var so=oo,uo=function(e){return wp.element.createElement(k.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(x.BaseControl,{id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(Qa,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&wp.element.createElement(St,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.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",_.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(St,{label:Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(Jl,{label:Object(S.__)("Adv. Gradient Color Settings",_.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)",_.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",_.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",_.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(mn,{label:Object(S.__)("Background Gradient Blend Mode",_.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(Ll,null),e.onChangeBackgroundMedia&&wp.element.createElement(k.Fragment,null,wp.element.createElement(pp,null,wp.element.createElement(Cn,{label:e.backgroundMediaAllowVideo?Object(S.__)("Background Image or Video",_.i18n):Object(S.__)("Background Image",_.i18n),help:e.backgroundMediaAllowVideo?Object(S.__)("Use .mp4 format for videos",_.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(pp,{screen:"tablet"},wp.element.createElement(Cn,{label:e.backgroundMediaAllowVideo?Object(S.__)("Background Image or Video",_.i18n):Object(S.__)("Background Image",_.i18n),help:e.backgroundMediaAllowVideo?Object(S.__)("Use .mp4 format for videos",_.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(pp,{screen:"mobile"},wp.element.createElement(Cn,{label:e.backgroundMediaAllowVideo?Object(S.__)("Background Image or Video",_.i18n):Object(S.__)("Background Image",_.i18n),help:e.backgroundMediaAllowVideo?Object(S.__)("Use .mp4 format for videos",_.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",_.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(Ve).length>0)&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Fixed Background",_.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(Jl,{label:Object(S.__)("Adv. Background Image Settings",_.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(pp,null,wp.element.createElement(ca,{label:Object(S.__)("Image Position",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(pp,{screen:"tablet"},wp.element.createElement(ca,{label:Object(S.__)("Image Position",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(pp,{screen:"mobile"},wp.element.createElement(ca,{label:Object(S.__)("Image Position",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Top Left",_.i18n),value:"top left"},{label:Object(S.__)("Top Center",_.i18n),value:"top center"},{label:Object(S.__)("Top Right",_.i18n),value:"top right"},{label:Object(S.__)("Center Left",_.i18n),value:"center left"},{label:Object(S.__)("Center Center",_.i18n),value:"center center"},{label:Object(S.__)("Center Right",_.i18n),value:"center right"},{label:Object(S.__)("Bottom Left",_.i18n),value:"bottom left"},{label:Object(S.__)("Bottom Center",_.i18n),value:"bottom center"},{label:Object(S.__)("Bottom Right",_.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(pp,null,wp.element.createElement(ca,{label:Object(S.__)("Image Repeat",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(pp,{screen:"tablet"},wp.element.createElement(ca,{label:Object(S.__)("Image Repeat",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(pp,{screen:"mobile"},wp.element.createElement(ca,{label:Object(S.__)("Image Repeat",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("No-Repeat",_.i18n),value:"no-repeat"},{label:Object(S.__)("Repeat",_.i18n),value:"repeat"},{label:Object(S.__)("Repeat-X",_.i18n),value:"repeat-x"},{label:Object(S.__)("Repeat-Y",_.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(pp,null,wp.element.createElement(ca,{label:Object(S.__)("Image Size",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(pp,{screen:"tablet"},wp.element.createElement(ca,{label:Object(S.__)("Image Size",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(pp,{screen:"mobile"},wp.element.createElement(ca,{label:Object(S.__)("Image Size",_.i18n),options:[{label:Object(S.__)("Default",_.i18n),value:""},{label:Object(S.__)("Auto",_.i18n),value:"auto"},{label:Object(S.__)("Cover",_.i18n),value:"cover"},{label:Object(S.__)("Contain",_.i18n),value:"contain"},{label:Object(S.__)("Custom",_.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(pp,null,wp.element.createElement(sa,{label:Object(S.__)("Custom Size",_.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(pp,{screen:"tablet"},wp.element.createElement(sa,{label:Object(S.__)("Custom Size",_.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(pp,{screen:"mobile"},wp.element.createElement(sa,{label:Object(S.__)("Custom Size",_.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(mn,{label:Object(S.__)("Image Blend Mode",_.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};uo.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",_.i18n),labelBackgroundColor:Object(S.__)("Background Color",_.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 co=uo,po=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.blockAttributes[n(t)];return 0===r?r:r||a};return wp.element.createElement(co,M()({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(r()({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(r()({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(r()({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(r()({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("BackgroundMediaURL"),i),r()(a,n("BackgroundMediaID"),l),a))},onChangeTabletBackgroundMedia:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("TabletBackgroundMediaURL"),i),r()(a,n("TabletBackgroundMediaID"),l),a))},onChangeMobileBackgroundMedia:function(e){var a,i=e.url,l=e.id;t((a={},r()(a,n("MobileBackgroundMediaURL"),i),r()(a,n("MobileBackgroundMediaID"),l),a))},onChangeBackgroundTintStrength:function(e,a){var i;t((i={},r()(i,n("BackgroundTintStrength"),e),r()(i,n("BackgroundColor"),a),i))},onChangeFixedBackground:function(e){return t(r()({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(r()({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(r()({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(r()({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(r()({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((e={},r()(e,n("BackgroundGradientDirection"),""),r()(e,n("BackgroundGradientBlendMode"),""),r()(e,n("BackgroundGradientLocation1"),""),r()(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(r()({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(r()({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(r()({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(r()({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(r()({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(r()({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(r()({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(r()({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(r()({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(r()({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(r()({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(r()({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(r()({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(r()({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(r()({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(r()({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((e={},r()(e,n("BackgroundPosition"),""),r()(e,n("TabletBackgroundPosition"),""),r()(e,n("MobileBackgroundPosition"),""),r()(e,n("BackgroundRepeat"),""),r()(e,n("TabletBackgroundRepeat"),""),r()(e,n("MobileBackgroundRepeat"),""),r()(e,n("BackgroundSize"),""),r()(e,n("TabletBackgroundSize"),""),r()(e,n("MobileBackgroundSize"),""),r()(e,n("BackgroundCustomSize"),""),r()(e,n("TabletBackgroundCustomSize"),""),r()(e,n("MobileBackgroundCustomSize"),""),r()(e,n("BackgroundCustomSizeUnit"),"%"),r()(e,n("TabletBackgroundCustomSizeUnit"),"%"),r()(e,n("MobileBackgroundCustomSizeUnit"),"%"),r()(e,n("BackgroundImageBlendMode"),""),e))}},e))};po.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var fo=n(70),go=n.n(fo),mo=n(71),ho=n.n(mo),bo=n(72),vo=n.n(bo),yo=n(73),wo=n.n(yo),ko=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(k.Fragment,null,e.onChangeUrl&&wp.element.createElement(gt,{label:Object(S.__)("Link / URL",_.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Open link in new tab",_.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Nofollow link",_.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(Ll,null),e.onChangeDesign&&wp.element.createElement(qi,{label:Object(S.__)("Design",_.i18n),selected:t,options:[{label:Object(S.__)("Basic",_.i18n),value:"basic",image:go.a},{label:Object(S.__)("Ghost",_.i18n),value:"ghost",image:ho.a},{label:Object(S.__)("Plain",_.i18n),value:"plain",image:wo.a}].concat(s()(e.onChangeUseSocialColors?[]:[{label:Object(S.__)("Link",_.i18n),value:"link",image:vo.a}]),s()(Object(Q.applyFilters)("stackable.button-controls.layouts",[]))),onChange:e.onChangeDesign,columns:4}),wp.element.createElement(Ll,null),e.onChangeUseSocialColors&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Use social colors",_.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(k.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(x.BaseControl,{id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(Qa,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType,fullwidth:!1,isSmall:!0})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(St,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.i18n),1):Object(S.__)("Button Color",_.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(St,{label:Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(sa,{label:Object(S.__)("Gradient Direction (degrees)",_.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(St,{label:Object(S.__)("Text Color",_.i18n),value:e.textColor,onChange:e.onChangeTextColor})),"link"!==t&&wp.element.createElement(Ll,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Change to Normal Button on Hover",_.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(x.SelectControl,{label:Object(S.__)("Hover Effect",_.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(S.__)("None",_.i18n)},{value:"lift",label:Object(S.__)("Lift",_.i18n)},{value:"scale",label:Object(S.__)("Scale",_.i18n)},{value:"lift-scale",label:Object(S.__)("Lift & Scale",_.i18n)},{value:"scale-more",label:Object(S.__)("Scale More",_.i18n)},{value:"lift-scale-more",label:Object(S.__)("Lift & Scale More",_.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(sa,{label:e.hoverOpacityLabel,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(Jl,{label:e.hoverColorsLabel,onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(St,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.i18n),1):Object(S.__)("Button Color",_.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(St,{label:Object(S.sprintf)(Object(S._x)("%s #%d","Panel title",_.i18n),Object(S.__)("Button Color",_.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)",_.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(St,{label:Object(S.__)("Text Color",_.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(Ll,null),e.hasTypography&&"link"!==t&&wp.element.createElement(so,{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(x.SelectControl,{label:Object(S.__)("Button Size",_.i18n),value:n,options:[{value:"tiny",label:Object(S.__)("Tiny",_.i18n)},{value:"small",label:Object(S.__)("Small",_.i18n)},{value:"normal",label:Object(S.__)("Normal",_.i18n)},{value:"medium",label:Object(S.__)("Medium",_.i18n)},{value:"large",label:Object(S.__)("Large",_.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",_.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(zs,{label:Object(S.__)("Vertical Padding",_.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(zs,{label:Object(S.__)("Horizontal Padding",_.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",_.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",_.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),e.onChangeOpacity&&wp.element.createElement(sa,{label:Object(S.__)("Opacity",_.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),e.onChangeIcon&&"link"!==t&&wp.element.createElement(Ll,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(_l,{label:Object(S.__)("Icon",_.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(Jl,{label:Object(S.__)("Adv. Icon Settings",_.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(sa,{label:Object(S.__)("Icon Size",_.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(x.SelectControl,{label:Object(S.__)("Icon Position",_.i18n),value:e.iconPosition,options:[{value:"",label:Object(S.__)("Left",_.i18n)},{value:"right",label:Object(S.__)("Right",_.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(sa,{label:Object(S.__)("Icon Spacing",_.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};ko.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:"",hoverOpacityLabel:Object(S.__)("Hover Opacity",_.i18n),hoverTextColor:"",hoverColorsLabel:Object(S.__)("Hover Colors",_.i18n),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 Co=ko,Oo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=_e(e.blockAttributes,n,"");return wp.element.createElement(Co,M()({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(r()({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(r()({},n("Url"),e))},onChangeNewTab:function(e){return t(r()({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(r()({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(r()({},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(r()({},n("Opacity"),e))},onChangeTextColor:function(e){return t(r()({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(r()({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(r()({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(r()({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(r()({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((e={},r()(e,n("HoverBackgroundColor"),""),r()(e,n("HoverBackgroundColor2"),""),r()(e,n("HoverBackgroundGradientDirection"),""),r()(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverOpacityLabel:e.hoverOpacityLabel,hoverColorsLabel:e.hoverColorsLabel,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(r()({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(r()({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(r()({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(r()({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(r()({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(r()({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(r()({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(r()({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(r()({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(r()({},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:e.enableIcon?function(e){return t(r()({},n("Icon"),e))}:null,onResetAdvancedIcon:function(){var e;t((e={},r()(e,n("IconSize"),""),r()(e,n("IconPosition"),""),r()(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(r()({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(r()({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(r()({},n("IconSpacing"),e))}},e))};Oo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},enableIcon:!0,hoverOpacityLabel:Object(S.__)("Hover Opacity",_.i18n),hoverColorsLabel:Object(S.__)("Hover Colors",_.i18n)};var xo=Oo,_o=function(e){return wp.element.createElement(k.Fragment,null,e.onChangeBorderType&&wp.element.createElement(Qa,{label:Object(S.__)("Borders",_.i18n),controls:[{value:"",title:Object(S.__)("None",_.i18n)},{value:"solid",title:Object(S.__)("Solid",_.i18n)},{value:"dashed",title:Object(S.__)("Dashed",_.i18n)},{value:"dotted",title:Object(S.__)("Dotted",_.i18n)}],className:"ugb-border-controls__border-type-toolbar",value:e.borderType,onChange:e.onChangeBorderType,fullwidth:!0,isSmall:!0}),e.onChangeBorderWidth&&e.borderType&&wp.element.createElement(Uo,{label:Object(S.__)("Border Width"),units:["px"],min:0,max:99,step:1,sliderMax:5,defaultLocked:!0,valueDesktop:{top:e.borderWidthTop,right:e.borderWidthRight,bottom:e.borderWidthBottom,left:e.borderWidthLeft},onChangeDesktop:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeBorderWidth({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):"",borderType:e.borderType?void 0:"solid"})},valueTablet:{top:e.tabletBorderWidthTop,right:e.tabletBorderWidthRight,bottom:e.tabletBorderWidthBottom,left:e.tabletBorderWidthLeft},onChangeTablet:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeTabletBorderWidth({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},valueMobile:{top:e.mobileBorderWidthTop,right:e.mobileBorderWidthRight,bottom:e.mobileBorderWidthBottom,left:e.mobileBorderWidthLeft},onChangeMobile:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeMobileBorderWidth({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},placeholder:"1",placeholderTop:"1",placeholderLeft:"1",placeholderBottom:"1",placeholderRight:"1"}),e.onChangeBorderColor&&e.borderType&&wp.element.createElement(St,{value:e.borderColor,onChange:function(t){e.onChangeBorderColor({color:t,borderType:e.borderType?void 0:"solid"})},label:Object(S.__)("Border Color",_.i18n)}))};_o.defaultProps={onResetBorder:function(){},borderType:"",onChangeBorderType:function(){},borderWidthTop:"",borderWidthRight:"",borderWidthBottom:"",borderWidthLeft:"",tabletBorderWidthTop:"",tabletBorderWidthRight:"",tabletBorderWidthBottom:"",tabletBorderWidthLeft:"",mobileBorderWidthTop:"",mobileBorderWidthRight:"",mobileBorderWidthBottom:"",mobileBorderWidthLeft:"",onChangeBorderWidth:function(){},onChangeTabletBorderWidth:function(){},onChangeMobileBorderWidth:function(){},borderColor:"",onChangeBorderColor:function(){}};var So=_o,Eo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=_e(e.blockAttributes,n,"");return wp.element.createElement(So,M()({borderType:a("BorderType"),onChangeBorderType:function(e){return t(r()({},n("BorderType"),e))},onResetBorder:function(){t(r()({},n("BorderType"),""))},borderWidthTop:a("BorderWidthTop"),borderWidthRight:a("BorderWidthRight"),borderWidthBottom:a("BorderWidthBottom"),borderWidthLeft:a("BorderWidthLeft"),tabletBorderWidthTop:a("TabletBorderWidthTop"),tabletBorderWidthRight:a("TabletBorderWidthRight"),tabletBorderWidthBottom:a("TabletBorderWidthBottom"),tabletBorderWidthLeft:a("TabletBorderWidthLeft"),mobileBorderWidthTop:a("MobileBorderWidthTop"),mobileBorderWidthRight:a("MobileBorderWidthRight"),mobileBorderWidthBottom:a("MobileBorderWidthBottom"),mobileBorderWidthLeft:a("MobileBorderWidthLeft"),onChangeBorderWidth:function(e){var a,i=e.top,l=e.right,o=e.bottom,s=e.left,u=e.borderType,c=(a={},r()(a,n("BorderWidthTop"),i),r()(a,n("BorderWidthRight"),l),r()(a,n("BorderWidthBottom"),o),r()(a,n("BorderWidthLeft"),s),a);u&&(c[n("BorderType")]=u),t(c)},onChangeTabletBorderWidth:function(e){var a,i=e.top,l=e.right,o=e.bottom,s=e.left;t((a={},r()(a,n("TabletBorderWidthTop"),i),r()(a,n("TabletBorderWidthRight"),l),r()(a,n("TabletBorderWidthBottom"),o),r()(a,n("TabletBorderWidthLeft"),s),a))},onChangeMobileBorderWidth:function(e){var a,i=e.top,l=e.right,o=e.bottom,s=e.left;t((a={},r()(a,n("MobileBorderWidthTop"),i),r()(a,n("MobileBorderWidthRight"),l),r()(a,n("MobileBorderWidthBottom"),o),r()(a,n("MobileBorderWidthLeft"),s),a))},borderColor:a("BorderColor"),onChangeBorderColor:function(e){var a=e.color,i=e.borderType,l=r()({},n("BorderColor"),a);i&&(l[n("BorderType")]=i),t(l)}},e))};Eo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var jo=n(74),To=n.n(jo),Po=n(75),Bo=n.n(Po),Mo=n(76),No=n.n(Mo),Io=function(e){var t=e.design?e.design:"basic",n="shaped"===t||"outlined"===t;return wp.element.createElement(k.Fragment,null,e.onChangeIcon&&wp.element.createElement(_l,{label:Object(S.__)("Icon",_.i18n),value:e.icon,onChange:e.onChangeIcon}),e.onChangeDesign&&wp.element.createElement(qi,{label:Object(S.__)("Design",_.i18n),selected:e.design,columns:3,options:[{label:Object(S.__)("Plain",_.i18n),value:"plain",image:To.a},{label:Object(S.__)("Shaped",_.i18n),value:"shaped",image:Bo.a},{label:Object(S.__)("Outlined",_.i18n),value:"outlined",image:No.a}].concat(s()(Object(Q.applyFilters)("stackable.icon-controls.edit.layouts",[]))),onChange:e.onChangeDesign}),_.showProNotice&&wp.element.createElement(gs,{title:Object(S.__)("Say Hello to Gorgeous Icons 👋",_.i18n),description:Object(S.__)("Liven up your icons with gradient fills, multiple colors and background shapes. This feature is only available on Stackable Premium",_.i18n)}),_.showProNotice&&wp.element.createElement(x.BaseControl,{label:Object(S.__)("Icon Color Type",_.i18n),id:"icon-color-type"},wp.element.createElement(Qa,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n),className:"ugb--is-premium",disabled:!0},{value:"multicolor",title:Object(S.__)("Multicolor",_.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),Object(Q.applyFilters)("stackable.icon-controls.edit.color",wp.element.createElement(k.Fragment,null,e.onChangeColor&&wp.element.createElement(St,{label:Object(S.__)("Icon Color",_.i18n),value:e.color,onChange:e.onChangeColor})),e),e.onChangeColor&&e.onChangeDesign&&wp.element.createElement(Ll,null),n&&e.onChangeBackgroundColor&&wp.element.createElement(k.Fragment,null,_.showProNotice&&e.onChangeBackgroundColorType&&"outlined"!==e.design&&wp.element.createElement(x.BaseControl,{label:Object(S.__)("Icon Shape / Outline Color",_.i18n),id:"icon-shape-color-type"},wp.element.createElement(Qa,{controls:[{value:"",title:Object(S.__)("Single",_.i18n)},{value:"gradient",title:Object(S.__)("Gradient",_.i18n),className:"ugb--is-premium",disabled:!0}],value:"",fullwidth:!1,isSmall:!0})),Object(Q.applyFilters)("stackable.icon-controls.edit.background-color",wp.element.createElement(k.Fragment,null,e.onChangeBackgroundColor&&wp.element.createElement(St,{label:Object(S.__)("Icon Shape / Outline Color",_.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor})),e),e.onChangeBorderRadius&&wp.element.createElement(sa,{label:"shaped"===e.design?Object(S.__)("Icon Shape Border Radius",_.i18n):Object(S.__)("Outline Border Radius",_.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",_.i18n):Object(S.__)("Outline Padding",_.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",_.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",_.i18n),value:e.outlineWidth,onChange:e.onChangeOutlineWidth,min:0,max:10,step:1,allowReset:!0,placeholder:"3"}),e.onChangeBackgroundColorType&&wp.element.createElement(Ll,null)),e.onChangeSize&&wp.element.createElement(k.Fragment,null,wp.element.createElement(pp,null,wp.element.createElement(sa,{label:Object(S.__)("Icon Size",_.i18n),value:e.size,max:e.sizeMax,onChange:e.onChangeSize,allowReset:!0,placeholder:"50"})),wp.element.createElement(pp,{screen:"tablet"},wp.element.createElement(sa,{label:Object(S.__)("Icon Size",_.i18n),value:e.tabletSize,max:e.sizeMax,onChange:e.onChangeTabletSize,allowReset:!0,placeholder:e.size||50})),wp.element.createElement(pp,{screen:"mobile"},wp.element.createElement(sa,{label:Object(S.__)("Icon Size",_.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",_.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",_.i18n),value:e.rotation,min:0,max:360,onChange:e.onChangeRotation,allowReset:!0,placeholder:"0"}),Object(Q.applyFilters)("stackable.icon-controls.edit.after",null,e))};Io.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 Do=Io,Ro=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},a=_e(e.blockAttributes,n,"");return wp.element.createElement(Do,M()({icon:a("Icon"),onChangeIcon:function(e){return t(r()({},n("Icon"),e))},design:a("Design")||"plain",onChangeDesign:function(e){return t(r()({},n("Design"),e))},colorType:a("ColorType"),onChangeColorType:function(e){return t(r()({},n("ColorType"),e))},color:a("Color"),onChangeColor:function(e){return t(r()({},n("Color"),e))},color2:a("Color2"),onChangeColor2:function(e){return t(r()({},n("Color2"),e))},colorGradientDirection:a("ColorGradientDirection"),onChangeColorGradientDirection:function(e){return t(r()({},n("ColorGradientDirection"),e))},color3:a("Color3"),onChangeColor3:function(e){return t(r()({},n("Color3"),e))},color4:a("Color4"),onChangeColor4:function(e){return t(r()({},n("Color4"),e))},color5:a("Color5"),onChangeColor5:function(e){return t(r()({},n("Color5"),e))},color6:a("Color6"),onChangeColor6:function(e){return t(r()({},n("Color6"),e))},color7:a("Color7"),onChangeColor7:function(e){return t(r()({},n("Color7"),e))},color8:a("Color8"),onChangeColor8:function(e){return t(r()({},n("Color8"),e))},color9:a("Color9"),onChangeColor9:function(e){return t(r()({},n("Color9"),e))},color10:a("Color10"),onChangeColor10:function(e){return t(r()({},n("Color10"),e))},multiOpacity1:a("MultiOpacity1"),onChangeMultiOpacity1:function(e){return t(r()({},n("MultiOpacity1"),e))},multiOpacity2:a("MultiOpacity2"),onChangeMultiOpacity2:function(e){return t(r()({},n("MultiOpacity2"),e))},multiOpacity3:a("MultiOpacity3"),onChangeMultiOpacity3:function(e){return t(r()({},n("MultiOpacity3"),e))},multiOpacity4:a("MultiOpacity4"),onChangeMultiOpacity4:function(e){return t(r()({},n("MultiOpacity4"),e))},multiOpacity5:a("MultiOpacity5"),onChangeMultiOpacity5:function(e){return t(r()({},n("MultiOpacity5"),e))},multiOpacity6:a("MultiOpacity6"),onChangeMultiOpacity6:function(e){return t(r()({},n("MultiOpacity6"),e))},multiOpacity7:a("MultiOpacity7"),onChangeMultiOpacity7:function(e){return t(r()({},n("MultiOpacity7"),e))},multiOpacity8:a("MultiOpacity8"),onChangeMultiOpacity8:function(e){return t(r()({},n("MultiOpacity8"),e))},multiOpacity9:a("MultiOpacity9"),onChangeMultiOpacity9:function(e){return t(r()({},n("MultiOpacity9"),e))},multiOpacity10:a("MultiOpacity10"),onChangeMultiOpacity10:function(e){return t(r()({},n("MultiOpacity10"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(r()({},n("BorderRadius"),e))},padding:a("Padding"),onChangePadding:function(e){return t(r()({},n("Padding"),e))},outlineWidth:a("OutlineWidth"),onChangeOutlineWidth:function(e){return t(r()({},n("OutlineWidth"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(r()({},n("Shadow"),e))},backgroundColorType:a("BackgroundColorType"),onChangeBackgroundColorType:function(e){return t(r()({},n("BackgroundColorType"),e))},backgroundColor:a("BackgroundColor"),onChangeBackgroundColor:function(e){return t(r()({},n("BackgroundColor"),e))},backgroundColor2:a("BackgroundColor2"),onChangeBackgroundColor2:function(e){return t(r()({},n("BackgroundColor2"),e))},backgroundColorGradientDirection:a("BackgroundColorGradientDirection"),onChangeBackgroundColorGradientDirection:function(e){return t(r()({},n("BackgroundColorGradientDirection"),e))},size:a("Size"),tabletSize:a("TabletSize"),mobileSize:a("MobileSize"),sizeMax:e.sizeMax,onChangeSize:function(e){return t(r()({},n("Size"),e))},onChangeTabletSize:function(e){return t(r()({},n("TabletSize"),e))},onChangeMobileSize:function(e){return t(r()({},n("MobileSize"),e))},opacity:a("Opacity"),onChangeOpacity:function(e){return t(r()({},n("Opacity"),e))},rotation:a("Rotation"),onChangeRotation:function(e){return t(r()({},n("Rotation"),e))},showBackgroundShape:a("ShowBackgroundShape"),onChangeShowBackgroundShape:function(e){return t(r()({},n("ShowBackgroundShape"),e))},backgroundShape:a("BackgroundShape")||"blob1",onChangeBackgroundShape:function(e){return t(r()({},n("BackgroundShape"),e))},backgroundShapeOpacity:a("BackgroundShapeOpacity"),onChangeBackgroundShapeOpacity:function(e){return t(r()({},n("BackgroundShapeOpacity"),e))},backgroundShapeSize:a("BackgroundShapeSize"),onChangeBackgroundShapeSize:function(e){return t(r()({},n("BackgroundShapeSize"),e))},backgroundShapeColor:a("BackgroundShapeColor"),onChangeBackgroundShapeColor:function(e){return t(r()({},n("BackgroundShapeColor"),e))},backgroundShapeOffsetHorizontal:a("BackgroundShapeOffsetHorizontal"),onChangeBackgroundShapeHorizontalOffset:function(e){return t(r()({},n("BackgroundShapeOffsetHorizontal"),e))},backgroundShapeOffsetVertical:a("BackgroundShapeOffsetVertical"),onChangeBackgroundShapeVerticalOffset:function(e){return t(r()({},n("BackgroundShapeOffsetVertical"),e))}},e))};Ro.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var zo=function(e){return wp.element.createElement(k.Fragment,null,e.socialUrlFields&&wp.element.createElement(k.Fragment,null,Object.keys(Ee).map(function(t){return wp.element.createElement(x.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(S.sprintf)(Object(S._x)("%s Link","name",_.i18n),Ee[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(R.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(x.ToggleControl,{label:Object(S.__)("Open link in new tab",_.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(Ll,null),wp.element.createElement(xo,{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}))};zo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var Ao=zo,Lo=function(e){var t=e.setAttributes,n=function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(Ao,M()({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(r()({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(r()({},n("UseSocialColors"),e))}},e))};Lo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Fo=function(e){var t=Object(R.pick)(e,["label","units","screens","defaultLocked","enableTop","enableRight","enableBottom","enableLeft","className","sliderMax","sliderMin"]),n=Array.isArray(e.min)?e.min:[e.min,e.min,e.min],a=Array.isArray(e.max)?e.max:[e.max,e.max,e.max],r=Array.isArray(e.sliderMin)?e.sliderMin:[e.sliderMin,e.sliderMin,e.sliderMin],i=Array.isArray(e.sliderMax)?e.sliderMax:[e.sliderMax,e.sliderMax,e.sliderMax],l=Array.isArray(e.step)?e.step:[e.step,e.step,e.step];return wp.element.createElement(k.Fragment,null,wp.element.createElement(pp,{screen:"desktop"},wp.element.createElement(zs,M()({},t,{min:n[0],max:a[0],sliderMin:r[0],sliderMax:i[0],step:l[0],top:e.valueDesktop.top,right:e.valueDesktop.right,bottom:e.valueDesktop.bottom,left:e.valueDesktop.left,unit:e.valueDesktopUnit||e.units[0],onChange:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeDesktop({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:function(t){return e.onChangeDesktopUnit(t)},placeholder:e.placeholder,placeholderTop:e.placeholderTop,placeholderLeft:e.placeholderLeft,placeholderBottom:e.placeholderBottom,placeholderRight:e.placeholderRight}))),wp.element.createElement(pp,{screen:"tablet"},wp.element.createElement(zs,M()({},t,{min:n[1],max:a[1],sliderMin:r[1],sliderMax:i[1],step:l[1],top:e.valueTablet.top,right:e.valueTablet.right,bottom:e.valueTablet.bottom,left:e.valueTablet.left,unit:e.valueTabletUnit||e.units[0],onChange:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeTablet({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:function(t){return e.onChangeTabletUnit(t)}}))),wp.element.createElement(pp,{screen:"mobile"},wp.element.createElement(zs,M()({},t,{min:n[2],max:a[2],sliderMin:r[2],sliderMax:i[2],step:l[2],top:e.valueMobile.top,right:e.valueMobile.right,bottom:e.valueMobile.bottom,left:e.valueMobile.left,unit:e.valueMobileUnit||e.units[0],onChange:function(t){var n=t.top,a=t.right,r=t.bottom,i=t.left;e.onChangeMobile({top:n||0===n?parseInt(n,10):"",right:a||0===a?parseInt(a,10):"",bottom:r||0===r?parseInt(r,10):"",left:i||0===i?parseInt(i,10):""})},onChangeUnit:function(t){return e.onChangeMobileUnit(t)}}))))};Fo.defaultProps={label:Object(S.__)("Spacing",_.i18n),defaultLocked:!0,units:["px","em","%"],screens:["desktop","tablet","mobile"],min:0,max:1/0,sliderMax:null,sliderMin:null,step:1,enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,valueDesktop:{},valueTablet:{},valueMobile:{},valueDesktopUnit:"",valueTabletUnit:"",valueMobileUnit:"",onChangeDesktop:function(){},onChangeTablet:function(){},onChangeMobile:function(){},onChangeDesktopUnit:function(){},onChangeTabletUnit:function(){},onChangeMobileUnit:function(){},placeholderTop:"60",placeholderLeft:"35",placeholderBottom:"60",placeholderRight:"35",placeholder:"",className:"ugb--help-tip-advanced-column-paddings"};var Uo=Fo;function Ho(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ho(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ho(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Go=function(e,t){var n=me(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},Wo=function(e){var t=Object(Q.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},qo=function(e){var t=Vo({},e,{value:"string"==typeof e.value?Wo(e.value):e.value}),n=P()(["ugb-icon-inner-svg",e.className],r()({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(Nm,M()({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=P()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],r()({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=Go(a,e.backgroundShape)),a=Object(Q.applyFilters)("stackable.component.svg-icon",a,t)};qo.defaultProps={className:"",value:"",design:"",colorType:"",showBackgroundShape:!1,backgroundShape:"",shadow:"",gradientColor1:"",gradientColor2:"",gradientDirection:0},(qo.Content=function(e){var t=Vo({},e,{value:"string"==typeof e.value?Wo(e.value):e.value}),n=P()(["ugb-icon-inner-svg",e.className],r()({},"ugb-icon--".concat(e.colorType),e.colorType&&"single"!==e.colorType)),a=wp.element.createElement(Nm.Content,M()({},t,{className:n}));if("shaped"===e.design||"outlined"===e.design){var i=P()(["ugb-icon__design-wrapper","ugb-icon__design-".concat(e.design)],r()({},"ugb--shadow-".concat(e.shadow),e.shadow&&"shaped"===e.design));a=wp.element.createElement("div",{className:i},a)}return e.showBackgroundShape&&(a=Go(a,e.backgroundShape)),a=Object(Q.applyFilters)("stackable.component.svg-icon",a,t)}).defaultProps=Vo({},qo.defaultProps);var Ko=qo,$o=function(e){var t=_e(e.blockAttributes,function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(Ko,M()({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))};$o.defaultProps={attrNameTemplate:"%s",blockAttributes:{}},$o.Content=function(e){var t=_e(e.blockAttributes,function(t){return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},"");return wp.element.createElement(Ko.Content,M()({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))},$o.defaultProps={attrNameTemplate:"%s",blockAttributes:{}};var Yo=$o,Qo=Object(Ot.withInstanceId)(function(e){var t=Object(k.useState)(!1),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)(!1),o=l()(i,2),s=o[0],u=o[1],c=e.instanceId,p=e.isOpen,f=e.onChange,d=Pt()(e,["instanceId","isOpen","onChange"]);return Object(k.useEffect)(function(){e.onToggle(a)},[a]),wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(c)},wp.element.createElement(mt,{className:"ugb-svg-icon-placeholder__button",onClick:function(){s?(r(!1),u(!1)):r(!0)}},wp.element.createElement(Yo,d)),(null!==p&&p||null===p&&a)&&wp.element.createElement(zl,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(c))?u(!0):(r(!1),u(!1))},onClose:function(){return r(!1)},onChange:f}))});Qo.defaultProps={isOpen:null,className:"",value:"",onChange:function(){},onToggle:function(){}};var Xo=Qo;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 Zo=ie.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),es=ie.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"}),ts=ie.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"}),ns=ie.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),as=ie.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),rs=ie.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),is=ie.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),ls=ie.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"}),os=ie.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"}),ss=ie.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"}),us=ie.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"}),cs=function(e){return ie.a.createElement("svg",Jo({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),Zo,es,ts,ns,as,rs,is,ls,os,ss,us)},ps={layout:{title:Object(S.__)("Say Hello to More Layouts 👋",_.i18n),description:Object(S.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},design:{title:Object(S.__)("Say Hello to More Designs 👋",_.i18n),description:Object(S.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},image:{title:Object(S.__)("Say Hello to More Shapes 👋",_.i18n),description:Object(S.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},effect:{title:Object(S.__)("Say Hello to More Effects 👋",_.i18n),description:Object(S.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},advanced:{title:Object(S.__)("Say Hello to Fine-Grained Controls 👋",_.i18n),description:Object(S.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)},postsBlock:{title:Object(S.__)("Say Hello to More Post Controls 👋",_.i18n),description:Object(S.__)("Get a load more button, more post options and Custom Post Types. This feature is only available on Stackable Premium.",_.i18n),button:Object(S.__)("Learn More",_.i18n)}},fs=function(e){var t=P()(["ugb-design-control-pro-note",e.className]);return wp.element.createElement("div",{className:t},e.isDismissible&&wp.element.createElement(mt,{className:"ugb-design-control-pro-note__close",icon:"no-alt",isTertiary:!0,onClick:e.onClose}),wp.element.createElement(cs,{className:"ugb-design-control-pro-note__logo"}),wp.element.createElement("h4",null,e.title||ps[e.type].title),wp.element.createElement("p",null,e.description||ps[e.type].description),e.showButton&&wp.element.createElement(Pi,{button:e.button||ps[e.type].button,buttonUtmSource:e.buttonUtmSource}),e.showHideNote&&wp.element.createElement("p",{className:"ugb-design-control-pro-note__notice"},Object(S.__)("You can hide premium hints in the settings",_.i18n)))};fs.defaultProps={className:"",type:"layout",title:"",description:"",button:"",showButton:!0,showHideNote:!0,isDismissible:!1,onClose:function(){},buttonUtmSource:void 0};var ds=fs,gs=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(v()(e)),e}return w()(t,e),f()(t,[{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(ds,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}]),t}(k.Component);function ms(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 hs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ms(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ms(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var bs=function(e){function t(){var e;c()(this,t);var n=(e=g()(this,h()(t).apply(this,arguments))).getEnabledValues(),a=!n.length||n.every(function(e){return e===n[0]}),r=n.every(function(e){return""===e});return e.state={locked:r?e.props.defaultLocked:a},e.onToggleLock=e.onToggleLock.bind(v()(e)),e.onChangeTop=e.onChangeTop.bind(v()(e)),e.onChangeRight=e.onChangeRight.bind(v()(e)),e.onChangeBottom=e.onChangeBottom.bind(v()(e)),e.onChangeLeft=e.onChangeLeft.bind(v()(e)),e}return w()(t,e),f()(t,[{key:"getEnabledValues",value:function(){return[].concat(s()(this.props.enableTop?[this.props.top]:[]),s()(this.props.enableRight?[this.props.right]:[]),s()(this.props.enableBottom?[this.props.bottom]:[]),s()(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(s()(this.props.enableTop?["top"]:[]),s()(this.props.enableRight?["right"]:[]),s()(this.props.enableBottom?["bottom"]:[]),s()(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(R.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(hs({},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(hs({},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(hs({},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(hs({},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(x.BaseControl,{help:this.props.help,className:P()("ugb-four-number-control",this.props.className)},wp.element.createElement(na,{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",_.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(S.__)("auto",_.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(S.__)("Top",_.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",_.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(S.__)("Right",_.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",_.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(S.__)("Bottom",_.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",_.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(S.__)("Left",_.i18n))),wp.element.createElement(mt,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(x.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}]),t}(k.Component);bs.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(Ot.withInstanceId)(bs);function vs(){return(vs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ys=ie.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),ws=ie.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"}),ks=function(e){return ie.a.createElement("svg",vs({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ys,ws)};function Cs(){return(Cs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Os=ie.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),xs=ie.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"}),_s=function(e){return ie.a.createElement("svg",Cs({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Os,xs)};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)}var Es=ie.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),js=ie.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"}),Ts=function(e){return ie.a.createElement("svg",Ss({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Es,js)};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 Bs=ie.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Ms=ie.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"}),Ns=function(e){return ie.a.createElement("svg",Ps({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Bs,Ms)};function Is(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 Ds(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Is(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Is(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Rs=function(e){function t(){var e;c()(this,t);var n=(e=g()(this,h()(t).apply(this,arguments))).getEnabledValues(),a=e.firstValue(),r=Object.values(n).every(function(e){return e===a}),i=Object.values(n).every(function(e){return""===e});return e.state={locked:i?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(v()(e)),e.onChangeAll=e.onChangeAll.bind(v()(e)),e.onChangeTop=e.onChangeTop.bind(v()(e)),e.onChangeRight=e.onChangeRight.bind(v()(e)),e.onChangeBottom=e.onChangeBottom.bind(v()(e)),e.onChangeLeft=e.onChangeLeft.bind(v()(e)),e}return w()(t,e),f()(t,[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return Ds({},t,r()({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(s()(this.props.enableTop?["top"]:[]),s()(this.props.enableRight?["right"]:[]),s()(this.props.enableBottom?["bottom"]:[]),s()(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(R.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(Ds({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(Ds({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(Ds({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(Ds({},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-"),i={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition,sliderMin:this.props.sliderMin,sliderMax:this.props.sliderMax},l=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(i.min=this.props.min[l]),Array.isArray(this.props.max)&&(i.max=this.props.max[l]),Array.isArray(this.props.sliderMin)&&(i.sliderMin=this.props.sliderMin[l]),Array.isArray(this.props.sliderMax)&&(i.sliderMax=this.props.sliderMax[l]),Array.isArray(this.props.step)&&(i.step=this.props.step[l]),Array.isArray(this.props.placeholder)&&(i.placeholder=this.props.placeholder[l]),Array.isArray(this.props.initialPosition)&&(i.initialPosition=this.props.initialPosition[l]);var o=P()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),s=wp.element.createElement(mt,{className:o,onClick:this.onToggleLock,icon:wp.element.createElement(x.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(x.BaseControl,{help:this.props.help,className:P()("ugb-four-range-control",this.props.className,{"ugb--locked":this.state.locked})},wp.element.createElement(na,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:s}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(sa,M()({id:"".concat(r,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},i))),!this.state.locked&&wp.element.createElement(k.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Top",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Ns,null))),wp.element.createElement(sa,M()({id:"".concat(r,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},i,{placeholder:this.props.placeholderTop||i.placeholder}))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Right",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Ts,null))),wp.element.createElement(sa,M()({id:"".concat(r,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},i,{placeholder:this.props.placeholderRight||i.placeholder}))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Bottom",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(ks,null))),wp.element.createElement(sa,M()({id:"".concat(r,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},i,{placeholder:this.props.placeholderBottom||i.placeholder}))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(S.__)("Left",_.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(_s,null))),wp.element.createElement(sa,M()({id:"".concat(r,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},i,{placeholder:this.props.placeholderLeft||i.placeholder})))))}}]),t}(k.Component);Rs.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:-1/0,max:1/0,sliderMin:null,sliderMax:null,step:1,placeholder:"",placeholderTop:"",placeholderRight:"",placeholderBottom:"",placeholderLeft:"",initialPosition:""};var zs=Rs,As=n(77),Ls=n.n(As),Fs=n(78),Us=n.n(Fs),Hs=n(79),Vs=n.n(Hs),Gs=n(80),Ws=n.n(Gs),qs=n(81),Ks=n.n(qs),$s=n(82),Ys=n.n($s),Qs=n(83),Xs=n.n(Qs),Js=n(84),Zs=n.n(Js),eu=n(85),tu=n.n(eu),nu=n(86),au=n.n(nu),ru=n(87),iu=n.n(ru),lu=n(88),ou=n.n(lu),su=n(89),uu=n.n(su),cu=n(90),pu=n.n(cu),fu=n(91),du=n.n(fu),gu=n(92),mu=n.n(gu),hu=n(93),bu=n.n(hu),vu=n(94),yu=n.n(vu),wu=n(95),ku=n.n(wu),Cu=n(96),Ou=n.n(Cu),xu=n(97),_u=n.n(xu),Su=n(98),Eu=n.n(Su),ju=n(99),Tu=n.n(ju),Pu=n(100),Bu=n.n(Pu),Mu=n(101),Nu=n.n(Mu),Iu=n(102),Du=n.n(Iu),Ru=n(103),zu=n.n(Ru),Au=n(104),Lu=n.n(Au),Fu=n(105),Uu=n.n(Fu),Hu=n(106),Vu=n.n(Hu);function Gu(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 Wu(){return(Wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){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 qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ku(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function $u(e,t,n){return t&&Ku(e.prototype,t),n&&Ku(e,n),e}function Yu(e){return(Yu="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 Qu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xu(e,t){return!t||"object"!==Yu(t)&&"function"!=typeof t?Qu(e):t}function Ju(e){return(Ju=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Zu(e,t){return(Zu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ec(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&&Zu(e,t)}function tc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nc=n(30),ac=n.n(nc),rc=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 ic(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 lc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ic(Object(n),!0).forEach(function(t){tc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ic(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var oc=function(e){function t(){var e,n;qu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return tc(Qu(n=Xu(this,(e=Ju(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 lc({},e,{onMouseDown:rc(e.onMouseDown,a),onTouchStart:rc(e.onTouchStart,r)})}),n}return ec(t,re["Component"]),$u(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&&ie.a.Children.only(r)}}]),t}();oc.propTypes={};var sc=oc,uc=function(e){function t(){return qu(this,t),Xu(this,Ju(t).apply(this,arguments))}return ec(t,re["Component"]),$u(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&&ie.a.Children.only(i)}}]),t}();uc.propTypes={},uc.defaultProps={count:10};var cc=uc;function pc(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 fc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pc(Object(n),!0).forEach(function(t){tc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var dc=function(e){function t(){var e,n;qu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return tc(Qu(n=Xu(this,(e=Ju(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 fc({},e,{onMouseDown:rc(e.onMouseDown,a),onTouchStart:rc(e.onTouchStart,r)})}),n}return ec(t,re["Component"]),$u(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=[],p=0;p<l.length+1;p++){var f=l[p-1],d=l[p];0===p&&!0===a?f={id:"$",value:u[0],percent:0}:p===l.length&&!0===r&&(d={id:"$",value:u[1],percent:100}),f&&d&&c.push({id:"".concat(f.id,"-").concat(d.id),source:f,target:d})}var g=n({getEventData:o,activeHandleID:s,tracks:c,getTrackProps:e});return g&&ie.a.Children.only(g)}}]),t}();dc.propTypes={},dc.defaultProps={left:!0,right:!0};var gc=dc;function mc(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 hc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mc(Object(n),!0).forEach(function(t){tc(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mc(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var bc=function(e){function t(){var e,n;qu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return tc(Qu(n=Xu(this,(e=Ju(t)).call.apply(e,[this].concat(r)))),"autofocus",function(e){e.target.focus()}),tc(Qu(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 hc({},t,{onKeyDown:rc(t.onKeyDown,function(t){return r(t,e)}),onMouseDown:rc(t.onMouseDown,n.autofocus,function(t){return i(t,e)}),onTouchStart:rc(t.onTouchStart,function(t){return l(t,e)})})}),n}return ec(t,re["Component"]),$u(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&&ie.a.Children.only(a)}}]),t}();bc.propTypes={};var vc=bc;function yc(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 wc="react-compound-slider:";function kc(e){return function(t,n){return t.val>n.val?e?-1:1:n.val>t.val?e?1:-1:0}}function Cc(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(yc(e.slice(0,r)),[{key:l,val:n}],yc(e.slice(r+1))).sort(kc(a))}return e}function Oc(e,t){if(!e)return[0,0];var n=e.getBoundingClientRect();return[t?n.top:n.left,t?n.bottom:n.right]}function xc(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 _c(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function Sc(){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,ac()(!a,"".concat(wc," Invalid value encountered. Changing ").concat(e," to ").concat(t,"."))),t}).map(function(e,t){return{key:"$$-".concat(t),val:e}}).sort(kc(t)),changes:r}}var Ec=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN};var jc,Tc;1===(jc=Ec).length&&(Tc=jc,jc=function(e,t){return Ec(Tc(e),t)});var Pc=Array.prototype,Bc=(Pc.slice,Pc.map,Math.sqrt(50)),Mc=Math.sqrt(10),Nc=Math.sqrt(2),Ic=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>=Bc?10:i>=Mc?5:i>=Nc?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(i>=Bc?10:i>=Mc?5:i>=Nc?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 Dc=function(){function e(){qu(this,e),this.domain=[0,1],this.range=[0,1],this.interpolator=null}return $u(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 Ic(t[0],t[t.length-1],e||10)}}]),e}();function Rc(e,t,n){return Math.min(Math.max(e,t),n)}var zc=function e(){var t=this;qu(this,e),tc(this,"setDomain",function(e){return t.domain=e.slice(),t}),tc(this,"setRange",function(e){return t.range=e.slice(),t}),tc(this,"setStep",function(e){return t.step=e,t}),tc(this,"getValue",function(e){var n=Gu(t.domain,2),a=n[0],r=n[1],i=Gu(t.range,2),l=i[0],o=i[1],s=t.step,u=(Rc(e,a,r)-a)/(r-a);return Rc(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]},Ac="undefined"!=typeof window&&"undefined"!=typeof document,Lc=function(){},Fc=function(e,t,n,a){var r=a?e-t:e+t;return a?Math.max(n[0],r):Math.min(n[1],r)},Uc=function(e,t,n,a){var r=a?e+t:e-t;return a?Math.min(n[1],r):Math.max(n[0],r)},Hc=function(e){function t(){var e,n;qu(this,t);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return tc(Qu(n=Xu(this,(e=Ju(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}),tc(Qu(n),"slider",ie.a.createRef()),tc(Qu(n),"onKeyDown",function(e,t){var a=["ArrowRight","ArrowUp"],r=["ArrowDown","ArrowLeft"],i=Qu(n),l=i.state.handles,o=i.props,s=o.step,u=o.reversed,c=o.vertical,p=o.domain,f=e.key||e.keyCode;if(a.concat(r).includes(f)){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,h=m;a.includes(f)?h=Fc(m,s,p,u):r.includes(f)&&(h=Uc(m,s,p,u));var b=l.map(function(e){return e.key===t?{key:e.key,val:h}:e});n.submitUpdate(b,!0)}}}),tc(Qu(n),"onMouseDown",function(e,t){n.onStart(e,t,!1)}),tc(Qu(n),"onTouchStart",function(e,t){xc(e)||n.onStart(e,t,!0)}),tc(Qu(n),"getEventData",function(e,t){var a,r=Qu(n),i=r.state,l=i.pixelToStep,o=i.valueToPerc,s=r.props.vertical;return l.setDomain(Oc(n.slider.current,s)),{value:a=t?l.getValue(_c(s,e)):l.getValue(s?e.clientY:e.pageX),percent:o.getValue(a)}}),tc(Qu(n),"onMouseMove",function(e){var t=Qu(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;i.setDomain(Oc(n.slider.current,s));var c=Cc(r,l,i.getValue(s?e.clientY:e.pageX),u);n.submitUpdate(c)}),tc(Qu(n),"onTouchMove",function(e){var t=Qu(n),a=t.state,r=a.handles,i=a.pixelToStep,l=a.activeHandleID,o=t.props,s=o.vertical,u=o.reversed;if(!xc(e)){i.setDomain(Oc(n.slider.current,s));var c=Cc(r,l,i.getValue(_c(s,e)),u);n.submitUpdate(c)}}),tc(Qu(n),"onMouseUp",function(){var e=Qu(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}),Ac&&(document.removeEventListener("mousemove",n.onMouseMove),document.removeEventListener("mouseup",n.onMouseUp))}),tc(Qu(n),"onTouchEnd",function(){var e=Qu(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}),Ac&&(document.removeEventListener("touchmove",n.onTouchMove),document.removeEventListener("touchend",n.onTouchEnd))}),n}return ec(t,re["PureComponent"]),$u(t,[{key:"componentDidMount",value:function(){var e=this.state.pixelToStep,t=this.props.vertical;e.setDomain(Oc(this.slider.current,t))}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"removeListeners",value:function(){Ac&&(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(Oc(c.current,s)),n=t?l.getValue(_c(s,e)):l.getValue(s?e.clientY:e.pageX);for(var p=null,f=1/0,d=0;d<i.length;d++){var g=i[d],m=g.key,h=g.val,b=Math.abs(h-n);b<f&&(p=m,f=b)}var v=Cc(i,p,n,u);this.setState({activeHandleID:p},function(){a.submitUpdate(v,!0),t?a.addTouchEvents():a.addMouseEvents()})}},{key:"addMouseEvents",value:function(){Ac&&(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp))}},{key:"addTouchEvents",value:function(){Ac&&(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),ac()(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 p=o?a:-a,f=0;f<n.length;f++){var d=n[f],g=n[f+1];if(g&&d.val===g.val){if(f===l){var m=g.val+p;if(i(m)===m){var h=e(n,Cc(n,g.key,g.val+p,r),a,r,i);return h===n?t:h}return t}var b=d.val+p;if(i(b)===b){var v=e(n,Cc(n,d.key,d.val+p,r),a,r,i);return v===n?t:v}return t}}return n}(c,e,r,o,s);break;default:u=e,ac()(!1,"".concat(wc," 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,p=i.flatten,f=n.map(function(e){var t=e.key,n=e.val;return{id:t,value:n,percent:a.getValue(n)}}),d=ie.a.Children.map(this.props.children,function(t){return!t||t.type.name!==sc.name&&t.type.name!==cc.name&&t.type.name!==gc.name&&t.type.name!==vc.name?t:ie.a.cloneElement(t,{scale:a,handles:f,activeHandleID:r,getEventData:e.getEventData,emitKeyboard:c?Lc:e.onKeyDown,emitMouse:c?Lc:e.onMouseDown,emitTouch:c?Lc:e.onTouchStart})});return p?ie.a.createElement(re.Fragment,null,ie.a.createElement(u,Wu({},s,{style:o,className:l,ref:this.slider})),d):ie.a.createElement(u,Wu({},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,p=t.valueToPerc,f=t.valueToStep,d=t.pixelToStep,g={};if(p&&f&&d||(p=new Dc,f=new zc,d=new zc,g.valueToPerc=p,g.valueToStep=f,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=Gu(l,2),h=m[0],b=m[1];f.setStep(r).setRange([h,b]).setDomain([h,b]),!0===o?(p.setDomain([h,b]).setRange([100,0]),d.setStep(r).setRange([b,h])):(p.setDomain([h,b]).setRange([0,100]),d.setStep(r).setRange([h,b])),ac()(b>h,"".concat(wc," Max must be greater than min (even if reversed). Max is ").concat(b,". Min is ").concat(h,"."));var v=Sc(i||t.values,o,f,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=Sc(i,o,f,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}();Hc.propTypes={},Hc.defaultProps={mode:1,step:.1,domain:[0,100],component:"div",rootProps:{},rootStyle:{},vertical:!1,reversed:!1,onChange:Lc,onUpdate:Lc,onSlideStart:Lc,onSlideEnd:Lc,disabled:!1,flatten:!1,warnOnChanges:!1};var Vc=Hc;Vc.Rail=sc,Vc.Ticks=cc,Vc.Tracks=gc,Vc.Handles=vc;var Gc={position:"absolute",width:"100%",height:42,transform:"translate(0%, -50%)",borderRadius:7,cursor:"pointer"},Wc={position:"absolute",width:"100%",height:3,backgroundColor:"#e2e4e7",transform:"translate(0%, -50%)",borderRadius:7,pointerEvents:"none"},qc=function(e){var t=e.getRailProps;return wp.element.createElement(k.Fragment,null,wp.element.createElement("div",M()({style:Gc},t())),wp.element.createElement("div",{style:Wc}))},Kc=function(e){var t=l()(e.domain,2),n=t[0],a=t[1],r=e.handle,i=r.id,o=r.value,s=r.percent,u=e.disabled,c=void 0!==u&&u,p=e.getHandleProps;return wp.element.createElement("button",M()({role:"slider","aria-valuemin":n,"aria-valuemax":a,"aria-valuenow":o,disabled:c,style:{left:"".concat(s,"%")}},p(i)))},$c=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},Yc={position:"relative",width:"100%"},Qc=[0,100],Xc=function(e){var t=0;return[].concat(s()(e),[100]).map(function(e){var n=e-t;return t+=n,n})},Jc=function(e){var t=0;return s()(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},[])},Zc=function(e){return wp.element.createElement(Vc,{className:"ugb-column-widths-control__columns-slider",rootStyle:Yc,mode:function(e,t){var n,a,r=e.map(function(e){return e.val}),i=t.map(function(e){return e.val});if(Object(R.isEqual)(r,i))return t;if(n=i,(a=[0].concat(s()(n),[100])).some(function(e,t){return 0!==t&&e-a[t-1]<10})){var o=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]}(r,i),u=l()(o,2);u[0];(function(e,t,n){var a=Xc(e),r=$c(a,n);return Jc(r)})(i,0,u[1]).forEach(function(e,n){t[n].val=e})}return t},step:1,onUpdate:function(t){return e.onChange(Xc(t))},domain:Qc,values:Jc(e.value)},wp.element.createElement(sc,null,function(e){var t=e.getRailProps;return wp.element.createElement(qc,{getRailProps:t})}),wp.element.createElement(vc,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(Kc,{key:e.id,handle:e,domain:Qc,getHandleProps:n})}))}))};Zc.defaultProps={onChange:function(){},value:[]};var ep=Zc,tp=function(e){return e.every(function(e){return!e})},np=function(e){var t,n={gridTemplateColumns:(t=e.value,t.map(function(e){return(e/100*t.length).toFixed(2)+"fr"}).join(" ")),gridAutoFlow:tp(e.value)?"column":void 0,justifyContent:tp(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=s()(e.value);r[n]=isNaN(a)?"":a,e.onChange(r)},onBlur:function(){var t=$c(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($c(t))}})}))};np.defaultProps={onChange:function(){},value:[]};var ap=np,rp={"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]},ip={plain:{2:[{value:"2-1",image:Ls.a},{value:"2-2",image:Us.a},{value:"2-3",image:Vs.a}],3:[{value:"3-1",image:Ws.a},{value:"3-2",image:Ks.a},{value:"3-3",image:Ys.a},{value:"3-4",image:Xs.a}],4:[{value:"4-1",image:Zs.a},{value:"4-2",image:tu.a},{value:"4-3",image:au.a}]},grid:{2:[{value:"2-1",image:iu.a},{value:"2-2",image:ou.a},{value:"2-3",image:uu.a}],3:[{value:"3-1",image:pu.a},{value:"3-2",image:du.a},{value:"3-3",image:mu.a},{value:"3-4",image:bu.a}],4:[{value:"4-1",image:yu.a},{value:"4-2",image:ku.a},{value:"4-3",image:Ou.a}]},uneven:{2:[{value:"2-1",image:_u.a},{value:"2-2",image:Eu.a},{value:"2-3",image:Tu.a}],3:[{value:"3-1",image:Bu.a},{value:"3-2",image:Nu.a},{value:"3-3",image:Du.a},{value:"3-4",image:zu.a}],4:[{value:"4-1",image:Lu.a},{value:"4-2",image:Uu.a},{value:"4-3",image:Vu.a}]}},lp=function(e){return e.every(function(e){return!e})},op=function(e){var t=Object(k.useState)(-1),n=l()(t,2),a=(n[0],n[1]),r=Object(k.useState)(!0),i=l()(r,2),o=(i[0],i[1]),s=Object(k.useState)(""),u=l()(s,2),c=u[0],p=u[1];Object(k.useEffect)(function(){p("")},[e.columns]);var f="grid"===e.design?"grid":"plain"===e.design?"plain":"uneven",d=ip[f],g=wp.element.createElement(mt,{className:"ugb-columns-width-control__reset",disabled:e.forceBlank?lp(e.values):Object(R.isEqual)(e.values,rp[c||"".concat(e.columns,"-1")]),onClick:function(){p(""),e.forceBlank?e.onChange(["","","","","",""]):e.onChange(rp[c||"".concat(e.columns,"-1")])},isSmall:!0,isSecondary:!0},Object(S.__)("Reset"));return wp.element.createElement(x.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(na,{label:e.label,afterButton:e.hasIndividualControls?g:null,screens:e.screens}),d[e.columns]&&wp.element.createElement(qi,{options:d[e.columns],onChange:function(t){a(-1),o(!0),p(t),e.onChange(rp[t])}}),e.hasIndividualControls&&wp.element.createElement(k.Fragment,null,wp.element.createElement(ep,{value:lp(e.values)?rp["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),wp.element.createElement(ap,{value:lp(e.values)?e.forceBlank?e.values:rp["".concat(e.columns,"-1")]:e.values,onChange:function(t){e.onChange(t)}}),!1))};op.defaultProps={columns:2,design:"plain",values:["",""],onChange:function(){},help:"",label:Object(S.__)("Column Widths",_.i18n),className:"",hasIndividualControls:!0,screens:["desktop"],forceBlank:!1};var sp=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(R.camelCase)(Object(S.sprintf)(e.attrNameTemplate,t))},n=_e(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(k.Fragment,null,a.includes("desktop")&&wp.element.createElement(pp,{screens:a},k.Children.toArray(e.children).map(function(a){return Object(k.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(r()({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(pp,{screens:a,screen:"tablet"},k.Children.toArray(e.children).map(function(a){return Object(k.cloneElement)(a,{value:n("Tablet"),placeholder:n("Tablet")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(r()({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(pp,{screens:a,screen:"mobile"},k.Children.toArray(e.children).map(function(a){return Object(k.cloneElement)(a,{value:n("Mobile"),placeholder:n("Mobile")||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(r()({},t("Mobile"),n))}})})))};sp.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var up=sp,cp=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={screen:We()},e.onScreenChange=e.onScreenChange.bind(v()(e)),e}return w()(t,e),f()(t,[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(Q.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(Q.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=k.Children.toArray(this.props.children).map(function(t){return Object(k.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(k.Fragment,null,(n||a)&&t)}}]),t}(k.Component);cp.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var pp=Object(Ot.withInstanceId)(cp);function fp(){return(fp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dp=ie.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"}),gp=function(e){return ie.a.createElement("svg",fp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),dp)};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 hp=ie.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"}),bp=function(e){return ie.a.createElement("svg",mp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),hp)};function vp(){return(vp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yp=ie.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"}),kp=function(e){return ie.a.createElement("svg",vp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),yp)};function Cp(){return(Cp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Op=ie.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"}),xp=function(e){return ie.a.createElement("svg",Cp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Op)};function _p(){return(_p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sp=ie.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"}),Ep=function(e){return ie.a.createElement("svg",_p({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Sp)};function jp(){return(jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tp=ie.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"}),Pp=function(e){return ie.a.createElement("svg",jp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Tp)};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=ie.a.createElement("path",{d:"M15.2 10.8H24c6.2 0 10.8 2.1 10.8 8.6 0 6.2-4.6 9-10.6 9h-4v10.2h-4.9V10.8zm8.6 13.7c4.2 0 6.1-1.7 6.1-5.1 0-3.5-2.2-4.6-6.3-4.6h-3.4v9.7h3.6z"}),Np=function(e){return ie.a.createElement("svg",Bp({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Mp)},Ip=[{value:"h1",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),1),icon:wp.element.createElement(gp,null)},{value:"h2",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),2),icon:wp.element.createElement(bp,null)},{value:"h3",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),3),icon:wp.element.createElement(kp,null)},{value:"h4",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),4),icon:wp.element.createElement(xp,null)},{value:"h5",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),5),icon:wp.element.createElement(Ep,null)},{value:"h6",title:Object(S.sprintf)(Object(S._x)("%s %d","Nth Title",_.i18n),Object(S.__)("Heading",_.i18n),6),icon:wp.element.createElement(Pp,null)},{value:"p",title:Object(S.sprintf)(Object(S._x)("%s","Nth Title",_.i18n),Object(S.__)("Paragraph",_.i18n)),icon:wp.element.createElement(Np,null)}],Dp=function(e){return wp.element.createElement(Qa,M()({},e,{className:"ugb-heading-buttons-control",controls:Ip}))};Dp.defaultProps={label:Object(S.sprintf)(Object(S._x)("%s HTML Tag","component"),Object(S.__)("Title",_.i18n)),value:Ip[0].value};var Rp=[{value:"left",title:Object(S.__)("Align Left",_.i18n),icon:"editor-alignleft"},{value:"center",title:Object(S.__)("Align Center",_.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(S.__)("Align Right",_.i18n),icon:"editor-alignright"},{value:"justify",title:Object(S.__)("Justified",_.i18n),icon:"editor-justify"}],zp=function(e){var t=e.justified,n=e.className;return wp.element.createElement(Qa,M()({},Object(R.omit)(e,["justified"]),{className:P()([n,"ugb-align-buttons-control"]),controls:Rp.filter(function(e){return!!t||"justify"!==e.value})}))};zp.defaultProps={className:"",label:Object(S.__)("Align",_.i18n),value:Rp[0].value,justified:!1};var Ap=zp,Lp={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Pt()(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,p=o.blockTag,f=void 0===p?"div":p,d=P()([e.className],Object(Q.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),g=P()(["ugb-inner-block"],Object(Q.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),m=Object(Q.applyFilters)("stackable.".concat(l,".main-block.extraProps"),i,t),h=""!==u?u:void 0,b=f||r||"div";return wp.element.createElement(b,M()({},m,{id:h,className:d}),t.styles,Object(Q.applyFilters)("stackable.".concat(l,".edit.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:g},Object(Q.applyFilters)("stackable.".concat(l,".edit.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(Q.applyFilters)("stackable.".concat(l,".edit.output.after"),null,c,t)))}};Lp.Edit.defaultProps={styles:null,mainClass:!0},Lp.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,r=e.blockTag,i=Pt()(e,["blockProps","render","mainClass","blockTag"]),l=t.blockName,o=t.attributes,s=o.anchor,u=void 0===s?"":s,c=o.design,p=o.blockTag,f=void 0===p?"div":p,d=P()([e.className],Object(Q.applyFilters)("stackable.".concat(l,".main-block.classes"),{"ugb-main-block":a},t)),g=P()(["ugb-inner-block"],Object(Q.applyFilters)("stackable.".concat(l,".main-block.inner-classes"),{},t)),m=Object(Q.applyFilters)("stackable.".concat(l,".main-block.extraProps"),i,t),h=""!==u?u:void 0,b=f||r||"div";return wp.element.createElement(b,M()({},m,{id:h,className:d}),t.styles,Object(Q.applyFilters)("stackable.".concat(l,".save.output.outer"),null,c,t),n&&wp.element.createElement("div",{className:g},Object(Q.applyFilters)("stackable.".concat(l,".save.output.before"),null,c,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(Q.applyFilters)("stackable.".concat(l,".save.output.after"),null,c,t)))},Lp.Save.defaultProps={styles:null,mainClass:!0};var Fp=n(38),Up=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).state={value:e.props.value},e.uniqueId=Object(R.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(v()(e)),e.debouncedOnChange=Object(R.debounce)(e.debouncedOnChange.bind(v()(e)),500,{leading:!0}),e.codeMirror=null,e}return w()(t,e),f()(t,[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){Fp.initialize&&(this.codeMirror=Object(Fp.initialize)(this.uniqueId,ae()(Fp.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})}}]),t}(k.Component);Up.defaultProps={value:"",onChange:function(){},editorSettings:{}};function Hp(){return(Hp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vp=ie.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"}),Gp=function(e){return ie.a.createElement("svg",Hp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vp)};function Wp(){return(Wp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qp=ie.a.createElement("filter",{id:"curve-1-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Kp=ie.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"}),$p=function(e){return ie.a.createElement("svg",Wp({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),qp,Kp)};function Yp(){return(Yp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qp=ie.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"}),Xp=function(e){return ie.a.createElement("svg",Yp({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Qp)};function Jp(){return(Jp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zp=ie.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ef=ie.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"}),tf=function(e){return ie.a.createElement("svg",Jp({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),Zp,ef)};function nf(){return(nf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var af=ie.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"}),rf=function(e){return ie.a.createElement("svg",nf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),af)};function lf(){return(lf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var of=ie.a.createElement("filter",{id:"curve-2-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),sf=ie.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"}),uf=function(e){return ie.a.createElement("svg",lf({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),of,sf)};function cf(){return(cf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pf=ie.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"}),ff=function(e){return ie.a.createElement("svg",cf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pf)};function df(){return(df=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gf=ie.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),mf=ie.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"}),hf=function(e){return ie.a.createElement("svg",df({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),gf,mf)};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)}var vf=ie.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"}),yf=function(e){return ie.a.createElement("svg",bf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),vf)};function wf(){return(wf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kf=ie.a.createElement("filter",{id:"curve-3-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Cf=ie.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"}),Of=function(e){return ie.a.createElement("svg",wf({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),kf,Cf)};function xf(){return(xf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _f=ie.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"}),Sf=function(e){return ie.a.createElement("svg",xf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_f)};function Ef(){return(Ef=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jf=ie.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Tf=ie.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"}),Pf=function(e){return ie.a.createElement("svg",Ef({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),jf,Tf)};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)}var Mf=ie.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"}),Nf=function(e){return ie.a.createElement("svg",Bf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mf)};function If(){return(If=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Df=ie.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Rf=ie.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"}),zf=function(e){return ie.a.createElement("svg",If({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),Df,Rf)};function Af(){return(Af=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lf=ie.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"}),Ff=function(e){return ie.a.createElement("svg",Af({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lf)};function Uf(){return(Uf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hf=ie.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Vf=ie.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"}),Gf=function(e){return ie.a.createElement("svg",Uf({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),Hf,Vf)};function Wf(){return(Wf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var qf=ie.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"}),Kf=function(e){return ie.a.createElement("svg",Wf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),qf)};function $f(){return($f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yf=ie.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Qf=ie.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"}),Xf=function(e){return ie.a.createElement("svg",$f({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),Yf,Qf)};function Jf(){return(Jf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zf=ie.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"}),ed=function(e){return ie.a.createElement("svg",Jf({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zf)};function td(){return(td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ad=ie.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"}),rd=function(e){return ie.a.createElement("svg",td({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),nd,ad)};function id(){return(id=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ld=ie.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"}),od=function(e){return ie.a.createElement("svg",id({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ld)};function sd(){return(sd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ud=ie.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),cd=ie.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"}),pd=function(e){return ie.a.createElement("svg",sd({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),ud,cd)};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 dd=ie.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"}),gd=function(e){return ie.a.createElement("svg",fd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),dd)};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 hd=ie.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),bd=ie.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"}),vd=function(e){return ie.a.createElement("svg",md({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),hd,bd)};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=ie.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),kd=function(e){return ie.a.createElement("svg",yd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),wd)};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 Od=ie.a.createElement("filter",{id:"slant-1-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),xd=ie.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),_d=function(e){return ie.a.createElement("svg",Cd({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),Od,xd)};function Sd(){return(Sd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),jd=function(e){return ie.a.createElement("svg",Sd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ed)};function Td(){return(Td=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Bd=ie.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),Md=function(e){return ie.a.createElement("svg",Td({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),Pd,Bd)};function Nd(){return(Nd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Id=ie.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),Dd=function(e){return ie.a.createElement("svg",Nd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Id)};function Rd(){return(Rd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("filter",{id:"slant-2-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ad=ie.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Ld=function(e){return ie.a.createElement("svg",Rd({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),zd,Ad)};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 Ud=ie.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),Hd=function(e){return ie.a.createElement("svg",Fd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ud)};function Vd(){return(Vd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Wd=ie.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),qd=function(e){return ie.a.createElement("svg",Vd({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),Gd,Wd)};function Kd(){return(Kd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $d=ie.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),Yd=function(e){return ie.a.createElement("svg",Kd({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$d)};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 Xd=ie.a.createElement("filter",{id:"straight-1-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Jd=ie.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),Zd=function(e){return ie.a.createElement("svg",Qd({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),Xd,Jd)};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 tg=ie.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"}),ng=function(e){return ie.a.createElement("svg",eg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),tg)};function ag(){return(ag=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("filter",{id:"wave-1-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ig=ie.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"}),lg=function(e){return ie.a.createElement("svg",ag({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),rg,ig)};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 sg=ie.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"}),ug=function(e){return ie.a.createElement("svg",og({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),sg)};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 pg=ie.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),fg=ie.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"}),dg=function(e){return ie.a.createElement("svg",cg({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),pg,fg)};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 mg=ie.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"}),hg=function(e){return ie.a.createElement("svg",gg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),mg)};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 vg=ie.a.createElement("filter",{id:"wave-2-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),yg=ie.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"}),wg=function(e){return ie.a.createElement("svg",bg({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),vg,yg)};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 Cg=ie.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"}),Og=function(e){return ie.a.createElement("svg",kg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Cg)};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 _g=ie.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Sg=ie.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"}),Eg=function(e){return ie.a.createElement("svg",xg({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),_g,Sg)};function jg(){return(jg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.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"}),Pg=function(e){return ie.a.createElement("svg",jg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Tg)};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 Mg=ie.a.createElement("filter",{id:"wave-3-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ng=ie.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"}),Ig=function(e){return ie.a.createElement("svg",Bg({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),Mg,Ng)};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=ie.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"}),zg=function(e){return ie.a.createElement("svg",Dg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Rg)};function Ag(){return(Ag=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Fg=ie.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"}),Ug=function(e){return ie.a.createElement("svg",Ag({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),Lg,Fg)};function Hg(){return(Hg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vg=ie.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"}),Gg=function(e){return ie.a.createElement("svg",Hg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),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 qg=ie.a.createElement("filter",{id:"wave-4-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Kg=ie.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"}),$g=function(e){return ie.a.createElement("svg",Wg({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),qg,Kg)};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 Qg=ie.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"}),Xg=function(e){return ie.a.createElement("svg",Yg({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Qg)};function Jg(){return(Jg=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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=ie.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},ie.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),ie.a.createElement("feComponentTransfer",null,ie.a.createElement("feFuncA",{type:"linear",slope:.4})),ie.a.createElement("feMerge",null,ie.a.createElement("feMergeNode",null),ie.a.createElement("feMergeNode",{in:"SourceGraphic"}))),em=ie.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"}),tm={"wave-1":{default:{shape:ng,shadow:lg},inverted:{shape:ug,shadow:dg}},"wave-2":{default:{shape:hg,shadow:wg},inverted:{shape:Og,shadow:Eg}},"wave-3":{default:{shape:Pg,shadow:Ig},inverted:{shape:zg,shadow:Ug}},"wave-4":{default:{shape:Gg,shadow:$g},inverted:{shape:Xg,shadow:function(e){return ie.a.createElement("svg",Jg({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),Zg,em)}}},"curve-1":{default:{shape:Gp,shadow:$p},inverted:{shape:Xp,shadow:tf}},"curve-2":{default:{shape:rf,shadow:uf},inverted:{shape:ff,shadow:hf}},"curve-3":{default:{shape:yf,shadow:Of},inverted:{shape:Sf,shadow:Pf}},"slant-1":{default:{shape:kd,shadow:_d},inverted:{shape:jd,shadow:Md}},"slant-2":{default:{shape:Dd,shadow:Ld},inverted:{shape:Hd,shadow:qd}},"straight-1":{default:{shape:Yd,shadow:Zd},inverted:{shape:Yd,shadow:Zd}},"rounded-1":{default:{shape:Nf,shadow:zf},inverted:{shape:Ff,shadow:Gf}},"rounded-2":{default:{shape:Kf,shadow:Xf},inverted:{shape:ed,shadow:rd}},"rounded-3":{default:{shape:od,shadow:pd},inverted:{shape:gd,shadow:vd}}},nm=function(e){var t=tm[e.design||"wave-1"][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)};nm.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},nm.Save=function(e){return wp.element.createElement(nm,e)};var am=function(e){var t,n=P()([e.className,"ugb-img"],(t={},r()(t,"wp-image-".concat(e.imageId),e.imageId),r()(t,"ugb-img--shape",e.shape),r()(t,"ugb-image--shape-stretch",e.shapeStretch),r()(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:I()(e.alt||void 0),width:e.width||void 0,height:e.height||void 0})};am.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var rm=n(33),im=wp.element.createElement(x.Icon,{icon:function(){return Ei(wp.element.createElement(Oi,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}}),lm=wp.element.createElement(x.Icon,{icon:function(){return Ei(wp.element.createElement(Si,{width:"20",height:"20",className:"components-menu-items__item-icon"}))}});var om=Object(Ot.compose)([Object(he.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(he.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,r=void 0===a?R.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(je.cloneBlock)(e)}),t=Object(je.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,i=e.isUngroupable,l=void 0!==i&&i;return Object(he.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(k.Fragment,null,r&&wp.element.createElement(rm.PluginBlockSettingsMenuItem,{icon:im,label:Object(S.__)("Group into Container",_.i18n),onClick:t}),l&&wp.element.createElement(rm.PluginBlockSettingsMenuItem,{icon:lm,label:Object(S.__)("Ungroup from Container",_.i18n),onClick:n})):null}),sm=(Object(he.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(om),Object(Ot.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,r=e.setState,i=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(k.Fragment,null,wp.element.createElement(rm.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(x.Modal,{title:"".concat(Object(R.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;l(e)}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})}},i())))})),um=Object(Ot.compose)([Object(he.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(Q.applyFilters)("stackable.".concat(i,".design.filtered-block-attributes"),o),null,4)}}}),Object(he.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{var t=JSON.parse(e);Ne(t,n)}catch(e){console.error(e)}}}})])(sm),cm=(Object(he.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(um),function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,i=e.showBackground,l=e.showVideoBackground,o=Pt()(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),s=P()([n],{"ugb--has-background-overlay":i&&te(a,r.attributes)});return wp.element.createElement(t,M()({className:s},Object(R.omit)(o,"index")),e.children,i&&l&&function(e,t){var n=_e(t.attributes,function(t){return Object(R.camelCase)(Object(S.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),r=n("TabletBackgroundMediaUrl"),i=n("MobileBackgroundMediaUrl"),l=P()(["ugb-video-background"],{"ugb--video-hide-tablet":r,"ugb--video-hide-mobile":i}),o=P()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":i}),s=P()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(k.Fragment,null,Ve(a)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:a}),Ve(r)&&wp.element.createElement("video",{className:o,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:r}),Ve(i)&&wp.element.createElement("video",{className:s,autoPlay:!0,muted:!0,loop:!0,playsinline:!0,src:i}))}(a,r),Object(Q.applyFilters)("stackable.div-background.output.after",null,e,r))});cm.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var pm=function(e){return wp.element.createElement(x.Modal,{title:Object(S.__)("Stackable Welcome Guide",_.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.",_.i18n)),wp.element.createElement("iframe",{title:Object(S.__)("Video Tutorial",_.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(mt,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(S.__)("Close it, I'm good",_.i18n))))};pm.defaultProps={onRequestClose:function(){}};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 dm=ie.a.createElement("path",{d:"M38 12H12v26h26V12z"}),gm=function(e){return ie.a.createElement("svg",fm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),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 hm=ie.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"}),bm=function(e){return ie.a.createElement("svg",mm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),hm)};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=ie.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"}),wm=function(e){return ie.a.createElement("svg",vm({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),ym)},km=void 0;function Cm(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 Om(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cm(n,!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cm(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var xm=function(e){var t=Object(k.useState)([]),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)({}),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)({}),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)(0),m=l()(g,2),h=m[0],b=m[1],v=Object(k.useState)(0),y=l()(v,2),w=y[0],C=y[1],O=Object(k.useState)(0),x=l()(O,2),E=x[0],j=x[1],T=Object(k.useState)(""),B=l()(T,2),M=B[0],N=B[1],I=e.viewBy;Object(k.useEffect)(function(){nn().then(function(e){var t=e.reduce(function(e,t){if(!e[t]){if(Object(he.select)("core/edit-post").getPreference("hiddenBlockTypes").includes(t))return e;if(!Object(he.select)("core/blocks").getBlockType(t))return e;e[t]={count:0,name:t,label:t?Object(he.select)("core/blocks").getBlockType(t).title:""}}return e},{});d(t)})},[]),Object(k.useEffect)(function(){Object.keys(f).length&&en({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(f).reduce(function(e,t){return e[t]=Om({},f[t]),e},{}),a=Object.keys(s).reduce(function(e,t){return void 0!==e[t]&&(e[t].num=0),e},{}),i=0,l=0,o=t.reduce(function(t,n){var r=n.block,o=n.type,s=n.plan,u=n.categories;if("block"===o&&t[r]&&t[r].count++,e.forceBlock&&e.forceBlock!==n.block||(l++,"free"===s&&i++),u&&3===u.length){var c=Object(R.last)(u);void 0===a[c]&&(a[c]={label:Object(R.startCase)(Object(R.last)(u)),num:0,isPremium:"free"!==s}),a[c].num++}return t},Om({},n));u(a),b(l),C(i),j(l-i),r(Object(R.orderBy)(o,["title"],["asc"]))})},[f,e.search,e.mood]);var D=Object(k.useMemo)(function(){var e=Object.keys(s);return _.isPro||e.sort(function(e,t){return!s[e].isPremium&&s[t].isPremium?-1:s[e].isPremium&&!s[t].isPremium?1:0}),e},[JSON.stringify(s)]),z=!0;return wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement(Qa,{controls:[{value:"ui-kits",title:Object(S.__)("UI Kits",_.i18n)},{value:"block-designs",title:Object(S.__)("Block Designs",_.i18n)}],value:I,onChange:e.onChangeViewBy,isSmall:!0,fullwidth:!1,isToggleOnly:!0}),"ui-kits"===I&&D.reduce(function(t,n,a){var r=(""===M&&0===a||M===n)&&!e.forceBlock,i=P()({"is-active":r,"is-disabled":e.forceBlock}),l=s[n].label,o=s[n].num;return!_.isPro&&z&&s[n].isPremium&&(t.push(wp.element.createElement(Ll,null)),z=!1),t.push(wp.element.createElement("li",{key:a},wp.element.createElement("div",{className:i,"data-count":o,onClick:function(){e.forceBlock||(N(n),e.onSelect({block:"",plan:"",categories:[n]}))},onKeyPress:function(e){13===e.keyCode&&km.click()},role:"button",tabIndex:0,"aria-pressed":r?"true":"false"},l,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(l,"-count")},o)))),t},[]),"block-designs"===I&&wp.element.createElement("li",null,wp.element.createElement("div",{className:""===M?"is-active":"","data-count":h,onClick:function(){N(""),e.onSelect({block:"",plan:"",categories:[]})},onKeyPress:function(e){13===e.keyCode&&km.click()},role:"button",tabIndex:0,"aria-pressed":""===M?"true":"false"},Object(S.__)("All Block Designs",_.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},h))),"block-designs"===I&&h!==w&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===M?"is-active":"","data-count":w,onClick:function(){N("free"),e.onSelect({block:"",plan:"free",categories:[]})},onKeyPress:function(e){13===e.keyCode&&km.click()},role:"button",tabIndex:0,"aria-pressed":"free"===M?"true":"false"},Object(S.__)("Free Designs",_.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},w)),wp.element.createElement("div",{className:"premium"===M?"is-active":"","data-count":E,onClick:function(){N("premium"),e.onSelect({block:"",plan:"premium",categories:[]})},onKeyPress:function(e){13===e.keyCode&&km.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===M?"true":"false"},Object(S.__)("Premium Designs",_.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},E))),"block-designs"===I&&wp.element.createElement(Ll,null),"block-designs"===I&&a.map(function(t,n){var a=M===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||(N(t.name),e.onSelect({block:t.name,plan:"",categories:[]}))},onKeyPress:function(e){13===e.keyCode&&km.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)))}))};xm.defaultProps={search:"",mood:"",colors:[],categories:[],onSelect:function(){},forceBlock:"",viewBy:"",onChangeViewBy:function(){}};var _m=xm,Sm=function(e){var t=Object(k.useState)(e.search),n=l()(t,2),a=n[0],r=n[1],i=Object(k.useState)(),o=l()(i,2),s=o[0],u=o[1],c=Object(k.useState)(""),p=l()(c,2),f=p[0],d=p[1],g=Object(k.useState)([]),m=l()(g,2),h=m[0],b=m[1],v=Object(k.useState)(3),y=l()(v,2),w=y[0],C=y[1],O=Object(k.useState)([]),E=l()(O,2),j=E[0],T=E[1],P=Object(k.useState)(!0),B=l()(P,2),M=B[0],N=B[1],I=Object(k.useState)(!1),D=l()(I,2),z=D[0],A=D[1],L=Object(k.useState)(e.selectedBlock?"block-designs":"ui-kits"),F=l()(L,2),U=F[0],H=F[1],V=Ie("stk__design_library_dev_mode",!1),G=l()(V,2),W=G[0],q=G[1],K=Object(k.useState)(""),$=l()(K,2),Y=$[0],Q=$[1];Object(k.useEffect)(function(){return u(e.selectedBlock)},[e.selectedBlock]);var X=Object(k.useState)(a),J=l()(X,2),Z=J[0],ee=J[1],te=Object(k.useState)(null),ne=l()(te,2),ae=ne[0],re=ne[1];Object(k.useEffect)(function(){ae&&(clearTimeout(ae),re(null)),re(setTimeout(function(){ee(a)},500))},[a]),Object(k.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(k.useEffect)(function(){z&&(T([]),N(!0)),en({type:"block",block:s,plan:f,categories:h,search:Z,reset:z}).then(function(e){T(e),Y||e.some(function(e){return _.isPro||"free"!==e.plan?!!_.isPro&&(Q(Object(R.last)(e.categories)),!0):(Q(Object(R.last)(e.categories)),!0)})}).finally(function(){N(!1),A(!1)})},[s,f,h,Z,z]);var ie=Object(k.useMemo)(function(){var t=e.selectedBlock?j.filter(function(t){return t.block===e.selectedBlock}):j;return"ui-kits"===U&&0===h.length&&(t=t.filter(function(e){return e.categories.includes(Y)})),t},[e.selectedBlock,j,U,h.length,Y]);return wp.element.createElement(x.Modal,{title:Object(S.__)("Stackable Design Library",_.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(x.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(S.__)("E.g. light, dark, red, minimalist...",_.i18n),value:a,onChange:function(e){return r(e)},"data-testid":"input-search",type:"search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(_m,{search:a,categories:h,forceBlock:e.selectedBlock,viewBy:U,onSelect:function(e){var t=e.block,n=e.plan,a=e.categories;u(t),d(n),b(a)},onChangeViewBy:H}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},_.devMode&&wp.element.createElement(x.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:W,onChange:function(e){Zt(e).then(function(){A(!0)}),q(e)}}),wp.element.createElement(mt,{icon:"image-rotate",label:Object(S.__)("Refresh Library",_.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return A(!0)}}),wp.element.createElement(mt,{icon:wp.element.createElement(gm,{width:"18",height:"18"}),className:2===w?"is-active":"",label:Object(S.__)("Large preview",_.i18n),onClick:function(){return C(2)}}),wp.element.createElement(mt,{icon:wp.element.createElement(wm,{width:"18",height:"18"}),className:3===w?"is-active":"",label:Object(S.__)("Medium preview",_.i18n),onClick:function(){return C(3)}}),wp.element.createElement(mt,{icon:wp.element.createElement(bm,{width:"18",height:"18"}),className:4===w?"is-active":"",label:Object(S.__)("Small preview",_.i18n),onClick:function(){return C(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(Ii,{columns:w,onSelect:e.onSelect,isBusy:M,designs:ie}))))};Sm.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var Em=Sm;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 Tm=ie.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"}),Pm=function(e){return ie.a.createElement("svg",jm({"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),Tm)},Bm=function(){return wp.element.createElement(Pm,{className:"ugb-icon-is-loading"})},Mm=function(e){var t=Object(k.useState)(0),n=l()(t,2),a=n[0],r=n[1],i=function(){r(a+1)};Object(k.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(i)},[]);var o=Object(R.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(k.RawHTML,o,e.value);if(!window.FontAwesome)return wp.element.createElement(Bm,null);var s=e.value?e.value.replace(/-.*$/,""):e.prefix,u=e.value?e.value.replace(/^.*?-/,""):e.iconName;if(s&&u){var c=De(s,u);return c?wp.element.createElement(k.RawHTML,o,c):(function(e,t){var n=Re(e,t);return n?Promise.resolve(n):new Promise(function(n,a){var r=240,i=setInterval(function(){var l=Re(e,t);window.FontAwesome?(clearInterval(i),n(l)):r--<0&&(clearInterval(i),a(!1))},250)})}(s,u).then(i),wp.element.createElement(Bm,null))}var p=De("far","smile");return wp.element.createElement(k.RawHTML,M()({},o,{className:"".concat(e.className," ugb-icon--faded")}),p)};Mm.Content=function(e){var t=Object(R.pick)(e,["className","color","fill","style"]);if("string"==typeof e.value&&e.value.match(/^<svg/))return wp.element.createElement(k.RawHTML,t,e.value);var n=e.value?e.value.replace(/-.*$/,""):e.prefix,a=e.value?e.value.replace(/^.*?-/,""):e.iconName,r=De(n,a);return wp.element.createElement(k.RawHTML,t,r)},Mm.defaultProps={prefix:"",iconName:"",value:""};var Nm=Mm,Im=1,Dm=function(e){var t=Object(k.useState)("ugb-admin-setting-".concat(Im++)),n=l()(t,1)[0],a=P()(["ugb-admin-setting"],r()({},"ugb-admin-setting--".concat(e.size),e.size));return wp.element.createElement("div",{className:a,id:n},wp.element.createElement("label",{className:"ugb-admin-setting__label-wrapper",htmlFor:n},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))};Dm.defaultProps={label:""};var Rm=Dm,zm=function(e){return wp.element.createElement(Rm,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)};zm.defaultProps={label:"",type:"text",value:"",placeholder:"",onChange:function(){}};var Am=function(e){return wp.element.createElement(Rm,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)))};Am.defaultProps={label:"",value:!1,placeholder:"",onChange:function(){},disabled:Object(S.__)("Disabled",_.i18n),enabled:Object(S.__)("Enabled",_.i18n),width:""};var Lm=Am,Fm=function(e){function t(){var e;return c()(this,t),(e=g()(this,h()(t).apply(this,arguments))).toggleBlock=e.toggleBlock.bind(v()(e)),e.enableAllBlocks=e.enableAllBlocks.bind(v()(e)),e.disableAllBlocks=e.disableAllBlocks.bind(v()(e)),e.ajaxTimeout=null,e.state={disabledBlocks:e.props.disabledBlocks||[],isSaving:!1},e}return w()(t,e),f()(t,[{key:"componentDidUpdate",value:function(e,t){var n=this;this.state.disabledBlocks!==t.disabledBlocks&&(clearTimeout(this.ajaxTimeout),this.ajaxTimeout=setTimeout(function(){Object(C.send)("stackable_update_disable_blocks",{success:function(){n.setState({isSaving:!1})},error:function(e){n.setState({isSaving:!1}),alert(e)},data:{nonce:_.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(s()(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(x.Spinner,null),wp.element.createElement("button",{onClick:this.enableAllBlocks,className:"button button-large button-link"},Object(S.__)("Enable All",_.i18n)),wp.element.createElement("button",{onClick:this.disableAllBlocks,className:"button button-large button-link"},Object(S.__)("Disable All",_.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}),o=n.replace(/\w+\//,"");return wp.element.createElement("div",{key:a+1,className:l},wp.element.createElement("img",{src:"".concat(_.welcomeSrcUrl,"/images/block-").concat(o,".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",_.i18n),r.title)},Object(S.__)("View Block Demo",_.i18n)))),wp.element.createElement("button",{className:"s-toggle-button",onClick:function(){return e.toggleBlock(n)}},wp.element.createElement("span",null,Object(S.__)("Disabled",_.i18n)),wp.element.createElement("span",null,Object(S.__)("Enabled",_.i18n))))})))}}]),t}(k.Component),Um=function(){var e=Object(k.useState)(!1),t=l()(e,2),n=t[0],a=t[1];Object(k.useEffect)(function(){j.loadPromise.then(function(){(new j.models.Settings).fetch().then(function(e){a(!!e.stackable_global_force_typography)})})},[]);return wp.element.createElement(k.Fragment,null,wp.element.createElement(Lm,{label:Object(S.__)("Force Typography Styles",_.i18n),value:n,onChange:function(e){new j.models.Settings({stackable_global_force_typography:e}).save(),a(e)},disabled:Object(S.__)("Not forced",_.i18n),enabled:Object(S.__)("Force styles",_.i18n)}))},Hm=function(e){var t=Object(k.useState)(!1),n=l()(t,2),a=n[0],i=n[1],o=Object(k.useState)(!1),s=l()(o,2),u=s[0],c=s[1],p=Object(k.useState)(!1),f=l()(p,2),d=f[0],g=f[1],m=Object(k.useState)(!1),h=l()(m,2),b=h[0],v=h[1];Object(k.useEffect)(function(){v(!0),j.loadPromise.then(function(){(new j.models.Settings).fetch().then(function(e){i(!!e.stackable_help_tooltip_disabled),c("1"===e.stackable_load_v1_styles),g("1"===e.stackable_show_pro_notices),v(!1)})})},[]);var y=function(e,t){v(!0),new j.models.Settings(r()({},e,t)).save().then(function(){return v(!1)})};return wp.element.createElement("div",null,e.showProNoticesOption&&wp.element.createElement(x.CheckboxControl,{label:Object(S.__)('Show "Go premium" notices',_.i18n),checked:d,onChange:function(e){y("stackable_show_pro_notices",e?"1":""),g(e)}}),wp.element.createElement(x.CheckboxControl,{label:Object(S.__)("Don't show help video tooltips",_.i18n),checked:a,onChange:function(e){y("stackable_help_tooltip_disabled",e?"1":""),i(e)}}),wp.element.createElement(x.CheckboxControl,{label:Object(S.__)("Load version 1 block stylesheet for backward compatibility",_.i18n),checked:u,onChange:function(e){y("stackable_load_v1_styles",e?"1":""),c(e)}}),b&&wp.element.createElement("div",{className:"ugb--saving-wrapper"},wp.element.createElement(x.Spinner,null)))};Hm.defaultProps={showProNoticesOption:!1};var Vm=function(){var e=Object(k.useState)(!1),t=l()(e,2),n=t[0],a=t[1];Object(k.useEffect)(function(){j.loadPromise.then(function(){(new j.models.Settings).fetch().then(function(e){a(!!e.stackable_optimize_script_load)})})},[]);return wp.element.createElement(k.Fragment,null,wp.element.createElement(Lm,{label:Object(S.__)("Frontend JS & CSS Files",_.i18n),value:n,onChange:function(e){new j.models.Settings({stackable_optimize_script_load:e}).save(),a(e)},disabled:Object(S.__)("Load across entire site",_.i18n),enabled:Object(S.__)("Load only in posts with Stackable blocks",_.i18n)}))};Object(O.a)(function(){Object(k.render)(wp.element.createElement(Fm,{blocks:E,disabledBlocks:_.disabledBlocks}),document.querySelector(".s-settings-wrapper")),Object(k.render)(wp.element.createElement(Hm,{showProNoticesOption:_.showProNoticesOption}),document.querySelector(".s-other-options-wra