Stackable – Page Builder Gutenberg Blocks - Version 1.7

Version Description

Read the news update * New: Blog Posts block * New: Added notifications for the Stackable welcome screen.

Download this release

Release Info

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

Code changes from version 1.6 to 1.7

dist/admin.welcome.css CHANGED
@@ -130,6 +130,11 @@ body.toplevel_page_stackable h3 {
130
  font-size: 1.5em;
131
  }
132
 
 
 
 
 
 
133
  body.toplevel_page_stackable .s-box {
134
  -webkit-box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
135
  box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
@@ -221,6 +226,10 @@ body.toplevel_page_stackable .s-support-box > p:last-child {
221
  text-align: center;
222
  }
223
 
 
 
 
 
224
  @media (min-width: 1000px) {
225
  [class*="ugb-"].alignwide {
226
  width: 75vw;
130
  font-size: 1.5em;
131
  }
132
 
133
+ body.toplevel_page_stackable ul {
134
+ padding-left: 2em;
135
+ list-style-type: circle;
136
+ }
137
+
138
  body.toplevel_page_stackable .s-box {
139
  -webkit-box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
140
  box-shadow: 0 5px 5px 0 rgba(18, 63, 82, 0.035), 0 0 0 1px rgba(176, 181, 193, 0.2);
226
  text-align: center;
227
  }
228
 
229
+ body.toplevel_page_stackable .stackable_notice {
230
+ margin-bottom: 30px;
231
+ }
232
+
233
  @media (min-width: 1000px) {
234
  [class*="ugb-"].alignwide {
235
  width: 75vw;
dist/admin.welcome.min.css CHANGED
@@ -1 +1 @@
1
- body.toplevel_page_stackable #wpcontent{padding-left:0}body.toplevel_page_stackable .wrap{margin:0}.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*=ugb-] form[class*="-link"],[class*=ugb-]+form[class*="-link"],form[class*=ugb-][class*="-link"]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-webkit-box-flex:1;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%!important}[class*=ugb-].alignfull{border-radius:0!important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;transform:none;position:relative}[data-type^="ugb/"][data-align=full]+[data-type^="ugb/"][data-align=full]{margin-top:-32px}body.toplevel_page_stackable .s-body-container,body.toplevel_page_stackable .s-header{padding:50px}body.toplevel_page_stackable .s-header{background:-webkit-gradient(linear,left top,right top,from(#ab5af1),to(#fb6874));background:linear-gradient(to right,#ab5af1,#fb6874);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:100px}body.toplevel_page_stackable .s-header img{height:50px}body.toplevel_page_stackable h1{color:#fff;font-size:2.5em;font-weight:700}body.toplevel_page_stackable h2{font-size:2em}body.toplevel_page_stackable h3{font-size:1.5em}body.toplevel_page_stackable .s-box{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);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;--box-padding-vert:60px;--box-padding-hori:35px;margin-bottom:30px}body.toplevel_page_stackable .s-button{border:none;border-radius:4px;-webkit-box-shadow:none!important;cursor:pointer;opacity:1;background:#ab5af1;-webkit-transition:opacity .2s ease-in-out;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}body.toplevel_page_stackable .s-button:hover{opacity:.85;-webkit-box-shadow:none!important;box-shadow:none!important}body.toplevel_page_stackable .s-body-container{display:grid;grid-template-columns:1fr 350px;grid-gap:30px;padding-top:0;margin-top:-50px}body.toplevel_page_stackable .s-body-container :first-child{margin-top:0!important}body.toplevel_page_stackable .s-body-container :last-child{margin-bottom:0!important}body.toplevel_page_stackable .s-body-container li,body.toplevel_page_stackable .s-body-container p{font-size:18px}body.toplevel_page_stackable .s-body-container li{margin-bottom:.6em}body.toplevel_page_stackable .s-side h2,body.toplevel_page_stackable .s-side h3{text-align:center;line-height:1.2em}body.toplevel_page_stackable .s-gambit-logo{display:inline-block;vertical-align:middle;padding-top:10px;margin:0 10px}body.toplevel_page_stackable .s-gif{display:block;margin:0 auto}body.toplevel_page_stackable .s-plus-button{height:1em;vertical-align:top;width:1em}body.toplevel_page_stackable .s-support-box>p:last-child{text-align:center}@media (min-width:1000px){[class*=ugb-].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;transform:none;position:relative}}@media screen and (max-width:960px){body.toplevel_page_stackable .s-body-container{grid-template-columns:1fr}}@media screen and (max-width:782px){body.toplevel_page_stackable .s-box{padding:40px 23.33px;--box-padding-vert:40px;--box-padding-hori:23.3333333333px}}@media screen and (max-width:600px){body.toplevel_page_stackable .s-box{padding:35px 17.5px;--box-padding-vert:35px;--box-padding-hori:17.5px}}
1
+ body.toplevel_page_stackable #wpcontent{padding-left:0}body.toplevel_page_stackable .wrap{margin:0}.gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*=ugb-] form[class*="-link"],[class*=ugb-]+form[class*="-link"],form[class*=ugb-][class*="-link"]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-webkit-box-flex:1;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100%!important}[class*=ugb-].alignfull{border-radius:0!important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;transform:none;position:relative}[data-type^="ugb/"][data-align=full]+[data-type^="ugb/"][data-align=full]{margin-top:-32px}body.toplevel_page_stackable .s-body-container,body.toplevel_page_stackable .s-header{padding:50px}body.toplevel_page_stackable .s-header{background:-webkit-gradient(linear,left top,right top,from(#ab5af1),to(#fb6874));background:linear-gradient(to right,#ab5af1,#fb6874);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:100px}body.toplevel_page_stackable .s-header img{height:50px}body.toplevel_page_stackable h1{color:#fff;font-size:2.5em;font-weight:700}body.toplevel_page_stackable h2{font-size:2em}body.toplevel_page_stackable h3{font-size:1.5em}body.toplevel_page_stackable ul{padding-left:2em;list-style-type:circle}body.toplevel_page_stackable .s-box{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2);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;--box-padding-vert:60px;--box-padding-hori:35px;margin-bottom:30px}body.toplevel_page_stackable .s-button{border:none;border-radius:4px;-webkit-box-shadow:none!important;cursor:pointer;opacity:1;background:#ab5af1;-webkit-transition:opacity .2s ease-in-out;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}body.toplevel_page_stackable .s-button:hover{opacity:.85;-webkit-box-shadow:none!important;box-shadow:none!important}body.toplevel_page_stackable .s-body-container{display:grid;grid-template-columns:1fr 350px;grid-gap:30px;padding-top:0;margin-top:-50px}body.toplevel_page_stackable .s-body-container :first-child{margin-top:0!important}body.toplevel_page_stackable .s-body-container :last-child{margin-bottom:0!important}body.toplevel_page_stackable .s-body-container li,body.toplevel_page_stackable .s-body-container p{font-size:18px}body.toplevel_page_stackable .s-body-container li{margin-bottom:.6em}body.toplevel_page_stackable .s-side h2,body.toplevel_page_stackable .s-side h3{text-align:center;line-height:1.2em}body.toplevel_page_stackable .s-gambit-logo{display:inline-block;vertical-align:middle;padding-top:10px;margin:0 10px}body.toplevel_page_stackable .s-gif{display:block;margin:0 auto}body.toplevel_page_stackable .s-plus-button{height:1em;vertical-align:top;width:1em}body.toplevel_page_stackable .s-support-box>p:last-child{text-align:center}body.toplevel_page_stackable .stackable_notice{margin-bottom:30px}@media (min-width:1000px){[class*=ugb-].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;transform:none;position:relative}}@media screen and (max-width:960px){body.toplevel_page_stackable .s-body-container{grid-template-columns:1fr}}@media screen and (max-width:782px){body.toplevel_page_stackable .s-box{padding:40px 23.33px;--box-padding-vert:40px;--box-padding-hori:23.3333333333px}}@media screen and (max-width:600px){body.toplevel_page_stackable .s-box{padding:35px 17.5px;--box-padding-vert:35px;--box-padding-hori:17.5px}}
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(l){if(n[l])return n[l].exports;var o=n[l]={i:l,l:!1,exports:{}};return e[l].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,l){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:l})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=11)}([function(e,t,n){"use strict";n.d(t,"A",function(){return l}),n.d(t,"s",function(){return o}),n.d(t,"m",function(){return a}),n.d(t,"o",function(){return u}),n.d(t,"p",function(){return i}),n.d(t,"e",function(){return c}),n.d(t,"g",function(){return s}),n.d(t,"q",function(){return m}),n.d(t,"j",function(){return b}),n.d(t,"l",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"h",function(){return h}),n.d(t,"d",function(){return f}),n.d(t,"a",function(){return w}),n.d(t,"n",function(){return y}),n.d(t,"r",function(){return v}),n.d(t,"i",function(){return C}),n.d(t,"k",function(){return k}),n.d(t,"c",function(){return x}),n.d(t,"f",function(){return N}),n.d(t,"B",function(){return j}),n.d(t,"z",function(){return B}),n.d(t,"y",function(){return I}),n.d(t,"w",function(){return L}),n.d(t,"t",function(){return R}),n.d(t,"u",function(){return z}),n.d(t,"x",function(){return U}),n.d(t,"v",function(){return D});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.RangeControl,u=r.SelectControl,i=(r.TextControl,r.ToggleControl),c=r.Dashicon,s=r.IconButton,m=(r.Button,r.Toolbar),b=r.PanelBody,g=r.RadioControl,d=r.BaseControl,p=wp.editor.InspectorControls?wp.editor:wp.blocks,h=p.InspectorControls,f=p.BlockControls,w=p.AlignmentToolbar,y=p.RichText,v=p.URLInput,C=p.MediaUpload,E=wp.editor,k=E.PanelColorSettings,x=E.BlockAlignmentToolbar,O=wp.element,N=O.Fragment,j=O.renderToString,T=lodash,B=T.omit,I=T.merge,S=wp.hooks,L=S.doAction,R=S.addAction,z=S.applyFilters,A=(S.addFilter,stackable),U=A.isPro,D=A.blockSrcUrl;A.primaryColor},function(e,t,n){var l,o;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var o=typeof l;if("string"===o||"number"===o)e.push(l);else if(Array.isArray(l)&&l.length){var a=n.apply(null,l);a&&e.push(a)}else if("object"===o)for(var u in l)r.call(l,u)&&l[u]&&e.push(u)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(l=[],void 0!==(o=function(){return n}.apply(t,l))&&(e.exports=o))}()},function(e,t,n){"use strict";n.d(t,"j",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"g",function(){return i}),n.d(t,"c",function(){return c}),n.d(t,"n",function(){return s}),n.d(t,"o",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"b",function(){return g}),n.d(t,"p",function(){return d}),n.d(t,"d",function(){return p}),n.d(t,"k",function(){return h}),n.d(t,"h",function(){return f}),n.d(t,"l",function(){return w}),n.d(t,"r",function(){return y}),n.d(t,"m",function(){return v}),n.d(t,"f",function(){return C}),n.d(t,"e",function(){return E}),n.d(t,"i",function(){return k});var l=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},o=1,r=function(){return"stk-icon-"+o++},a=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"20",height:"20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},u=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z"}))},i=function(){return wp.element.createElement(u,null)},c=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},s=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 14 32"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 13 12.916010856628418"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},g=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 14"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},d=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 896 1023"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},p=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 8"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},h=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21.027502059936523 10.284000396728516"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},f=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 38"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 896"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},y=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},v=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 448"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))},C=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 95.11"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"50 0 65.45 31.31 100 36.33 75 60.7 80.9 95.11 50 78.86 19.1 95.11 25 60.7 0 36.33 34.55 31.31 50 0"}))},E=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,2.4 30.1,16.8 46,19.2 34.5,30.4 37.2,46.2 23,38.7 8.8,46.2 11.5,30.4 0,19.2 15.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,2.4 84.1,16.8 100,19.2 88.5,30.4 91.2,46.2 77,38.7 62.8,46.2 65.5,30.4 54,19.2 69.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,52.1 30.1,66.5 46,68.8 34.5,80 37.2,95.9 23,88.4 8.8,95.9 11.5,80 0,68.8 15.9,66.5 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,52.1 84.1,66.5 100,68.8 88.5,80 91.2,95.9 77,88.4 62.8,95.9 65.5,80 54,68.8 69.9,66.5 "}))},k=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,42.3 2.7,36.1 0,38.8 9,47.8 27.6,29.3 24.8,26.5 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"34.6",width:"64.8",height:"5.1"}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,70.7 2.7,64.4 0,67.1 9,76.2 27.6,57.6 24.8,54.8 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"63",width:"64.8",height:"5.1"}))}},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"c",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),o=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(l.B)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n},a=function(e){var t="";return t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1],t||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:(t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[1],t||(t=(e.match(/^\d+$/i)||[])[1]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})}},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,i=void 0===u?"normal":u,c=e.color,s=e.text,m=void 0===s?"":s,b=e.backgroundColor,g=e.borderRadius,d=void 0===g?4:g,p=e.isSelected,h=void 0===p?null:p,f=e.onFocus,w=void 0===f?function(){}:f,y=e.onChange,v=void 0===y?function(){}:y,C={borderRadius:d+"px",backgroundColor:b||void 0},E=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+i]);return wp.element.createElement("span",{className:E,style:C,"data-is-placeholder-visible":a.n.isEmpty(m)},wp.element.createElement(a.n,{tagName:"span",placeholder:Object(a.s)("Enter Text"),value:m,onChange:v,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:c},onFocus:w,isSelected:h,keepPlaceholderOnFocus:!0}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,u=e.size,i=void 0===u?"normal":u,c=e.url,s=void 0===c?"":c,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},h=r()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+i]);return wp.element.createElement("div",{className:h,style:p},wp.element.createElement(a.n.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}var o=n(1),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.buttonColor,n=e.buttonTextColor,l=e.buttonSize,o=e.buttonBorderRadius,u=e.onChangeButtonColor,i=void 0===u?function(){}:u,c=e.onChangeButtonTextColor,s=void 0===c?function(){}:c,m=e.onChangeButtonSize,b=void 0===m?function(){}:m,g=e.onChangeButtonBorderRadius,d=void 0===g?function(){}:g;return wp.element.createElement(r.f,null,wp.element.createElement(r.k,a({initialOpen:!1,title:Object(r.s)("Button Settings"),colorSettings:[{value:t,onChange:i,label:Object(r.s)("Button Color")},{value:n,onChange:s,label:Object(r.s)("Text Color")}]},e),wp.element.createElement(r.o,{label:Object(r.s)("Size"),value:l,options:[{value:"small",label:Object(r.s)("Small")},{value:"normal",label:Object(r.s)("Normal")},{value:"medium",label:Object(r.s)("Medium")},{value:"large",label:Object(r.s)("Large")}],onChange:b}),wp.element.createElement(r.m,{label:Object(r.s)("Border Radius"),value:o,min:"1",max:"50",onChange:d})))}var o=n(1),r=(n.n(o),n(0)),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e};t.a=l},function(e,t,n){"use strict";function l(e){var t=e.backgroundColor,n=e.backgroundImageID,l=e.backgroundImageURL,o=e.backgroundOpacity,r=e.fixedBackground,c=e.onChangeBackgroundColor,s=void 0===c?function(){}:c,m=e.onChangeBackgroundImage,b=e.onRemoveBackgroundImage,g=e.onChangeBackgroundOpacity,d=e.onChangeFixedBackground;return wp.element.createElement(u.f,null,wp.element.createElement(u.k,i({initialOpen:!1,title:Object(u.s)("Background Settings"),colorSettings:[{value:t,onChange:s,label:Object(u.s)("Background Color")}]},e),m&&wp.element.createElement(a.a,{label:Object(u.s)("Background Image"),onRemove:b,onChange:m,imageID:n,imageURL:l}),g&&wp.element.createElement(u.m,{label:Object(u.s)("Background Image Tint Strength"),value:o,onChange:g,min:0,max:10,step:1}),d&&wp.element.createElement(u.p,{label:Object(u.s)("Fixed Background"),checked:r,onChange:d})))}var o=n(40),r=(n.n(o),n(41)),a=(n.n(r),n(42)),u=n(0),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e};t.a=l},function(e,t,n){"use strict";var l=n(56),o=(n.n(l),n(1)),r=n.n(o),a=n(0),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(e[l]=n[l])}return e},i=function(e){var t=e.imageID,n=e.imageURL,l=e.onChange,o=void 0===l?function(e){e.url,e.id}:l,i=e.onRemove,c=void 0===i?function(){}:i,s=e.className,m=void 0===s?"":s,b=e.allowedTypes,g=void 0===b?["image"]:b,d=e.render,p=void 0===d?void 0:d,h=e.hasRemove,f=void 0===h||h,w=r()([m,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),y={backgroundImage:n&&!p?"url("+n+")":void 0};return wp.element.createElement(a.i,{onSelect:o,allowedTypes:g,value:t,render:function(t){return n&&p?wp.element.createElement("div",u({},e,{render:void 0,className:w,onClick:t.open,style:y,"data-is-placeholder-visible":!n}),p):wp.element.createElement("div",u({},e,{className:w,onClick:t.open,style:y,"data-is-placeholder-visible":!n}),n&&f&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){c(),e.stopPropagation()}},wp.element.createElement(a.e,{icon:"no"})),!n&&wp.element.createElement("svg",{viewBox:"0 0 512 376"},wp.element.createElement("path",{d:"M0,0v376h512V0H0z M480,344H32V32h448V344z"}),wp.element.createElement("circle",{cx:"409.1",cy:"102.9",r:"40.9"}),wp.element.createElement("polygon",{points:"480,344 32,344 118.3,179.8 140,191.1 189,113.8 289,226.9 297.9,217.6 315,239.9 341,193.5 393.9,264.7 409,248.8"})))}})};t.a=i},function(e,t,n){"use strict";function l(e){var t=e.className,n=void 0===t?"":t,l=e.align,o=void 0===l?"center":l,r=e.size,a=void 0===r?"normal":r,c=e.url,s=void 0===c?"":c,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},h=u()([n,"ugb-button","ugb-button-"+o,"ugb-button-"+a]);return wp.element.createElement("div",{className:h,style:p},wp.element.createElement(i.n.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}function o(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,r=e.url,a=void 0===r?"":r,u=e.color,c=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px"};return s&&(b.backgroundColor=s),wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(i.n.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:c}))}function r(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,r=e.url,a=void 0===r?"":r,u=e.color,c=e.text,s=e.backgroundColor,m=e.borderRadius,b={backgroundColor:s,borderRadius:m+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(i.n.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:c}))}n.d(t,"c",function(){return c}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"g",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return p});var a=n(1),u=n.n(a),i=n(0),c=l,s=o,m=r,b=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,r=t.color,a=t.textColor,u=t.size,c=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(m,{align:o,size:u,url:n,color:a,text:l,backgroundColor:r,borderRadius:c});return Object(i.u)("stackable.designs.button.save",b,s,e)},g={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},d=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.textColor,u=t.size,i=t.cornerButtonRadius,c={backgroundColor:r,color:a,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+u,style:c},l))},p={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l=n(12);n.n(l),n(13),n(17),n(20),n(27),n(31),n(37),n(45),n(49),n(53),n(58),n(62),n(66),n(69),n(73),n(77),n(82),n(86),n(90),n(94),n(97),n(101),n(105)},function(e,t){},function(e,t,n){"use strict";var l=n(14),o=(n.n(l),n(15)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(16),c=n(0),s=function(e){var t=e.className,n=e.attributes.height,l=a()([t,"ugb-spacer"]);return wp.element.createElement("div",{className:l,style:{height:n+"px"}})},m=function(e){var t=e.className,n=(e.isSelected,e.attributes.height),l=a()([t,"ugb-spacer"]);return wp.element.createElement(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.m,{label:Object(c.s)("Height"),value:n,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:l,style:{height:n+"px"}}))},b={height:{default:50,type:"number"}};Object(c.A)("ugb/spacer",{title:Object(c.s)("Spacer"),icon:u.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Spacer"),Object(c.s)("Stackable")],attributes:b,deprecated:[{attributes:i.b,save:i.a}],edit:m,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},o={height:{default:50,type:"number"}}},function(e,t,n){"use strict";var l=n(18),o=(n.n(l),n(19)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(0),c=function(e){var t=e.className,n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,i=a()([t,"ugb-divider"]);return wp.element.createElement("div",{className:i},wp.element.createElement("hr",{align:u,style:{backgroundColor:r,width:o+"%",height:l}}))},s=function(e){var t=(e.isSelected,e.className),n=e.attributes,l=n.height,o=n.width,r=n.color,u=n.alignment,c=a()([t,"ugb-divider"]);return wp.element.createElement(i.f,null,wp.element.createElement(i.d,null,wp.element.createElement(i.a,{value:u,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.m,{label:Object(i.s)("Height"),value:l,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(i.m,{label:Object(i.s)("Width"),value:o,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(i.k,{title:Object(i.s)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(i.s)("Divider Color")}]})),wp.element.createElement("div",{className:c,style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:u,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:o+"%",height:l}})))};Object(i.A)("ugb/divider",{title:Object(i.s)("Divider"),icon:u.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Divider"),Object(i.s)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:s,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(21),o=(n.n(l),n(22)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(9),c=n(4),s=n(5),m=n(6),b=n(23),g=(n(26),n(0)),d=function(e){var t=e.isSelected,n=e.className,l=e.setAttributes,o=e.attributes,r=o.url,u=o.text,i=o.color,s=o.textColor,d=o.size,p=o.align,h=o.cornerButtonRadius,f=o.design,w=a()([n,"ugb-button"]),y=wp.element.createElement(c.a,{onChange:function(e){return l({text:e})},className:w,align:p,size:d,backgroundColor:i,color:s,text:u,borderRadius:h}),v=Object(g.u)("stackable.designs.button.edit",y,f,e);return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.c,{value:p,onChange:function(e){l({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(g.h,null,wp.element.createElement(b.a,{selected:f,options:[{label:"Basic",value:"basic",image:"button/images/test.jpg"},{label:"Center",value:"center",image:"button/images/test.jpg",isPro:!0},{label:"Right",value:"right",image:"button/images/test.jpg",isPro:!0},{label:"Left",value:"left",image:"button/images/test.jpg",isPro:!0}],onChange:function(e){l({design:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(m.a,{initialOpen:!0,buttonColor:i,buttonTextColor:s,buttonSize:d,buttonBorderRadius:h,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),v,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,i=n.textColor,c=n.size,m=n.cornerButtonRadius,b=n.design,d=a()([t,"ugb-button"]),p=wp.element.createElement(s.a,{className:d,align:r,size:c,url:l,color:i,text:o,backgroundColor:u,borderRadius:m});return Object(g.u)("stackable.designs.button.save",p,b,e)},h={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(g.A)("ugb/button",{title:Object(g.s)("Button"),icon:u.a,description:"Add a customizable button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Button"),Object(g.s)("Stackable")],attributes:h,deprecated:[{attributes:i.g,save:i.e},{attributes:i.f,migrate:function(e){return Object(g.z)(Object(g.y)(e,{align:e.textAlignment}),["textAlignment"])},save:i.d}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var o=n(24),r=(n.n(o),n(0),n(25),n(1));n.n(r);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=e.label,o=r()({"is-pro":!a.x&&t});return wp.element.createElement("span",{className:o},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.v+"/"+n,alt:l}),wp.element.createElement("span",{className:"design-label"},l,!a.x&&t&&u()))}var o=n(1),r=n.n(o),a=n(0),u=function(){return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 97.1"},wp.element.createElement("path",{d:"M55.6,32.8c-0.8-0.7-1.8-1.2-2.9-1.6c-1.2-0.4-2.6-0.6-4.2-0.6h-6.5v16.7h6.5c1.6,0,3-0.2,4.2-0.6c1.2-0.4,2.2-1,2.9-1.7 c0.8-0.7,1.4-1.6,1.7-2.7c0.4-1.1,0.6-2.2,0.6-3.6c0-1.2-0.2-2.4-0.6-3.4C57,34.4,56.4,33.5,55.6,32.8z"}),wp.element.createElement("path",{d:"M153,35.2c-1.3-1.4-2.8-2.5-4.6-3.3c-1.8-0.8-3.9-1.1-6.1-1.1c-2.3,0-4.3,0.4-6.1,1.1c-1.8,0.8-3.4,1.8-4.7,3.3 s-2.3,3.1-2.9,5.2c-0.7,2-1,4.3-1,6.9c0,2.6,0.3,4.8,1,6.9c0.7,2,1.7,3.7,2.9,5.2c1.3,1.4,2.8,2.5,4.7,3.2c1.8,0.8,3.9,1.1,6.1,1.1 c2.3,0,4.3-0.4,6.1-1.1c1.8-0.7,3.4-1.8,4.6-3.2c1.3-1.4,2.2-3.1,2.9-5.2s1-4.3,1-6.9c0-2.6-0.3-4.8-1-6.9S154.3,36.6,153,35.2z"}),wp.element.createElement("path",{d:"M100.9,38c0-2.4-0.8-4.2-2.3-5.4c-1.6-1.3-3.9-1.9-7.1-1.9h-5.5v15.5h5.4c1.6,0,3.1-0.2,4.3-0.6c1.2-0.4,2.2-1,3-1.7 c0.8-0.7,1.4-1.6,1.8-2.6C100.7,40.2,100.9,39.2,100.9,38z"}),wp.element.createElement("path",{d:"M178.6,0H21.4C9.6,0,0,9.6,0,21.4v54.3c0,11.8,9.6,21.4,21.4,21.4h157.2c11.8,0,21.4-9.6,21.4-21.4V21.4 C200,9.6,190.4,0,178.6,0z M65.5,45c-0.8,1.9-1.9,3.5-3.4,4.8c-1.5,1.4-3.4,2.4-5.6,3.2c-2.3,0.8-4.9,1.1-7.9,1.1h-6.5v16.4h-8.7 V23.9h15.2c3.1,0,5.8,0.4,8.1,1.1c2.3,0.7,4.2,1.8,5.6,3.1c1.5,1.3,2.6,2.9,3.3,4.7c0.7,1.8,1.1,3.8,1.1,6 C66.6,41,66.3,43.1,65.5,45z M105.8,70.5c-0.8,0-1.4-0.1-1.9-0.5s-1-0.7-1.3-1.3l-9.8-14.9c-0.4-0.6-0.8-1-1.2-1.2 c-0.4-0.2-1.1-0.4-1.9-0.4h-3.7v18.2h-8.7V23.9h14.2c3.2,0,5.9,0.3,8.2,1c2.3,0.7,4.1,1.6,5.6,2.8c1.4,1.2,2.5,2.6,3.2,4.2 c0.7,1.6,1,3.5,1,5.4c0,1.6-0.2,3-0.7,4.4c-0.5,1.4-1.1,2.7-2,3.8c-0.9,1.1-1.9,2.1-3.2,3c-1.3,0.9-2.7,1.5-4.4,2.1 c1.1,0.6,2,1.5,2.8,2.7l11.7,17.2H105.8z M164.2,56.7c-1.1,2.9-2.7,5.4-4.8,7.5c-2.1,2.1-4.5,3.8-7.4,5c-2.9,1.2-6.1,1.8-9.6,1.8 c-3.5,0-6.7-0.6-9.6-1.8c-2.9-1.2-5.4-2.9-7.5-5c-2.1-2.1-3.7-4.6-4.8-7.5c-1.1-2.9-1.7-6.1-1.7-9.5c0-3.4,0.6-6.6,1.7-9.5 c1.1-2.9,2.7-5.4,4.8-7.6c2.1-2.1,4.6-3.8,7.5-5c2.9-1.2,6.1-1.8,9.6-1.8c3.5,0,6.7,0.6,9.6,1.8s5.4,2.9,7.4,5 c2.1,2.1,3.7,4.6,4.8,7.5s1.7,6.1,1.7,9.5C165.9,50.6,165.3,53.8,164.2,56.7z"}))};t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(28),o=(n.n(l),n(29)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(30),c=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.url,u=o.text,i=o.color,s=o.size,m=o.align,b=o.cornerButtonRadius,g=o.borderThickness,d=[{value:"small",label:Object(c.s)("Small")},{value:"normal",label:Object(c.s)("Normal ")},{value:"medium",label:Object(c.s)("Medium")},{value:"large",label:Object(c.s)("Large")}],p=a()([l,"ugb-button","ugb-ghost-button","ugb-button-"+m,"ugb-button-"+s]);return wp.element.createElement(c.f,null,wp.element.createElement(c.d,null,wp.element.createElement(c.c,{value:m,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.o,{label:Object(c.s)("Size"),value:s,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(c.m,{label:Object(c.s)("Corner Radius"),value:b,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(c.m,{label:Object(c.s)("Border Thickness"),value:g,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({color:e})},label:Object(c.s)("Button Color")}]})),wp.element.createElement("span",{className:p,style:{borderColor:i,borderRadius:b+"px",borderWidth:g+"px"}},wp.element.createElement(c.n,{tagName:"span",placeholder:Object(c.s)("Enter Text"),value:u,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:i},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(c.e,{icon:"admin-links"}),wp.element.createElement(c.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(c.g,{icon:"editor-break",label:Object(c.s)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.text,r=n.align,u=n.color,i=n.size,s=n.cornerButtonRadius,m=n.borderThickness,b={borderColor:u,borderRadius:s+"px",borderWidth:m+"px"},g=a()([t,"ugb-button","ugb-ghost-button","ugb-button-"+r,"ugb-button-"+i]);return wp.element.createElement("div",{className:g,style:b},wp.element.createElement(c.n.Content,{className:"ugb-button-inner",tagName:"a",value:o,href:l,style:{color:u}}))},b={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(c.A)("ugb/ghost-button",{title:Object(c.s)("Ghost Button"),icon:u.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Ghost Button"),Object(c.s)("Stackable")],attributes:b,deprecated:[{attributes:i.b,migrate:function(e){return Object(c.z)(Object(c.y)(e,{align:e.textAlignment}),["textAlignment"])},save:i.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.size,u=t.cornerButtonRadius,i=t.borderThickness,c={borderColor:r,color:r,borderRadius:u+"px",borderWidth:i+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+a+" ugb-ghost-button",style:c},l))},o={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}}},function(e,t,n){"use strict";var l=n(32),o=(n.n(l),n(33)),r=(n.n(o),n(1)),a=n.n(r),u=n(34),i=n.n(u),c=n(2),s=n(0),m=function(e){var t=[{value:"success",label:Object(s.s)("Success")},{value:"error",label:Object(s.s)("Error")},{value:"warning",label:Object(s.s)("Warning")},{value:"info",label:Object(s.s)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=e.className,o=e.attributes,r=o.text,u=o.color,i=o.textColor,c=o.notifType,m=o.dismissible,b=a()([l,"ugb-notification","type-"+c,"dismissible-"+m]);return wp.element.createElement(s.f,null,wp.element.createElement(s.h,null,wp.element.createElement(s.j,null,wp.element.createElement(s.p,{label:Object(s.s)("Dismissible"),checked:m,onChange:function(){return n({dismissible:!m})}}),wp.element.createElement(s.o,{label:Object(s.s)("Notification Type"),value:c,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(s.k,{title:Object(s.s)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return n({color:e})},label:Object(s.s)("Background Color")},{value:i,onChange:function(e){return n({textColor:e})},label:Object(s.s)("Text Color")}]})),wp.element.createElement("div",{className:b},m&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:i}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(s.n,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+c,style:{backgroundColor:u,color:i}})))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.color,r=n.textColor,u=n.notifType,c=n.dismissible,m=a()([t,"ugb-notification","type-"+u,"dismissible-"+c]),b={backgroundColor:o,color:r},g=i()(l+u).substr(0,6);return wp.element.createElement("div",{className:m,"data-uid":g},c&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:r}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(s.n.Content,{tagName:"p",className:"wp-ugb-notif notif-"+u,style:b,value:l}))},g={text:{source:"html",selector:"p",default:Object(s.s)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}};Object(s.A)("ugb/notification",{title:Object(s.s)("Notification"),icon:c.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.s)("Notification"),Object(s.s)("Stackable")],attributes:g,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(35),l=n(10).utf8,o=n(36),r=n(10).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?r.stringToBytes(e):l.stringToBytes(e):o(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var u=t.bytesToWords(e),i=8*e.length,c=1732584193,s=-271733879,m=-1732584194,b=271733878,g=0;g<u.length;g++)u[g]=16711935&(u[g]<<8|u[g]>>>24)|4278255360&(u[g]<<24|u[g]>>>8);u[i>>>5]|=128<<i%32,u[14+(i+64>>>9<<4)]=i;for(var d=a._ff,p=a._gg,h=a._hh,f=a._ii,g=0;g<u.length;g+=16){var w=c,y=s,v=m,C=b;c=d(c,s,m,b,u[g+0],7,-680876936),b=d(b,c,s,m,u[g+1],12,-389564586),m=d(m,b,c,s,u[g+2],17,606105819),s=d(s,m,b,c,u[g+3],22,-1044525330),c=d(c,s,m,b,u[g+4],7,-176418897),b=d(b,c,s,m,u[g+5],12,1200080426),m=d(m,b,c,s,u[g+6],17,-1473231341),s=d(s,m,b,c,u[g+7],22,-45705983),c=d(c,s,m,b,u[g+8],7,1770035416),b=d(b,c,s,m,u[g+9],12,-1958414417),m=d(m,b,c,s,u[g+10],17,-42063),s=d(s,m,b,c,u[g+11],22,-1990404162),c=d(c,s,m,b,u[g+12],7,1804603682),b=d(b,c,s,m,u[g+13],12,-40341101),m=d(m,b,c,s,u[g+14],17,-1502002290),s=d(s,m,b,c,u[g+15],22,1236535329),c=p(c,s,m,b,u[g+1],5,-165796510),b=p(b,c,s,m,u[g+6],9,-1069501632),m=p(m,b,c,s,u[g+11],14,643717713),s=p(s,m,b,c,u[g+0],20,-373897302),c=p(c,s,m,b,u[g+5],5,-701558691),b=p(b,c,s,m,u[g+10],9,38016083),m=p(m,b,c,s,u[g+15],14,-660478335),s=p(s,m,b,c,u[g+4],20,-405537848),c=p(c,s,m,b,u[g+9],5,568446438),b=p(b,c,s,m,u[g+14],9,-1019803690),m=p(m,b,c,s,u[g+3],14,-187363961),s=p(s,m,b,c,u[g+8],20,1163531501),c=p(c,s,m,b,u[g+13],5,-1444681467),b=p(b,c,s,m,u[g+2],9,-51403784),m=p(m,b,c,s,u[g+7],14,1735328473),s=p(s,m,b,c,u[g+12],20,-1926607734),c=h(c,s,m,b,u[g+5],4,-378558),b=h(b,c,s,m,u[g+8],11,-2022574463),m=h(m,b,c,s,u[g+11],16,1839030562),s=h(s,m,b,c,u[g+14],23,-35309556),c=h(c,s,m,b,u[g+1],4,-1530992060),b=h(b,c,s,m,u[g+4],11,1272893353),m=h(m,b,c,s,u[g+7],16,-155497632),s=h(s,m,b,c,u[g+10],23,-1094730640),c=h(c,s,m,b,u[g+13],4,681279174),b=h(b,c,s,m,u[g+0],11,-358537222),m=h(m,b,c,s,u[g+3],16,-722521979),s=h(s,m,b,c,u[g+6],23,76029189),c=h(c,s,m,b,u[g+9],4,-640364487),b=h(b,c,s,m,u[g+12],11,-421815835),m=h(m,b,c,s,u[g+15],16,530742520),s=h(s,m,b,c,u[g+2],23,-995338651),c=f(c,s,m,b,u[g+0],6,-198630844),b=f(b,c,s,m,u[g+7],10,1126891415),m=f(m,b,c,s,u[g+14],15,-1416354905),s=f(s,m,b,c,u[g+5],21,-57434055),c=f(c,s,m,b,u[g+12],6,1700485571),b=f(b,c,s,m,u[g+3],10,-1894986606),m=f(m,b,c,s,u[g+10],15,-1051523),s=f(s,m,b,c,u[g+1],21,-2054922799),c=f(c,s,m,b,u[g+8],6,1873313359),b=f(b,c,s,m,u[g+15],10,-30611744),m=f(m,b,c,s,u[g+6],15,-1560198380),s=f(s,m,b,c,u[g+13],21,1309151649),c=f(c,s,m,b,u[g+4],6,-145523070),b=f(b,c,s,m,u[g+11],10,-1120210379),m=f(m,b,c,s,u[g+2],15,718787259),s=f(s,m,b,c,u[g+9],21,-343485551),c=c+w>>>0,s=s+y>>>0,m=m+v>>>0,b=b+C>>>0}return t.endian([c,s,m,b])};a._ff=function(e,t,n,l,o,r,a){var u=e+(t&n|~t&l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._gg=function(e,t,n,l,o,r,a){var u=e+(t&l|n&~l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._hh=function(e,t,n,l,o,r,a){var u=e+(t^n^l)+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._ii=function(e,t,n,l,o,r,a){var u=e+(n^(t|~l))+(o>>>0)+a;return(u<<r|u>>>32-r)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var l=t.wordsToBytes(a(e,n));return n&&n.asBytes?l:n&&n.asString?r.bytesToString(l):t.bytesToHex(l)}}()},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,l=0;n<e.length;n++,l+=8)t[l>>>5]|=e[n]<<24-l%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],l=0;l<e.length;l+=3)for(var o=e[l]<<16|e[l+1]<<8|e[l+2],r=0;r<4;r++)8*l+6*r<=8*e.length?n.push(t.charAt(o>>>6*(3-r)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],l=0,o=0;l<e.length;o=++l%4)0!=o&&n.push((t.indexOf(e.charAt(l-1))&Math.pow(2,-2*o+8)-1)<<2*o|t.indexOf(e.charAt(l))>>>6-2*o);return n}};e.exports=n}()},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function l(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||l(e)||!!e._isBuffer)}},function(e,t,n){"use strict";var l=n(38),o=(n.n(l),n(39)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(7),c=n(44),s=n(0),m=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,c=o.quoteColor,m=o.backgroundColor,b=o.backgroundImageID,g=o.backgroundImageURL,d=o.backgroundOpacity,p=o.fixedBackground,h=a()([l,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(d/1)],{"ugb-has-background":m||g,"ugb-has-background-image":g}),f={"--quote-color":c||void 0,backgroundColor:m||void 0,backgroundImage:g?"url("+g+")":void 0,backgroundAttachment:p?"fixed":void 0,"--ugb-background-color":g?m:void 0};return wp.element.createElement(s.f,null,wp.element.createElement("blockquote",{className:h,style:f},wp.element.createElement(s.n,{className:"ugb-blockquote-text",value:u,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(s.h,null,wp.element.createElement(s.k,{title:Object(s.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(s.s)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(s.s)("Quote Color")}]}),wp.element.createElement(i.a,{backgroundColor:m,backgroundImageID:b,backgroundImageURL:g,backgroundOpacity:d,fixedBackground:p,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,l=e.id;return n({backgroundImageURL:t,backgroundImageID:l})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})},onChangeFixedBackground:function(e){return n({fixedBackground:!!e})}})))},b=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=n.backgroundColor,i=(n.backgroundImageID,n.backgroundImageURL),c=n.backgroundOpacity,m=n.fixedBackground,b=a()([t,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(c/1)],{"ugb-has-background":u||i,"ugb-has-background-image":i}),g={"--quote-color":r||void 0,backgroundColor:u||void 0,backgroundImage:i?"url("+i+")":void 0,backgroundAttachment:m?"fixed":void 0,"--ugb-background-color":i?u:void 0};return wp.element.createElement("blockquote",{className:b,style:g},wp.element.createElement(s.n.Content,{tagName:"p",style:{color:l},value:o}))},g={text:{source:"html",selector:"p",default:Object(s.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}};Object(s.A)("ugb/blockquote",{title:Object(s.s)("Blockquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.s)("Blockquote"),Object(s.s)("Stackable")],attributes:g,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:c.d,save:c.b},{attributes:c.c,migrate:function(e){return Object(s.z)(Object(s.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.label,n=e.imageID,l=e.imageURL,o=e.onChange,a=void 0===o?function(e){e.url,e.id}:o,u=e.onRemove,i=void 0===u?function(){}:u,c=e.allowedTypes,s=void 0===c?["image"]:c,m=e.help;return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(r.b,{label:t,help:m},wp.element.createElement(r.i,{onSelect:a,allowedTypes:s,value:n,render:function(e){return wp.element.createElement(r.f,null,l&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:i},wp.element.createElement(r.e,{icon:"no"})),wp.element.createElement("img",{className:"ugb-image-preview",src:l,onClick:e.open})),!l&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:e.open},wp.element.createElement("svg",{viewBox:"0 0 512 376"},wp.element.createElement("path",{d:"M0,0v376h512V0H0z M480,344H32V32h448V344z"}),wp.element.createElement("circle",{cx:"409.1",cy:"102.9",r:"40.9"}),wp.element.createElement("polygon",{points:"480,344 32,344 118.3,179.8 140,191.1 189,113.8 289,226.9 297.9,217.6 315,239.9 341,193.5 393.9,264.7 409,248.8"}))))}})))}var o=n(43),r=(n.n(o),n(0));t.a=l},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return c});var l=n(1),o=n.n(l),r=n(0),a={text:{source:"html",selector:"p",default:Object(r.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}},u=function(e){var t=e.className,n=e.attributes,l=n.color,a=n.text,u=n.quoteColor,i=o()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:i,style:{"--quote-color":u}},wp.element.createElement(r.n.Content,{tagName:"p",style:{color:l},value:a}))},i={text:{type:"array",source:"children",selector:"p",default:Object(r.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#424242"},borderColor:{type:"string",default:"#2091e1"}},c=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:o}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(46),o=(n.n(l),n(47)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(48),c=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,l=e.className,o=e.attributes,r=o.color,u=o.text,i=o.quoteColor,s=a()([l,"ugb-pullquote"]);return wp.element.createElement(c.f,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":i}},wp.element.createElement(c.n,{tagName:"p",className:"ugb-pullquote-text",value:u,onChange:function(e){return n({text:e})},placeholder:Object(c.s)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(c.h,null,wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(c.s)("Text Color")},{value:i,onChange:function(e){return n({quoteColor:e})},label:Object(c.s)("Quote Color")}]})))},m=function(e){var t=e.className,n=e.attributes,l=n.color,o=n.text,r=n.quoteColor,u=a()([t,"ugb-pullquote"]);return wp.element.createElement("blockquote",{className:u,style:{"--quote-color":r}},wp.element.createElement(c.n.Content,{tagName:"p",style:{color:l},value:o}))},b={text:{source:"html",selector:"p",default:Object(c.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(c.A)("ugb/pullquote",{title:Object(c.s)("Pullquote"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Pullquote"),Object(c.s)("Stackable")],attributes:b,deprecated:[{attributes:i.b,migrate:function(e){return Object(c.z)(Object(c.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:i.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});var l=n(0),o=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:o,borderBottomColor:o}},wp.element.createElement("p",{style:{color:n}},l))},r={text:{type:"array",source:"children",selector:"p",default:Object(l.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(50),o=(n.n(l),n(51)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(7),b=n(52),g=n(0),d=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.buttonText,c=o.ctaTitle,b=o.bodyText,d=o.color,p=o.textColor,h=o.size,f=o.borderButtonRadius,w=o.bodyTextColor,y=o.titleColor,v=o.backgroundColor,C=o.backgroundImageID,E=o.backgroundImageURL,k=o.backgroundOpacity,x=o.fixedBackground,O=a()([n,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(k/1)],{"ugb-has-background":v||E,"ugb-has-background-image":E}),N={backgroundColor:v||void 0,backgroundImage:E?"url("+E+")":void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":E?v:void 0};return wp.element.createElement(g.f,null,wp.element.createElement(g.h,null,wp.element.createElement(g.k,{initialOpen:!0,title:Object(g.s)("Color Settings"),colorSettings:[{value:y,onChange:function(e){return l({titleColor:e})},label:Object(g.s)("Title Color")},{value:w,onChange:function(e){return l({bodyTextColor:e})},label:Object(g.s)("Body Text Color")}]}),wp.element.createElement(m.a,{backgroundColor:v,backgroundImageID:C,backgroundImageURL:E,backgroundOpacity:k,fixedBackground:x,onChangeBackgroundColor:function(e){return l({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,n=e.id;return l({backgroundImageURL:t,backgroundImageID:n})},onRemoveBackgroundImage:function(){l({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return l({backgroundOpacity:e})},onChangeFixedBackground:function(e){return l({fixedBackground:!!e})}}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:d,buttonTextColor:p,buttonSize:h,buttonBorderRadius:f,onChangeButtonColor:function(e){return l({color:e})},onChangeButtonTextColor:function(e){return l({textColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({borderButtonRadius:e})}})),wp.element.createElement("div",{className:O,style:N},wp.element.createElement(g.n,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(g.s)("Add Title"),value:c,onChange:function(e){return l({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:y}}),wp.element.createElement(g.n,{tagName:"p",value:b,className:"ugb-cta-bodyText",onChange:function(e){return l({bodyText:e})},placeholder:Object(g.s)("Write body text\u2026"),style:{color:w}}),wp.element.createElement(i.a,{size:h,color:p,backgroundColor:d,text:u,borderRadius:f,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.buttonText,r=n.ctaTitle,u=n.bodyText,i=n.color,s=n.textColor,m=n.size,b=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,h=n.backgroundColor,f=(n.backgroundImageID,n.backgroundImageURL),w=n.backgroundOpacity,y=n.fixedBackground,v=a()([t,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(w/1)],{"ugb-has-background":h||f,"ugb-has-background-image":f}),C={backgroundColor:h||void 0,backgroundImage:f?"url("+f+")":void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f?h:void 0};return wp.element.createElement("div",{className:v,style:C},r&&!!r.length&&wp.element.createElement(g.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:r}),u&&!!u.length&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:u}),o&&!!o.length&&wp.element.createElement(c.a,{size:m,url:l,color:s,text:o,backgroundColor:i,borderRadius:b}))},h={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(g.s)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(g.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},bgColor:{type:"string"}};Object(g.A)("ugb/cta",{title:Object(g.s)("Call to Action"),icon:u.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Call to Action"),Object(g.s)("Stackable"),Object(g.s)("CTA")],attributes:h,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:b.e,save:b.c,migrate:function(e){return Object.assign({backgroundColor:e.bgColor},e)}},{attributes:b.d,save:b.b},{save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"e",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return c}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return m});var l=n(1),o=n.n(l),r=n(0),a=n(9),u={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(r.s)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(r.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},i=function(e){var t=e.className,n=e.attributes,l=n.url,u=n.buttonText,i=n.ctaTitle,c=n.bodyText,s=n.color,m=n.textColor,b=n.size,g=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,h=n.bgColor,f=o()([t,"ugb-cta"]);return wp.element.createElement("div",{className:f,style:{backgroundColor:h}},i&&!!i.length&&wp.element.createElement(r.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:i}),c&&!!c.length&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:c}),u&&!!u.length&&wp.element.createElement(a.c,{size:b,url:l,color:m,text:u,backgroundColor:s,borderRadius:g}))},c={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(r.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(r.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},s=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,u=t.bodyText,i=t.color,c=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,g=t.titleColor,d=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:d}},o&&!!o.length&&wp.element.createElement(r.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:g},value:o}),u&&!!u.length&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:u}),l&&!!l.length&&wp.element.createElement(a.a,{size:s,url:n,color:c,text:l,backgroundColor:i,borderRadius:m}))},m=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,u=t.textColor,i=t.size,c=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,g={backgroundColor:a,color:u,borderRadius:c+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:b}},o&&!!o.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},o),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},r),l&&!!l.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-cta-button ugb-button-"+i,style:g},l))}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(54),r=(n.n(o),n(55)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(8),s=n(3),m=n(57),b=n(0),g=function(e){var t=e.className,n=e.setAttributes,o=e.attributes,r=o.columns,a=o.titleColor,i=o.posColor,s=o.bodyTextColor,m=u()([t,"ugb-testimonial","columns-"+r]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.m,{label:Object(b.s)("Columns"),value:r,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Color Settings"),colorSettings:[{value:s,onChange:function(e){return n({bodyTextColor:e})},label:Object(b.s)("Body Text Color")},{value:a,onChange:function(e){return n({titleColor:e})},label:Object(b.s)("Title Color")},{value:i,onChange:function(e){return n({posColor:e})},label:Object(b.s)("Position Color")}]})),wp.element.createElement("div",{className:m},[1,2,3].map(function(e){var t=o["mediaURL"+e],r=o["mediaID"+e],u=o["name"+e],m=o["position"+e],g=o["testimonial"+e];return wp.element.createElement("div",{className:"ugb-testimonial-item"},wp.element.createElement(b.n,{tagName:"p",className:"ugb-testimonial-body",value:g,onChange:function(t){return n(l({},"testimonial"+e,t))},style:{color:s},placeholder:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage."),keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{className:"testimonial-image",imageID:r,imageURL:t,onRemove:function(){var t;n((t={},l(t,"mediaURL"+e,""),l(t,"mediaID"+e,""),t))},onChange:function(t){var o,r=t.url,a=t.id;n((o={},l(o,"mediaURL"+e,r),l(o,"mediaID"+e,a),o))},hasRemove:!1}),wp.element.createElement(b.n,{tagName:"h4",value:u,onChange:function(t){return n(l({},"name"+e,t))},style:{color:a},placeholder:Object(b.s)("Name"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:m,className:"ugb-testimonial-position",onChange:function(t){return n(l({},"position"+e,t))},style:{color:i},keepPlaceholderOnFocus:!0}))})))},d=function(e){var t=e.className,n=e.attributes,l=n.columns,o=n.titleColor,r=n.posColor,a=n.bodyTextColor,i=u()([t,"ugb-testimonial","columns-"+l]);return wp.element.createElement("div",{className:i},Object(s.b)(1,l+1).map(function(e){var t=n["mediaURL"+e],l=n["name"+e],u=n["position"+e],i=n["testimonial"+e];return wp.element.createElement("div",{className:"ugb-testimonial-item"},!b.n.isEmpty(i)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:a},value:i}),t&&wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+t+")"}}),!b.n.isEmpty(l)&&wp.element.createElement(b.n.Content,{tagName:"h4",style:{color:o},value:l}),!b.n.isEmpty(u)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:r},value:u}))}))},p={mediaID1:{type:"number"},mediaID2:{type:"number"},mediaID3:{type:"number"},mediaURL1:{type:"string"},mediaURL2:{type:"string"},mediaURL3:{type:"string"},name1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) h4",default:Object(b.s)("Ben Adams")},name2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) h4",default:Object(b.s)("Alex Johnson")},name3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) h4",default:Object(b.s)("Sammy Simpson")},position1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) .ugb-testimonial-position",default:Object(b.s)("Founder")},position2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) .ugb-testimonial-position",default:Object(b.s)("Editor")},position3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) .ugb-testimonial-position",default:Object(b.s)("Programmer")},testimonial1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) .ugb-testimonial-body",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},testimonial2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) .ugb-testimonial-body",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},testimonial3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) .ugb-testimonial-body",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},columns:{type:"number",default:2},href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-testimonial-column-one .testimonial-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-testimonial-column-two .testimonial-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-testimonial-column-three .testimonial-image",attribute:"data-src"},testimonialTitle:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(b.s)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(b.s)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(b.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(b.s)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(b.s)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(b.s)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(b.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},iconColor:{type:"string"}};Object(b.A)("ugb/testimonial",{title:Object(b.s)("Testimonial"),icon:i.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Testimonial"),Object(b.s)("Stackable")],attributes:p,deprecated:[{attributes:m.b,save:m.a,migrate:function(e){return Object(b.z)(Object.assign({},e,{mediaID1:e.mediaID,mediaID2:e.mediaIDTwo,mediaID3:e.mediaIDThree,mediaURL1:e.mediaURL,mediaURL2:e.mediaURLTwo,mediaURL3:e.mediaURLThree,name1:e.testimonialTitle,name2:e.testimonialTitleTwo,name3:e.testimonialTitleThree,position1:e.position,position2:e.positionTwo,position3:e.positionThree,testimonial1:e.body,testimonial2:e.bodyTwo,testimonial3:e.bodyThree}),["mediaID","mediaIDTwo","mediaIDThree","mediaURL","mediaURLTwo","mediaURLThree","testimonialTitle","testimonialTitleTwo","testimonialTitleThree","postion","positionTwo","positionThree","body","bodyTwo","bodyThree"])}}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var l=n(1),o=n.n(l),r=n(0),a=function(e){var t=e.className,n=e.attributes,l=n.testimonialTitle,a=n.testimonialTitleTwo,u=n.testimonialTitleThree,i=n.body,c=n.bodyTwo,s=n.bodyThree,m=n.position,b=n.positionTwo,g=n.positionThree,d=n.mediaURL,p=n.mediaURLTwo,h=n.mediaURLThree,f=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.titleColor),w=n.posColor,y=n.bodyTextColor,v=n.iconColor,C=n.columns,E=o()([t,"ugb-testimonial","column-"+C]),k=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:v}},wp.element.createElement("path",{d:"M98.5,0h-93C2.5,0,0,2.5,0,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C104,2.5,101.5,0,98.5,0z"}),wp.element.createElement("path",{d:"M240.5,0h-93c-3,0-5.5,2.5-5.5,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C246,2.5,243.5,0,240.5,0z"}),wp.element.createElement("path",{d:"M161.3-86.3c3.2,0,3.2-5,0-5C158.1-91.3,158.1-86.3,161.3-86.3L161.3-86.3z"})));return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+d+")"},"data-src":d}):k,!r.n.isEmpty(l)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:f},value:l}),!r.n.isEmpty(m)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:w},value:m}),!r.n.isEmpty(i)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:y},value:i})),C>1&&wp.element.createElement("div",{className:"ugb-testimonial-column-two"},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+p+")"},"data-src":p}):k,!r.n.isEmpty(a)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:f},value:a}),!r.n.isEmpty(b)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:w},value:b}),!r.n.isEmpty(c)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:y},value:c})),C>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},h?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+h+")"},"data-src":h}):k,!r.n.isEmpty(u)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:f},value:u}),!r.n.isEmpty(g)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:w},value:g}),!r.n.isEmpty(s)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:y},value:s})))},u={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-testimonial-column-one .testimonial-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-testimonial-column-two .testimonial-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-testimonial-column-three .testimonial-image",attribute:"data-src"},testimonialTitle:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(r.s)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(r.s)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(r.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(r.s)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(r.s)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(r.s)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(r.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(r.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(r.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1}}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(59),r=(n.n(o),n(60)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(3),s=n(8),m=n(61),b=n(0),g=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,o=e.attributes,r=e.attributes,a=r.columns,i=r.nameColor,c=r.posColor,m=r.desColor,g=r.shapes,d=[{value:"square",label:Object(b.s)("Square")},{value:"circle",label:Object(b.s)("Circle")}],p=u()([t,"ugb-team-member","columns-"+a,"image-"+g]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.o,{label:Object(b.s)("Image Shape"),value:g,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({shapes:e})}}),wp.element.createElement(b.m,{label:Object(b.s)("Columns"),value:a,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({nameColor:e})},label:Object(b.s)("Name Color")},{value:c,onChange:function(e){return n({posColor:e})},label:Object(b.s)("Position Color")},{value:m,onChange:function(e){return n({desColor:e})},label:Object(b.s)("Description Color")}]})),wp.element.createElement("div",{className:p},[1,2,3].map(function(e){var t=o["mediaURL"+e],r=o["mediaID"+e],a=o["name"+e],u=o["position"+e],g=o["description"+e];return wp.element.createElement("div",{className:"ugb-team-member-item"},wp.element.createElement(s.a,{className:"team-member-image",imageID:r,imageURL:t,onRemove:function(){var t;n((t={},l(t,"mediaURL"+e,""),l(t,"mediaID"+e,""),t))},onChange:function(t){var o,r=t.url,a=t.id;n((o={},l(o,"mediaURL"+e,r),l(o,"mediaID"+e,a),o))},hasRemove:!1}),wp.element.createElement(b.n,{tagName:"h4",value:a,onChange:function(t){return n(l({},"name"+e,t))},style:{color:i},placeholder:Object(b.s)("Team Member name"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:u,className:"ugb-team-member-position",onChange:function(t){return n(l({},"position"+e,t))},style:{color:c},placeholder:Object(b.s)("Position"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:g,className:"ugb-team-member-desc",onChange:function(t){return n(l({},"description"+e,t))},style:{color:m},placeholder:Object(b.s)("Team member description. This guy is the head of our small team. He loves walking his dog, Walter, when he has some free time."),keepPlaceholderOnFocus:!0}))})))},d=function(e){var t=e.className,n=e.attributes,l=e.attributes,o=l.shapes,r=l.nameColor,a=l.posColor,i=l.desColor,s=l.columns,m=u()([t,"ugb-team-member","columns-"+s,"image-"+o]);return wp.element.createElement("div",{className:m},Object(c.b)(1,s+1).map(function(e){var t=n["mediaURL"+e],l=n["name"+e],o=n["position"+e],u=n["description"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-team-member-item"},t&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:t?"url("+t+")":void 0},"data-src":t||void 0}),!b.n.isEmpty(l)&&wp.element.createElement(b.n.Content,{tagName:"h4",style:{color:r},value:l}),!b.n.isEmpty(o)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:a},value:o}),!b.n.isEmpty(u)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-team-member-desc",style:{color:i},value:u})))}))},p={href1:{type:"url"},href2:{type:"url"},href3:{type:"url"},mediaID1:{type:"number"},mediaID2:{type:"number"},mediaID3:{type:"number"},mediaURL1:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(1) .team-member-image",attribute:"data-src"},mediaURL2:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(2) .team-member-image",attribute:"data-src"},mediaURL3:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(3) .team-member-image",attribute:"data-src"},name1:{source:"html",selector:".ugb-team-member-item:nth-child(1) h4",default:Object(b.s)("Ben Adams")},name2:{source:"html",selector:".ugb-team-member-item:nth-child(2) h4",default:Object(b.s)("Alex Johnson")},name3:{source:"html",selector:".ugb-team-member-item:nth-child(3) h4",default:Object(b.s)("Sammy Simpson")},position1:{source:"html",selector:".ugb-team-member-item:nth-child(1) .ugb-team-member-position",default:Object(b.s)("Founder")},position2:{source:"html",selector:".ugb-team-member-item:nth-child(2) .ugb-team-member-position",default:Object(b.s)("Editor")},position3:{source:"html",selector:".ugb-team-member-item:nth-child(3) .ugb-team-member-position",default:Object(b.s)("Programmer")},description1:{source:"html",selector:".ugb-team-member-item:nth-child(1) .ugb-team-member-desc",default:Object(b.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},description2:{source:"html",selector:".ugb-team-member-item:nth-child(2) .ugb-team-member-desc",default:Object(b.s)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},description3:{source:"html",selector:".ugb-team-member-item:nth-child(3) .ugb-team-member-desc",default:Object(b.s)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},columns:{type:"number",default:2},shapes:{type:"string",default:"circle"},href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-team-member-column-one .team-member-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-team-member-column-two .team-member-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-team-member-column-three .team-member-image",attribute:"data-src"},name:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(b.s)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(b.s)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(b.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(b.s)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(b.s)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(b.s)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(b.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(b.s)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(b.s)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},iconColor:{type:"string"}};Object(b.A)("ugb/team-member",{title:Object(b.s)("Team Member"),icon:i.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Team Member"),Object(b.s)("Stackable")],attributes:p,deprecated:[{attributes:m.b,save:m.a,migrate:function(e){return Object(b.z)(Object.assign({},e,{href1:e.href,href2:e.hrefTwo,href3:e.hrefThree,mediaID1:e.mediaID,mediaID2:e.mediaIDTwo,mediaID3:e.mediaIDThree,mediaURL1:e.mediaURL,mediaURL2:e.mediaURLTwo,mediaURL3:e.mediaURLThree,name1:e.name,name2:e.nameTwo,name3:e.nameThree,position1:e.position,position2:e.positionTwo,position3:e.positionThree,description1:e.des,description2:e.desTwo,description3:e.desThree}),["href","hrefTwo","hrefThree","mediaID","mediaIDTwo","mediaIDThree","mediaURL","mediaURLTwo","mediaURLThree","name","nameTwo","nameThree","postion","positionTwo","positionThree","des","desTwo","desThree"])}}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u});var l=n(1),o=n.n(l),r=n(0),a={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-team-member-column-one .team-member-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-team-member-column-two .team-member-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-team-member-column-three .team-member-image",attribute:"data-src"},name:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(r.s)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(r.s)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(r.s)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(r.s)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(r.s)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(r.s)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(r.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(r.s)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(r.s)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1},shapes:{type:"string",default:"square"}},u=function(e){var t=e.className,n=e.attributes,l=n.name,a=n.nameTwo,u=n.nameThree,i=n.shapes,c=n.des,s=n.desTwo,m=n.desThree,b=n.position,g=n.positionTwo,d=n.positionThree,p=n.mediaURL,h=n.mediaURLTwo,f=n.mediaURLThree,w=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.nameColor),y=n.posColor,v=n.desColor,C=(n.iconColor,n.columns),E=o()([t,"ugb-team-member","column-"+C,"image-"+i]);return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-team-member-column-one"},p&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+p+")"},"data-src":p}),!r.n.isEmpty(l)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:w},value:l}),!r.n.isEmpty(b)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:b}),!r.n.isEmpty(c)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:v},value:c})),C>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},h&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"},"data-src":h}),!r.n.isEmpty(a)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:w},value:a}),!r.n.isEmpty(g)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:g}),!r.n.isEmpty(s)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:v},value:s})),C>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},f&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"},"data-src":f}),!r.n.isEmpty(u)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:w},value:u}),!r.n.isEmpty(d)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:d}),!r.n.isEmpty(m)&&wp.element.createElement(r.n.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:v},value:m})))}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(63),r=(n.n(o),n(64)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(65),s=n(0),m=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),o=e.isSelected,r=e.attributes,a=r.text,i=r.moreLabel,c=r.moreText,m=r.lessLabel,b=u()([n,"ugb-expand"]);return wp.element.createElement(s.f,null,wp.element.createElement("div",{className:b},o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.s)("Less text")),wp.element.createElement(s.n,l({multiline:"p",placeholder:e.attributes.text.default,value:a,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(s.s)("Some short text that can be expanded to show more details."))),wp.element.createElement(s.n,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:i,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(s.s)("Show more"))),o&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.s)("More text")),o&&wp.element.createElement(s.n,l({multiline:"p",placeholder:e.attributes.moreText.default,value:c,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(s.s)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),o&&wp.element.createElement(s.n,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:m,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(s.s)("Show less")))))},b=function(e){var t=e.className,n=e.attributes,l=n.text,o=n.moreLabel,r=n.moreText,a=n.lessLabel,i=u()([t,"ugb-expand"]);return wp.element.createElement("div",{className:i},wp.element.createElement("div",{className:"ugb-expand-less-text"},!s.n.isEmpty(l)&&wp.element.createElement(s.n.Content,{multiline:"p",value:l})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!s.n.isEmpty(r)&&wp.element.createElement(s.n.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(s.n.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(s.n.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))},g={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(s.s)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(s.s)("Show less")}};Object(s.A)("ugb/expand",{title:Object(s.s)("Expand / Show More"),icon:i.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.s)("Expand"),Object(s.s)("Show more/less"),Object(s.s)("Stackable")],attributes:g,deprecated:[{attributes:c.b,save:c.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(l.s)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(l.s)("Show less")}},r=function(e){var t=e.attributes,n=t.text,o=t.moreLabel,r=t.moreText,a=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!l.n.isEmpty(n)&&wp.element.createElement(l.n.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!l.n.isEmpty(r)&&wp.element.createElement(l.n.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(l.n.Content,{className:"ugb-expand-more",tagName:"span",value:o}),wp.element.createElement(l.n.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))}},function(e,t,n){"use strict";var l=n(67),o=(n.n(l),n(68)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(0),c=function(e){var t=e.className,n=e.setAttributes,l=(e.isSelected,e.editable,e.setState,e.attributes),o=l.numberBox,r=l.numberBoxTwo,u=l.numberBoxThree,c=l.body,s=l.bodyTwo,m=l.bodyThree,b=l.name,g=l.nameTwo,d=l.nameThree,p=l.columns,h=l.numberBoxColor,f=l.nameColor,w=l.bodyTextColor,y=l.numberBGColor,v=a()([t,"ugb-number-box","column-"+p]);return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.m,{label:Object(i.s)("Columns"),value:p,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(i.k,{title:Object(i.s)("Color Settings"),colorSettings:[{value:h,onChange:function(e){return n({numberBoxColor:e})},label:Object(i.s)("Number Color")},{value:y,onChange:function(e){return n({numberBGColor:e})},label:Object(i.s)("Number Background Color")},{value:f,onChange:function(e){return n({nameColor:e})},label:Object(i.s)("Name Color")},{value:w,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.s)("Body Text Color")}]})),wp.element.createElement("div",{className:v},wp.element.createElement("div",null,wp.element.createElement(i.n,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return n({numberBox:e})},style:{color:h,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"h4",value:b,className:"ugb-number-box-name",onChange:function(e){return n({name:e})},placeholder:Object(i.s)("Add name\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:c,className:"ugb-number-box-body",onChange:function(e){return n({body:e})},placeholder:Object(i.s)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(i.n,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return n({numberBoxTwo:e})},style:{color:h,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"h4",value:g,className:"ugb-number-box-name-two",onChange:function(e){return n({nameTwo:e})},placeholder:Object(i.s)("Add name\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:s,className:"ugb-number-box-body-two",onChange:function(e){return n({bodyTwo:e})},placeholder:Object(i.s)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(i.n,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return n({numberBoxThree:e})},style:{color:h,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"h4",value:d,className:"ugb-number-box-name-three",onChange:function(e){return n({nameThree:e})},placeholder:Object(i.s)("Add name\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:m,className:"ugb-number-box-body-three",onChange:function(e){return n({bodyThree:e})},placeholder:Object(i.s)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,l=n.numberBox,o=n.numberBoxTwo,r=n.numberBoxThree,u=n.body,c=n.bodyTwo,s=n.bodyThree,m=n.name,b=n.nameTwo,g=n.nameThree,d=n.numberBoxColor,p=n.nameColor,h=n.bodyTextColor,f=n.numberBGColor,w=n.columns,y=a()([t,"ugb-number-box","column-"+w]);return wp.element.createElement("div",{className:y},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!i.n.isEmpty(l)&&wp.element.createElement(i.n.Content,{tagName:"span",style:{color:d,backgroundColor:f},value:l}),!i.n.isEmpty(m)&&wp.element.createElement(i.n.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:m}),!i.n.isEmpty(u)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:h},value:u})),w>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!i.n.isEmpty(o)&&wp.element.createElement(i.n.Content,{tagName:"span",style:{color:d,backgroundColor:f},value:o}),!i.n.isEmpty(b)&&wp.element.createElement(i.n.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:b}),!i.n.isEmpty(c)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:h},value:c})),w>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!i.n.isEmpty(r)&&wp.element.createElement(i.n.Content,{tagName:"span",style:{color:d,backgroundColor:f},value:r}),!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:g}),!i.n.isEmpty(s)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:h},value:s})))},m={numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(i.s)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(i.s)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(i.s)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(i.s)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(i.s)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(i.s)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(i.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{source:"html",selector:".ugb-number-box-body-two",default:Object(i.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{source:"html",selector:".ugb-number-box-body-three",default:Object(i.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"number",default:1}};Object(i.A)("ugb/number-box",{title:Object(i.s)("Number Box"),icon:u.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Number Box"),Object(i.s)("Stackable")],attributes:m,edit:c,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(70),o=(n.n(l),n(71)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(72),b=n(0),g=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.url,u=o.url2,c=o.url3,m=o.pricingBoxTitle,g=o.pricingBoxTitle2,d=o.pricingBoxTitle3,p=o.price,h=o.price2,f=o.price3,w=o.perMonthLabel,y=o.perMonthLabel2,v=o.perMonthLabel3,C=o.buttonText,E=o.buttonText2,k=o.buttonText3,x=o.featureList,O=o.featureList2,N=o.featureList3,j=o.pricingBoxColor,T=o.priceColor,B=o.perMonthLabelColor,I=o.buttonColor,S=o.buttonTextColor,L=o.featureListColor,R=o.columns,z=o.size,A=o.cornerButtonRadius,U=a()([n,"ugb-pricing-box","column-"+R]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.m,{label:Object(b.s)("Columns"),value:R,onChange:function(e){return l({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Text Colors"),colorSettings:[{value:j,onChange:function(e){return l({pricingBoxColor:e})},label:Object(b.s)("Pricing Title Color")},{value:T,onChange:function(e){return l({priceColor:e})},label:Object(b.s)("Price Color")},{value:B,onChange:function(e){return l({perMonthLabelColor:e})},label:Object(b.s)("Per Month Label Color")},{value:L,onChange:function(e){return l({featureListColor:e})},label:Object(b.s)("Feature List Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:I,buttonTextColor:S,buttonSize:z,buttonBorderRadius:A,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:U},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(b.n,{tagName:"h3",value:m,onChange:function(e){return l({pricingBoxTitle:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:w,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:C,borderRadius:A,onChange:function(e){return l({buttonText:e})}}),wp.element.createElement(b.n,{tagName:"p",value:x,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:r,onChange:function(e){return l({url:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(b.n,{tagName:"h3",value:g,onChange:function(e){return l({pricingBoxTitle2:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:h,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price2:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:y,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:E,borderRadius:A,onChange:function(e){return l({buttonText2:e})}}),wp.element.createElement(b.n,{tagName:"p",value:O,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList2:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:u,onChange:function(e){return l({url2:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(b.n,{tagName:"h3",value:d,onChange:function(e){return l({pricingBoxTitle3:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:f,className:"ugb-pricing-box-pricing",onChange:function(e){return l({price3:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.n,{tagName:"p",value:v,className:"ugb-pricing-box-per-month-label",onChange:function(e){return l({perMonthLabel3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:k,borderRadius:A,onChange:function(e){return l({buttonText3:e})}}),wp.element.createElement(b.n,{tagName:"p",value:N,className:"ugb-pricing-box-feature-list",onChange:function(e){return l({featureList3:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:c,onChange:function(e){return l({url3:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"})))))},d=function(e){var t=e.className,n=e.attributes,l=n.url,o=n.url2,r=n.url3,u=n.pricingBoxTitle,i=n.pricingBoxTitle2,s=n.pricingBoxTitle3,m=n.price,g=n.price2,d=n.price3,p=n.perMonthLabel,h=n.perMonthLabel2,f=n.perMonthLabel3,w=n.buttonText,y=n.buttonText2,v=n.buttonText3,C=n.featureList,E=n.featureList2,k=n.featureList3,x=n.pricingBoxColor,O=n.priceColor,N=n.perMonthLabelColor,j=n.buttonColor,T=n.buttonTextColor,B=n.featureListColor,I=n.columns,S=n.size,L=n.cornerButtonRadius,R=a()([t,"ugb-pricing-box","column-"+I]);return wp.element.createElement("div",{className:R},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!b.n.isEmpty(u)&&wp.element.createElement(b.n.Content,{tagName:"h3",style:{color:x},value:u}),!b.n.isEmpty(m)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:m}),!b.n.isEmpty(p)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:p}),w&&!!w.length&&wp.element.createElement(c.a,{size:S,url:l,color:T,text:w,backgroundColor:j,borderRadius:L}),!b.n.isEmpty(C)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:C})),I>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!b.n.isEmpty(i)&&wp.element.createElement(b.n.Content,{tagName:"h3",style:{color:x},value:i}),!b.n.isEmpty(g)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:g}),!b.n.isEmpty(h)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:h}),y&&!!y.length&&wp.element.createElement(c.a,{size:S,url:o,color:T,text:y,backgroundColor:j,borderRadius:L}),!b.n.isEmpty(E)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:E})),I>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!b.n.isEmpty(s)&&wp.element.createElement(b.n.Content,{tagName:"h3",style:{color:x},value:s}),!b.n.isEmpty(d)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:d}),!b.n.isEmpty(f)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:f}),v&&!!v.length&&wp.element.createElement(c.a,{size:S,url:r,color:T,text:v,backgroundColor:j,borderRadius:L}),!b.n.isEmpty(k)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:k})))},p={url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one .ugb-button a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two .ugb-button a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three .ugb-button a",attribute:"href"},pricingBoxTitle:{source:"html",selector:".ugb-pricing-box-column-one h3",default:Object(b.s)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(b.s)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(b.s)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(b.s)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(b.s)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(b.s)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(b.s)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(b.s)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(b.s)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(b.s)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(b.s)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(b.s)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(b.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(b.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(b.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"number",default:1},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(b.A)("ugb/pricing-box",{title:Object(b.s)("Pricing Box"),icon:u.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Pricing Box"),Object(b.s)("Stackable")],attributes:p,deprecated:[{save:m.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,u=t.pricingBoxTitle3,i=t.price,c=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,g=t.perMonthLabel3,d=t.buttonText,p=t.buttonText2,h=t.buttonText3,f=t.featureList,w=t.featureList2,y=t.featureList3,v=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,k=t.buttonColor,x=t.buttonTextColor,O=t.featureListColor,N=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:k,color:x,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+N},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:v}},r),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},m),d&&!!d.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},d),f&&!!f.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},f)),N>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},a),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),p&&!!p.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},p),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},w)),N>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:v}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),g&&!!g.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},g),h&&!!h.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},h),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},y)))}},function(e,t,n){"use strict";var l=n(74),o=(n.n(l),n(75)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(7),b=n(76),g=n(0),d=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=(e.editable,e.setState,e.attributes),r=o.buttonURL,u=o.buttonText,c=o.buttonColor,b=o.buttonTextColor,d=o.cornerButtonRadius,p=o.size,h=o.title,f=o.titleColor,w=o.subtitle,y=o.subtitleColor,v=o.contentAlign,C=o.backgroundColor,E=o.backgroundImageID,k=o.backgroundImageURL,x=o.backgroundOpacity,O=o.fixedBackground,N=a()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(x/1)],{"ugb-has-background":C||k,"ugb-has-background-image":k}),j={backgroundColor:C||void 0,backgroundImage:k?"url("+k+")":void 0,backgroundAttachment:O?"fixed":void 0,"--ugb-background-color":k?C:void 0,textAlign:v||void 0};return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:v,onChange:function(e){return n({contentAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{initialOpen:!0,title:Object(g.s)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({titleColor:e})},label:Object(g.s)("Title Color")},{value:y,onChange:function(e){return n({subtitleColor:e})},label:Object(g.s)("Subtitle Color")}]}),wp.element.createElement(m.a,{initialOpen:!0,backgroundColor:C,backgroundImageID:E,backgroundImageURL:k,backgroundOpacity:x,fixedBackground:O,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,l=e.id;return n({backgroundImageURL:t,backgroundImageID:l})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})},onChangeFixedBackground:function(e){return n({fixedBackground:!!e})}}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:c,buttonTextColor:b,buttonSize:p,buttonBorderRadius:d,onChangeButtonColor:function(e){return n({buttonColor:e})},onChangeButtonTextColor:function(e){return n({buttonTextColor:e})},onChangeButtonSize:function(e){n({size:e})},onChangeButtonBorderRadius:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:N,style:j},wp.element.createElement("div",{className:"ugb-header-wrapper"},wp.element.createElement(g.n,{tagName:"h2",className:"ugb-header-title",placeholder:h.default,value:h,onChange:function(e){return n({title:e})},style:{textAlign:v,color:f}}),wp.element.createElement(g.n,{tagName:"p",className:"ugb-header-subtitle",placeholder:w.default,value:w,onChange:function(e){return n({subtitle:e})},style:{textAlign:v,color:y}}),wp.element.createElement(i.a,{size:p,align:v,color:b,backgroundColor:c,text:u,borderRadius:d,onChange:function(e){return n({buttonText:e})}}))),l&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+v},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:r,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.buttonURL,o=n.buttonText,r=n.buttonColor,u=n.buttonTextColor,i=n.cornerButtonRadius,s=n.size,m=n.title,b=n.titleColor,d=n.subtitle,p=n.subtitleColor,h=n.contentAlign,f=n.backgroundColor,w=(n.backgroundImageID,n.backgroundImageURL),y=n.backgroundOpacity,v=n.fixedBackground,C=a()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(y/1)],{"ugb-has-background":f||w,"ugb-has-background-image":w}),E={backgroundColor:f||void 0,backgroundImage:w?"url("+w+")":void 0,backgroundAttachment:v?"fixed":void 0,"--ugb-background-color":w?f:void 0,textAlign:h||void 0};return wp.element.createElement("div",{className:C,style:E},wp.element.createElement("div",{className:"ugb-header-wrapper"},!g.n.isEmpty(m)&&wp.element.createElement(g.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:b},value:m}),!g.n.isEmpty(d)&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:p},value:d}),o&&!!o.length&&wp.element.createElement(c.a,{size:s,url:l,align:h,color:u,text:o,backgroundColor:r,borderRadius:i})))},h={title:{source:"html",selector:"h2",default:Object(g.s)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(g.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(g.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},opacity:{type:"number",default:5},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},id:{type:"number"}};Object(g.A)("ugb/header",{title:Object(g.s)("Header"),icon:u.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Header"),Object(g.s)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes:h,deprecated:[{attributes:b.h,save:b.d,migrate:function(e){return Object.assign({},e,{backgroundOpacity:e.opacity,backgroundImageID:e.id,backgroundImageURL:e.url})}},{attributes:b.g,save:b.c},{attributes:b.f,save:b.b},{attributes:b.e,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function o(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function r(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"d",function(){return s}),n.d(t,"h",function(){return m}),n.d(t,"c",function(){return b}),n.d(t,"g",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"f",function(){return p}),n.d(t,"a",function(){return h}),n.d(t,"e",function(){return f});var a=n(1),u=n.n(a),i=n(0),c=n(9),s=function(e){var t=e.className,n=e.attributes,o=n.url,r=n.buttonURL,a=n.buttonText,s=n.buttonColor,m=n.buttonTextColor,b=n.cornerButtonRadius,g=n.size,d=n.title,p=n.titleColor,h=n.subtitle,f=n.subtitleColor,w=n.contentAlign,y=(n.id,n.backgroundColor),v=n.opacity,C={backgroundImage:o?"url("+o+")":void 0,textAlign:w||void 0},E=u()([t,"ugb-header"],{"has-image":o,"has-no-content":!d&&!h&&!a,"has-content":d||h||a}),k=u()([l(v),"ugb-header-overlay"],{"overlay-opacity":0!==v});return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:k,style:{backgroundColor:y}}),wp.element.createElement("section",{key:"preview","data-url":o,style:C,className:"ugb-header-section"},!i.n.isEmpty(d)&&wp.element.createElement(i.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:p},value:d}),!i.n.isEmpty(h)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:h}),a&&!!a.length&&wp.element.createElement(c.c,{size:g,url:r,align:w,color:m,text:a,backgroundColor:s,borderRadius:b})))},m={title:{source:"html",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(i.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(i.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},b=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,a=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,g=t.title,d=t.titleColor,p=t.subtitle,h=t.subtitleColor,f=t.contentAlign,w=(t.id,t.backgroundColor),y=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(o(y),{"overlay-opacity":0!==y}),k=g.length||p.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+k},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!i.n.isEmpty(p)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:p}),r&&!!r.length&&wp.element.createElement(c.b,{size:b,url:l,align:f,color:s,text:r,backgroundColor:a,borderRadius:m})))},g={title:{type:"array",source:"children",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(i.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},d=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,a=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,g=t.title,d=t.titleColor,p=t.subtitle,h=t.subtitleColor,f=t.contentAlign,w=(t.id,t.backgroundColor),y=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(o(y),{"overlay-opacity":0!==y}),k=g.length||p.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+k},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!i.n.isEmpty(p)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:p}),r&&!!r.length&&wp.element.createElement(c.a,{size:b,url:l,align:f,color:s,text:r,backgroundColor:a,borderRadius:m})))},p={title:{type:"array",source:"children",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(i.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},h=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,o=t.buttonText,a=t.buttonColor,i=t.buttonTextColor,c=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,g=t.subtitle,d=t.subtitleColor,p=(t.contentAlign,t.id,t.backgroundColor),h=t.opacity,f={backgroundColor:a,color:i,borderRadius:c+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,y=n?"has-image":"",v=u()(r(h),{"overlay-opacity":0!==h}),C=m||g||o?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+y+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+v,style:{backgroundColor:p}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),g&&!!g.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:d}},g),o&&!!o.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:f},o)))},f={title:{type:"array",source:"children",selector:"h2",default:Object(i.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(i.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(78),r=(n.n(o),n(79)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(80),s=n(8),m=n(3),b=n(81),g=n(0),d=function(e){var t=e.className,n=e.setAttributes,o=e.isSelected,r=(e.editable,e.setState,e.attributes),a=r.titleColor,i=r.subtitleColor,m=r.overlayColor,b=r.height,d=r.width,p=r.verticalAlign,h=r.horizontalAlign,f=r.align,w=r.columns,y=u()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-"+w]),v={textAlign:h||void 0,"--overlay-color":m};return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:h,onChange:function(e){return n({horizontalAlign:e})}}),wp.element.createElement(c.a,{value:p,onChange:function(e){return n({verticalAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.j,null,wp.element.createElement(g.m,{label:Object(g.s)("Columns"),value:w,onChange:function(e){return n({columns:e})},min:1,max:4}),wp.element.createElement(g.m,{label:Object(g.s)("Height"),value:b,min:"135",max:"700",onChange:function(e){return n({height:e})}}),"wide"!==f&&"full"!==f&&1===w&&wp.element.createElement(g.m,{label:Object(g.s)("Width"),value:d,min:"400",max:"999",help:Object(g.s)("Only available for single column & if centered"),onChange:function(e){return n({width:e})}})),wp.element.createElement(g.k,{title:Object(g.s)("Color Settings"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return n({overlayColor:e})},label:Object(g.s)("Overlay Color")},{value:a,onChange:function(e){return n({titleColor:e})},label:Object(g.s)("Title Color")},{value:i,onChange:function(e){return n({subtitleColor:e})},label:Object(g.s)("Subtitle Color")}]})),wp.element.createElement("div",{className:y,style:v},[1,2,3,4].map(function(e){var t=r["imageURL"+e],u=r["imageID"+e],c=r["title"+e],m=r["description"+e],y=r["link"+e],v={backgroundImage:t?"url("+t+")":void 0,maxWidth:"wide"!==f&&"full"!==f&&1===w?d:void 0,height:b,textAlign:h,justifyContent:p};return wp.element.createElement("div",{className:"ugb-image-box-editor-wrapper"},wp.element.createElement("div",{className:"ugb-image-box",style:v},wp.element.createElement(s.a,{imageID:u,imageURL:t,onRemove:function(){var t;n((t={},l(t,"imageURL"+e,""),l(t,"imageID"+e,""),t))},onChange:function(t){var o,r=t.url,a=t.id;n((o={},l(o,"imageURL"+e,r),l(o,"imageID"+e,a),o))},render:null}),t&&wp.element.createElement("a",{href:y}),t&&wp.element.createElement(g.n,{tagName:"h4",placeholder:Object(g.s)("Image Title"),value:c,onChange:function(t){return n(l({},"title"+e,t))},style:{color:a},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement(g.n,{tagName:"p",placeholder:Object(g.s)("Image description"),value:m,onChange:function(t){return n(l({},"description"+e,t))},style:{color:i},keepPlaceholderOnFocus:!0})),o&&wp.element.createElement("form",{className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:y,onChange:function(t){n(l({},"link"+e,t))}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("Apply"),type:"submit"})))})))},p=function(e){var t=e.className,n=e.attributes,l=e.attributes,o=l.titleColor,r=l.subtitleColor,a=l.overlayColor,i=l.height,c=l.width,s=l.verticalAlign,b=l.horizontalAlign,d=l.align,p=l.columns,h=u()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-"+p]),f={textAlign:b||void 0,"--overlay-color":a};return wp.element.createElement("div",{className:h,style:f},Object(m.b)(1,p+1).map(function(e){var t=n["imageURL"+e],l=(n["imageID"+e],n["title"+e]),a=n["description"+e],u=n["link"+e],m={backgroundImage:t?"url("+t+")":void 0,maxWidth:"wide"!==d&&"full"!==d&&1===p?c:void 0,height:i,textAlign:b,justifyContent:s};return wp.element.createElement("div",{className:"ugb-image-box",style:m},wp.element.createElement("a",{href:u}),!g.n.isEmpty(l)&&wp.element.createElement(g.n.Content,{tagName:"h4",style:{color:o},value:l}),!g.n.isEmpty(a)&&wp.element.createElement(g.n.Content,{tagName:"p",style:{color:r},value:a}))}))},h={columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1},title:{source:"html",selector:"h4",default:Object(g.s)("Title")},subtitle:{source:"html",selector:"p",default:Object(g.s)("Subtitle goes here")},id:{type:"number"},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"}};[1,2,3,4].forEach(function(e){h["title"+e]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child("+e+") h4",default:Object(g.s)("Title")},h["description"+e]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child("+e+") p",default:Object(g.s)("Image description")},h["imageURL"+e]={type:"string"},h["imageID"+e]={type:"number"},h["link"+e]={type:"string",source:"attribute",selector:".ugb-image-box-wrapper > *:nth-child("+e+") a",attribute:"href"}}),Object(g.A)("ugb/image-box",{title:Object(g.s)("Image Box"),icon:i.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Image Box"),Object(g.s)("Stackable")],supports:l({align:!0},"align",["center","wide","full"]),attributes:h,deprecated:[{attributes:b.d,save:b.b,migrate:function(e){return Object(g.z)(Object.assign({},e,{columns:1,horizontalAlign:"flex-end"===e.horizontalAlign?"right":"flex-start"===e.horizontalAlign?"left":e.horizontalAlign,align:e.full?"wide":"",title1:e.title,description1:e.subtitle,link1:e.href,imageURL1:e.url,imageID1:e.id}),["full","title","subtitle","href","url","id"])}},{attributes:b.c,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){function t(e){return function(){return r(l===e?void 0:e)}}var n=e.isCollapsed,l=e.value,r=e.onChange,u=a(m,function(e){return e.align===l});return wp.element.createElement(o.q,{isCollapsed:n,icon:u?u.icon:s(),label:Object(o.s)("Change Vertical Alignment"),controls:m.map(function(e){var n=e.align,o=l===n;return Object.assign({},e,{isActive:o,onClick:t(n)})})})}var o=n(0),r=lodash,a=r.find,u=wp.viewport.withViewportMatch,i=wp.data.withSelect,c=wp.compose.compose,s=function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"3",width:"14",height:"2"}),wp.element.createElement("path",{d:"M10.6,17.1H9.4V8.4L8.1,9.7L7,9l3-3l3,3l-1.1,0.8l-1.3-1.3C10.6,8.5,10.6,17.1,10.6,17.1z"}))},m=[{icon:s(),title:Object(o.s)("Align Top"),align:"flex-start"},{icon:function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"9",width:"14",height:"2"}),wp.element.createElement("path",{d:"M10.6,18.4H9.4v-3.9l-1.3,1.3L7,15l3-3l3,3l-1.1,0.8l-1.3-1.3V18.4z"}),wp.element.createElement("path",{d:"M9.4,1.6h1.2v3.9l1.3-1.3L13,5l-3,3L7,5l1.1-0.8l1.3,1.3V1.6z"}))}(),title:Object(o.s)("Align center"),align:"center"},{icon:function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"15.1",width:"14",height:"2"}),wp.element.createElement("path",{d:"M9.4,2.9h1.2v8.6l1.3-1.3L13,11l-3,3l-3-3l1.1-0.8l1.3,1.3V2.9z"}))}(),title:Object(o.s)("Align right"),align:"flex-end"}];t.a=c(u({isLargeViewport:"medium"}),i(function(e,t){var n=t.clientId,l=t.isLargeViewport,o=t.isCollapsed,r=e("core/editor"),a=r.getBlockRootClientId,u=r.getEditorSettings;return{isCollapsed:o||!l||!u().hasFixedToolbar&&a(n)}}))(l)},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return c});var l=n(1),o=n.n(l),r=n(0),a=function(e){var t=e.className,n=e.attributes,l=n.url,a=n.href,u=n.title,i=n.titleColor,c=n.subtitle,s=n.subtitleColor,m=n.overlayColor,b=(n.id,n.height),g=n.width,d=n.verticalAlign,p=n.horizontalAlign,h=n.full,f=o()([t,"ugb-image-box"],{"has-image":l,"full-width":h,"has-no-content":!u&&!c,"has-content":u||c});return wp.element.createElement("div",{className:f,"data-url":l,style:{width:g+"px",height:b+"px",backgroundImage:"url("+l+")",alignItems:p,justifyContent:d}},wp.element.createElement("a",{href:a,style:{backgroundColor:m}}),!r.n.isEmpty(u)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:i},value:u}),!r.n.isEmpty(c)&&wp.element.createElement(r.n.Content,{tagName:"p",style:{color:s},value:c}))},u={title:{source:"html",selector:"h4",default:Object(r.s)("Title")},subtitle:{source:"html",selector:"p",default:Object(r.s)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},i={title:{type:"array",source:"children",selector:"h4",default:Object(r.s)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(r.s)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},c=function(e){var t=e.attributes,n=t.url,l=t.title,o=t.titleColor,a=t.subtitle,u=t.subtitleColor,i=t.overlayColor,c=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,g=t.full,d=n?"has-image":"",p=g?"full-width":"",h=l.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+d+" "+h+" "+p,"data-url":n,style:{width:s+"px",height:c+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:i}}),!r.n.isEmpty(l)&&wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:o},value:l}),!r.n.isEmpty(a)&&wp.element.createElement(r.n.Content,{tagName:"p",style:{color:u},value:a}))}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return"ugb-has-background-opacity-"+1*Math.round(e/1)}var r=n(83),a=(n.n(r),n(84)),u=(n.n(a),n(1)),i=n.n(u),c=n(2),s=n(85),m=n(3),b=n(7),g=n(0),d=function(e){var t=e.setAttributes,n=e.className,r=e.attributes,a=r.columns,u=r.backgroundColor,c=r.backgroundImageID,s=r.backgroundImageURL,m=r.backgroundOpacity,d=r.fixedBackground,p=r.textColor,h=r.countColor,f=r.countSize,w=i()([n,"ugb-countup","ugb-countup-v2","columns-"+a,o(m)],{"ugb-has-background":u||s,"ugb-has-background-image":s}),y={backgroundColor:u||void 0,backgroundImage:s?"url("+s+")":void 0,backgroundAttachment:d?"fixed":void 0,"--ugb-background-color":s?u:void 0};return wp.element.createElement(g.f,null,wp.element.createElement("div",{className:w,style:y},[1,2,3,4].map(function(e){var n=r["title"+e],o=r["description"+e],a=r["countText"+e];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},wp.element.createElement(g.n,{tagName:"h4",value:n,placeholder:Object(g.s)("Stat Title"),onChange:function(n){return t(l({},"title"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{tagName:"div",className:"ugb-counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:a,onChange:function(n){return t(l({},"countText"+e,n))},style:{color:h||void 0,fontSize:f?f+"px":void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{tagName:"p",className:"ugb-counter-des",placeholder:Object(g.s)("Stat Description"),value:o,onChange:function(n){return t(l({},"description"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}))})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{title:Object(g.s)("Color Settings"),colorSettings:[{value:p,onChange:function(e){return t({textColor:e})},label:Object(g.s)("Heading & Description Color")},{value:h,onChange:function(e){return t({countColor:e})},label:Object(g.s)("Counter Color")}]},wp.element.createElement(g.m,{label:Object(g.s)("Columns"),value:a,onChange:function(e){return t({columns:e})},min:1,max:4}),wp.element.createElement(g.m,{label:Object(g.s)("Counter Text Size"),max:"100",min:"10",value:f,onChange:function(e){return t({countSize:e})}})),wp.element.createElement(b.a,{backgroundColor:u,backgroundImageID:c,backgroundImageURL:s,backgroundOpacity:m,fixedBackground:d,onChangeBackgroundColor:function(e){return t({backgroundColor:e})},onChangeBackgroundImage:function(e){var n=e.url,l=e.id;return t({backgroundImageURL:n,backgroundImageID:l})},onRemoveBackgroundImage:function(){t({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return t({backgroundOpacity:e})},onChangeFixedBackground:function(e){return t({fixedBackground:!!e})}})))},p=function(e){var t=e.className,n=e.attributes,l=n.columns,r=n.backgroundColor,a=n.backgroundImageURL,u=n.fixedBackground,c=n.backgroundOpacity,s=n.textColor,b=n.countColor,d=n.countSize,p=i()([t,"ugb-countup","ugb-countup-v2","columns-"+l,o(c)],{"ugb-has-background":r||a,"ugb-has-background-image":a}),h={backgroundColor:r||void 0,backgroundImage:a?"url("+a+")":void 0,backgroundAttachment:u?"fixed":void 0,"--ugb-background-color":a?r:void 0};return wp.element.createElement("div",{className:p,style:h},Object(m.b)(1,l+1).map(function(e){var t=n["title"+e],l=n["description"+e],o=n["countText"+e];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},!g.n.isEmpty(t)&&wp.element.createElement(g.n.Content,{tagName:"h4",style:{color:s||void 0},value:t}),!g.n.isEmpty(o)&&wp.element.createElement(g.n.Content,{tagName:"div",className:"ugb-counter",style:{color:b||void 0,fontSize:d?d+"px":void 0},value:o,"data-duration":"1000","data-delay":"16"}),!g.n.isEmpty(l)&&wp.element.createElement(g.n.Content,{tagName:"p",style:{color:s||void 0},value:l}))}))},h={columns:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup-item:nth-child(1) h4",default:Object(g.s)("Stat Title")},title2:{source:"html",selector:".ugb-countup-item:nth-child(2) h4",default:Object(g.s)("Stat Title")},title3:{source:"html",selector:".ugb-countup-item:nth-child(3) h4",default:Object(g.s)("Stat Title")},title4:{source:"html",selector:".ugb-countup-item:nth-child(4) h4",default:Object(g.s)("Stat Title")},countText1:{source:"html",selector:".ugb-countup-item:nth-child(1) .ugb-counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup-item:nth-child(2) .ugb-counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup-item:nth-child(3) .ugb-counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup-item:nth-child(4) .ugb-counter",default:"\xa399.99"},description1:{source:"html",selector:".ugb-countup-item:nth-child(1) p",default:Object(g.s)("stat description")},description2:{source:"html",selector:".ugb-countup-item:nth-child(2) p",default:Object(g.s)("stat description")},description3:{source:"html",selector:".ugb-countup-item:nth-child(3) p",default:Object(g.s)("stat description")},description4:{source:"html",selector:".ugb-countup-item:nth-child(4) p",default:Object(g.s)("stat description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},title:{source:"html",selector:"h4",default:Object(g.s)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(g.s)("and counting")},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}};Object(g.A)("ugb/count-up",{title:Object(g.s)("Count Up"),icon:c.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Count Up"),Object(g.s)("Stackable")],attributes:h,supports:l({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:s.b,save:s.a,migrate:function(e){return{columns:1,title1:e.title,description1:e.des,countText1:e.counter,textColor:e.headingColor,countColor:e.color,countSize:e.fontSize}}}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u});var l=n(1),o=n.n(l),r=n(0),a={title:{source:"html",selector:"h4",default:Object(r.s)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(r.s)("and counting")},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},u=function(e){var t=e.className,n=e.attributes,l=n.color,a=n.headingColor,u=n.desColor,i=n.title,c=n.counter,s=n.des,m=n.fontSize,b=o()([t,"ugb-countup"]);return wp.element.createElement("div",{className:b},wp.element.createElement(r.n.Content,{tagName:"h4",style:{color:a},value:i}),wp.element.createElement(r.n.Content,{tagName:"div",className:"ugb-counter",style:{color:l,fontSize:m+"px"},value:c,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(r.n.Content,{tagName:"p",style:{color:u},value:s}))}},function(e,t,n){"use strict";var l=n(87),o=(n.n(l),n(88)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(3),c=n(7),s=n(89),m=n(0),b={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},g=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,o=e.attributes,r=o.videoLink,u=(o.videoID,o.backgroundImageID),s=o.backgroundImageURL,g=o.backgroundColor,d=o.playButtonType,p=o.backgroundOpacity,h=[{value:"normal",label:Object(m.s)("Normal Play Button")},{value:"circle",label:Object(m.s)("Play Button with Circle")},{value:"outline",label:Object(m.s)("Outline Play Button")}],f=a()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(p/1)],{"ugb-has-background":g||s,"ugb-has-background-image":s}),w={backgroundColor:g||void 0,backgroundImage:s?"url("+s+")":void 0,"--ugb-background-color":s?g:void 0};return wp.element.createElement(m.f,null,wp.element.createElement(m.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.o,{label:Object(m.s)("Play Button Style"),value:d,options:h.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}})),wp.element.createElement(c.a,{initialOpen:!0,backgroundColor:g,backgroundImageID:u,backgroundImageURL:s,backgroundOpacity:p,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,l=e.id;return n({backgroundImageURL:t,backgroundImageID:l})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})}})),wp.element.createElement("div",{className:f,style:w},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("span",{className:"ugb-play-button"},b[d]))),l&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.r,{value:r,onChange:function(e){n({videoLink:e,videoID:Object(i.a)(e).id})}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.s)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,Object(m.s)("Youtube / Vimeo only")))))},d=function(e){var t=e.className,n=e.attributes,l=(n.videoLink,n.videoID),o=n.playButtonType,r=(n.backgroundImageID,n.backgroundImageURL),u=n.backgroundColor,i=n.backgroundOpacity,c=a()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(i/1)],{"ugb-has-background":u||r,"ugb-has-background-image":r}),s={backgroundColor:u||void 0,backgroundImage:r?"url("+r+")":void 0,"--ugb-background-color":r?u:void 0};return wp.element.createElement("div",{className:c,style:s,"data-video":l},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#"}),wp.element.createElement("span",{className:"ugb-play-button"},b[o])))},p={videoLink:{type:"string"},videoID:{type:"string",source:"attribute",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}};Object(m.A)("ugb/video-popup",{title:Object(m.s)("Video Popup"),icon:u.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.s)("Video Popup"),Object(m.s)("Stackable")],attributes:p,deprecated:[{attributes:s.d,save:s.b,migrate:function(e){return Object(m.z)(Object.assign({},e,{backgroundOpacity:5,backgroundColor:e.overlayColor,backgroundImageID:e.mediaID,backgroundImageURL:e.mediaLink}),["overlayColor","mediaID","mediaLink"])}},{attributes:s.c,migrate:function(e){return e.videoID=e.videoLink,e},save:s.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return u}),n.d(t,"a",function(){return c});var l=n(1),o=n.n(l),r=function(e){var t=e.className,n=e.attributes,l=n.videoLink,r=n.videoID,a=n.mediaLink,u=n.overlayColor,c=n.playButtonType,s=(n.mediaID,o()([t,"ugb-video-popup"]));return wp.element.createElement("div",{className:s,"data-video":r,"data-video-url":l,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+a+")"},"data-url":a}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},i[c])))},a={videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video-url"},videoID:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},u={videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},i={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},c=function(e){var t=e.attributes,n=t.videoLink,l=t.mediaLink,o=t.overlayColor,r=t.playButtonType;t.mediaID;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:o}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+l+")"},"data-url":l}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:o}}),wp.element.createElement("span",{className:"ugb-play-button"},i[r])))}},function(e,t,n){"use strict";var l=n(91),o=(n.n(l),n(92)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(8),b=n(93),g=n(0),d=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),l=e.setAttributes,o=e.attributes,r=o.heading,u=o.tagline,c=o.des,b=o.mediaID,d=o.mediaURL,p=o.headingColor,h=o.taglineColor,f=o.desColor,w=o.buttonURL,y=o.buttonText,v=o.buttonColor,C=o.buttonTextColor,E=o.size,k=o.cornerButtonRadius,x=o.contentAlign,O=a()([n,"ugb-card"],{"has-image":d});return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:x,onChange:function(e){return l({contentAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{title:Object(g.s)("Text Colors"),colorSettings:[{value:p,onChange:function(e){return l({headingColor:e})},label:Object(g.s)("Heading Color")},{value:h,onChange:function(e){return l({taglineColor:e})},label:Object(g.s)("Tagline Color")},{value:f,onChange:function(e){return l({desColor:e})},label:Object(g.s)("Description Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:v,buttonTextColor:C,buttonSize:E,buttonBorderRadius:k,onChangeButtonColor:function(e){return l({buttonColor:e})},onChangeButtonTextColor:function(e){return l({buttonTextColor:e})},onChangeButtonSize:function(e){l({size:e})},onChangeButtonBorderRadius:function(e){return l({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:O},wp.element.createElement(m.a,{className:"ugb-card-image-container",imageID:b,imageURL:d,onRemove:function(){l({mediaURL:"",mediaID:""})},onChange:function(e){var t=e.url,n=e.id;l({mediaURL:t,mediaID:n})}}),wp.element.createElement(g.n,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return l({heading:e})},style:{color:p,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return l({tagline:e})},style:{color:h,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.n,{tagName:"p",value:c,className:"ugb-card-des",onChange:function(e){return l({des:e})},style:{color:f,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:E,align:x,color:C,backgroundColor:v,text:y,borderRadius:k,onChange:function(e){return l({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+x,style:{marginTop:10}},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.r,{value:w,onChange:function(e){return l({buttonURL:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.s)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,l=n.heading,o=n.tagline,r=n.des,u=n.mediaURL,i=(n.mediaID,n.headingColor),s=n.taglineColor,m=n.desColor,b=n.buttonURL,d=n.buttonText,p=n.buttonColor,h=n.buttonTextColor,f=n.size,w=n.cornerButtonRadius,y=n.contentAlign,v=a()([t,"ugb-card"],{"has-image":u});return wp.element.createElement("div",{className:v},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:y},"data-src":u}),!g.n.isEmpty(l)&&wp.element.createElement(g.n.Content,{tagName:"h4",style:{color:i,textAlign:y},value:l}),!g.n.isEmpty(o)&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:y},value:o}),!g.n.isEmpty(r)&&wp.element.createElement(g.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:m,textAlign:y},value:r}),d&&!!d.length&&wp.element.createElement(c.a,{size:f,url:b,align:y,color:h,text:d,backgroundColor:p,borderRadius:w}))},h={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:Object(g.s)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(g.s)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(g.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(g.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(g.A)("ugb/card",{title:Object(g.s)("Card"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.s)("Card"),Object(g.s)("Stackable")],attributes:h,deprecated:[{attributes:b.d,save:b.b},{attributes:b.c,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return i});var l=n(0),o=n(9),r={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},a=function(e){var t=e.attributes,n=t.heading,r=t.tagline,a=t.des,u=t.mediaURL,i=(t.mediaID,t.headingColor),c=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,g=t.buttonColor,d=t.buttonTextColor,p=t.size,h=t.cornerButtonRadius,f=t.contentAlign,w=u?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:f},"data-src":u}),!l.n.isEmpty(n)&&wp.element.createElement(l.n.Content,{tagName:"h4",style:{color:i,textAlign:f},value:n}),!l.n.isEmpty(r)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:f},value:r}),!l.n.isEmpty(a)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:f},value:a}),b&&!!b.length&&wp.element.createElement(o.a,{size:p,url:m,align:f,color:d,text:b,backgroundColor:g,borderRadius:h}))},u=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),u=t.taglineColor,i=t.desColor,c=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,g=t.size,d=t.cornerButtonRadius,p=t.contentAlign,h={backgroundColor:m,color:b,borderRadius:d+"px"},f=r?"has-image":"",w=n||l||o||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+f+" "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:p},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:p}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:u,textAlign:p}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:i,textAlign:p}},o),s&&!!s.length&&wp.element.createElement("a",{href:c,className:"wp-ugb-button wp-block-button ugb-button-"+g+" ugb-button-"+p,style:h},s))},i={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(95),r=(n.n(o),n(96)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(3),s=n(8),m=n(0),b=function(e){var t=e.isSelected,n=(e.setState,e.className),o=e.setAttributes,r=e.attributes,a=r.columns,i=r.imageSize,c=u()([n,"ugb-feature-grid","columns-"+a]);return wp.element.createElement(m.f,null,wp.element.createElement(m.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.m,{label:Object(m.s)("Columns"),value:a,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(m.m,{label:Object(m.s)("Image Size %"),value:i,onChange:function(e){return o({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:c},[1,2,3].map(function(e){var n=r["imageUrl"+e],a=r["imageID"+e],u=r["title"+e],c=r["description"+e],b=r["linkUrl"+e],g=r["linkText"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-feature-grid-item"},wp.element.createElement("div",null,wp.element.createElement(s.a,{imageID:a,imageURL:n,onRemove:function(){var t;o((t={},l(t,"imageUrl"+e,""),l(t,"imageID"+e,""),t))},onChange:function(t){var n,r=t.url,a=t.id;o((n={},l(n,"imageUrl"+e,r),l(n,"imageID"+e,a),n))},render:wp.element.createElement("img",{src:n,style:{width:i+"%"}}),style:{width:i+"%"}})),wp.element.createElement(m.n,{tagName:"h5",value:u,onChange:function(t){return o(l({},"title"+e,t))},placeholder:d["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(m.n,{tagName:"p",value:c,onChange:function(t){return o(l({},"description"+e,t))},placeholder:d["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(m.n,{tagName:"span",value:g,onChange:function(t){return o(l({},"linkText"+e,t))},placeholder:d["linkText"+e].default,formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})))),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.r,{value:b,onChange:function(t){return o(l({},"linkUrl"+e,t))}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.s)("Apply"),type:"submit"})))})))},g=function(e){var t=e.attributes,n=e.className,l=t.columns,o=t.imageSize,r=u()([n,"ugb-feature-grid","columns-"+l]);return wp.element.createElement("div",{className:r},Object(c.b)(1,l+1).map(function(e){var n=t["imageUrl"+e],l=t["title"+e],r=t["description"+e],a=t["linkUrl"+e],u=t["linkText"+e];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:o+"%"}}),!m.n.isEmpty(l)&&wp.element.createElement(m.n.Content,{tagName:"h5",className:"ugb-fg-title",value:l}),!m.n.isEmpty(r)&&wp.element.createElement(m.n.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!m.n.isEmpty(u)&&wp.element.createElement("p",null,wp.element.createElement(m.n.Content,{tagName:"a",href:a,value:u,className:"ugb-fg-link"})))}))},d={columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:Object(m.s)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(m.s)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(m.s)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(m.s)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(m.s)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(m.s)("Some feature description for an awesome feature")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:Object(m.s)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(m.s)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(m.s)("View More")}};Object(m.A)("ugb/feature-grid",{title:Object(m.s)("Feature Grid"),icon:i.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.s)("Feature Grid"),Object(m.s)("Stackable")],attributes:d,edit:b,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(98),o=(n.n(l),n(99)),r=(n.n(o),n(1)),a=n.n(r),u=n(2),i=n(3),c=n(0),s=n(100),m={check:{iconFunc:s.e,circleFunc:s.d,outlineFunc:s.f,title:Object(c.s)("Check"),value:"check"},plus:{iconFunc:s.k,circleFunc:s.j,outlineFunc:s.l,title:Object(c.s)("Plus"),value:"plus"},arrow:{iconFunc:s.b,circleFunc:s.a,outlineFunc:s.c,title:Object(c.s)("Arrow"),value:"arrow"},cross:{iconFunc:s.h,circleFunc:s.g,outlineFunc:s.i,title:Object(c.s)("Cross"),value:"cross"},star:{iconFunc:s.n,circleFunc:s.m,outlineFunc:s.o,title:Object(c.s)("Star"),value:"star"}},b=function(e){return"circle"===e||"outline"===e?e+"Func":"iconFunc"},g=function(e,t,n){var l=b(t),o=Object(i.c)(m[e][l](n),!1);return btoa(o)},d=function(e){function t(e){return function(){return o({icon:e})}}function n(e){return function(){return o({iconShape:e})}}var l=(e.isSelected,e.setState,e.className),o=e.setAttributes,r=(e.insertBlocksAfter,e.attributes),u=r.icon,i=r.iconShape,s=r.iconColor,d=r.iconSize,p=r.text,h=r.columns,f=r.gap,w=a()([l,"ugb-icon-list","ugb-icon-"+u,"column-"+h]),y=g(u,i,s),v={"--icon":"url('data:image/svg+xml;base64,"+y+"')","--icon-size":d?d+"px":void 0,"--gap":f?f+"px":void 0};return wp.element.createElement(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.b,{label:Object(c.s)("Icon")},wp.element.createElement(c.q,{icon:m[u].iconFunc(),controls:Object.keys(m).map(function(e){return Object.assign({},m[e],{icon:m[e].iconFunc(),isActive:u===e,onClick:t(e)})})})),wp.element.createElement(c.b,{label:Object(c.s)("Icon Shape")},wp.element.createElement(c.q,{icon:m[u][b(i)](),controls:["","circle","outline"].map(function(e){var t=b(e);return Object.assign({},m[u],{icon:m[u][t](),isActive:i===e,onClick:n(e)})})})),wp.element.createElement(c.k,{title:Object(c.s)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:s,onChange:function(e){return o({iconColor:e})},label:Object(c.s)("Icon Color")}]}),wp.element.createElement(c.m,{label:Object(c.s)("Icon Size"),value:d,onChange:function(e){return o({iconSize:e})},min:8,max:30}),wp.element.createElement(c.m,{label:Object(c.s)("Columns"),value:h,onChange:function(e){return o({columns:e})},min:1,max:3}),wp.element.createElement(c.m,{label:Object(c.s)("List Gap"),value:f,onChange:function(e){return o({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:w,style:v},wp.element.createElement(c.n,{tagName:"ul",multiline:"li",value:p,onChange:function(e){return o({text:e})}})))},p=function(e){var t=e.className,n=e.attributes,l=n.icon,o=n.iconShape,r=n.iconColor,u=n.iconSize,i=n.text,s=n.columns,m=n.gap,b=a()([t,"ugb-icon-list","ugb-icon-"+l,"column-"+s]),d=g(l,o,r),p={"--icon":"url('data:image/svg+xml;base64,"+d+"')","--icon-size":u?u+"px":void 0,"--gap":m?m+"px":void 0};return wp.element.createElement(c.n.Content,{tagName:"ul",className:b,style:p,value:i})},h={icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}};Object(c.A)("ugb/icon-list",{title:Object(c.s)("Icon List"),icon:u.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Icon List"),Object(c.s)("Stackable")],attributes:h,edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"e",function(){return o}),n.d(t,"k",function(){return r}),n.d(t,"h",function(){return a}),n.d(t,"n",function(){return u}),n.d(t,"a",function(){return i}),n.d(t,"d",function(){return c}),n.d(t,"j",function(){return s}),n.d(t,"m",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return g}),n.d(t,"f",function(){return d}),n.d(t,"l",function(){return p}),n.d(t,"o",function(){return h}),n.d(t,"i",function(){return f});var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "}))},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"}))},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "}))},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "}))},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "}))},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97 L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"}))},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9 l68.8-68.8l0,0L156,65.3L76.6,144.7z"}))},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15 h46.6V42.9h15v46.6H151V104.5z"}))},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9 L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5 l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"}))},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 \t"}),wp.element.createElement("path",{d:"M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5 C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8 c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1 C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7 c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1 C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29 c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"}))},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5 138.6,89.5 104.5,89.5 \t"}),wp.element.createElement("path",{d:"M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4 S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3 c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"}))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}),wp.element.createElement("polygon",{points:"96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5 \t "}))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5 134.7,123.9 107.8,97 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(102),r=(n.n(o),n(103)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(4),s=n(5),m=n(6),b=n(7),g=n(8),d=n(104),p=n(0),h=function(e){var t,n=e.isSelected,o=(e.setState,e.className),r=e.setAttributes,a=e.attributes,i=a.invert,s=a.contentAlign,d=a.textColor,h=a.imageSize,f=a.imageID,y=a.imageUrl,v=a.title,C=a.description,E=a.buttonURL,k=a.buttonText,x=a.buttonColor,O=a.buttonTextColor,N=a.buttonSize,j=a.buttonBorderRadius,T=a.backgroundColor,B=a.backgroundImageID,I=a.backgroundImageURL,S=a.backgroundOpacity,L=a.fixedBackground,R=u()([o,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(S/1)],(t={},l(t,"ugb-content-"+s,s),l(t,"ugb-invert",i),l(t,"ugb-has-background",T||I),l(t,"ugb-has-background-image",I),t)),z={"--image-size":h?h+"px":void 0,backgroundColor:T||void 0,backgroundImage:I?"url("+I+")":void 0,backgroundAttachment:L?"fixed":void 0,"--ugb-background-color":I?T:void 0};return wp.element.createElement(p.f,null,wp.element.createElement(p.d,null,wp.element.createElement(p.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(p.h,null,wp.element.createElement(p.k,{initialOpen:!0,title:Object(p.s)("General Settings"),colorSettings:[{value:d,onChange:function(e){return r({textColor:e})},label:Object(p.s)("Text Color")}]},wp.element.createElement(p.p,{label:Object(p.s)("Reverse Horizontally"),checked:i,onChange:function(){return r({invert:!i})}}),wp.element.createElement(p.m,{label:Object(p.s)("Image Size"),value:h,onChange:function(e){return r({imageSize:e})},help:Object(p.s)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(b.a,{backgroundColor:T,backgroundImageID:B,backgroundImageURL:I,backgroundOpacity:S,fixedBackground:L,onChangeBackgroundColor:function(e){return r({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,n=e.id;return r({backgroundImageURL:t,backgroundImageID:n})},onRemoveBackgroundImage:function(){r({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return r({backgroundOpacity:e})},onChangeFixedBackground:function(e){return r({fixedBackground:!!e})}}),wp.element.createElement(m.a,{initialOpen:!1,buttonColor:x,buttonTextColor:O,buttonSize:N,buttonBorderRadius:j,onChangeButtonColor:function(e){return r({buttonColor:e})},onChangeButtonTextColor:function(e){return r({buttonTextColor:e})},onChangeButtonSize:function(e){r({buttonSize:e})},onChangeButtonBorderRadius:function(e){return r({buttonBorderRadius:e})}})),wp.element.createElement("div",{className:R,style:z},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(p.n,{tagName:"h2",value:v,onChange:function(e){return r({title:e})},placeholder:w.title.default,style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(p.n,{tagName:"p",value:C,onChange:function(e){return r({description:e})},placeholder:w.description.default,style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:N,align:s,color:O,backgroundColor:x,text:k,borderRadius:j,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(g.a,{imageID:f,imageURL:y,onRemove:function(){r({imageUrl:"",imageID:""})},onChange:function(e){var t=e.url,n=e.id;r({imageUrl:t,imageID:n})},render:wp.element.createElement("img",{src:y})})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+s},wp.element.createElement(p.e,{icon:"admin-links"}),wp.element.createElement(p.r,{value:E,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(p.g,{icon:"editor-break",label:Object(p.s)("Apply"),type:"submit"})))},f=function(e){var t,n=e.className,o=e.attributes,r=o.invert,a=o.contentAlign,i=o.textColor,c=o.imageSize,m=(o.imageID,o.imageUrl),b=o.title,g=o.description,d=o.buttonURL,h=o.buttonText,f=o.buttonColor,w=o.buttonTextColor,y=o.buttonSize,v=o.buttonBorderRadius,C=o.backgroundColor,E=(o.backgroundImageID,o.backgroundImageURL),k=o.backgroundOpacity,x=o.fixedBackground,O=u()([n,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(k/1)],(t={},l(t,"ugb-content-"+a,a),l(t,"ugb-invert",r),l(t,"ugb-has-background",C||E),l(t,"ugb-has-background-image",E),t)),N={"--image-size":c?c+"px":void 0,backgroundColor:C||void 0,backgroundImage:E?"url("+E+")":void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":E?C:void 0};return wp.element.createElement("div",{className:O,style:N},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!p.n.isEmpty(b)&&wp.element.createElement(p.n.Content,{tagName:"h2",style:{color:i},value:b}),!p.n.isEmpty(g)&&wp.element.createElement(p.n.Content,{tagName:"p",style:{color:i},value:g}),!p.n.isEmpty(h)&&wp.element.createElement(s.a,{size:y,url:d,align:a,color:w,text:h,backgroundColor:f,borderRadius:v})),wp.element.createElement("div",{className:"ugb-feature-image-side"},m&&wp.element.createElement("img",{src:m,alt:b}))))},w={textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:Object(p.s)("Feature Title")},description:{source:"html",selector:"p",default:Object(p.s)("Some feature description for an awesome feature")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(p.s)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}};Object(p.A)("ugb/feature",{title:Object(p.s)("Feature"),icon:i.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(p.s)("Feature"),Object(p.s)("Stackable")],supports:l({align:!0},"align",["center","wide","full"]),attributes:w,deprecated:[{attributes:d.b,save:d.a}],edit:h,save:f})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return c});var o=n(1),r=n.n(o),a=n(0),u=n(9),i={backgroundColor:{type:"string"},textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:Object(a.s)("Feature Title")},description:{source:"html",selector:"p",default:Object(a.s)("Some feature description for an awesome feature")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(a.s)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}},c=function(e){var t,n=e.className,o=e.attributes,i=o.invert,c=o.contentAlign,s=o.backgroundColor,m=o.textColor,b=o.imageSize,g=(o.imageID,o.imageUrl),d=o.title,p=o.description,h=o.buttonURL,f=o.buttonText,w=o.buttonColor,y=o.buttonTextColor,v=o.buttonSize,C=o.buttonBorderRadius,E=r()([n,"ugb-feature"],(t={"ugb-has-background":s},l(t,"ugb-content-"+c,c),l(t,"ugb-invert",i),t)),k={backgroundColor:s||void 0,"--image-size":b?b+"px":void 0};return wp.element.createElement("div",{className:E,style:k},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!a.n.isEmpty(d)&&wp.element.createElement(a.n.Content,{tagName:"h2",style:{color:m},value:d}),!a.n.isEmpty(p)&&wp.element.createElement(a.n.Content,{tagName:"p",style:{color:m},value:p}),!a.n.isEmpty(f)&&wp.element.createElement(u.c,{size:v,url:h,align:c,color:y,text:f,backgroundColor:w,borderRadius:C})),wp.element.createElement("div",{className:"ugb-feature-image-side"},g&&wp.element.createElement("img",{src:g,alt:d}))))}},function(e,t,n){"use strict";var l=n(0);Object(l.t)("stackable.get_pro","core",function(){})}]);
1
+ !function(e){function t(o){if(n[o])return n[o].exports;var l=n[o]={i:o,l:!1,exports:{}};return e[o].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=12)}([function(e,t,n){"use strict";n.d(t,"D",function(){return o}),n.d(t,"u",function(){return l}),n.d(t,"n",function(){return a}),n.d(t,"p",function(){return u}),n.d(t,"q",function(){return i}),n.d(t,"r",function(){return c}),n.d(t,"e",function(){return s}),n.d(t,"g",function(){return m}),n.d(t,"s",function(){return b}),n.d(t,"j",function(){return g}),n.d(t,"m",function(){return d}),n.d(t,"b",function(){return p}),n.d(t,"l",function(){return f}),n.d(t,"h",function(){return w}),n.d(t,"d",function(){return y}),n.d(t,"a",function(){return v}),n.d(t,"o",function(){return C}),n.d(t,"t",function(){return E}),n.d(t,"i",function(){return k}),n.d(t,"k",function(){return O}),n.d(t,"c",function(){return N}),n.d(t,"f",function(){return T}),n.d(t,"E",function(){return B}),n.d(t,"C",function(){return S}),n.d(t,"B",function(){return L}),n.d(t,"z",function(){return z}),n.d(t,"v",function(){return A}),n.d(t,"x",function(){return D}),n.d(t,"w",function(){return U}),n.d(t,"F",function(){return M}),n.d(t,"A",function(){return F}),n.d(t,"y",function(){return _});var o=wp.blocks.registerBlockType,l=wp.i18n.__,r=wp.components,a=r.RangeControl,u=r.SelectControl,i=r.TextControl,c=r.ToggleControl,s=r.Dashicon,m=r.IconButton,b=(r.Button,r.Toolbar),g=r.PanelBody,d=r.RadioControl,p=r.BaseControl,f=r.QueryControls,h=wp.editor.InspectorControls?wp.editor:wp.blocks,w=h.InspectorControls,y=h.BlockControls,v=h.AlignmentToolbar,C=h.RichText,E=h.URLInput,k=h.MediaUpload,x=wp.editor,O=x.PanelColorSettings,N=x.BlockAlignmentToolbar,j=wp.element,T=j.Fragment,B=j.renderToString,I=lodash,S=I.omit,L=I.merge,R=wp.hooks,z=R.doAction,A=R.addAction,D=R.applyFilters,U=R.addFilter,M=wp.data.withSelect,P=stackable,F=P.isPro,_=P.blockSrcUrl;P.primaryColor},function(e,t,n){var o,l;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var l=typeof o;if("string"===l||"number"===l)e.push(o);else if(Array.isArray(o)&&o.length){var a=n.apply(null,o);a&&e.push(a)}else if("object"===l)for(var u in o)r.call(o,u)&&o[u]&&e.push(u)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(o=[],void 0!==(l=function(){return n}.apply(t,o))&&(e.exports=l))}()},function(e,t,n){"use strict";n.d(t,"k",function(){return a}),n.d(t,"b",function(){return u}),n.d(t,"h",function(){return i}),n.d(t,"d",function(){return c}),n.d(t,"o",function(){return s}),n.d(t,"p",function(){return m}),n.d(t,"r",function(){return b}),n.d(t,"c",function(){return g}),n.d(t,"q",function(){return d}),n.d(t,"e",function(){return p}),n.d(t,"l",function(){return f}),n.d(t,"i",function(){return h}),n.d(t,"m",function(){return w}),n.d(t,"s",function(){return y}),n.d(t,"n",function(){return v}),n.d(t,"g",function(){return C}),n.d(t,"f",function(){return E}),n.d(t,"j",function(){return k}),n.d(t,"a",function(){return x});var o=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},l=1,r=function(){return"stk-icon-"+l++},a=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"20",height:"20"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},u=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z"}))},i=function(){return wp.element.createElement(u,null)},c=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},s=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 14 32"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 13 12.916010856628418"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},g=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 14"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},d=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 896 1023"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},p=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 8"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},f=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21.027502059936523 10.284000396728516"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},h=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 38"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 896"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},y=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},v=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 448"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))},C=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 95.11"},wp.element.createElement(o,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"50 0 65.45 31.31 100 36.33 75 60.7 80.9 95.11 50 78.86 19.1 95.11 25 60.7 0 36.33 34.55 31.31 50 0"}))},E=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(o,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,2.4 30.1,16.8 46,19.2 34.5,30.4 37.2,46.2 23,38.7 8.8,46.2 11.5,30.4 0,19.2 15.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,2.4 84.1,16.8 100,19.2 88.5,30.4 91.2,46.2 77,38.7 62.8,46.2 65.5,30.4 54,19.2 69.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,52.1 30.1,66.5 46,68.8 34.5,80 37.2,95.9 23,88.4 8.8,95.9 11.5,80 0,68.8 15.9,66.5 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,52.1 84.1,66.5 100,68.8 88.5,80 91.2,95.9 77,88.4 62.8,95.9 65.5,80 54,68.8 69.9,66.5 "}))},k=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(o,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,42.3 2.7,36.1 0,38.8 9,47.8 27.6,29.3 24.8,26.5 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"34.6",width:"64.8",height:"5.1"}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,70.7 2.7,64.4 0,67.1 9,76.2 27.6,57.6 24.8,54.8 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"63",width:"64.8",height:"5.1"}))},x=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon dashicons-grid-view",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(o,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z"}))}},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"c",function(){return r}),n.d(t,"a",function(){return a});var o=n(0),l=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(o.E)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n},a=function(e){var t="";return t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1],t||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:(t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[1],t||(t=(e.match(/^\d+$/i)||[])[1]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})}},function(e,t,n){"use strict";function o(e){var t=e.className,n=void 0===t?"":t,o=e.align,l=void 0===o?"center":o,u=e.size,i=void 0===u?"normal":u,c=e.color,s=e.text,m=void 0===s?"":s,b=e.backgroundColor,g=e.borderRadius,d=void 0===g?4:g,p=e.isSelected,f=void 0===p?null:p,h=e.onFocus,w=void 0===h?function(){}:h,y=e.onChange,v=void 0===y?function(){}:y,C={borderRadius:d+"px",backgroundColor:b||void 0},E=r()([n,"ugb-button","ugb-button-"+l,"ugb-button-"+i]);return wp.element.createElement("span",{className:E,style:C,"data-is-placeholder-visible":a.o.isEmpty(m)},wp.element.createElement(a.o,{tagName:"span",placeholder:Object(a.u)("Enter Text"),value:m,onChange:v,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:c},onFocus:w,isSelected:f,keepPlaceholderOnFocus:!0}))}var l=n(1),r=n.n(l),a=n(0);t.a=o},function(e,t,n){"use strict";function o(e){var t=e.className,n=void 0===t?"":t,o=e.align,l=void 0===o?"center":o,u=e.size,i=void 0===u?"normal":u,c=e.url,s=void 0===c?"":c,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},f=r()([n,"ugb-button","ugb-button-"+l,"ugb-button-"+i]);return wp.element.createElement("div",{className:f,style:p},wp.element.createElement(a.o.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}var l=n(1),r=n.n(l),a=n(0);t.a=o},function(e,t,n){"use strict";function o(e){var t=e.buttonColor,n=e.buttonTextColor,o=e.buttonSize,l=e.buttonBorderRadius,u=e.onChangeButtonColor,i=void 0===u?function(){}:u,c=e.onChangeButtonTextColor,s=void 0===c?function(){}:c,m=e.onChangeButtonSize,b=void 0===m?function(){}:m,g=e.onChangeButtonBorderRadius,d=void 0===g?function(){}:g;return wp.element.createElement(r.f,null,wp.element.createElement(r.k,a({initialOpen:!1,title:Object(r.u)("Button Settings"),colorSettings:[{value:t,onChange:i,label:Object(r.u)("Button Color")},{value:n,onChange:s,label:Object(r.u)("Text Color")}]},e),wp.element.createElement(r.p,{label:Object(r.u)("Size"),value:o,options:[{value:"small",label:Object(r.u)("Small")},{value:"normal",label:Object(r.u)("Normal")},{value:"medium",label:Object(r.u)("Medium")},{value:"large",label:Object(r.u)("Large")}],onChange:b}),wp.element.createElement(r.n,{label:Object(r.u)("Border Radius"),value:l,min:"1",max:"50",onChange:d})))}var l=n(1),r=(n.n(l),n(0)),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};t.a=o},function(e,t,n){"use strict";function o(e){var t=e.backgroundColor,n=e.backgroundImageID,o=e.backgroundImageURL,l=e.backgroundOpacity,r=e.fixedBackground,c=e.onChangeBackgroundColor,s=void 0===c?function(){}:c,m=e.onChangeBackgroundImage,b=e.onRemoveBackgroundImage,g=e.onChangeBackgroundOpacity,d=e.onChangeFixedBackground;return wp.element.createElement(u.f,null,wp.element.createElement(u.k,i({initialOpen:!1,title:Object(u.u)("Background Settings"),colorSettings:[{value:t,onChange:s,label:Object(u.u)("Background Color")}]},e),m&&wp.element.createElement(a.a,{label:Object(u.u)("Background Image"),onRemove:b,onChange:m,imageID:n,imageURL:o}),g&&wp.element.createElement(u.n,{label:Object(u.u)("Background Image Tint Strength"),value:l,onChange:g,min:0,max:10,step:1}),d&&wp.element.createElement(u.r,{label:Object(u.u)("Fixed Background"),checked:r,onChange:d})))}var l=n(40),r=(n.n(l),n(41)),a=(n.n(r),n(42)),u=n(0),i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};t.a=o},function(e,t,n){"use strict";var o=n(56),l=(n.n(o),n(1)),r=n.n(l),a=n(0),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(e){var t=e.imageID,n=e.imageURL,o=e.onChange,l=void 0===o?function(e){e.url,e.id}:o,i=e.onRemove,c=void 0===i?function(){}:i,s=e.className,m=void 0===s?"":s,b=e.allowedTypes,g=void 0===b?["image"]:b,d=e.render,p=void 0===d?void 0:d,f=e.hasRemove,h=void 0===f||f,w=r()([m,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),y={backgroundImage:n&&!p?"url("+n+")":void 0};return wp.element.createElement(a.i,{onSelect:l,allowedTypes:g,value:t,render:function(t){return n&&p?wp.element.createElement("div",u({},e,{render:void 0,className:w,onClick:t.open,style:y,"data-is-placeholder-visible":!n}),p):wp.element.createElement("div",u({},e,{className:w,onClick:t.open,style:y,"data-is-placeholder-visible":!n}),n&&h&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){c(),e.stopPropagation()}},wp.element.createElement(a.e,{icon:"no"})),!n&&wp.element.createElement("svg",{viewBox:"0 0 512 376"},wp.element.createElement("path",{d:"M0,0v376h512V0H0z M480,344H32V32h448V344z"}),wp.element.createElement("circle",{cx:"409.1",cy:"102.9",r:"40.9"}),wp.element.createElement("polygon",{points:"480,344 32,344 118.3,179.8 140,191.1 189,113.8 289,226.9 297.9,217.6 315,239.9 341,193.5 393.9,264.7 409,248.8"})))}})};t.a=i},function(e,t,n){"use strict";function o(e){var t=e.className,n=void 0===t?"":t,o=e.align,l=void 0===o?"center":o,r=e.size,a=void 0===r?"normal":r,c=e.url,s=void 0===c?"":c,m=e.color,b=e.text,g=e.backgroundColor,d=e.borderRadius,p={borderRadius:d+"px",backgroundColor:g||void 0},f=u()([n,"ugb-button","ugb-button-"+l,"ugb-button-"+a]);return wp.element.createElement("div",{className:f,style:p},wp.element.createElement(i.o.Content,{tagName:"a",className:"ugb-button-inner",href:s,style:{color:m},value:b}))}function l(e){var t=e.align,n=void 0===t?"center":t,o=e.size,l=void 0===o?"normal":o,r=e.url,a=void 0===r?"":r,u=e.color,c=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px"};return s&&(b.backgroundColor=s),wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+l,style:b},wp.element.createElement(i.o.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:c}))}function r(e){var t=e.align,n=void 0===t?"center":t,o=e.size,l=void 0===o?"normal":o,r=e.url,a=void 0===r?"":r,u=e.color,c=e.text,s=e.backgroundColor,m=e.borderRadius,b={backgroundColor:s,borderRadius:m+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+l,style:b},wp.element.createElement(i.o.Content,{tagName:"a",className:"ugb-button-inner",href:a,style:{color:u},value:c}))}n.d(t,"c",function(){return c}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"g",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"f",function(){return p});var a=n(1),u=n.n(a),i=n(0),c=o,s=l,m=r,b=function(e){var t=e.attributes,n=t.url,o=t.text,l=t.align,r=t.color,a=t.textColor,u=t.size,c=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(m,{align:l,size:u,url:n,color:a,text:o,backgroundColor:r,borderRadius:c});return Object(i.x)("stackable.designs.button.save",b,s,e)},g={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},d=function(e){var t=e.attributes,n=t.url,o=t.text,l=t.textAlignment,r=t.color,a=t.textColor,u=t.size,i=t.cornerButtonRadius,c={backgroundColor:r,color:a,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-button-"+l},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+u,style:c},o))},p={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t,n){"use strict";function o(e){var t=e.options,n=e.onChange,o=e.selected,l=e.title,u=void 0===l?"Design":l,s=t.map(function(e,t){return{label:wp.element.createElement(a.a,{imageFile:e.image,isPro:e.isPro,label:e.label}),title:e.label,value:e.value}}),m=s.find(function(e){return e.value===o}),b=i()("design-panel",{"design-panel-lite":!r.A}),g=function(e){var t=s.find(function(t){return t.value===e});if(!r.A&&t.isPro)return void Object(r.z)("stackable.get_pro");n(e)},d=m?u+" \u2013 "+m.title:u;return wp.element.createElement(r.j,c({title:wp.element.createElement("span",null,d),className:b},e),wp.element.createElement(r.m,{className:"design-control",selected:o,options:s,onChange:g}))}var l=n(24),r=(n.n(l),n(0)),a=n(25),u=n(1),i=n.n(u),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};t.a=o},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(13);n.n(o),n(14),n(18),n(21),n(27),n(31),n(37),n(45),n(49),n(53),n(58),n(62),n(66),n(69),n(73),n(77),n(82),n(86),n(90),n(94),n(97),n(101),n(105),n(109)},function(e,t){},function(e,t,n){"use strict";var o=n(15),l=(n.n(o),n(16)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(17),c=n(0),s=function(e){var t=e.className,n=e.attributes.height,o=a()([t,"ugb-spacer"]);return wp.element.createElement("div",{className:o,style:{height:n+"px"}})},m=function(e){var t=e.className,n=(e.isSelected,e.attributes.height),o=a()([t,"ugb-spacer"]);return wp.element.createElement(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.n,{label:Object(c.u)("Height"),value:n,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:o,style:{height:n+"px"}}))},b={height:{default:50,type:"number"}};Object(c.D)("ugb/spacer",{title:Object(c.u)("Spacer"),icon:u.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.u)("Spacer"),Object(c.u)("Stackable")],attributes:b,deprecated:[{attributes:i.b,save:i.a}],edit:m,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return l});var o=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},l={height:{default:50,type:"number"}}},function(e,t,n){"use strict";var o=n(19),l=(n.n(o),n(20)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(0),c=function(e){var t=e.className,n=e.attributes,o=n.height,l=n.width,r=n.color,u=n.alignment,i=a()([t,"ugb-divider"]);return wp.element.createElement("div",{className:i},wp.element.createElement("hr",{align:u,style:{backgroundColor:r,width:l+"%",height:o}}))},s=function(e){var t=(e.isSelected,e.className),n=e.attributes,o=n.height,l=n.width,r=n.color,u=n.alignment,c=a()([t,"ugb-divider"]);return wp.element.createElement(i.f,null,wp.element.createElement(i.d,null,wp.element.createElement(i.a,{value:u,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.n,{label:Object(i.u)("Height"),value:o,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(i.n,{label:Object(i.u)("Width"),value:l,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(i.k,{title:Object(i.u)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(i.u)("Divider Color")}]})),wp.element.createElement("div",{className:c,style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:u,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:l+"%",height:o}})))};Object(i.D)("ugb/divider",{title:Object(i.u)("Divider"),icon:u.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.u)("Divider"),Object(i.u)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:s,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(22),l=(n.n(o),n(23)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(9),c=n(4),s=n(5),m=n(6),b=(n(10),n(26),n(0)),g=function(e){var t=e.isSelected,n=e.className,o=e.setAttributes,l=e.attributes,r=l.url,u=l.text,i=l.color,s=l.textColor,g=l.size,d=l.align,p=l.cornerButtonRadius,f=l.design,h=a()([n,"ugb-button"]),w=wp.element.createElement(c.a,{onChange:function(e){return o({text:e})},className:h,align:d,size:g,backgroundColor:i,color:s,text:u,borderRadius:p}),y=Object(b.x)("stackable.designs.button.edit",w,f,e);return wp.element.createElement(b.f,null,wp.element.createElement(b.d,null,wp.element.createElement(b.c,{value:d,onChange:function(e){o({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(b.h,null,wp.element.createElement(m.a,{initialOpen:!0,buttonColor:i,buttonTextColor:s,buttonSize:g,buttonBorderRadius:p,onChangeButtonColor:function(e){return o({color:e})},onChangeButtonTextColor:function(e){return o({textColor:e})},onChangeButtonSize:function(e){o({size:e})},onChangeButtonBorderRadius:function(e){return o({cornerButtonRadius:e})}})),y,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.t,{value:r,onChange:function(e){return o({url:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.u)("Apply"),type:"submit"})))},d=function(e){var t=e.className,n=e.attributes,o=n.url,l=n.text,r=n.align,u=n.color,i=n.textColor,c=n.size,m=n.cornerButtonRadius,g=n.design,d=a()([t,"ugb-button"]),p=wp.element.createElement(s.a,{className:d,align:r,size:c,url:o,color:i,text:l,backgroundColor:u,borderRadius:m});return Object(b.x)("stackable.designs.button.save",p,g,e)},p={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(b.D)("ugb/button",{title:Object(b.u)("Button"),icon:u.b,description:"Add a customizable button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.u)("Button"),Object(b.u)("Stackable")],attributes:p,deprecated:[{attributes:i.g,save:i.e},{attributes:i.f,migrate:function(e){return Object(b.C)(Object(b.B)(e,{align:e.textAlignment}),["textAlignment"])},save:i.d}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function o(e){var t=e.isPro,n=e.imageFile,o=e.label,l=r()({"is-pro":!a.A&&t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.y+"/"+n,alt:o}),wp.element.createElement("span",{className:"design-label"},o,!a.A&&t&&u()))}var l=n(1),r=n.n(l),a=n(0),u=function(){return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 97.1"},wp.element.createElement("path",{d:"M55.6,32.8c-0.8-0.7-1.8-1.2-2.9-1.6c-1.2-0.4-2.6-0.6-4.2-0.6h-6.5v16.7h6.5c1.6,0,3-0.2,4.2-0.6c1.2-0.4,2.2-1,2.9-1.7 c0.8-0.7,1.4-1.6,1.7-2.7c0.4-1.1,0.6-2.2,0.6-3.6c0-1.2-0.2-2.4-0.6-3.4C57,34.4,56.4,33.5,55.6,32.8z"}),wp.element.createElement("path",{d:"M153,35.2c-1.3-1.4-2.8-2.5-4.6-3.3c-1.8-0.8-3.9-1.1-6.1-1.1c-2.3,0-4.3,0.4-6.1,1.1c-1.8,0.8-3.4,1.8-4.7,3.3 s-2.3,3.1-2.9,5.2c-0.7,2-1,4.3-1,6.9c0,2.6,0.3,4.8,1,6.9c0.7,2,1.7,3.7,2.9,5.2c1.3,1.4,2.8,2.5,4.7,3.2c1.8,0.8,3.9,1.1,6.1,1.1 c2.3,0,4.3-0.4,6.1-1.1c1.8-0.7,3.4-1.8,4.6-3.2c1.3-1.4,2.2-3.1,2.9-5.2s1-4.3,1-6.9c0-2.6-0.3-4.8-1-6.9S154.3,36.6,153,35.2z"}),wp.element.createElement("path",{d:"M100.9,38c0-2.4-0.8-4.2-2.3-5.4c-1.6-1.3-3.9-1.9-7.1-1.9h-5.5v15.5h5.4c1.6,0,3.1-0.2,4.3-0.6c1.2-0.4,2.2-1,3-1.7 c0.8-0.7,1.4-1.6,1.8-2.6C100.7,40.2,100.9,39.2,100.9,38z"}),wp.element.createElement("path",{d:"M178.6,0H21.4C9.6,0,0,9.6,0,21.4v54.3c0,11.8,9.6,21.4,21.4,21.4h157.2c11.8,0,21.4-9.6,21.4-21.4V21.4 C200,9.6,190.4,0,178.6,0z M65.5,45c-0.8,1.9-1.9,3.5-3.4,4.8c-1.5,1.4-3.4,2.4-5.6,3.2c-2.3,0.8-4.9,1.1-7.9,1.1h-6.5v16.4h-8.7 V23.9h15.2c3.1,0,5.8,0.4,8.1,1.1c2.3,0.7,4.2,1.8,5.6,3.1c1.5,1.3,2.6,2.9,3.3,4.7c0.7,1.8,1.1,3.8,1.1,6 C66.6,41,66.3,43.1,65.5,45z M105.8,70.5c-0.8,0-1.4-0.1-1.9-0.5s-1-0.7-1.3-1.3l-9.8-14.9c-0.4-0.6-0.8-1-1.2-1.2 c-0.4-0.2-1.1-0.4-1.9-0.4h-3.7v18.2h-8.7V23.9h14.2c3.2,0,5.9,0.3,8.2,1c2.3,0.7,4.1,1.6,5.6,2.8c1.4,1.2,2.5,2.6,3.2,4.2 c0.7,1.6,1,3.5,1,5.4c0,1.6-0.2,3-0.7,4.4c-0.5,1.4-1.1,2.7-2,3.8c-0.9,1.1-1.9,2.1-3.2,3c-1.3,0.9-2.7,1.5-4.4,2.1 c1.1,0.6,2,1.5,2.8,2.7l11.7,17.2H105.8z M164.2,56.7c-1.1,2.9-2.7,5.4-4.8,7.5c-2.1,2.1-4.5,3.8-7.4,5c-2.9,1.2-6.1,1.8-9.6,1.8 c-3.5,0-6.7-0.6-9.6-1.8c-2.9-1.2-5.4-2.9-7.5-5c-2.1-2.1-3.7-4.6-4.8-7.5c-1.1-2.9-1.7-6.1-1.7-9.5c0-3.4,0.6-6.6,1.7-9.5 c1.1-2.9,2.7-5.4,4.8-7.6c2.1-2.1,4.6-3.8,7.5-5c2.9-1.2,6.1-1.8,9.6-1.8c3.5,0,6.7,0.6,9.6,1.8s5.4,2.9,7.4,5 c2.1,2.1,3.7,4.6,4.8,7.5s1.7,6.1,1.7,9.5C165.9,50.6,165.3,53.8,164.2,56.7z"}))};t.a=o},function(e,t,n){"use strict"},function(e,t,n){"use strict";var o=n(28),l=(n.n(o),n(29)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(30),c=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,o=e.className,l=e.attributes,r=l.url,u=l.text,i=l.color,s=l.size,m=l.align,b=l.cornerButtonRadius,g=l.borderThickness,d=[{value:"small",label:Object(c.u)("Small")},{value:"normal",label:Object(c.u)("Normal ")},{value:"medium",label:Object(c.u)("Medium")},{value:"large",label:Object(c.u)("Large")}],p=a()([o,"ugb-button","ugb-ghost-button","ugb-button-"+m,"ugb-button-"+s]);return wp.element.createElement(c.f,null,wp.element.createElement(c.d,null,wp.element.createElement(c.c,{value:m,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.p,{label:Object(c.u)("Size"),value:s,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(c.n,{label:Object(c.u)("Corner Radius"),value:b,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(c.n,{label:Object(c.u)("Border Thickness"),value:g,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(c.k,{title:Object(c.u)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({color:e})},label:Object(c.u)("Button Color")}]})),wp.element.createElement("span",{className:p,style:{borderColor:i,borderRadius:b+"px",borderWidth:g+"px"}},wp.element.createElement(c.o,{tagName:"span",placeholder:Object(c.u)("Enter Text"),value:u,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:i},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(c.e,{icon:"admin-links"}),wp.element.createElement(c.t,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(c.g,{icon:"editor-break",label:Object(c.u)("Apply"),type:"submit"})))},m=function(e){var t=e.className,n=e.attributes,o=n.url,l=n.text,r=n.align,u=n.color,i=n.size,s=n.cornerButtonRadius,m=n.borderThickness,b={borderColor:u,borderRadius:s+"px",borderWidth:m+"px"},g=a()([t,"ugb-button","ugb-ghost-button","ugb-button-"+r,"ugb-button-"+i]);return wp.element.createElement("div",{className:g,style:b},wp.element.createElement(c.o.Content,{className:"ugb-button-inner",tagName:"a",value:l,href:o,style:{color:u}}))},b={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(c.D)("ugb/ghost-button",{title:Object(c.u)("Ghost Button"),icon:u.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.u)("Ghost Button"),Object(c.u)("Stackable")],attributes:b,deprecated:[{attributes:i.b,migrate:function(e){return Object(c.C)(Object(c.B)(e,{align:e.textAlignment}),["textAlignment"])},save:i.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return l});var o=function(e){var t=e.attributes,n=t.url,o=t.text,l=t.textAlignment,r=t.color,a=t.size,u=t.cornerButtonRadius,i=t.borderThickness,c={borderColor:r,color:r,borderRadius:u+"px",borderWidth:i+"px"};return wp.element.createElement("div",{className:"ugb-button-"+l},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+a+" ugb-ghost-button",style:c},o))},l={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}}},function(e,t,n){"use strict";var o=n(32),l=(n.n(o),n(33)),r=(n.n(l),n(1)),a=n.n(r),u=n(34),i=n.n(u),c=n(2),s=n(0),m=function(e){var t=[{value:"success",label:Object(s.u)("Success")},{value:"error",label:Object(s.u)("Error")},{value:"warning",label:Object(s.u)("Warning")},{value:"info",label:Object(s.u)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),o=e.className,l=e.attributes,r=l.text,u=l.color,i=l.textColor,c=l.notifType,m=l.dismissible,b=a()([o,"ugb-notification","type-"+c,"dismissible-"+m]);return wp.element.createElement(s.f,null,wp.element.createElement(s.h,null,wp.element.createElement(s.j,null,wp.element.createElement(s.r,{label:Object(s.u)("Dismissible"),checked:m,onChange:function(){return n({dismissible:!m})}}),wp.element.createElement(s.p,{label:Object(s.u)("Notification Type"),value:c,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(s.k,{title:Object(s.u)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return n({color:e})},label:Object(s.u)("Background Color")},{value:i,onChange:function(e){return n({textColor:e})},label:Object(s.u)("Text Color")}]})),wp.element.createElement("div",{className:b},m&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:i}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(s.o,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+c,style:{backgroundColor:u,color:i}})))},b=function(e){var t=e.className,n=e.attributes,o=n.text,l=n.color,r=n.textColor,u=n.notifType,c=n.dismissible,m=a()([t,"ugb-notification","type-"+u,"dismissible-"+c]),b={backgroundColor:l,color:r},g=i()(o+u).substr(0,6);return wp.element.createElement("div",{className:m,"data-uid":g},c&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:r}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(s.o.Content,{tagName:"p",className:"wp-ugb-notif notif-"+u,style:b,value:o}))},g={text:{source:"html",selector:"p",default:Object(s.u)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}};Object(s.D)("ugb/notification",{title:Object(s.u)("Notification"),icon:c.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.u)("Notification"),Object(s.u)("Stackable")],attributes:g,edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(35),o=n(11).utf8,l=n(36),r=n(11).bin,a=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?r.stringToBytes(e):o.stringToBytes(e):l(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var u=t.bytesToWords(e),i=8*e.length,c=1732584193,s=-271733879,m=-1732584194,b=271733878,g=0;g<u.length;g++)u[g]=16711935&(u[g]<<8|u[g]>>>24)|4278255360&(u[g]<<24|u[g]>>>8);u[i>>>5]|=128<<i%32,u[14+(i+64>>>9<<4)]=i;for(var d=a._ff,p=a._gg,f=a._hh,h=a._ii,g=0;g<u.length;g+=16){var w=c,y=s,v=m,C=b;c=d(c,s,m,b,u[g+0],7,-680876936),b=d(b,c,s,m,u[g+1],12,-389564586),m=d(m,b,c,s,u[g+2],17,606105819),s=d(s,m,b,c,u[g+3],22,-1044525330),c=d(c,s,m,b,u[g+4],7,-176418897),b=d(b,c,s,m,u[g+5],12,1200080426),m=d(m,b,c,s,u[g+6],17,-1473231341),s=d(s,m,b,c,u[g+7],22,-45705983),c=d(c,s,m,b,u[g+8],7,1770035416),b=d(b,c,s,m,u[g+9],12,-1958414417),m=d(m,b,c,s,u[g+10],17,-42063),s=d(s,m,b,c,u[g+11],22,-1990404162),c=d(c,s,m,b,u[g+12],7,1804603682),b=d(b,c,s,m,u[g+13],12,-40341101),m=d(m,b,c,s,u[g+14],17,-1502002290),s=d(s,m,b,c,u[g+15],22,1236535329),c=p(c,s,m,b,u[g+1],5,-165796510),b=p(b,c,s,m,u[g+6],9,-1069501632),m=p(m,b,c,s,u[g+11],14,643717713),s=p(s,m,b,c,u[g+0],20,-373897302),c=p(c,s,m,b,u[g+5],5,-701558691),b=p(b,c,s,m,u[g+10],9,38016083),m=p(m,b,c,s,u[g+15],14,-660478335),s=p(s,m,b,c,u[g+4],20,-405537848),c=p(c,s,m,b,u[g+9],5,568446438),b=p(b,c,s,m,u[g+14],9,-1019803690),m=p(m,b,c,s,u[g+3],14,-187363961),s=p(s,m,b,c,u[g+8],20,1163531501),c=p(c,s,m,b,u[g+13],5,-1444681467),b=p(b,c,s,m,u[g+2],9,-51403784),m=p(m,b,c,s,u[g+7],14,1735328473),s=p(s,m,b,c,u[g+12],20,-1926607734),c=f(c,s,m,b,u[g+5],4,-378558),b=f(b,c,s,m,u[g+8],11,-2022574463),m=f(m,b,c,s,u[g+11],16,1839030562),s=f(s,m,b,c,u[g+14],23,-35309556),c=f(c,s,m,b,u[g+1],4,-1530992060),b=f(b,c,s,m,u[g+4],11,1272893353),m=f(m,b,c,s,u[g+7],16,-155497632),s=f(s,m,b,c,u[g+10],23,-1094730640),c=f(c,s,m,b,u[g+13],4,681279174),b=f(b,c,s,m,u[g+0],11,-358537222),m=f(m,b,c,s,u[g+3],16,-722521979),s=f(s,m,b,c,u[g+6],23,76029189),c=f(c,s,m,b,u[g+9],4,-640364487),b=f(b,c,s,m,u[g+12],11,-421815835),m=f(m,b,c,s,u[g+15],16,530742520),s=f(s,m,b,c,u[g+2],23,-995338651),c=h(c,s,m,b,u[g+0],6,-198630844),b=h(b,c,s,m,u[g+7],10,1126891415),m=h(m,b,c,s,u[g+14],15,-1416354905),s=h(s,m,b,c,u[g+5],21,-57434055),c=h(c,s,m,b,u[g+12],6,1700485571),b=h(b,c,s,m,u[g+3],10,-1894986606),m=h(m,b,c,s,u[g+10],15,-1051523),s=h(s,m,b,c,u[g+1],21,-2054922799),c=h(c,s,m,b,u[g+8],6,1873313359),b=h(b,c,s,m,u[g+15],10,-30611744),m=h(m,b,c,s,u[g+6],15,-1560198380),s=h(s,m,b,c,u[g+13],21,1309151649),c=h(c,s,m,b,u[g+4],6,-145523070),b=h(b,c,s,m,u[g+11],10,-1120210379),m=h(m,b,c,s,u[g+2],15,718787259),s=h(s,m,b,c,u[g+9],21,-343485551),c=c+w>>>0,s=s+y>>>0,m=m+v>>>0,b=b+C>>>0}return t.endian([c,s,m,b])};a._ff=function(e,t,n,o,l,r,a){var u=e+(t&n|~t&o)+(l>>>0)+a;return(u<<r|u>>>32-r)+t},a._gg=function(e,t,n,o,l,r,a){var u=e+(t&o|n&~o)+(l>>>0)+a;return(u<<r|u>>>32-r)+t},a._hh=function(e,t,n,o,l,r,a){var u=e+(t^n^o)+(l>>>0)+a;return(u<<r|u>>>32-r)+t},a._ii=function(e,t,n,o,l,r,a){var u=e+(n^(t|~o))+(l>>>0)+a;return(u<<r|u>>>32-r)+t},a._blocksize=16,a._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var o=t.wordsToBytes(a(e,n));return n&&n.asBytes?o:n&&n.asString?r.bytesToString(o):t.bytesToHex(o)}}()},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,o=0;n<e.length;n++,o+=8)t[o>>>5]|=e[n]<<24-o%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],o=0;o<e.length;o+=3)for(var l=e[o]<<16|e[o+1]<<8|e[o+2],r=0;r<4;r++)8*o+6*r<=8*e.length?n.push(t.charAt(l>>>6*(3-r)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],o=0,l=0;o<e.length;l=++o%4)0!=l&&n.push((t.indexOf(e.charAt(o-1))&Math.pow(2,-2*l+8)-1)<<2*l|t.indexOf(e.charAt(o))>>>6-2*l);return n}};e.exports=n}()},function(e,t){function n(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function o(e){return"function"===typeof e.readFloatLE&&"function"===typeof e.slice&&n(e.slice(0,0))}e.exports=function(e){return null!=e&&(n(e)||o(e)||!!e._isBuffer)}},function(e,t,n){"use strict";var o=n(38),l=(n.n(o),n(39)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(7),c=n(44),s=n(0),m=function(e){var t=e.isSelected,n=e.setAttributes,o=e.className,l=e.attributes,r=l.color,u=l.text,c=l.quoteColor,m=l.backgroundColor,b=l.backgroundImageID,g=l.backgroundImageURL,d=l.backgroundOpacity,p=l.fixedBackground,f=a()([o,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(d/1)],{"ugb-has-background":m||g,"ugb-has-background-image":g}),h={"--quote-color":c||void 0,backgroundColor:m||void 0,backgroundImage:g?"url("+g+")":void 0,backgroundAttachment:p?"fixed":void 0,"--ugb-background-color":g?m:void 0};return wp.element.createElement(s.f,null,wp.element.createElement("blockquote",{className:f,style:h},wp.element.createElement(s.o,{className:"ugb-blockquote-text",value:u,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(s.h,null,wp.element.createElement(s.k,{title:Object(s.u)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(s.u)("Text Color")},{value:c,onChange:function(e){return n({quoteColor:e})},label:Object(s.u)("Quote Color")}]}),wp.element.createElement(i.a,{backgroundColor:m,backgroundImageID:b,backgroundImageURL:g,backgroundOpacity:d,fixedBackground:p,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,o=e.id;return n({backgroundImageURL:t,backgroundImageID:o})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})},onChangeFixedBackground:function(e){return n({fixedBackground:!!e})}})))},b=function(e){var t=e.className,n=e.attributes,o=n.color,l=n.text,r=n.quoteColor,u=n.backgroundColor,i=(n.backgroundImageID,n.backgroundImageURL),c=n.backgroundOpacity,m=n.fixedBackground,b=a()([t,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(c/1)],{"ugb-has-background":u||i,"ugb-has-background-image":i}),g={"--quote-color":r||void 0,backgroundColor:u||void 0,backgroundImage:i?"url("+i+")":void 0,backgroundAttachment:m?"fixed":void 0,"--ugb-background-color":i?u:void 0};return wp.element.createElement("blockquote",{className:b,style:g},wp.element.createElement(s.o.Content,{tagName:"p",style:{color:o},value:l}))},g={text:{source:"html",selector:"p",default:Object(s.u)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}};Object(s.D)("ugb/blockquote",{title:Object(s.u)("Blockquote"),icon:u.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.u)("Blockquote"),Object(s.u)("Stackable")],attributes:g,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:c.d,save:c.b},{attributes:c.c,migrate:function(e){return Object(s.C)(Object(s.B)(e,{quoteColor:e.borderColor}),["borderColor"])},save:c.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function o(e){var t=e.label,n=e.imageID,o=e.imageURL,l=e.onChange,a=void 0===l?function(e){e.url,e.id}:l,u=e.onRemove,i=void 0===u?function(){}:u,c=e.allowedTypes,s=void 0===c?["image"]:c,m=e.help;return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(r.b,{label:t,help:m},wp.element.createElement(r.i,{onSelect:a,allowedTypes:s,value:n,render:function(e){return wp.element.createElement(r.f,null,o&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:i},wp.element.createElement(r.e,{icon:"no"})),wp.element.createElement("img",{className:"ugb-image-preview",src:o,onClick:e.open})),!o&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:e.open},wp.element.createElement("svg",{viewBox:"0 0 512 376"},wp.element.createElement("path",{d:"M0,0v376h512V0H0z M480,344H32V32h448V344z"}),wp.element.createElement("circle",{cx:"409.1",cy:"102.9",r:"40.9"}),wp.element.createElement("polygon",{points:"480,344 32,344 118.3,179.8 140,191.1 189,113.8 289,226.9 297.9,217.6 315,239.9 341,193.5 393.9,264.7 409,248.8"}))))}})))}var l=n(43),r=(n.n(l),n(0));t.a=o},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return c});var o=n(1),l=n.n(o),r=n(0),a={text:{source:"html",selector:"p",default:Object(r.u)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}},u=function(e){var t=e.className,n=e.attributes,o=n.color,a=n.text,u=n.quoteColor,i=l()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:i,style:{"--quote-color":u}},wp.element.createElement(r.o.Content,{tagName:"p",style:{color:o},value:a}))},i={text:{type:"array",source:"children",selector:"p",default:Object(r.u)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#424242"},borderColor:{type:"string",default:"#2091e1"}},c=function(e){var t=e.attributes,n=t.color,o=t.text,l=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:l}},wp.element.createElement("p",{style:{color:n}},o))}},function(e,t,n){"use strict";var o=n(46),l=(n.n(o),n(47)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(48),c=n(0),s=function(e){var t=e.isSelected,n=e.setAttributes,o=e.className,l=e.attributes,r=l.color,u=l.text,i=l.quoteColor,s=a()([o,"ugb-pullquote"]);return wp.element.createElement(c.f,null,wp.element.createElement("blockquote",{className:s,style:{"--quote-color":i}},wp.element.createElement(c.o,{tagName:"p",className:"ugb-pullquote-text",value:u,onChange:function(e){return n({text:e})},placeholder:Object(c.u)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(c.h,null,wp.element.createElement(c.k,{title:Object(c.u)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(c.u)("Text Color")},{value:i,onChange:function(e){return n({quoteColor:e})},label:Object(c.u)("Quote Color")}]})))},m=function(e){var t=e.className,n=e.attributes,o=n.color,l=n.text,r=n.quoteColor,u=a()([t,"ugb-pullquote"]);return wp.element.createElement("blockquote",{className:u,style:{"--quote-color":r}},wp.element.createElement(c.o.Content,{tagName:"p",style:{color:o},value:l}))},b={text:{source:"html",selector:"p",default:Object(c.u)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(c.D)("ugb/pullquote",{title:Object(c.u)("Pullquote"),icon:u.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.u)("Pullquote"),Object(c.u)("Stackable")],attributes:b,deprecated:[{attributes:i.b,migrate:function(e){return Object(c.C)(Object(c.B)(e,{quoteColor:e.borderColor}),["borderColor"])},save:i.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return r});var o=n(0),l=function(e){var t=e.attributes,n=t.color,o=t.text,l=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:l,borderBottomColor:l}},wp.element.createElement("p",{style:{color:n}},o))},r={text:{type:"array",source:"children",selector:"p",default:Object(o.u)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var o=n(50),l=(n.n(o),n(51)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(7),b=n(52),g=n(0),d=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),o=e.setAttributes,l=e.attributes,r=l.url,u=l.buttonText,c=l.ctaTitle,b=l.bodyText,d=l.color,p=l.textColor,f=l.size,h=l.borderButtonRadius,w=l.bodyTextColor,y=l.titleColor,v=l.backgroundColor,C=l.backgroundImageID,E=l.backgroundImageURL,k=l.backgroundOpacity,x=l.fixedBackground,O=a()([n,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(k/1)],{"ugb-has-background":v||E,"ugb-has-background-image":E}),N={backgroundColor:v||void 0,backgroundImage:E?"url("+E+")":void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":E?v:void 0};return wp.element.createElement(g.f,null,wp.element.createElement(g.h,null,wp.element.createElement(g.k,{initialOpen:!0,title:Object(g.u)("Color Settings"),colorSettings:[{value:y,onChange:function(e){return o({titleColor:e})},label:Object(g.u)("Title Color")},{value:w,onChange:function(e){return o({bodyTextColor:e})},label:Object(g.u)("Body Text Color")}]}),wp.element.createElement(m.a,{backgroundColor:v,backgroundImageID:C,backgroundImageURL:E,backgroundOpacity:k,fixedBackground:x,onChangeBackgroundColor:function(e){return o({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,n=e.id;return o({backgroundImageURL:t,backgroundImageID:n})},onRemoveBackgroundImage:function(){o({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return o({backgroundOpacity:e})},onChangeFixedBackground:function(e){return o({fixedBackground:!!e})}}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:d,buttonTextColor:p,buttonSize:f,buttonBorderRadius:h,onChangeButtonColor:function(e){return o({color:e})},onChangeButtonTextColor:function(e){return o({textColor:e})},onChangeButtonSize:function(e){o({size:e})},onChangeButtonBorderRadius:function(e){return o({borderButtonRadius:e})}})),wp.element.createElement("div",{className:O,style:N},wp.element.createElement(g.o,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(g.u)("Add Title"),value:c,onChange:function(e){return o({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:y}}),wp.element.createElement(g.o,{tagName:"p",value:b,className:"ugb-cta-bodyText",onChange:function(e){return o({bodyText:e})},placeholder:Object(g.u)("Write body text\u2026"),style:{color:w}}),wp.element.createElement(i.a,{size:f,color:p,backgroundColor:d,text:u,borderRadius:h,onChange:function(e){return o({buttonText:e})}})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.t,{value:r,onChange:function(e){return o({url:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.u)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,o=n.url,l=n.buttonText,r=n.ctaTitle,u=n.bodyText,i=n.color,s=n.textColor,m=n.size,b=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,f=n.backgroundColor,h=(n.backgroundImageID,n.backgroundImageURL),w=n.backgroundOpacity,y=n.fixedBackground,v=a()([t,"ugb-cta","columns-"+columns,"ugb-has-background-opacity-"+1*Math.round(w/1)],{"ugb-has-background":f||h,"ugb-has-background-image":h}),C={backgroundColor:f||void 0,backgroundImage:h?"url("+h+")":void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":h?f:void 0};return wp.element.createElement("div",{className:v,style:C},r&&!!r.length&&wp.element.createElement(g.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:r}),u&&!!u.length&&wp.element.createElement(g.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:u}),l&&!!l.length&&wp.element.createElement(c.a,{size:m,url:o,color:s,text:l,backgroundColor:i,borderRadius:b}))},f={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(g.u)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(g.u)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},bgColor:{type:"string"}};Object(g.D)("ugb/cta",{title:Object(g.u)("Call to Action"),icon:u.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.u)("Call to Action"),Object(g.u)("Stackable"),Object(g.u)("CTA")],attributes:f,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:b.e,save:b.c,migrate:function(e){return Object.assign({backgroundColor:e.bgColor},e)}},{attributes:b.d,save:b.b},{save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"e",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return c}),n.d(t,"b",function(){return s}),n.d(t,"a",function(){return m});var o=n(1),l=n.n(o),r=n(0),a=n(9),u={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(r.u)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(r.u)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},i=function(e){var t=e.className,n=e.attributes,o=n.url,u=n.buttonText,i=n.ctaTitle,c=n.bodyText,s=n.color,m=n.textColor,b=n.size,g=n.borderButtonRadius,d=n.bodyTextColor,p=n.titleColor,f=n.bgColor,h=l()([t,"ugb-cta"]);return wp.element.createElement("div",{className:h,style:{backgroundColor:f}},i&&!!i.length&&wp.element.createElement(r.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:i}),c&&!!c.length&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:c}),u&&!!u.length&&wp.element.createElement(a.c,{size:b,url:o,color:m,text:u,backgroundColor:s,borderRadius:g}))},c={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(r.u)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(r.u)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},s=function(e){var t=e.attributes,n=t.url,o=t.buttonText,l=t.ctaTitle,u=t.bodyText,i=t.color,c=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,g=t.titleColor,d=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:d}},l&&!!l.length&&wp.element.createElement(r.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:g},value:l}),u&&!!u.length&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:u}),o&&!!o.length&&wp.element.createElement(a.a,{size:s,url:n,color:c,text:o,backgroundColor:i,borderRadius:m}))},m=function(e){var t=e.attributes,n=t.url,o=t.buttonText,l=t.ctaTitle,r=t.bodyText,a=t.color,u=t.textColor,i=t.size,c=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,g={backgroundColor:a,color:u,borderRadius:c+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:b}},l&&!!l.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},l),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},r),o&&!!o.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-cta-button ugb-button-"+i,style:g},o))}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(54),r=(n.n(l),n(55)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(8),s=n(3),m=n(57),b=n(0),g=function(e){var t=e.className,n=e.setAttributes,l=e.attributes,r=l.columns,a=l.titleColor,i=l.posColor,s=l.bodyTextColor,m=u()([t,"ugb-testimonial","columns-"+r]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.n,{label:Object(b.u)("Columns"),value:r,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.u)("Color Settings"),colorSettings:[{value:s,onChange:function(e){return n({bodyTextColor:e})},label:Object(b.u)("Body Text Color")},{value:a,onChange:function(e){return n({titleColor:e})},label:Object(b.u)("Title Color")},{value:i,onChange:function(e){return n({posColor:e})},label:Object(b.u)("Position Color")}]})),wp.element.createElement("div",{className:m},[1,2,3].map(function(e){var t=l["mediaURL"+e],r=l["mediaID"+e],u=l["name"+e],m=l["position"+e],g=l["testimonial"+e];return wp.element.createElement("div",{className:"ugb-testimonial-item"},wp.element.createElement(b.o,{tagName:"p",className:"ugb-testimonial-body",value:g,onChange:function(t){return n(o({},"testimonial"+e,t))},style:{color:s},placeholder:Object(b.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage."),keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{className:"testimonial-image",imageID:r,imageURL:t,onRemove:function(){var t;n((t={},o(t,"mediaURL"+e,""),o(t,"mediaID"+e,""),t))},onChange:function(t){var l,r=t.url,a=t.id;n((l={},o(l,"mediaURL"+e,r),o(l,"mediaID"+e,a),l))},hasRemove:!1}),wp.element.createElement(b.o,{tagName:"h4",value:u,onChange:function(t){return n(o({},"name"+e,t))},style:{color:a},placeholder:Object(b.u)("Name"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:m,className:"ugb-testimonial-position",onChange:function(t){return n(o({},"position"+e,t))},style:{color:i},keepPlaceholderOnFocus:!0}))})))},d=function(e){var t=e.className,n=e.attributes,o=n.columns,l=n.titleColor,r=n.posColor,a=n.bodyTextColor,i=u()([t,"ugb-testimonial","columns-"+o]);return wp.element.createElement("div",{className:i},Object(s.b)(1,o+1).map(function(e){var t=n["mediaURL"+e],o=n["name"+e],u=n["position"+e],i=n["testimonial"+e];return wp.element.createElement("div",{className:"ugb-testimonial-item"},!b.o.isEmpty(i)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:a},value:i}),t&&wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+t+")"}}),!b.o.isEmpty(o)&&wp.element.createElement(b.o.Content,{tagName:"h4",style:{color:l},value:o}),!b.o.isEmpty(u)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:r},value:u}))}))},p={mediaID1:{type:"number"},mediaID2:{type:"number"},mediaID3:{type:"number"},mediaURL1:{type:"string"},mediaURL2:{type:"string"},mediaURL3:{type:"string"},name1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) h4",default:Object(b.u)("Ben Adams")},name2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) h4",default:Object(b.u)("Alex Johnson")},name3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) h4",default:Object(b.u)("Sammy Simpson")},position1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) .ugb-testimonial-position",default:Object(b.u)("Founder")},position2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) .ugb-testimonial-position",default:Object(b.u)("Editor")},position3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) .ugb-testimonial-position",default:Object(b.u)("Programmer")},testimonial1:{source:"html",selector:".ugb-testimonial-item:nth-child(1) .ugb-testimonial-body",default:Object(b.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},testimonial2:{source:"html",selector:".ugb-testimonial-item:nth-child(2) .ugb-testimonial-body",default:Object(b.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},testimonial3:{source:"html",selector:".ugb-testimonial-item:nth-child(3) .ugb-testimonial-body",default:Object(b.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},columns:{type:"number",default:2},href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-testimonial-column-one .testimonial-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-testimonial-column-two .testimonial-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-testimonial-column-three .testimonial-image",attribute:"data-src"},testimonialTitle:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(b.u)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(b.u)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(b.u)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(b.u)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(b.u)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(b.u)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(b.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(b.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(b.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},iconColor:{type:"string"}};Object(b.D)("ugb/testimonial",{title:Object(b.u)("Testimonial"),icon:i.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.u)("Testimonial"),Object(b.u)("Stackable")],attributes:p,deprecated:[{attributes:m.b,save:m.a,migrate:function(e){return Object(b.C)(Object.assign({},e,{mediaID1:e.mediaID,mediaID2:e.mediaIDTwo,mediaID3:e.mediaIDThree,mediaURL1:e.mediaURL,mediaURL2:e.mediaURLTwo,mediaURL3:e.mediaURLThree,name1:e.testimonialTitle,name2:e.testimonialTitleTwo,name3:e.testimonialTitleThree,position1:e.position,position2:e.positionTwo,position3:e.positionThree,testimonial1:e.body,testimonial2:e.bodyTwo,testimonial3:e.bodyThree}),["mediaID","mediaIDTwo","mediaIDThree","mediaURL","mediaURLTwo","mediaURLThree","testimonialTitle","testimonialTitleTwo","testimonialTitleThree","postion","positionTwo","positionThree","body","bodyTwo","bodyThree"])}}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return u});var o=n(1),l=n.n(o),r=n(0),a=function(e){var t=e.className,n=e.attributes,o=n.testimonialTitle,a=n.testimonialTitleTwo,u=n.testimonialTitleThree,i=n.body,c=n.bodyTwo,s=n.bodyThree,m=n.position,b=n.positionTwo,g=n.positionThree,d=n.mediaURL,p=n.mediaURLTwo,f=n.mediaURLThree,h=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.titleColor),w=n.posColor,y=n.bodyTextColor,v=n.iconColor,C=n.columns,E=l()([t,"ugb-testimonial","column-"+C]),k=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:v}},wp.element.createElement("path",{d:"M98.5,0h-93C2.5,0,0,2.5,0,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C104,2.5,101.5,0,98.5,0z"}),wp.element.createElement("path",{d:"M240.5,0h-93c-3,0-5.5,2.5-5.5,5.5v93c0,3,2.5,5.5,5.5,5.5h39c-1.7,15.5-8.8,50-39,50c-3,0-5.5,2.5-5.5,5.5V182c0,3,2.5,5.5,5.5,5.5c5.2,0,98.5-4.5,98.5-89v-93C246,2.5,243.5,0,240.5,0z"}),wp.element.createElement("path",{d:"M161.3-86.3c3.2,0,3.2-5,0-5C158.1-91.3,158.1-86.3,161.3-86.3L161.3-86.3z"})));return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+d+")"},"data-src":d}):k,!r.o.isEmpty(o)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:h},value:o}),!r.o.isEmpty(m)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:w},value:m}),!r.o.isEmpty(i)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:y},value:i})),C>1&&wp.element.createElement("div",{className:"ugb-testimonial-column-two"},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+p+")"},"data-src":p}):k,!r.o.isEmpty(a)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:h},value:a}),!r.o.isEmpty(b)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:w},value:b}),!r.o.isEmpty(c)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:y},value:c})),C>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"},"data-src":f}):k,!r.o.isEmpty(u)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:h},value:u}),!r.o.isEmpty(g)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:w},value:g}),!r.o.isEmpty(s)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:y},value:s})))},u={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-testimonial-column-one .testimonial-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-testimonial-column-two .testimonial-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-testimonial-column-three .testimonial-image",attribute:"data-src"},testimonialTitle:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(r.u)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(r.u)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(r.u)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(r.u)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(r.u)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(r.u)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(r.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(r.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(r.u)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1}}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(59),r=(n.n(l),n(60)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(3),s=n(8),m=n(61),b=n(0),g=function(e){var t=(e.isSelected,e.editable,e.setState,e.className),n=e.setAttributes,l=e.attributes,r=e.attributes,a=r.columns,i=r.nameColor,c=r.posColor,m=r.desColor,g=r.shapes,d=[{value:"square",label:Object(b.u)("Square")},{value:"circle",label:Object(b.u)("Circle")}],p=u()([t,"ugb-team-member","columns-"+a,"image-"+g]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.p,{label:Object(b.u)("Image Shape"),value:g,options:d.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({shapes:e})}}),wp.element.createElement(b.n,{label:Object(b.u)("Columns"),value:a,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.u)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return n({nameColor:e})},label:Object(b.u)("Name Color")},{value:c,onChange:function(e){return n({posColor:e})},label:Object(b.u)("Position Color")},{value:m,onChange:function(e){return n({desColor:e})},label:Object(b.u)("Description Color")}]})),wp.element.createElement("div",{className:p},[1,2,3].map(function(e){var t=l["mediaURL"+e],r=l["mediaID"+e],a=l["name"+e],u=l["position"+e],g=l["description"+e];return wp.element.createElement("div",{className:"ugb-team-member-item"},wp.element.createElement(s.a,{className:"team-member-image",imageID:r,imageURL:t,onRemove:function(){var t;n((t={},o(t,"mediaURL"+e,""),o(t,"mediaID"+e,""),t))},onChange:function(t){var l,r=t.url,a=t.id;n((l={},o(l,"mediaURL"+e,r),o(l,"mediaID"+e,a),l))},hasRemove:!1}),wp.element.createElement(b.o,{tagName:"h4",value:a,onChange:function(t){return n(o({},"name"+e,t))},style:{color:i},placeholder:Object(b.u)("Team Member name"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:u,className:"ugb-team-member-position",onChange:function(t){return n(o({},"position"+e,t))},style:{color:c},placeholder:Object(b.u)("Position"),keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:g,className:"ugb-team-member-desc",onChange:function(t){return n(o({},"description"+e,t))},style:{color:m},placeholder:Object(b.u)("Team member description. This guy is the head of our small team. He loves walking his dog, Walter, when he has some free time."),keepPlaceholderOnFocus:!0}))})))},d=function(e){var t=e.className,n=e.attributes,o=e.attributes,l=o.shapes,r=o.nameColor,a=o.posColor,i=o.desColor,s=o.columns,m=u()([t,"ugb-team-member","columns-"+s,"image-"+l]);return wp.element.createElement("div",{className:m},Object(c.b)(1,s+1).map(function(e){var t=n["mediaURL"+e],o=n["name"+e],l=n["position"+e],u=n["description"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-team-member-item"},t&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:t?"url("+t+")":void 0},"data-src":t||void 0}),!b.o.isEmpty(o)&&wp.element.createElement(b.o.Content,{tagName:"h4",style:{color:r},value:o}),!b.o.isEmpty(l)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:a},value:l}),!b.o.isEmpty(u)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-team-member-desc",style:{color:i},value:u})))}))},p={href1:{type:"url"},href2:{type:"url"},href3:{type:"url"},mediaID1:{type:"number"},mediaID2:{type:"number"},mediaID3:{type:"number"},mediaURL1:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(1) .team-member-image",attribute:"data-src"},mediaURL2:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(2) .team-member-image",attribute:"data-src"},mediaURL3:{type:"string",source:"attribute",selector:".ugb-team-member-item:nth-child(3) .team-member-image",attribute:"data-src"},name1:{source:"html",selector:".ugb-team-member-item:nth-child(1) h4",default:Object(b.u)("Ben Adams")},name2:{source:"html",selector:".ugb-team-member-item:nth-child(2) h4",default:Object(b.u)("Alex Johnson")},name3:{source:"html",selector:".ugb-team-member-item:nth-child(3) h4",default:Object(b.u)("Sammy Simpson")},position1:{source:"html",selector:".ugb-team-member-item:nth-child(1) .ugb-team-member-position",default:Object(b.u)("Founder")},position2:{source:"html",selector:".ugb-team-member-item:nth-child(2) .ugb-team-member-position",default:Object(b.u)("Editor")},position3:{source:"html",selector:".ugb-team-member-item:nth-child(3) .ugb-team-member-position",default:Object(b.u)("Programmer")},description1:{source:"html",selector:".ugb-team-member-item:nth-child(1) .ugb-team-member-desc",default:Object(b.u)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},description2:{source:"html",selector:".ugb-team-member-item:nth-child(2) .ugb-team-member-desc",default:Object(b.u)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},description3:{source:"html",selector:".ugb-team-member-item:nth-child(3) .ugb-team-member-desc",default:Object(b.u)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},columns:{type:"number",default:2},shapes:{type:"string",default:"circle"},href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-team-member-column-one .team-member-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-team-member-column-two .team-member-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-team-member-column-three .team-member-image",attribute:"data-src"},name:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(b.u)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(b.u)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(b.u)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(b.u)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(b.u)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(b.u)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(b.u)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(b.u)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(b.u)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},iconColor:{type:"string"}};Object(b.D)("ugb/team-member",{title:Object(b.u)("Team Member"),icon:i.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.u)("Team Member"),Object(b.u)("Stackable")],attributes:p,deprecated:[{attributes:m.b,save:m.a,migrate:function(e){return Object(b.C)(Object.assign({},e,{href1:e.href,href2:e.hrefTwo,href3:e.hrefThree,mediaID1:e.mediaID,mediaID2:e.mediaIDTwo,mediaID3:e.mediaIDThree,mediaURL1:e.mediaURL,mediaURL2:e.mediaURLTwo,mediaURL3:e.mediaURLThree,name1:e.name,name2:e.nameTwo,name3:e.nameThree,position1:e.position,position2:e.positionTwo,position3:e.positionThree,description1:e.des,description2:e.desTwo,description3:e.desThree}),["href","hrefTwo","hrefThree","mediaID","mediaIDTwo","mediaIDThree","mediaURL","mediaURLTwo","mediaURLThree","name","nameTwo","nameThree","postion","positionTwo","positionThree","des","desTwo","desThree"])}}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u});var o=n(1),l=n.n(o),r=n(0),a={href:{type:"url"},hrefTwo:{type:"url"},hrefThree:{type:"url"},mediaID:{type:"number"},mediaIDTwo:{type:"number"},mediaIDThree:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-team-member-column-one .team-member-image",attribute:"data-src"},mediaURLTwo:{type:"string",source:"attribute",selector:".ugb-team-member-column-two .team-member-image",attribute:"data-src"},mediaURLThree:{type:"string",source:"attribute",selector:".ugb-team-member-column-three .team-member-image",attribute:"data-src"},name:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(r.u)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(r.u)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(r.u)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(r.u)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(r.u)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(r.u)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(r.u)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(r.u)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(r.u)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"number",default:1},shapes:{type:"string",default:"square"}},u=function(e){var t=e.className,n=e.attributes,o=n.name,a=n.nameTwo,u=n.nameThree,i=n.shapes,c=n.des,s=n.desTwo,m=n.desThree,b=n.position,g=n.positionTwo,d=n.positionThree,p=n.mediaURL,f=n.mediaURLTwo,h=n.mediaURLThree,w=(n.mediaID,n.mediaIDTwo,n.mediaIDThree,n.nameColor),y=n.posColor,v=n.desColor,C=(n.iconColor,n.columns),E=l()([t,"ugb-team-member","column-"+C,"image-"+i]);return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:"ugb-team-member-column-one"},p&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+p+")"},"data-src":p}),!r.o.isEmpty(o)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:w},value:o}),!r.o.isEmpty(b)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:b}),!r.o.isEmpty(c)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:v},value:c})),C>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},f&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"},"data-src":f}),!r.o.isEmpty(a)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:w},value:a}),!r.o.isEmpty(g)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:g}),!r.o.isEmpty(s)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:v},value:s})),C>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},h&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"},"data-src":h}),!r.o.isEmpty(u)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:w},value:u}),!r.o.isEmpty(d)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:y},value:d}),!r.o.isEmpty(m)&&wp.element.createElement(r.o.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:v},value:m})))}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(63),r=(n.n(l),n(64)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(65),s=n(0),m=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),l=e.isSelected,r=e.attributes,a=r.text,i=r.moreLabel,c=r.moreText,m=r.lessLabel,b=u()([n,"ugb-expand"]);return wp.element.createElement(s.f,null,wp.element.createElement("div",{className:b},l&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.u)("Less text")),wp.element.createElement(s.o,o({multiline:"p",placeholder:e.attributes.text.default,value:a,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(s.u)("Some short text that can be expanded to show more details."))),wp.element.createElement(s.o,o({tagName:"a",placeholder:e.attributes.moreLabel.default,value:i,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(s.u)("Show more"))),l&&wp.element.createElement("label",{className:"ugb-editor-label"},Object(s.u)("More text")),l&&wp.element.createElement(s.o,o({multiline:"p",placeholder:e.attributes.moreText.default,value:c,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(s.u)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),l&&wp.element.createElement(s.o,o({tagName:"a",placeholder:e.attributes.lessLabel.default,value:m,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(s.u)("Show less")))))},b=function(e){var t=e.className,n=e.attributes,o=n.text,l=n.moreLabel,r=n.moreText,a=n.lessLabel,i=u()([t,"ugb-expand"]);return wp.element.createElement("div",{className:i},wp.element.createElement("div",{className:"ugb-expand-less-text"},!s.o.isEmpty(o)&&wp.element.createElement(s.o.Content,{multiline:"p",value:o})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!s.o.isEmpty(r)&&wp.element.createElement(s.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(s.o.Content,{className:"ugb-expand-more",tagName:"span",value:l}),wp.element.createElement(s.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))},g={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(s.u)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(s.u)("Show less")}};Object(s.D)("ugb/expand",{title:Object(s.u)("Expand / Show More"),icon:i.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.u)("Expand"),Object(s.u)("Show more/less"),Object(s.u)("Stackable")],attributes:g,deprecated:[{attributes:c.b,save:c.a}],edit:m,save:b})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return r});var o=n(0),l={text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(o.u)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(o.u)("Show less")}},r=function(e){var t=e.attributes,n=t.text,l=t.moreLabel,r=t.moreText,a=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!o.o.isEmpty(n)&&wp.element.createElement(o.o.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!o.o.isEmpty(r)&&wp.element.createElement(o.o.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(o.o.Content,{className:"ugb-expand-more",tagName:"span",value:l}),wp.element.createElement(o.o.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))}},function(e,t,n){"use strict";var o=n(67),l=(n.n(o),n(68)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(0),c=function(e){var t=e.className,n=e.setAttributes,o=(e.isSelected,e.editable,e.setState,e.attributes),l=o.numberBox,r=o.numberBoxTwo,u=o.numberBoxThree,c=o.body,s=o.bodyTwo,m=o.bodyThree,b=o.name,g=o.nameTwo,d=o.nameThree,p=o.columns,f=o.numberBoxColor,h=o.nameColor,w=o.bodyTextColor,y=o.numberBGColor,v=a()([t,"ugb-number-box","column-"+p]);return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.n,{label:Object(i.u)("Columns"),value:p,onChange:function(e){return n({columns:e})},min:1,max:3})),wp.element.createElement(i.k,{title:Object(i.u)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({numberBoxColor:e})},label:Object(i.u)("Number Color")},{value:y,onChange:function(e){return n({numberBGColor:e})},label:Object(i.u)("Number Background Color")},{value:h,onChange:function(e){return n({nameColor:e})},label:Object(i.u)("Name Color")},{value:w,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.u)("Body Text Color")}]})),wp.element.createElement("div",{className:v},wp.element.createElement("div",null,wp.element.createElement(i.o,{tagName:"span",placeholder:l?l.default:"",value:l,onChange:function(e){return n({numberBox:e})},style:{color:f,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"h4",value:b,className:"ugb-number-box-name",onChange:function(e){return n({name:e})},placeholder:Object(i.u)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:c,className:"ugb-number-box-body",onChange:function(e){return n({body:e})},placeholder:Object(i.u)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(i.o,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return n({numberBoxTwo:e})},style:{color:f,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"h4",value:g,className:"ugb-number-box-name-two",onChange:function(e){return n({nameTwo:e})},placeholder:Object(i.u)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:s,className:"ugb-number-box-body-two",onChange:function(e){return n({bodyTwo:e})},placeholder:Object(i.u)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(i.o,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return n({numberBoxThree:e})},style:{color:f,backgroundColor:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"h4",value:d,className:"ugb-number-box-name-three",onChange:function(e){return n({nameThree:e})},placeholder:Object(i.u)("Add name\u2026"),style:{color:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:m,className:"ugb-number-box-body-three",onChange:function(e){return n({bodyThree:e})},placeholder:Object(i.u)("Add body\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}))))},s=function(e){var t=e.className,n=e.attributes,o=n.numberBox,l=n.numberBoxTwo,r=n.numberBoxThree,u=n.body,c=n.bodyTwo,s=n.bodyThree,m=n.name,b=n.nameTwo,g=n.nameThree,d=n.numberBoxColor,p=n.nameColor,f=n.bodyTextColor,h=n.numberBGColor,w=n.columns,y=a()([t,"ugb-number-box","column-"+w]);return wp.element.createElement("div",{className:y},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!i.o.isEmpty(o)&&wp.element.createElement(i.o.Content,{tagName:"span",style:{color:d,backgroundColor:h},value:o}),!i.o.isEmpty(m)&&wp.element.createElement(i.o.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:m}),!i.o.isEmpty(u)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:f},value:u})),w>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!i.o.isEmpty(l)&&wp.element.createElement(i.o.Content,{tagName:"span",style:{color:d,backgroundColor:h},value:l}),!i.o.isEmpty(b)&&wp.element.createElement(i.o.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:b}),!i.o.isEmpty(c)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:f},value:c})),w>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!i.o.isEmpty(r)&&wp.element.createElement(i.o.Content,{tagName:"span",style:{color:d,backgroundColor:h},value:r}),!i.o.isEmpty(g)&&wp.element.createElement(i.o.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:g}),!i.o.isEmpty(s)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:f},value:s})))},m={numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(i.u)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(i.u)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(i.u)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(i.u)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(i.u)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(i.u)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(i.u)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{source:"html",selector:".ugb-number-box-body-two",default:Object(i.u)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{source:"html",selector:".ugb-number-box-body-three",default:Object(i.u)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"number",default:1}};Object(i.D)("ugb/number-box",{title:Object(i.u)("Number Box"),icon:u.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.u)("Number Box"),Object(i.u)("Stackable")],attributes:m,edit:c,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(70),l=(n.n(o),n(71)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(72),b=n(0),g=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),o=e.setAttributes,l=e.attributes,r=l.url,u=l.url2,c=l.url3,m=l.pricingBoxTitle,g=l.pricingBoxTitle2,d=l.pricingBoxTitle3,p=l.price,f=l.price2,h=l.price3,w=l.perMonthLabel,y=l.perMonthLabel2,v=l.perMonthLabel3,C=l.buttonText,E=l.buttonText2,k=l.buttonText3,x=l.featureList,O=l.featureList2,N=l.featureList3,j=l.pricingBoxColor,T=l.priceColor,B=l.perMonthLabelColor,I=l.buttonColor,S=l.buttonTextColor,L=l.featureListColor,R=l.columns,z=l.size,A=l.cornerButtonRadius,D=a()([n,"ugb-pricing-box","column-"+R]);return wp.element.createElement(b.f,null,wp.element.createElement(b.h,null,wp.element.createElement(b.j,null,wp.element.createElement(b.n,{label:Object(b.u)("Columns"),value:R,onChange:function(e){return o({columns:e})},min:1,max:3})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.u)("Text Colors"),colorSettings:[{value:j,onChange:function(e){return o({pricingBoxColor:e})},label:Object(b.u)("Pricing Title Color")},{value:T,onChange:function(e){return o({priceColor:e})},label:Object(b.u)("Price Color")},{value:B,onChange:function(e){return o({perMonthLabelColor:e})},label:Object(b.u)("Per Month Label Color")},{value:L,onChange:function(e){return o({featureListColor:e})},label:Object(b.u)("Feature List Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:I,buttonTextColor:S,buttonSize:z,buttonBorderRadius:A,onChangeButtonColor:function(e){return o({buttonColor:e})},onChangeButtonTextColor:function(e){return o({buttonTextColor:e})},onChangeButtonSize:function(e){o({size:e})},onChangeButtonBorderRadius:function(e){return o({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:D},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(b.o,{tagName:"h3",value:m,onChange:function(e){return o({pricingBoxTitle:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:w,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:C,borderRadius:A,onChange:function(e){return o({buttonText:e})}}),wp.element.createElement(b.o,{tagName:"p",value:x,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.t,{value:r,onChange:function(e){return o({url:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.u)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(b.o,{tagName:"h3",value:g,onChange:function(e){return o({pricingBoxTitle2:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:f,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price2:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:y,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:E,borderRadius:A,onChange:function(e){return o({buttonText2:e})}}),wp.element.createElement(b.o,{tagName:"p",value:O,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList2:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.t,{value:u,onChange:function(e){return o({url2:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.u)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(b.o,{tagName:"h3",value:d,onChange:function(e){return o({pricingBoxTitle3:e})},style:{color:j},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:h,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price3:e})},style:{color:T},keepPlaceholderOnFocus:!0}),wp.element.createElement(b.o,{tagName:"p",value:v,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:z,color:S,backgroundColor:I,text:k,borderRadius:A,onChange:function(e){return o({buttonText3:e})}}),wp.element.createElement(b.o,{tagName:"p",value:N,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList3:e})},style:{color:L},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.t,{value:c,onChange:function(e){return o({url3:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.u)("Apply"),type:"submit"})))))},d=function(e){var t=e.className,n=e.attributes,o=n.url,l=n.url2,r=n.url3,u=n.pricingBoxTitle,i=n.pricingBoxTitle2,s=n.pricingBoxTitle3,m=n.price,g=n.price2,d=n.price3,p=n.perMonthLabel,f=n.perMonthLabel2,h=n.perMonthLabel3,w=n.buttonText,y=n.buttonText2,v=n.buttonText3,C=n.featureList,E=n.featureList2,k=n.featureList3,x=n.pricingBoxColor,O=n.priceColor,N=n.perMonthLabelColor,j=n.buttonColor,T=n.buttonTextColor,B=n.featureListColor,I=n.columns,S=n.size,L=n.cornerButtonRadius,R=a()([t,"ugb-pricing-box","column-"+I]);return wp.element.createElement("div",{className:R},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!b.o.isEmpty(u)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:x},value:u}),!b.o.isEmpty(m)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:m}),!b.o.isEmpty(p)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:p}),w&&!!w.length&&wp.element.createElement(c.a,{size:S,url:o,color:T,text:w,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(C)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:C})),I>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!b.o.isEmpty(i)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:x},value:i}),!b.o.isEmpty(g)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:g}),!b.o.isEmpty(f)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:f}),y&&!!y.length&&wp.element.createElement(c.a,{size:S,url:l,color:T,text:y,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(E)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:E})),I>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!b.o.isEmpty(s)&&wp.element.createElement(b.o.Content,{tagName:"h3",style:{color:x},value:s}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:O},value:d}),!b.o.isEmpty(h)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:h}),v&&!!v.length&&wp.element.createElement(c.a,{size:S,url:r,color:T,text:v,backgroundColor:j,borderRadius:L}),!b.o.isEmpty(k)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:B},value:k})))},p={url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one .ugb-button a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two .ugb-button a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three .ugb-button a",attribute:"href"},pricingBoxTitle:{source:"html",selector:".ugb-pricing-box-column-one h3",default:Object(b.u)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(b.u)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(b.u)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(b.u)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(b.u)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(b.u)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(b.u)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(b.u)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(b.u)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(b.u)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(b.u)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(b.u)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(b.u)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(b.u)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(b.u)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"number",default:1},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(b.D)("ugb/pricing-box",{title:Object(b.u)("Pricing Box"),icon:u.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.u)("Pricing Box"),Object(b.u)("Stackable")],attributes:p,deprecated:[{save:m.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var o=function(e){var t=e.attributes,n=t.url,o=t.url2,l=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,u=t.pricingBoxTitle3,i=t.price,c=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,g=t.perMonthLabel3,d=t.buttonText,p=t.buttonText2,f=t.buttonText3,h=t.featureList,w=t.featureList2,y=t.featureList3,v=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,k=t.buttonColor,x=t.buttonTextColor,O=t.featureListColor,N=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:k,color:x,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+N},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:v}},r),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},m),d&&!!d.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},d),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},h)),N>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},a),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),p&&!!p.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},p),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},w)),N>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:v}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),g&&!!g.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},g),f&&!!f.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},f),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},y)))}},function(e,t,n){"use strict";var o=n(74),l=(n.n(o),n(75)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(7),b=n(76),g=n(0),d=function(e){var t=e.className,n=e.setAttributes,o=e.isSelected,l=(e.editable,e.setState,e.attributes),r=l.buttonURL,u=l.buttonText,c=l.buttonColor,b=l.buttonTextColor,d=l.cornerButtonRadius,p=l.size,f=l.title,h=l.titleColor,w=l.subtitle,y=l.subtitleColor,v=l.contentAlign,C=l.backgroundColor,E=l.backgroundImageID,k=l.backgroundImageURL,x=l.backgroundOpacity,O=l.fixedBackground,N=a()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(x/1)],{"ugb-has-background":C||k,"ugb-has-background-image":k}),j={backgroundColor:C||void 0,backgroundImage:k?"url("+k+")":void 0,backgroundAttachment:O?"fixed":void 0,"--ugb-background-color":k?C:void 0,textAlign:v||void 0};return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:v,onChange:function(e){return n({contentAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{initialOpen:!0,title:Object(g.u)("Color Settings"),colorSettings:[{value:h,onChange:function(e){return n({titleColor:e})},label:Object(g.u)("Title Color")},{value:y,onChange:function(e){return n({subtitleColor:e})},label:Object(g.u)("Subtitle Color")}]}),wp.element.createElement(m.a,{initialOpen:!0,backgroundColor:C,backgroundImageID:E,backgroundImageURL:k,backgroundOpacity:x,fixedBackground:O,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,o=e.id;return n({backgroundImageURL:t,backgroundImageID:o})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})},onChangeFixedBackground:function(e){return n({fixedBackground:!!e})}}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:c,buttonTextColor:b,buttonSize:p,buttonBorderRadius:d,onChangeButtonColor:function(e){return n({buttonColor:e})},onChangeButtonTextColor:function(e){return n({buttonTextColor:e})},onChangeButtonSize:function(e){n({size:e})},onChangeButtonBorderRadius:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:N,style:j},wp.element.createElement("div",{className:"ugb-header-wrapper"},wp.element.createElement(g.o,{tagName:"h2",className:"ugb-header-title",placeholder:f.default,value:f,onChange:function(e){return n({title:e})},style:{textAlign:v,color:h}}),wp.element.createElement(g.o,{tagName:"p",className:"ugb-header-subtitle",placeholder:w.default,value:w,onChange:function(e){return n({subtitle:e})},style:{textAlign:v,color:y}}),wp.element.createElement(i.a,{size:p,align:v,color:b,backgroundColor:c,text:u,borderRadius:d,onChange:function(e){return n({buttonText:e})}}))),o&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+v},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.t,{value:r,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.u)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,o=n.buttonURL,l=n.buttonText,r=n.buttonColor,u=n.buttonTextColor,i=n.cornerButtonRadius,s=n.size,m=n.title,b=n.titleColor,d=n.subtitle,p=n.subtitleColor,f=n.contentAlign,h=n.backgroundColor,w=(n.backgroundImageID,n.backgroundImageURL),y=n.backgroundOpacity,v=n.fixedBackground,C=a()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(y/1)],{"ugb-has-background":h||w,"ugb-has-background-image":w}),E={backgroundColor:h||void 0,backgroundImage:w?"url("+w+")":void 0,backgroundAttachment:v?"fixed":void 0,"--ugb-background-color":w?h:void 0,textAlign:f||void 0};return wp.element.createElement("div",{className:C,style:E},wp.element.createElement("div",{className:"ugb-header-wrapper"},!g.o.isEmpty(m)&&wp.element.createElement(g.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:b},value:m}),!g.o.isEmpty(d)&&wp.element.createElement(g.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:p},value:d}),l&&!!l.length&&wp.element.createElement(c.a,{size:s,url:o,align:f,color:u,text:l,backgroundColor:r,borderRadius:i})))},f={title:{source:"html",selector:"h2",default:Object(g.u)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(g.u)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(g.u)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},opacity:{type:"number",default:5},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},id:{type:"number"}};Object(g.D)("ugb/header",{title:Object(g.u)("Header"),icon:u.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.u)("Header"),Object(g.u)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes:f,deprecated:[{attributes:b.h,save:b.d,migrate:function(e){return Object.assign({},e,{backgroundOpacity:e.opacity,backgroundImageID:e.id,backgroundImageURL:e.url})}},{attributes:b.g,save:b.c},{attributes:b.f,save:b.b},{attributes:b.e,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function o(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function r(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"d",function(){return s}),n.d(t,"h",function(){return m}),n.d(t,"c",function(){return b}),n.d(t,"g",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"f",function(){return p}),n.d(t,"a",function(){return f}),n.d(t,"e",function(){return h});var a=n(1),u=n.n(a),i=n(0),c=n(9),s=function(e){var t=e.className,n=e.attributes,l=n.url,r=n.buttonURL,a=n.buttonText,s=n.buttonColor,m=n.buttonTextColor,b=n.cornerButtonRadius,g=n.size,d=n.title,p=n.titleColor,f=n.subtitle,h=n.subtitleColor,w=n.contentAlign,y=(n.id,n.backgroundColor),v=n.opacity,C={backgroundImage:l?"url("+l+")":void 0,textAlign:w||void 0},E=u()([t,"ugb-header"],{"has-image":l,"has-no-content":!d&&!f&&!a,"has-content":d||f||a}),k=u()([o(v),"ugb-header-overlay"],{"overlay-opacity":0!==v});return wp.element.createElement("div",{className:E},wp.element.createElement("div",{className:k,style:{backgroundColor:y}}),wp.element.createElement("section",{key:"preview","data-url":l,style:C,className:"ugb-header-section"},!i.o.isEmpty(d)&&wp.element.createElement(i.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:p},value:d}),!i.o.isEmpty(f)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:f}),a&&!!a.length&&wp.element.createElement(c.c,{size:g,url:r,align:w,color:m,text:a,backgroundColor:s,borderRadius:b})))},m={title:{source:"html",selector:"h2",default:Object(i.u)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(i.u)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(i.u)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},b=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,a=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,g=t.title,d=t.titleColor,p=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),y=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(l(y),{"overlay-opacity":0!==y}),k=g.length||p.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+k},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!i.o.isEmpty(g)&&wp.element.createElement(i.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!i.o.isEmpty(p)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:p}),r&&!!r.length&&wp.element.createElement(c.b,{size:b,url:o,align:h,color:s,text:r,backgroundColor:a,borderRadius:m})))},g={title:{type:"array",source:"children",selector:"h2",default:Object(i.u)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.u)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(i.u)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},d=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,a=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,g=t.title,d=t.titleColor,p=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),y=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=u()(l(y),{"overlay-opacity":0!==y}),k=g.length||p.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+k},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!i.o.isEmpty(g)&&wp.element.createElement(i.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!i.o.isEmpty(p)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:p}),r&&!!r.length&&wp.element.createElement(c.a,{size:b,url:o,align:h,color:s,text:r,backgroundColor:a,borderRadius:m})))},p={title:{type:"array",source:"children",selector:"h2",default:Object(i.u)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.u)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(i.u)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},f=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,l=t.buttonText,a=t.buttonColor,i=t.buttonTextColor,c=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,g=t.subtitle,d=t.subtitleColor,p=(t.contentAlign,t.id,t.backgroundColor),f=t.opacity,h={backgroundColor:a,color:i,borderRadius:c+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,y=n?"has-image":"",v=u()(r(f),{"overlay-opacity":0!==f}),C=m||g||l?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+y+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+v,style:{backgroundColor:p}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),g&&!!g.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:d}},g),l&&!!l.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+s,style:h},l)))},h={title:{type:"array",source:"children",selector:"h2",default:Object(i.u)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.u)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(i.u)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(78),r=(n.n(l),n(79)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(80),s=n(8),m=n(3),b=n(81),g=n(0),d=function(e){var t=e.className,n=e.setAttributes,l=e.isSelected,r=(e.editable,e.setState,e.attributes),a=r.titleColor,i=r.subtitleColor,m=r.overlayColor,b=r.height,d=r.width,p=r.verticalAlign,f=r.horizontalAlign,h=r.align,w=r.columns,y=u()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-"+w]),v={textAlign:f||void 0,"--overlay-color":m};return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:f,onChange:function(e){return n({horizontalAlign:e})}}),wp.element.createElement(c.a,{value:p,onChange:function(e){return n({verticalAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.j,null,wp.element.createElement(g.n,{label:Object(g.u)("Columns"),value:w,onChange:function(e){return n({columns:e})},min:1,max:4}),wp.element.createElement(g.n,{label:Object(g.u)("Height"),value:b,min:"135",max:"700",onChange:function(e){return n({height:e})}}),"wide"!==h&&"full"!==h&&1===w&&wp.element.createElement(g.n,{label:Object(g.u)("Width"),value:d,min:"400",max:"999",help:Object(g.u)("Only available for single column & if centered"),onChange:function(e){return n({width:e})}})),wp.element.createElement(g.k,{title:Object(g.u)("Color Settings"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return n({overlayColor:e})},label:Object(g.u)("Overlay Color")},{value:a,onChange:function(e){return n({titleColor:e})},label:Object(g.u)("Title Color")},{value:i,onChange:function(e){return n({subtitleColor:e})},label:Object(g.u)("Subtitle Color")}]})),wp.element.createElement("div",{className:y,style:v},[1,2,3,4].map(function(e){var t=r["imageURL"+e],u=r["imageID"+e],c=r["title"+e],m=r["description"+e],y=r["link"+e],v={backgroundImage:t?"url("+t+")":void 0,maxWidth:"wide"!==h&&"full"!==h&&1===w?d:void 0,height:b,textAlign:f,justifyContent:p};return wp.element.createElement("div",{className:"ugb-image-box-editor-wrapper"},wp.element.createElement("div",{className:"ugb-image-box",style:v},wp.element.createElement(s.a,{imageID:u,imageURL:t,onRemove:function(){var t;n((t={},o(t,"imageURL"+e,""),o(t,"imageID"+e,""),t))},onChange:function(t){var l,r=t.url,a=t.id;n((l={},o(l,"imageURL"+e,r),o(l,"imageID"+e,a),l))},render:null}),t&&wp.element.createElement("a",{href:y}),t&&wp.element.createElement(g.o,{tagName:"h4",placeholder:Object(g.u)("Image Title"),value:c,onChange:function(t){return n(o({},"title"+e,t))},style:{color:a},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement(g.o,{tagName:"p",placeholder:Object(g.u)("Image description"),value:m,onChange:function(t){return n(o({},"description"+e,t))},style:{color:i},keepPlaceholderOnFocus:!0})),l&&wp.element.createElement("form",{className:"blocks-button__inline-link",onSubmit:function(e){return e.preventDefault()}},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.t,{value:y,onChange:function(t){n(o({},"link"+e,t))}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.u)("Apply"),type:"submit"})))})))},p=function(e){var t=e.className,n=e.attributes,o=e.attributes,l=o.titleColor,r=o.subtitleColor,a=o.overlayColor,i=o.height,c=o.width,s=o.verticalAlign,b=o.horizontalAlign,d=o.align,p=o.columns,f=u()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-"+p]),h={textAlign:b||void 0,"--overlay-color":a};return wp.element.createElement("div",{className:f,style:h},Object(m.b)(1,p+1).map(function(e){var t=n["imageURL"+e],o=(n["imageID"+e],n["title"+e]),a=n["description"+e],u=n["link"+e],m={backgroundImage:t?"url("+t+")":void 0,maxWidth:"wide"!==d&&"full"!==d&&1===p?c:void 0,height:i,textAlign:b,justifyContent:s};return wp.element.createElement("div",{className:"ugb-image-box",style:m},wp.element.createElement("a",{href:u}),!g.o.isEmpty(o)&&wp.element.createElement(g.o.Content,{tagName:"h4",style:{color:l},value:o}),!g.o.isEmpty(a)&&wp.element.createElement(g.o.Content,{tagName:"p",style:{color:r},value:a}))}))},f={columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1},title:{source:"html",selector:"h4",default:Object(g.u)("Title")},subtitle:{source:"html",selector:"p",default:Object(g.u)("Subtitle goes here")},id:{type:"number"},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"}};[1,2,3,4].forEach(function(e){f["title"+e]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child("+e+") h4",default:Object(g.u)("Title")},f["description"+e]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child("+e+") p",default:Object(g.u)("Image description")},f["imageURL"+e]={type:"string"},f["imageID"+e]={type:"number"},f["link"+e]={type:"string",source:"attribute",selector:".ugb-image-box-wrapper > *:nth-child("+e+") a",attribute:"href"}}),Object(g.D)("ugb/image-box",{title:Object(g.u)("Image Box"),icon:i.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.u)("Image Box"),Object(g.u)("Stackable")],supports:o({align:!0},"align",["center","wide","full"]),attributes:f,deprecated:[{attributes:b.d,save:b.b,migrate:function(e){return Object(g.C)(Object.assign({},e,{columns:1,horizontalAlign:"flex-end"===e.horizontalAlign?"right":"flex-start"===e.horizontalAlign?"left":e.horizontalAlign,align:e.full?"wide":"",title1:e.title,description1:e.subtitle,link1:e.href,imageURL1:e.url,imageID1:e.id}),["full","title","subtitle","href","url","id"])}},{attributes:b.c,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function o(e){function t(e){return function(){return r(o===e?void 0:e)}}var n=e.isCollapsed,o=e.value,r=e.onChange,u=a(m,function(e){return e.align===o});return wp.element.createElement(l.s,{isCollapsed:n,icon:u?u.icon:s(),label:Object(l.u)("Change Vertical Alignment"),controls:m.map(function(e){var n=e.align,l=o===n;return Object.assign({},e,{isActive:l,onClick:t(n)})})})}var l=n(0),r=lodash,a=r.find,u=wp.viewport.withViewportMatch,i=wp.data.withSelect,c=wp.compose.compose,s=function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"3",width:"14",height:"2"}),wp.element.createElement("path",{d:"M10.6,17.1H9.4V8.4L8.1,9.7L7,9l3-3l3,3l-1.1,0.8l-1.3-1.3C10.6,8.5,10.6,17.1,10.6,17.1z"}))},m=[{icon:s(),title:Object(l.u)("Align Top"),align:"flex-start"},{icon:function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"9",width:"14",height:"2"}),wp.element.createElement("path",{d:"M10.6,18.4H9.4v-3.9l-1.3,1.3L7,15l3-3l3,3l-1.1,0.8l-1.3-1.3V18.4z"}),wp.element.createElement("path",{d:"M9.4,1.6h1.2v3.9l1.3-1.3L13,5l-3,3L7,5l1.1-0.8l1.3,1.3V1.6z"}))}(),title:Object(l.u)("Align center"),align:"center"},{icon:function(){return wp.element.createElement("svg",{viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("rect",{x:"3",y:"15.1",width:"14",height:"2"}),wp.element.createElement("path",{d:"M9.4,2.9h1.2v8.6l1.3-1.3L13,11l-3,3l-3-3l1.1-0.8l1.3,1.3V2.9z"}))}(),title:Object(l.u)("Align right"),align:"flex-end"}];t.a=c(u({isLargeViewport:"medium"}),i(function(e,t){var n=t.clientId,o=t.isLargeViewport,l=t.isCollapsed,r=e("core/editor"),a=r.getBlockRootClientId,u=r.getEditorSettings;return{isCollapsed:l||!o||!u().hasFixedToolbar&&a(n)}}))(o)},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"d",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"a",function(){return c});var o=n(1),l=n.n(o),r=n(0),a=function(e){var t=e.className,n=e.attributes,o=n.url,a=n.href,u=n.title,i=n.titleColor,c=n.subtitle,s=n.subtitleColor,m=n.overlayColor,b=(n.id,n.height),g=n.width,d=n.verticalAlign,p=n.horizontalAlign,f=n.full,h=l()([t,"ugb-image-box"],{"has-image":o,"full-width":f,"has-no-content":!u&&!c,"has-content":u||c});return wp.element.createElement("div",{className:h,"data-url":o,style:{width:g+"px",height:b+"px",backgroundImage:"url("+o+")",alignItems:p,justifyContent:d}},wp.element.createElement("a",{href:a,style:{backgroundColor:m}}),!r.o.isEmpty(u)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:i},value:u}),!r.o.isEmpty(c)&&wp.element.createElement(r.o.Content,{tagName:"p",style:{color:s},value:c}))},u={title:{source:"html",selector:"h4",default:Object(r.u)("Title")},subtitle:{source:"html",selector:"p",default:Object(r.u)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},i={title:{type:"array",source:"children",selector:"h4",default:Object(r.u)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(r.u)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},c=function(e){var t=e.attributes,n=t.url,o=t.title,l=t.titleColor,a=t.subtitle,u=t.subtitleColor,i=t.overlayColor,c=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,g=t.full,d=n?"has-image":"",p=g?"full-width":"",f=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+d+" "+f+" "+p,"data-url":n,style:{width:s+"px",height:c+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:i}}),!r.o.isEmpty(o)&&wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:l},value:o}),!r.o.isEmpty(a)&&wp.element.createElement(r.o.Content,{tagName:"p",style:{color:u},value:a}))}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return"ugb-has-background-opacity-"+1*Math.round(e/1)}var r=n(83),a=(n.n(r),n(84)),u=(n.n(a),n(1)),i=n.n(u),c=n(2),s=n(85),m=n(3),b=n(7),g=n(0),d=function(e){var t=e.setAttributes,n=e.className,r=e.attributes,a=r.columns,u=r.backgroundColor,c=r.backgroundImageID,s=r.backgroundImageURL,m=r.backgroundOpacity,d=r.fixedBackground,p=r.textColor,f=r.countColor,h=r.countSize,w=i()([n,"ugb-countup","ugb-countup-v2","columns-"+a,l(m)],{"ugb-has-background":u||s,"ugb-has-background-image":s}),y={backgroundColor:u||void 0,backgroundImage:s?"url("+s+")":void 0,backgroundAttachment:d?"fixed":void 0,"--ugb-background-color":s?u:void 0};return wp.element.createElement(g.f,null,wp.element.createElement("div",{className:w,style:y},[1,2,3,4].map(function(e){var n=r["title"+e],l=r["description"+e],a=r["countText"+e];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},wp.element.createElement(g.o,{tagName:"h4",value:n,placeholder:Object(g.u)("Stat Title"),onChange:function(n){return t(o({},"title"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.o,{tagName:"div",className:"ugb-counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:a,onChange:function(n){return t(o({},"countText"+e,n))},style:{color:f||void 0,fontSize:h?h+"px":void 0},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.o,{tagName:"p",className:"ugb-counter-des",placeholder:Object(g.u)("Stat Description"),value:l,onChange:function(n){return t(o({},"description"+e,n))},style:{color:p||void 0},keepPlaceholderOnFocus:!0}))})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{title:Object(g.u)("Color Settings"),colorSettings:[{value:p,onChange:function(e){return t({textColor:e})},label:Object(g.u)("Heading & Description Color")},{value:f,onChange:function(e){return t({countColor:e})},label:Object(g.u)("Counter Color")}]},wp.element.createElement(g.n,{label:Object(g.u)("Columns"),value:a,onChange:function(e){return t({columns:e})},min:1,max:4}),wp.element.createElement(g.n,{label:Object(g.u)("Counter Text Size"),max:"100",min:"10",value:h,onChange:function(e){return t({countSize:e})}})),wp.element.createElement(b.a,{backgroundColor:u,backgroundImageID:c,backgroundImageURL:s,backgroundOpacity:m,fixedBackground:d,onChangeBackgroundColor:function(e){return t({backgroundColor:e})},onChangeBackgroundImage:function(e){var n=e.url,o=e.id;return t({backgroundImageURL:n,backgroundImageID:o})},onRemoveBackgroundImage:function(){t({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return t({backgroundOpacity:e})},onChangeFixedBackground:function(e){return t({fixedBackground:!!e})}})))},p=function(e){var t=e.className,n=e.attributes,o=n.columns,r=n.backgroundColor,a=n.backgroundImageURL,u=n.fixedBackground,c=n.backgroundOpacity,s=n.textColor,b=n.countColor,d=n.countSize,p=i()([t,"ugb-countup","ugb-countup-v2","columns-"+o,l(c)],{"ugb-has-background":r||a,"ugb-has-background-image":a}),f={backgroundColor:r||void 0,backgroundImage:a?"url("+a+")":void 0,backgroundAttachment:u?"fixed":void 0,"--ugb-background-color":a?r:void 0};return wp.element.createElement("div",{className:p,style:f},Object(m.b)(1,o+1).map(function(e){var t=n["title"+e],o=n["description"+e],l=n["countText"+e];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},!g.o.isEmpty(t)&&wp.element.createElement(g.o.Content,{tagName:"h4",style:{color:s||void 0},value:t}),!g.o.isEmpty(l)&&wp.element.createElement(g.o.Content,{tagName:"div",className:"ugb-counter",style:{color:b||void 0,fontSize:d?d+"px":void 0},value:l,"data-duration":"1000","data-delay":"16"}),!g.o.isEmpty(o)&&wp.element.createElement(g.o.Content,{tagName:"p",style:{color:s||void 0},value:o}))}))},f={columns:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup-item:nth-child(1) h4",default:Object(g.u)("Stat Title")},title2:{source:"html",selector:".ugb-countup-item:nth-child(2) h4",default:Object(g.u)("Stat Title")},title3:{source:"html",selector:".ugb-countup-item:nth-child(3) h4",default:Object(g.u)("Stat Title")},title4:{source:"html",selector:".ugb-countup-item:nth-child(4) h4",default:Object(g.u)("Stat Title")},countText1:{source:"html",selector:".ugb-countup-item:nth-child(1) .ugb-counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup-item:nth-child(2) .ugb-counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup-item:nth-child(3) .ugb-counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup-item:nth-child(4) .ugb-counter",default:"\xa399.99"},description1:{source:"html",selector:".ugb-countup-item:nth-child(1) p",default:Object(g.u)("stat description")},description2:{source:"html",selector:".ugb-countup-item:nth-child(2) p",default:Object(g.u)("stat description")},description3:{source:"html",selector:".ugb-countup-item:nth-child(3) p",default:Object(g.u)("stat description")},description4:{source:"html",selector:".ugb-countup-item:nth-child(4) p",default:Object(g.u)("stat description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},title:{source:"html",selector:"h4",default:Object(g.u)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(g.u)("and counting")},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}};Object(g.D)("ugb/count-up",{title:Object(g.u)("Count Up"),icon:c.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.u)("Count Up"),Object(g.u)("Stackable")],attributes:f,supports:o({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:s.b,save:s.a,migrate:function(e){return{columns:1,title1:e.title,description1:e.des,countText1:e.counter,textColor:e.headingColor,countColor:e.color,countSize:e.fontSize}}}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u});var o=n(1),l=n.n(o),r=n(0),a={title:{source:"html",selector:"h4",default:Object(r.u)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(r.u)("and counting")},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},u=function(e){var t=e.className,n=e.attributes,o=n.color,a=n.headingColor,u=n.desColor,i=n.title,c=n.counter,s=n.des,m=n.fontSize,b=l()([t,"ugb-countup"]);return wp.element.createElement("div",{className:b},wp.element.createElement(r.o.Content,{tagName:"h4",style:{color:a},value:i}),wp.element.createElement(r.o.Content,{tagName:"div",className:"ugb-counter",style:{color:o,fontSize:m+"px"},value:c,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(r.o.Content,{tagName:"p",style:{color:u},value:s}))}},function(e,t,n){"use strict";var o=n(87),l=(n.n(o),n(88)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(3),c=n(7),s=n(89),m=n(0),b={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},g=function(e){var t=e.className,n=e.setAttributes,o=e.isSelected,l=e.attributes,r=l.videoLink,u=(l.videoID,l.backgroundImageID),s=l.backgroundImageURL,g=l.backgroundColor,d=l.playButtonType,p=l.backgroundOpacity,f=[{value:"normal",label:Object(m.u)("Normal Play Button")},{value:"circle",label:Object(m.u)("Play Button with Circle")},{value:"outline",label:Object(m.u)("Outline Play Button")}],h=a()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(p/1)],{"ugb-has-background":g||s,"ugb-has-background-image":s}),w={backgroundColor:g||void 0,backgroundImage:s?"url("+s+")":void 0,"--ugb-background-color":s?g:void 0};return wp.element.createElement(m.f,null,wp.element.createElement(m.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.p,{label:Object(m.u)("Play Button Style"),value:d,options:f.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}})),wp.element.createElement(c.a,{initialOpen:!0,backgroundColor:g,backgroundImageID:u,backgroundImageURL:s,backgroundOpacity:p,onChangeBackgroundColor:function(e){return n({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,o=e.id;return n({backgroundImageURL:t,backgroundImageID:o})},onRemoveBackgroundImage:function(){n({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return n({backgroundOpacity:e})}})),wp.element.createElement("div",{className:h,style:w},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("span",{className:"ugb-play-button"},b[d]))),o&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.t,{value:r,onChange:function(e){n({videoLink:e,videoID:Object(i.a)(e).id})}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.u)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,Object(m.u)("Youtube / Vimeo only")))))},d=function(e){var t=e.className,n=e.attributes,o=(n.videoLink,n.videoID),l=n.playButtonType,r=(n.backgroundImageID,n.backgroundImageURL),u=n.backgroundColor,i=n.backgroundOpacity,c=a()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(i/1)],{"ugb-has-background":u||r,"ugb-has-background-image":r}),s={backgroundColor:u||void 0,backgroundImage:r?"url("+r+")":void 0,"--ugb-background-color":r?u:void 0};return wp.element.createElement("div",{className:c,style:s,"data-video":o},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#"}),wp.element.createElement("span",{className:"ugb-play-button"},b[l])))},p={videoLink:{type:"string"},videoID:{type:"string",source:"attribute",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}};Object(m.D)("ugb/video-popup",{title:Object(m.u)("Video Popup"),icon:u.s,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.u)("Video Popup"),Object(m.u)("Stackable")],attributes:p,deprecated:[{attributes:s.d,save:s.b,migrate:function(e){return Object(m.C)(Object.assign({},e,{backgroundOpacity:5,backgroundColor:e.overlayColor,backgroundImageID:e.mediaID,backgroundImageURL:e.mediaLink}),["overlayColor","mediaID","mediaLink"])}},{attributes:s.c,migrate:function(e){return e.videoID=e.videoLink,e},save:s.a}],edit:g,save:d})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"d",function(){return a}),n.d(t,"c",function(){return u}),n.d(t,"a",function(){return c});var o=n(1),l=n.n(o),r=function(e){var t=e.className,n=e.attributes,o=n.videoLink,r=n.videoID,a=n.mediaLink,u=n.overlayColor,c=n.playButtonType,s=(n.mediaID,l()([t,"ugb-video-popup"]));return wp.element.createElement("div",{className:s,"data-video":r,"data-video-url":o,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+a+")"},"data-url":a}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},i[c])))},a={videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video-url"},videoID:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},u={videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},i={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},c=function(e){var t=e.attributes,n=t.videoLink,o=t.mediaLink,l=t.overlayColor,r=t.playButtonType;t.mediaID;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:l}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+o+")"},"data-url":o}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:l}}),wp.element.createElement("span",{className:"ugb-play-button"},i[r])))}},function(e,t,n){"use strict";var o=n(91),l=(n.n(o),n(92)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(4),c=n(5),s=n(6),m=n(8),b=n(93),g=n(0),d=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className),o=e.setAttributes,l=e.attributes,r=l.heading,u=l.tagline,c=l.des,b=l.mediaID,d=l.mediaURL,p=l.headingColor,f=l.taglineColor,h=l.desColor,w=l.buttonURL,y=l.buttonText,v=l.buttonColor,C=l.buttonTextColor,E=l.size,k=l.cornerButtonRadius,x=l.contentAlign,O=a()([n,"ugb-card"],{"has-image":d});return wp.element.createElement(g.f,null,wp.element.createElement(g.d,null,wp.element.createElement(g.a,{value:x,onChange:function(e){return o({contentAlign:e})}})),wp.element.createElement(g.h,null,wp.element.createElement(g.k,{title:Object(g.u)("Text Colors"),colorSettings:[{value:p,onChange:function(e){return o({headingColor:e})},label:Object(g.u)("Heading Color")},{value:f,onChange:function(e){return o({taglineColor:e})},label:Object(g.u)("Tagline Color")},{value:h,onChange:function(e){return o({desColor:e})},label:Object(g.u)("Description Color")}]}),wp.element.createElement(s.a,{initialOpen:!1,buttonColor:v,buttonTextColor:C,buttonSize:E,buttonBorderRadius:k,onChangeButtonColor:function(e){return o({buttonColor:e})},onChangeButtonTextColor:function(e){return o({buttonTextColor:e})},onChangeButtonSize:function(e){o({size:e})},onChangeButtonBorderRadius:function(e){return o({cornerButtonRadius:e})}})),wp.element.createElement("div",{className:O},wp.element.createElement(m.a,{className:"ugb-card-image-container",imageID:b,imageURL:d,onRemove:function(){o({mediaURL:"",mediaID:""})},onChange:function(e){var t=e.url,n=e.id;o({mediaURL:t,mediaID:n})}}),wp.element.createElement(g.o,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return o({heading:e})},style:{color:p,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.o,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return o({tagline:e})},style:{color:f,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(g.o,{tagName:"p",value:c,className:"ugb-card-des",onChange:function(e){return o({des:e})},style:{color:h,textAlign:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:E,align:x,color:C,backgroundColor:v,text:y,borderRadius:k,onChange:function(e){return o({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+x,style:{marginTop:10}},wp.element.createElement(g.e,{icon:"admin-links"}),wp.element.createElement(g.t,{value:w,onChange:function(e){return o({buttonURL:e})}}),wp.element.createElement(g.g,{icon:"editor-break",label:Object(g.u)("Apply"),type:"submit"})))},p=function(e){var t=e.className,n=e.attributes,o=n.heading,l=n.tagline,r=n.des,u=n.mediaURL,i=(n.mediaID,n.headingColor),s=n.taglineColor,m=n.desColor,b=n.buttonURL,d=n.buttonText,p=n.buttonColor,f=n.buttonTextColor,h=n.size,w=n.cornerButtonRadius,y=n.contentAlign,v=a()([t,"ugb-card"],{"has-image":u});return wp.element.createElement("div",{className:v},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:y},"data-src":u}),!g.o.isEmpty(o)&&wp.element.createElement(g.o.Content,{tagName:"h4",style:{color:i,textAlign:y},value:o}),!g.o.isEmpty(l)&&wp.element.createElement(g.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:y},value:l}),!g.o.isEmpty(r)&&wp.element.createElement(g.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:m,textAlign:y},value:r}),d&&!!d.length&&wp.element.createElement(c.a,{size:h,url:b,align:y,color:f,text:d,backgroundColor:p,borderRadius:w}))},f={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:Object(g.u)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(g.u)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(g.u)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(g.u)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(g.D)("ugb/card",{title:Object(g.u)("Card"),icon:u.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(g.u)("Card"),Object(g.u)("Stackable")],attributes:f,deprecated:[{attributes:b.d,save:b.b},{attributes:b.c,save:b.a}],edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return i});var o=n(0),l=n(9),r={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(o.u)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(o.u)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(o.u)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(o.u)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},a=function(e){var t=e.attributes,n=t.heading,r=t.tagline,a=t.des,u=t.mediaURL,i=(t.mediaID,t.headingColor),c=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,g=t.buttonColor,d=t.buttonTextColor,p=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=u?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:h},"data-src":u}),!o.o.isEmpty(n)&&wp.element.createElement(o.o.Content,{tagName:"h4",style:{color:i,textAlign:h},value:n}),!o.o.isEmpty(r)&&wp.element.createElement(o.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:h},value:r}),!o.o.isEmpty(a)&&wp.element.createElement(o.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:a}),b&&!!b.length&&wp.element.createElement(l.a,{size:p,url:m,align:h,color:d,text:b,backgroundColor:g,borderRadius:f}))},u=function(e){var t=e.attributes,n=t.heading,o=t.tagline,l=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),u=t.taglineColor,i=t.desColor,c=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,g=t.size,d=t.cornerButtonRadius,p=t.contentAlign,f={backgroundColor:m,color:b,borderRadius:d+"px"},h=r?"has-image":"",w=n||o||l||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:p},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:p}},n),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:u,textAlign:p}},o),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:i,textAlign:p}},l),s&&!!s.length&&wp.element.createElement("a",{href:c,className:"wp-ugb-button wp-block-button ugb-button-"+g+" ugb-button-"+p,style:f},s))},i={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(o.u)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(o.u)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(o.u)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(o.u)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(95),r=(n.n(l),n(96)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(3),s=n(8),m=n(0),b=function(e){var t=e.isSelected,n=(e.setState,e.className),l=e.setAttributes,r=e.attributes,a=r.columns,i=r.imageSize,c=u()([n,"ugb-feature-grid","columns-"+a]);return wp.element.createElement(m.f,null,wp.element.createElement(m.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.n,{label:Object(m.u)("Columns"),value:a,onChange:function(e){return l({columns:e})},min:1,max:3}),wp.element.createElement(m.n,{label:Object(m.u)("Image Size %"),value:i,onChange:function(e){return l({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:c},[1,2,3].map(function(e){var n=r["imageUrl"+e],a=r["imageID"+e],u=r["title"+e],c=r["description"+e],b=r["linkUrl"+e],g=r["linkText"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-feature-grid-item"},wp.element.createElement("div",null,wp.element.createElement(s.a,{imageID:a,imageURL:n,onRemove:function(){var t;l((t={},o(t,"imageUrl"+e,""),o(t,"imageID"+e,""),t))},onChange:function(t){var n,r=t.url,a=t.id;l((n={},o(n,"imageUrl"+e,r),o(n,"imageID"+e,a),n))},render:wp.element.createElement("img",{src:n,style:{width:i+"%"}}),style:{width:i+"%"}})),wp.element.createElement(m.o,{tagName:"h5",value:u,onChange:function(t){return l(o({},"title"+e,t))},placeholder:d["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(m.o,{tagName:"p",value:c,onChange:function(t){return l(o({},"description"+e,t))},placeholder:d["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(m.o,{tagName:"span",value:g,onChange:function(t){return l(o({},"linkText"+e,t))},placeholder:d["linkText"+e].default,formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})))),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.t,{value:b,onChange:function(t){return l(o({},"linkUrl"+e,t))}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.u)("Apply"),type:"submit"})))})))},g=function(e){var t=e.attributes,n=e.className,o=t.columns,l=t.imageSize,r=u()([n,"ugb-feature-grid","columns-"+o]);return wp.element.createElement("div",{className:r},Object(c.b)(1,o+1).map(function(e){var n=t["imageUrl"+e],o=t["title"+e],r=t["description"+e],a=t["linkUrl"+e],u=t["linkText"+e];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:l+"%"}}),!m.o.isEmpty(o)&&wp.element.createElement(m.o.Content,{tagName:"h5",className:"ugb-fg-title",value:o}),!m.o.isEmpty(r)&&wp.element.createElement(m.o.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!m.o.isEmpty(u)&&wp.element.createElement("p",null,wp.element.createElement(m.o.Content,{tagName:"a",href:a,value:u,className:"ugb-fg-link"})))}))},d={columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:Object(m.u)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(m.u)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(m.u)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(m.u)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(m.u)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(m.u)("Some feature description for an awesome feature")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:Object(m.u)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(m.u)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(m.u)("View More")}};Object(m.D)("ugb/feature-grid",{title:Object(m.u)("Feature Grid"),icon:i.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.u)("Feature Grid"),Object(m.u)("Stackable")],attributes:d,edit:b,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(98),l=(n.n(o),n(99)),r=(n.n(l),n(1)),a=n.n(r),u=n(2),i=n(3),c=n(0),s=n(100),m={check:{iconFunc:s.e,circleFunc:s.d,outlineFunc:s.f,title:Object(c.u)("Check"),value:"check"},plus:{iconFunc:s.k,circleFunc:s.j,outlineFunc:s.l,title:Object(c.u)("Plus"),value:"plus"},arrow:{iconFunc:s.b,circleFunc:s.a,outlineFunc:s.c,title:Object(c.u)("Arrow"),value:"arrow"},cross:{iconFunc:s.h,circleFunc:s.g,outlineFunc:s.i,title:Object(c.u)("Cross"),value:"cross"},star:{iconFunc:s.n,circleFunc:s.m,outlineFunc:s.o,title:Object(c.u)("Star"),value:"star"}},b=function(e){return"circle"===e||"outline"===e?e+"Func":"iconFunc"},g=function(e,t,n){var o=b(t),l=Object(i.c)(m[e][o](n),!1);return btoa(l)},d=function(e){function t(e){return function(){return l({icon:e})}}function n(e){return function(){return l({iconShape:e})}}var o=(e.isSelected,e.setState,e.className),l=e.setAttributes,r=(e.insertBlocksAfter,e.attributes),u=r.icon,i=r.iconShape,s=r.iconColor,d=r.iconSize,p=r.text,f=r.columns,h=r.gap,w=a()([o,"ugb-icon-list","ugb-icon-"+u,"column-"+f]),y=g(u,i,s),v={"--icon":"url('data:image/svg+xml;base64,"+y+"')","--icon-size":d?d+"px":void 0,"--gap":h?h+"px":void 0};return wp.element.createElement(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.b,{label:Object(c.u)("Icon")},wp.element.createElement(c.s,{icon:m[u].iconFunc(),controls:Object.keys(m).map(function(e){return Object.assign({},m[e],{icon:m[e].iconFunc(),isActive:u===e,onClick:t(e)})})})),wp.element.createElement(c.b,{label:Object(c.u)("Icon Shape")},wp.element.createElement(c.s,{icon:m[u][b(i)](),controls:["","circle","outline"].map(function(e){var t=b(e);return Object.assign({},m[u],{icon:m[u][t](),isActive:i===e,onClick:n(e)})})})),wp.element.createElement(c.k,{title:Object(c.u)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:s,onChange:function(e){return l({iconColor:e})},label:Object(c.u)("Icon Color")}]}),wp.element.createElement(c.n,{label:Object(c.u)("Icon Size"),value:d,onChange:function(e){return l({iconSize:e})},min:8,max:30}),wp.element.createElement(c.n,{label:Object(c.u)("Columns"),value:f,onChange:function(e){return l({columns:e})},min:1,max:3}),wp.element.createElement(c.n,{label:Object(c.u)("List Gap"),value:h,onChange:function(e){return l({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:w,style:v},wp.element.createElement(c.o,{tagName:"ul",multiline:"li",value:p,onChange:function(e){return l({text:e})}})))},p=function(e){var t=e.className,n=e.attributes,o=n.icon,l=n.iconShape,r=n.iconColor,u=n.iconSize,i=n.text,s=n.columns,m=n.gap,b=a()([t,"ugb-icon-list","ugb-icon-"+o,"column-"+s]),d=g(o,l,r),p={"--icon":"url('data:image/svg+xml;base64,"+d+"')","--icon-size":u?u+"px":void 0,"--gap":m?m+"px":void 0};return wp.element.createElement(c.o.Content,{tagName:"ul",className:b,style:p,value:i})},f={icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}};Object(c.D)("ugb/icon-list",{title:Object(c.u)("Icon List"),icon:u.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.u)("Icon List"),Object(c.u)("Stackable")],attributes:f,edit:d,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"e",function(){return l}),n.d(t,"k",function(){return r}),n.d(t,"h",function(){return a}),n.d(t,"n",function(){return u}),n.d(t,"a",function(){return i}),n.d(t,"d",function(){return c}),n.d(t,"j",function(){return s}),n.d(t,"m",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return g}),n.d(t,"f",function(){return d}),n.d(t,"l",function(){return p}),n.d(t,"o",function(){return f}),n.d(t,"i",function(){return h});var o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "}))},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"}))},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "}))},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "}))},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "}))},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97 L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"}))},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9 l68.8-68.8l0,0L156,65.3L76.6,144.7z"}))},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15 h46.6V42.9h15v46.6H151V104.5z"}))},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9 L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5 l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"}))},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 \t"}),wp.element.createElement("path",{d:"M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5 C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8 c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1 C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7 c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1 C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29 c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"}))},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5 138.6,89.5 104.5,89.5 \t"}),wp.element.createElement("path",{d:"M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4 S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3 c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"}))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}),wp.element.createElement("polygon",{points:"96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5 \t "}))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5 134.7,123.9 107.8,97 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(102),r=(n.n(l),n(103)),a=(n.n(r),n(1)),u=n.n(a),i=n(2),c=n(4),s=n(5),m=n(6),b=n(7),g=n(8),d=n(104),p=n(0),f=function(e){var t,n=e.isSelected,l=(e.setState,e.className),r=e.setAttributes,a=e.attributes,i=a.invert,s=a.contentAlign,d=a.textColor,f=a.imageSize,h=a.imageID,y=a.imageUrl,v=a.title,C=a.description,E=a.buttonURL,k=a.buttonText,x=a.buttonColor,O=a.buttonTextColor,N=a.buttonSize,j=a.buttonBorderRadius,T=a.backgroundColor,B=a.backgroundImageID,I=a.backgroundImageURL,S=a.backgroundOpacity,L=a.fixedBackground,R=u()([l,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(S/1)],(t={},o(t,"ugb-content-"+s,s),o(t,"ugb-invert",i),o(t,"ugb-has-background",T||I),o(t,"ugb-has-background-image",I),t)),z={"--image-size":f?f+"px":void 0,backgroundColor:T||void 0,backgroundImage:I?"url("+I+")":void 0,backgroundAttachment:L?"fixed":void 0,"--ugb-background-color":I?T:void 0};return wp.element.createElement(p.f,null,wp.element.createElement(p.d,null,wp.element.createElement(p.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(p.h,null,wp.element.createElement(p.k,{initialOpen:!0,title:Object(p.u)("General Settings"),colorSettings:[{value:d,onChange:function(e){return r({textColor:e})},label:Object(p.u)("Text Color")}]},wp.element.createElement(p.r,{label:Object(p.u)("Reverse Horizontally"),checked:i,onChange:function(){return r({invert:!i})}}),wp.element.createElement(p.n,{label:Object(p.u)("Image Size"),value:f,onChange:function(e){return r({imageSize:e})},help:Object(p.u)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(b.a,{backgroundColor:T,backgroundImageID:B,backgroundImageURL:I,backgroundOpacity:S,fixedBackground:L,onChangeBackgroundColor:function(e){return r({backgroundColor:e})},onChangeBackgroundImage:function(e){var t=e.url,n=e.id;return r({backgroundImageURL:t,backgroundImageID:n})},onRemoveBackgroundImage:function(){r({backgroundImageURL:"",backgroundImageID:0})},onChangeBackgroundOpacity:function(e){return r({backgroundOpacity:e})},onChangeFixedBackground:function(e){return r({fixedBackground:!!e})}}),wp.element.createElement(m.a,{initialOpen:!1,buttonColor:x,buttonTextColor:O,buttonSize:N,buttonBorderRadius:j,onChangeButtonColor:function(e){return r({buttonColor:e})},onChangeButtonTextColor:function(e){return r({buttonTextColor:e})},onChangeButtonSize:function(e){r({buttonSize:e})},onChangeButtonBorderRadius:function(e){return r({buttonBorderRadius:e})}})),wp.element.createElement("div",{className:R,style:z},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(p.o,{tagName:"h2",value:v,onChange:function(e){return r({title:e})},placeholder:w.title.default,style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(p.o,{tagName:"p",value:C,onChange:function(e){return r({description:e})},placeholder:w.description.default,style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(c.a,{size:N,align:s,color:O,backgroundColor:x,text:k,borderRadius:j,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(g.a,{imageID:h,imageURL:y,onRemove:function(){r({imageUrl:"",imageID:""})},onChange:function(e){var t=e.url,n=e.id;r({imageUrl:t,imageID:n})},render:wp.element.createElement("img",{src:y})})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+s},wp.element.createElement(p.e,{icon:"admin-links"}),wp.element.createElement(p.t,{value:E,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(p.g,{icon:"editor-break",label:Object(p.u)("Apply"),type:"submit"})))},h=function(e){var t,n=e.className,l=e.attributes,r=l.invert,a=l.contentAlign,i=l.textColor,c=l.imageSize,m=(l.imageID,l.imageUrl),b=l.title,g=l.description,d=l.buttonURL,f=l.buttonText,h=l.buttonColor,w=l.buttonTextColor,y=l.buttonSize,v=l.buttonBorderRadius,C=l.backgroundColor,E=(l.backgroundImageID,l.backgroundImageURL),k=l.backgroundOpacity,x=l.fixedBackground,O=u()([n,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(k/1)],(t={},o(t,"ugb-content-"+a,a),o(t,"ugb-invert",r),o(t,"ugb-has-background",C||E),o(t,"ugb-has-background-image",E),t)),N={"--image-size":c?c+"px":void 0,backgroundColor:C||void 0,backgroundImage:E?"url("+E+")":void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":E?C:void 0};return wp.element.createElement("div",{className:O,style:N},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!p.o.isEmpty(b)&&wp.element.createElement(p.o.Content,{tagName:"h2",style:{color:i},value:b}),!p.o.isEmpty(g)&&wp.element.createElement(p.o.Content,{tagName:"p",style:{color:i},value:g}),!p.o.isEmpty(f)&&wp.element.createElement(s.a,{size:y,url:d,align:a,color:w,text:f,backgroundColor:h,borderRadius:v})),wp.element.createElement("div",{className:"ugb-feature-image-side"},m&&wp.element.createElement("img",{src:m,alt:b}))))},w={textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:Object(p.u)("Feature Title")},description:{source:"html",selector:"p",default:Object(p.u)("Some feature description for an awesome feature")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(p.u)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}};Object(p.D)("ugb/feature",{title:Object(p.u)("Feature"),icon:i.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(p.u)("Feature"),Object(p.u)("Stackable")],supports:o({align:!0},"align",["center","wide","full"]),attributes:w,deprecated:[{attributes:d.b,save:d.a}],edit:f,save:h})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"b",function(){return i}),n.d(t,"a",function(){return c});var l=n(1),r=n.n(l),a=n(0),u=n(9),i={backgroundColor:{type:"string"},textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:Object(a.u)("Feature Title")},description:{source:"html",selector:"p",default:Object(a.u)("Some feature description for an awesome feature")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(a.u)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}},c=function(e){var t,n=e.className,l=e.attributes,i=l.invert,c=l.contentAlign,s=l.backgroundColor,m=l.textColor,b=l.imageSize,g=(l.imageID,l.imageUrl),d=l.title,p=l.description,f=l.buttonURL,h=l.buttonText,w=l.buttonColor,y=l.buttonTextColor,v=l.buttonSize,C=l.buttonBorderRadius,E=r()([n,"ugb-feature"],(t={"ugb-has-background":s},o(t,"ugb-content-"+c,c),o(t,"ugb-invert",i),t)),k={backgroundColor:s||void 0,"--image-size":b?b+"px":void 0};return wp.element.createElement("div",{className:E,style:k},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!a.o.isEmpty(d)&&wp.element.createElement(a.o.Content,{tagName:"h2",style:{color:m},value:d}),!a.o.isEmpty(p)&&wp.element.createElement(a.o.Content,{tagName:"p",style:{color:m},value:p}),!a.o.isEmpty(h)&&wp.element.createElement(u.c,{size:v,url:f,align:c,color:y,text:h,backgroundColor:w,borderRadius:C})),wp.element.createElement("div",{className:"ugb-feature-image-side"},g&&wp.element.createElement("img",{src:g,alt:d}))))}},function(e,t,n){"use strict";function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=n(106),r=(n.n(l),n(107)),a=(n.n(r),n(108),n(1)),u=n.n(a),i=n(10),c=n(2),s=n(0),m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},b=lodash,g=b.isUndefined,d=b.pickBy,p=wp.components,f=p.Placeholder,h=p.Spinner,w=wp.htmlEntities.decodeEntities,y=wp.hooks.applyFilters,v=wp.date,C=v.dateI18n,E=v.format,k=[{value:"full",label:Object(s.u)("Full-sized")},{value:"square",label:Object(s.u)("Square")},{value:"landscape",label:Object(s.u)("Landscape")},{value:"portrait",label:Object(s.u)("Portrait")}],x=function(e){var t=e.attributes,n=e.categoriesList,l=e.setAttributes,r=e.latestPosts,a=e.className,c=(t.align,t.contentAlign),b=t.columns,g=t.order,d=t.orderBy,p=t.categories,v=t.postsToShow,x=t.displayFeaturedImage,O=t.featuredImageShape,N=t.displayTitle,j=t.displayCategory,T=t.displayComments,B=t.displayAuthor,I=t.displayDate,S=t.displayExcerpt,L=t.displayReadMoreLink,R=t.readMoreText,z=t.design,A=t.accentColor,D=Array.isArray(r)&&r.length,U=u()([a,"ugb-blog-posts","columns-"+b,"feature-image-shape-"+O,"design-"+z],o({},"align-"+c,c)),M={"--s-accent-color":A||void 0},P=wp.element.createElement(s.h,null,wp.element.createElement(i.a,{initialOpen:!0,selected:z,options:[{label:"Basic",value:"basic",image:"blog-posts/images/basic.png"},{label:"List",value:"list",image:"blog-posts/images/list.png"}],onChange:function(e){l({design:e})}}),wp.element.createElement(s.j,{title:Object(s.u)("Blog Posts Settings")},wp.element.createElement(s.l,m({order:g,orderBy:d},{numberOfItems:v,categoriesList:n,selectedCategoryId:p,onOrderChange:function(e){return l({order:e})},onOrderByChange:function(e){return l({orderBy:e})},onCategoryChange:function(e){return l({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return l({postsToShow:e})}})),wp.element.createElement(s.n,{label:Object(s.u)("Columns"),value:b,onChange:function(e){return l({columns:e})},min:1,max:4}),wp.element.createElement(s.r,{label:Object(s.u)("Display Title"),checked:N,onChange:function(e){return l({displayTitle:e})}}),wp.element.createElement(s.r,{label:Object(s.u)("Display Featured Image"),checked:x,onChange:function(e){return l({displayFeaturedImage:e})}}),x&&wp.element.createElement(s.p,{label:Object(s.u)("Featured Image Shape"),options:k,value:O,onChange:function(e){return l({featuredImageShape:e})}}),wp.element.createElement(s.r,{label:Object(s.u)("Display Excerpt"),checked:S,onChange:function(e){return l({displayExcerpt:e})}}),wp.element.createElement(s.r,{label:Object(s.u)("Display Category"),checked:j,onChange:function(e){return l({displayCategory:e})}}),wp.element.createElement(s.r,{label:Object(s.u)("Display Date"),checked:I,onChange:function(e){return l({displayDate:e})}}),wp.element.createElement(s.r,{label:Object(s.u)("Display Author"),checked:B,onChange:function(e){return l({displayAuthor:e})}}),wp.element.createElement(s.r,{label:Object(s.u)("Display Comments"),checked:T,onChange:function(e){return l({displayComments:e})}}),wp.element.createElement(s.r,{label:Object(s.u)("Display Continue Reading Link"),checked:L,onChange:function(e){return l({displayReadMoreLink:e})}}),L&&wp.element.createElement(s.q,{label:Object(s.u)("Customize Read More Link"),type:"text",value:R,onChange:function(e){return l({readMoreText:e})}})),wp.element.createElement(s.k,{initialOpen:!0,title:Object(s.u)("Color Settings"),colorSettings:[{value:A,onChange:function(e){return l({accentColor:e})},label:Object(s.u)("Accent Color")}]}));if(!D)return wp.element.createElement(s.f,null,P,wp.element.createElement(f,{icon:"admin-post",label:Object(s.u)("Blog Posts")},Array.isArray(r)?Object(s.u)("No posts found."):wp.element.createElement(h,null)));var F=r.length>v?r.slice(0,v):r;return wp.element.createElement(s.f,null,P,wp.element.createElement(s.d,null,wp.element.createElement(s.a,{value:c,onChange:function(e){return l({contentAlign:e})}})),wp.element.createElement("div",{className:U,style:M},F.map(function(t,n){var o="full"!==O&&b<2?O+"_large":O,l=t.featured_image_urls[o][0],r=j&&t.category_list&&wp.element.createElement("div",{className:"ugb-blog-posts__category-list",dangerouslySetInnerHTML:{__html:t.category_list}}),a=x&&l&&wp.element.createElement("figure",{className:"ugb-blog-posts__featured-image"},wp.element.createElement("a",{href:t.link,target:"_blank"},wp.element.createElement("img",{src:l}))),u=B&&t.author_info&&wp.element.createElement("span",null,t.author_info.name),i=I&&t.date_gmt&&wp.element.createElement("time",{dateTime:E("c",t.date_gmt),className:"date"},C("F d, Y",t.date_gmt)),c=T&&wp.element.createElement("span",null,t.comments_num),m=N&&wp.element.createElement("h3",{className:"ugb-blog-posts__title"},wp.element.createElement("a",{href:t.link},w(t.title.rendered.trim())||Object(s.u)("(Untitled)"))),g=S&&t.excerpt&&wp.element.createElement("div",{className:"ugb-blog-posts__excerpt",dangerouslySetInnerHTML:{__html:t.post_excerpt_stackable}}),d=L&&wp.element.createElement("p",{className:"ugb-blog-posts__read_more"},wp.element.createElement("a",{href:t.link},R||Object(s.u)("Continue reading"))),p=wp.element.createElement("article",{key:n,className:"hentry"},r,a,(I||B||T)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},u,B&&(I||T)&&wp.element.createElement("span",{className:"ugb-blog-posts__sep"},"\xb7"),i,I&&T&&wp.element.createElement("span",{className:"ugb-blog-posts__sep"},"\xb7"),c),m,g,d),f=Object.assign({},e,{i:n,featuredImageSrc:l,category:r,featuredImage:a,author:u,date:i,comments:c,title:m,excerpt:g,readMore:d});return y("stackable.designs.blog-posts.edit",p,z,f)})))},O=Object(s.F)(function(e,t){var n=t.attributes,o=n.postsToShow,l=n.order,r=n.orderBy,a=n.categories,u=e("core"),i=u.getEntityRecords,c=d({categories:a,order:l,orderby:r,per_page:o},function(e){return!g(e)}),s={per_page:100};return{latestPosts:i("postType","post",c),categoriesList:i("taxonomy","category",s)}})(x),N=function(){return null};Object(s.D)("ugb/blog-posts",{title:Object(s.u)("Blog Posts"),icon:c.a,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(s.u)("Blog Posts"),Object(s.u)("Stackable")],supports:o({align:!0},"align",["center","wide","full"]),edit:O,save:N})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var o=n(0);Object(o.w)("stackable.designs.blog-posts.edit","core/designs",function(e,t,n){var o=n.i,l=(n.featuredImageSrc,n.category),r=n.featuredImage,a=n.author,u=n.date,i=n.comments,c=n.title,s=n.excerpt,m=n.readMore,b=n.attributes,g=b.displayDate,d=b.displayAuthor,p=b.displayComments;return"list"===t?wp.element.createElement("article",{key:o,className:"hentry"},r,wp.element.createElement("div",{className:"ugb-blog-posts__side"},l,c,(g||d||p)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},a,d&&(g||p)&&wp.element.createElement("span",{className:"ugb-blog-posts__sep"},"\xb7"),u,g&&p&&wp.element.createElement("span",{className:"ugb-blog-posts__sep"},"\xb7"),i),s,m)):e})},function(e,t,n){"use strict";var o=n(0);Object(o.v)("stackable.get_pro","core",function(){})}]);
dist/blocks.editor.build.css CHANGED
@@ -24,3 +24,4 @@
24
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature-grid [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-feature-grid.columns-1>*:nth-child(2),.ugb-feature-grid.columns-1>*:nth-child(3){display:none}.ugb-feature-grid.columns-2>*:nth-child(3){display:none}.ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100px;width:100px;margin:0 auto;border-radius:100%}
25
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-icon-list-color-picker{border-top:none !important}.ugb-icon-list-color-picker .components-panel__body-title{display:none !important}.ugb-icon-list-color-picker .component-color-indicator{vertical-align:bottom !important}.ugb-icon-list ul{list-style:none !important}
26
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}[data-align="full"] .ugb-feature.ugb-has-background{border-radius:0 !important}[data-align="full"] .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{display:none}.ugb-feature .ugb-feature-image-side .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:250px}
 
24
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature-grid [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-feature-grid.columns-1>*:nth-child(2),.ugb-feature-grid.columns-1>*:nth-child(3){display:none}.ugb-feature-grid.columns-2>*:nth-child(3){display:none}.ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100px;width:100px;margin:0 auto;border-radius:100%}
25
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-icon-list-color-picker{border-top:none !important}.ugb-icon-list-color-picker .components-panel__body-title{display:none !important}.ugb-icon-list-color-picker .component-color-indicator{vertical-align:bottom !important}.ugb-icon-list ul{list-style:none !important}
26
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}[data-align="full"] .ugb-feature.ugb-has-background{border-radius:0 !important}[data-align="full"] .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{display:none}.ugb-feature .ugb-feature-image-side .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:250px}
27
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}[data-type="ugb/blog-posts"][data-align="center"]{text-align:inherit}[data-type="ugb/blog-posts"][data-align="full"] .ugb-blog-posts{padding-left:35px;padding-right:35px}
dist/blocks.style.build.css CHANGED
@@ -20,3 +20,4 @@
20
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature-grid{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0 -17.5px}.ugb-feature-grid>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid>*:first-child{margin-top:0 !important}.ugb-feature-grid>*:last-child{margin-bottom:0 !important}.ugb-feature-grid>div{-ms-flex:1;flex:1}.ugb-feature-grid>div,.ugb-feature-grid>div:first-child,.ugb-feature-grid>div:last-child{margin:17.5px !important}.ugb-feature-grid .ugb-feature-grid-item{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}.ugb-feature-grid .ugb-feature-grid-item>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid .ugb-feature-grid-item>*:first-child{margin-top:0 !important}.ugb-feature-grid .ugb-feature-grid-item>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-feature-grid .ugb-feature-grid-item{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-feature-grid .ugb-feature-grid-item{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}@media screen and (max-width: 960px){.ugb-feature-grid.columns-3 .ugb-feature-grid-item>img{width:100% !important}}@media screen and (max-width: 600px){.ugb-feature-grid-item>img{max-width:30vw}.ugb-feature-grid{-ms-flex-direction:column;flex-direction:column}}
21
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-icon-list{margin:0 0 1.5em 0 !important;padding:0 !important;list-style:none !important}.ugb-icon-list li:before{content:'';display:inline-block;vertical-align:middle;height:var(--icon-size, 20px);width:var(--icon-size, 20px);margin-right:1em;background-image:var(--icon);background-size:cover;background-position:center}.ugb-icon-list li{margin-top:0 !important;margin-bottom:var(--gap, 16) !important;text-indent:calc(var(--icon-size, 20px) * -1 - 1em) !important;padding-left:calc(var(--icon-size, 20px) + 1em) !important}.ugb-icon-list li:last-child{margin-bottom:0}.ugb-icon-list.column-2{-webkit-columns:2;columns:2}.ugb-icon-list.column-3{-webkit-columns:3;columns:3}@media screen and (max-width: 600px){.ugb-icon-list.column-3{-webkit-columns:2;columns:2}}.ugb-icon-list.column-2 li,.ugb-icon-list.column-3 li{-webkit-column-break-inside:avoid;break-inside:avoid}
22
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature{margin-top:1.5em;margin-bottom:1.5em}.ugb-feature>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature>*:first-child{margin-top:0 !important}.ugb-feature>*:last-child{margin-bottom:0 !important}.ugb-feature .ugb-feature-wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature .ugb-feature-wrapper>div{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;margin-top:1.5em;margin-bottom:1.5em;margin:0 17.5px}.ugb-feature .ugb-feature-wrapper>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature .ugb-feature-wrapper>div>*:first-child{margin-top:0 !important}.ugb-feature .ugb-feature-wrapper>div>*:last-child{margin-bottom:0 !important}.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ugb-feature .ugb-feature-image-side{-ms-flex-align:center;align-items:center}.ugb-feature .ugb-feature-image-side img{max-width:var(--image-size, 400px);width:var(--image-size, 400px)}.ugb-feature.ugb-content-left{text-align:left}.ugb-feature.ugb-content-center{text-align:center}.ugb-feature.ugb-content-right{text-align:right}.ugb-feature.alignfull .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}@media screen and (max-width: 782px){.ugb-feature.ugb-has-background{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-feature.ugb-has-background{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-feature.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}@media screen and (max-width: 768px){.ugb-feature .ugb-feature-wrapper,.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ugb-feature .ugb-feature-wrapper{text-align:center}.ugb-feature .ugb-feature-wrapper>div:first-child{margin-top:60px}.ugb-feature .ugb-feature-wrapper .ugb-feature-image-side img{width:60vw}.ugb-feature .ugb-button{margin:0 auto}}
 
20
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature-grid{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin:0 -17.5px}.ugb-feature-grid>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid>*:first-child{margin-top:0 !important}.ugb-feature-grid>*:last-child{margin-bottom:0 !important}.ugb-feature-grid>div{-ms-flex:1;flex:1}.ugb-feature-grid>div,.ugb-feature-grid>div:first-child,.ugb-feature-grid>div:last-child{margin:17.5px !important}.ugb-feature-grid .ugb-feature-grid-item{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}.ugb-feature-grid .ugb-feature-grid-item>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid .ugb-feature-grid-item>*:first-child{margin-top:0 !important}.ugb-feature-grid .ugb-feature-grid-item>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 782px){.ugb-feature-grid .ugb-feature-grid-item{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-feature-grid .ugb-feature-grid-item{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}@media screen and (max-width: 960px){.ugb-feature-grid.columns-3 .ugb-feature-grid-item>img{width:100% !important}}@media screen and (max-width: 600px){.ugb-feature-grid-item>img{max-width:30vw}.ugb-feature-grid{-ms-flex-direction:column;flex-direction:column}}
21
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-icon-list{margin:0 0 1.5em 0 !important;padding:0 !important;list-style:none !important}.ugb-icon-list li:before{content:'';display:inline-block;vertical-align:middle;height:var(--icon-size, 20px);width:var(--icon-size, 20px);margin-right:1em;background-image:var(--icon);background-size:cover;background-position:center}.ugb-icon-list li{margin-top:0 !important;margin-bottom:var(--gap, 16) !important;text-indent:calc(var(--icon-size, 20px) * -1 - 1em) !important;padding-left:calc(var(--icon-size, 20px) + 1em) !important}.ugb-icon-list li:last-child{margin-bottom:0}.ugb-icon-list.column-2{-webkit-columns:2;columns:2}.ugb-icon-list.column-3{-webkit-columns:3;columns:3}@media screen and (max-width: 600px){.ugb-icon-list.column-3{-webkit-columns:2;columns:2}}.ugb-icon-list.column-2 li,.ugb-icon-list.column-3 li{-webkit-column-break-inside:avoid;break-inside:avoid}
22
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-feature{margin-top:1.5em;margin-bottom:1.5em}.ugb-feature>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature>*:first-child{margin-top:0 !important}.ugb-feature>*:last-child{margin-bottom:0 !important}.ugb-feature .ugb-feature-wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature .ugb-feature-wrapper>div{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;margin-top:1.5em;margin-bottom:1.5em;margin:0 17.5px}.ugb-feature .ugb-feature-wrapper>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature .ugb-feature-wrapper>div>*:first-child{margin-top:0 !important}.ugb-feature .ugb-feature-wrapper>div>*:last-child{margin-bottom:0 !important}.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ugb-feature .ugb-feature-image-side{-ms-flex-align:center;align-items:center}.ugb-feature .ugb-feature-image-side img{max-width:var(--image-size, 400px);width:var(--image-size, 400px)}.ugb-feature.ugb-content-left{text-align:left}.ugb-feature.ugb-content-center{text-align:center}.ugb-feature.ugb-content-right{text-align:right}.ugb-feature.alignfull .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px}@media screen and (max-width: 782px){.ugb-feature.ugb-has-background{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-feature.ugb-has-background{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-feature.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}@media screen and (max-width: 768px){.ugb-feature .ugb-feature-wrapper,.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ugb-feature .ugb-feature-wrapper{text-align:center}.ugb-feature .ugb-feature-wrapper>div:first-child{margin-top:60px}.ugb-feature .ugb-feature-wrapper .ugb-feature-image-side img{width:60vw}.ugb-feature .ugb-button{margin:0 auto}}
23
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link{margin:1rem auto 0 auto}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input{max-width:300px;-ms-flex:1;flex:1;width:auto;margin-left:8px}.editor-block-list__block[data-type^="ugb/"] form.blocks-button__inline-link .editor-url-input [type=text]{width:100% !important}[class*="ugb-"].alignfull{border-radius:0 !important;width:100vw;margin-left:-50vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}@media (min-width: 1000px){[class*="ugb-"].alignwide{width:75vw;margin-left:-37.5vw;left:50%;-webkit-transform:none;-ms-transform:none;transform:none;position:relative}}[data-type^="ugb/"][data-align="full"]+[data-type^="ugb/"][data-align="full"]{margin-top:-32px}.ugb-blog-posts{margin-top:1.5em;margin-bottom:1.5em;display:grid;grid-column-gap:35px;grid-row-gap:60px}.ugb-blog-posts>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blog-posts>*:first-child{margin-top:0 !important}.ugb-blog-posts>*:last-child{margin-bottom:0 !important}.ugb-blog-posts article{margin-top:1.5em;margin-bottom:1.5em}.ugb-blog-posts article>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blog-posts article>*:first-child{margin-top:0 !important}.ugb-blog-posts article>*:last-child{margin-bottom:0 !important}.ugb-blog-posts time{display:inline-block}.ugb-blog-posts .ugb-blog-posts__title a,.ugb-blog-posts .ugb-blog-posts__title a:hover{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.ugb-blog-posts>*,.ugb-blog-posts>*>*{overflow:auto}.ugb-blog-posts .ugb-blog-posts__excerpt>*:last-child{margin-bottom:0}.ugb-blog-posts.align-right{text-align:right}.ugb-blog-posts.align-left{text-align:left}.ugb-blog-posts.align-center{text-align:center}.ugb-blog-posts.alignfull{padding-left:35px;padding-right:35px}.ugb-blog-posts .ugb-blog-posts__featured-image{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;overflow:hidden;padding:60px 35px;--box-padding-vert: 60px;--box-padding-hori: 35px;padding:0 !important;margin-left:0;margin-right:0}@media screen and (max-width: 782px){.ugb-blog-posts .ugb-blog-posts__featured-image{padding:40px 23.33333px;--box-padding-vert: 40px;--box-padding-hori: 23.33333px}}@media screen and (max-width: 600px){.ugb-blog-posts .ugb-blog-posts__featured-image{padding:35px 17.5px;--box-padding-vert: 35px;--box-padding-hori: 17.5px}}.ugb-blog-posts.feature-image-shape-full .ugb-blog-posts__featured-image a{display:block}.ugb-blog-posts.feature-image-shape-full .ugb-blog-posts__featured-image img{display:block;width:100%;height:auto}.ugb-blog-posts.feature-image-shape-square .ugb-blog-posts__featured-image a,.ugb-blog-posts.feature-image-shape-landscape .ugb-blog-posts__featured-image a,.ugb-blog-posts.feature-image-shape-portrait .ugb-blog-posts__featured-image a{position:relative;height:0;padding-bottom:50%;display:block}.ugb-blog-posts.feature-image-shape-square .ugb-blog-posts__featured-image img,.ugb-blog-posts.feature-image-shape-landscape .ugb-blog-posts__featured-image img,.ugb-blog-posts.feature-image-shape-portrait .ugb-blog-posts__featured-image img{position:absolute;max-height:none;max-width:none;top:0;left:0;right:0;bottom:0;-o-object-fit:cover;object-fit:cover;height:100%;width:100%}.ugb-blog-posts.feature-image-shape-square .ugb-blog-posts__featured-image a{padding-bottom:100%}.ugb-blog-posts.feature-image-shape-portrait .ugb-blog-posts__featured-image a{padding-bottom:150%}.ugb-blog-posts.feature-image-shape-landscape .ugb-blog-posts__featured-image a{padding-bottom:50%}.ugb-blog-posts .ugb-blog-posts__category-list{font-size:.75em;text-transform:uppercase}.ugb-blog-posts .ugb-blog-posts__category-list a,.ugb-blog-posts .ugb-blog-posts__category-list a:hover{text-decoration:none;-webkit-box-shadow:none;box-shadow:none}.ugb-blog-posts .ugb-blog-posts__meta{font-size:.75em;text-transform:uppercase;color:var(--s-accent-color, var(--s-primary-color, #2091e1))}.ugb-blog-posts .ugb-blog-posts__sep{margin:0 .25em}.ugb-blog-posts.columns-1{grid-template-columns:1fr}.ugb-blog-posts.columns-2{grid-template-columns:1fr 1fr}.ugb-blog-posts.columns-3{grid-template-columns:1fr 1fr 1fr}.ugb-blog-posts.columns-4{grid-template-columns:1fr 1fr 1fr 1fr}@media screen and (max-width: 1280px){.ugb-blog-posts.columns-4{grid-template-columns:1fr 1fr}}@media screen and (max-width: 782px){.ugb-blog-posts.columns-3{grid-template-columns:1fr}}@media screen and (max-width: 600px){.ugb-blog-posts.columns-2,.ugb-blog-posts.columns-4{grid-template-columns:1fr}}.ugb-blog-posts.design-list article{display:grid;grid-template-columns:.8fr 1fr;grid-gap:35px}.ugb-blog-posts.design-list .ugb-blog-posts__featured-image{-ms-flex-item-align:start;align-self:flex-start}.ugb-blog-posts.design-list .ugb-blog-posts__side{margin-top:1.5em;margin-bottom:1.5em}.ugb-blog-posts.design-list .ugb-blog-posts__side>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blog-posts.design-list .ugb-blog-posts__side>*:first-child{margin-top:0 !important}.ugb-blog-posts.design-list .ugb-blog-posts__side>*:last-child{margin-bottom:0 !important}@media screen and (max-width: 1440px){.ugb-blog-posts.design-list.columns-3,.ugb-blog-posts.design-list.columns-4{grid-template-columns:1fr 1fr}}@media screen and (max-width: 960px){.ugb-blog-posts.design-list.columns-2,.ugb-blog-posts.design-list.columns-3,.ugb-blog-posts.design-list.columns-4{grid-template-columns:1fr}}@media screen and (max-width: 600px){.ugb-blog-posts.design-list article{grid-template-columns:1fr;grid-gap:0}}
plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
6
  * Author: Gambit Technologies, Inc
7
  * Author URI: http://gambit.ph
8
- * Version: 1.6
9
  *
10
  * @package Stackable
11
  */
@@ -16,12 +16,24 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
19
- defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '1.6' );
20
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
21
 
22
  /**
23
  * Block Initializer.
24
  */
25
  require_once( plugin_dir_path( __FILE__ ) . 'src/init.php' );
 
 
 
 
 
 
26
  require_once( plugin_dir_path( __FILE__ ) . 'freemius.php' );
27
- require_once( plugin_dir_path( __FILE__ ) . 'welcome.php' );
 
 
 
 
 
 
5
  * Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
6
  * Author: Gambit Technologies, Inc
7
  * Author URI: http://gambit.ph
8
+ * Version: 1.7
9
  *
10
  * @package Stackable
11
  */
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
19
+ defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '1.7' );
20
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
21
 
22
  /**
23
  * Block Initializer.
24
  */
25
  require_once( plugin_dir_path( __FILE__ ) . 'src/init.php' );
26
+ require_once( plugin_dir_path( __FILE__ ) . 'src/block/blog-posts/index.php' );
27
+ require_once( plugin_dir_path( __FILE__ ) . 'src/block/blog-posts/designs.php' );
28
+
29
+ /**
30
+ * Freemius.
31
+ */
32
  require_once( plugin_dir_path( __FILE__ ) . 'freemius.php' );
33
+
34
+ /**
35
+ * Welcome screen.
36
+ */
37
+ require_once( plugin_dir_path( __FILE__ ) . 'src/welcome/index.php' );
38
+ require_once( plugin_dir_path( __FILE__ ) . 'src/welcome/notification.php' );
39
+ require_once( plugin_dir_path( __FILE__ ) . 'src/welcome/notification-rate.php' );
readme.txt CHANGED
@@ -2,48 +2,50 @@
2
  Contributors: bfintal, gambitph, freemius
3
  Tags: gutenberg, block, blocks, gutenberg blocks, page builder, editor, wordpress 5.0
4
  Requires at least: 4.8
5
- Tested up to: 4.9.8
6
  Requires PHP: 5.3
7
- Stable tag: 1.6
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
11
- A comprehensive collection of ready-to-use page building blocks for Gutenberg - the new WordPress editor
12
 
13
  == Description ==
14
 
15
- Stackable is a comprehensive collection of ready-to-use page builder blocks for Gutenberg - the new WordPress editor. Stackable gives you the capability to build awesome front pages and landing pages.
16
 
17
- Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great even in small devices, so feel free to mix different blocks together and customize their styles to suit your design needs.
18
 
19
- [View our website](https://wpstackable.com) which was made with Gutenberg + Stackable.
20
 
21
  ## Kick-ass blocks
22
 
23
- - Feature Grid [View Block](https://wpstackable.com/feature-grid-block/)
24
- - Image Box — [View Block](https://wpstackable.com/image-box-block/)
25
- - Feature — [View Block](https://wpstackable.com/feature-block/)
26
- - Icon List — [View Block](https://wpstackable.com/icon-list-block/)
27
- - Call to Action — [View Block](https://wpstackable.com/call-to-action-block/)
28
- - Card — [View Block](https://wpstackable.com/card-block/)
29
- - Header — [View Block](https://wpstackable.com/header-block/)
30
- - Count up — [View Block](https://wpstackable.com/count-up-block/)
31
- - Video Popup — [View Block](https://wpstackable.com/video-popup-block/)
32
- - Pricing Box — [View Block](https://wpstackable.com/pricing-table-block/)
33
- - Testimonials — [View Block](https://wpstackable.com/testimonial-block/)
34
- - Team Members — [View Block](https://wpstackable.com/team-member-block/)
35
- - Notification — [View Block](https://wpstackable.com/notification-block/)
36
- - Number box — [View Block](https://wpstackable.com/number-box-block/)
37
- - Expand / Show more — [View Block](https://wpstackable.com/expand-block/)
38
- - Button — [View Block](https://wpstackable.com/button-block/)
39
- - Ghost Button — [View Block](https://wpstackable.com/button-block/)
40
- - Blockquote — [View Block](https://wpstackable.com/blockquote-block/)
41
- - Pullquote — [View Block](https://wpstackable.com/pull-quote-block/)
42
- - Divider
43
- - Spacer
 
44
 
45
  ### News Article Updates
46
 
 
47
  - [v1.6 Better Block Experience & Improved Image Box block](https://wpstackable.com/blog/better-block-experience-improved-image-box-block/)
48
  - [v1.5 Better Count Up Block, Backgrounds & Full Widths](https://wpstackable.com/blog/better-count-up-block-backgrounds-full-widths/)
49
 
@@ -101,6 +103,11 @@ Nope. Stackable only works with Gutenberg, the new WordPress editor.
101
 
102
  == Changelog ==
103
 
 
 
 
 
 
104
  = 1.6 =
105
  [Read the news update](https://wpstackable.com/blog/better-block-experience-improved-image-box-block/)
106
  * New: Image Box block can now support 1-4 columns and now has better user experience
2
  Contributors: bfintal, gambitph, freemius
3
  Tags: gutenberg, block, blocks, gutenberg blocks, page builder, editor, wordpress 5.0
4
  Requires at least: 4.8
5
+ Tested up to: 5.0
6
  Requires PHP: 5.3
7
+ Stable tag: 1.7
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
11
+ A collection of beautiful and ready-to-use page building blocks for Gutenberg - the new WordPress editor
12
 
13
  == Description ==
14
 
15
+ Stackable is a beautiful collection of ready-to-use page builder blocks for Gutenberg - the new WordPress editor. Stackable's blocks gives you the capability to build awesome front pages and landing pages.
16
 
17
+ Stackable provides feature-rich blocks that gives you more design options for your site. Stackable's blocks look great out of the box, and will make website building a breeze. Stackable blocks are responsive and will look great even in small screens.
18
 
19
+ [View our website](https://wpstackable.com) which was made with Gutenberg + Stackable blocks.
20
 
21
  ## Kick-ass blocks
22
 
23
+ - Blog Posts Block - [View Block](https://wpstackable.com/blog-posts-block/)
24
+ - Feature Grid Block — [View Block](https://wpstackable.com/feature-grid-block/)
25
+ - Image Box Block — [View Block](https://wpstackable.com/image-box-block/)
26
+ - Feature Block — [View Block](https://wpstackable.com/feature-block/)
27
+ - Icon List Block — [View Block](https://wpstackable.com/icon-list-block/)
28
+ - Call to Action Block — [View Block](https://wpstackable.com/call-to-action-block/)
29
+ - Card Block — [View Block](https://wpstackable.com/card-block/)
30
+ - Header Block — [View Block](https://wpstackable.com/header-block/)
31
+ - Count Up Block — [View Block](https://wpstackable.com/count-up-block/)
32
+ - Video Popup Block — [View Block](https://wpstackable.com/video-popup-block/)
33
+ - Pricing Box Block — [View Block](https://wpstackable.com/pricing-table-block/)
34
+ - Testimonial Block — [View Block](https://wpstackable.com/testimonial-block/)
35
+ - Team Members Block — [View Block](https://wpstackable.com/team-member-block/)
36
+ - Notification Block — [View Block](https://wpstackable.com/notification-block/)
37
+ - Number Box Block — [View Block](https://wpstackable.com/number-box-block/)
38
+ - Expand / Show More Block — [View Block](https://wpstackable.com/expand-block/)
39
+ - Button Block — [View Block](https://wpstackable.com/button-block/)
40
+ - Ghost Button Block — [View Block](https://wpstackable.com/button-block/)
41
+ - Blockquote Block — [View Block](https://wpstackable.com/blockquote-block/)
42
+ - Pullquote Block — [View Block](https://wpstackable.com/pull-quote-block/)
43
+ - Divider Block
44
+ - Spacer Block
45
 
46
  ### News Article Updates
47
 
48
+ - [v1.7 Introducing the Blog Posts Block](https://wpstackable.com/blog/introducing-the-blog-posts-block/)
49
  - [v1.6 Better Block Experience & Improved Image Box block](https://wpstackable.com/blog/better-block-experience-improved-image-box-block/)
50
  - [v1.5 Better Count Up Block, Backgrounds & Full Widths](https://wpstackable.com/blog/better-count-up-block-backgrounds-full-widths/)
51
 
103
 
104
  == Changelog ==
105
 
106
+ = 1.7 =
107
+ [Read the news update](https://wpstackable.com/blog/introducing-the-blog-posts-block/)
108
+ * New: Blog Posts block
109
+ * New: Added notifications for the Stackable welcome screen.
110
+
111
  = 1.6 =
112
  [Read the news update](https://wpstackable.com/blog/better-block-experience-improved-image-box-block/)
113
  * New: Image Box block can now support 1-4 columns and now has better user experience
src/block/blog-posts/designs.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * PRO designs should go in here.
3
+ * DO NOT ADD FREE DESIGNS HERE. This file does not get included in the free version.
4
+ */
5
+
6
+ import { addFilter } from '../../wp-imports'
7
+
8
+ addFilter( 'stackable.designs.blog-posts.edit', 'core/designs', ( ret, design, props ) => {
9
+ const { i, featuredImageSrc, category, featuredImage, author, date, comments, title, excerpt, readMore } = props
10
+ const { displayDate, displayAuthor, displayComments } = props.attributes
11
+
12
+ if ( design === 'list' ) {
13
+ return (
14
+ <article key={ i } className='hentry'>
15
+ { featuredImage }
16
+ <div className='ugb-blog-posts__side'>
17
+ { category }
18
+ { title }
19
+ { ( displayDate || displayAuthor || displayComments ) &&
20
+ <aside className='entry-meta ugb-blog-posts__meta'>
21
+ { author }
22
+ { displayAuthor && ( displayDate || displayComments ) &&
23
+ <span className='ugb-blog-posts__sep'>&middot;</span>
24
+ }
25
+ { date }
26
+ { displayDate && displayComments &&
27
+ <span className='ugb-blog-posts__sep'>&middot;</span>
28
+ }
29
+ { comments }
30
+ </aside>
31
+ }
32
+ { excerpt }
33
+ { readMore }
34
+ </div>
35
+ </article>
36
+ )
37
+ }
38
+
39
+ return ret
40
+ } )
src/block/blog-posts/designs.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @package Stackable
4
+ */
5
+
6
+ // Exit if accessed directly.
7
+ if ( ! defined( 'ABSPATH' ) ) {
8
+ exit;
9
+ }
10
+
11
+ if ( ! function_exists( 'stackable_blog_posts_design_list' ) ) {
12
+
13
+ /**
14
+ * Render the list design markup.
15
+ *
16
+ * @since 1.7
17
+ */
18
+ function stackable_blog_posts_design_list( $markup, $design, $props ) {
19
+ $attributes = $props['attributes'];
20
+
21
+ if ( $design === 'list' ) {
22
+ $markup = "<article>";
23
+ $markup .= $props['featured_image'];
24
+ $markup .= "<div class='ugb-blog-posts__side'>";
25
+ $markup .= $props['category'];
26
+ $markup .= $props['title'];
27
+ if ( $attributes['displayDate'] || $attributes['displayAuthor'] || $attributes['displayComments'] ) {
28
+ $markup .= '<aside class="entry-meta ugb-blog-posts__meta">';
29
+ $markup .= $props['author'];
30
+ if ( ! empty( $attributes['displayAuthor'] ) && ( ! empty( $attributes['displayDate'] ) || ! empty( $attributes['displayComments'] ) ) ) {
31
+ $markup .= '<span class="ugb-blog-posts__sep">&middot;</span>';
32
+ }
33
+ $markup .= $props['date'];
34
+ if ( ! empty( $attributes['displayDate'] ) && ! empty( $attributes['displayComments'] ) ) {
35
+ $markup .= '<span class="ugb-blog-posts__sep">&middot;</span>';
36
+ }
37
+ $markup .= $props['comments'];
38
+ $markup .= '</aside>';
39
+ }
40
+ $markup .= $props['excerpt'];
41
+ $markup .= $props['read_more'];
42
+ $markup .= "</div>";
43
+ $markup .= "</article>";
44
+ return $markup;
45
+ }
46
+
47
+ return $markup;
48
+ }
49
+ add_filter( 'stackable/designs_blog-posts_save', 'stackable_blog_posts_design_list', 10, 3 );
50
+ }
src/block/blog-posts/editor.scss ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Editor Styles for Blog Posts Block
3
+ *
4
+ * CSS for just Backend enqueued after style.scss
5
+ * which makes it higher in priority.
6
+ */
7
+ [data-type="ugb/blog-posts"][data-align="center"] {
8
+ text-align: inherit;
9
+ }
10
+
11
+ // No border-radius for full width 1 column.
12
+ [data-type="ugb/blog-posts"][data-align="full"] {
13
+ .ugb-blog-posts {
14
+ padding-left: $box-hori-padding;
15
+ padding-right: $box-hori-padding;
16
+ }
17
+ }
src/block/blog-posts/images/basic.png ADDED
Binary file
src/block/blog-posts/images/list.png ADDED
Binary file
src/block/blog-posts/index.js ADDED
@@ -0,0 +1,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * BLOCK: Blog Posts
3
+ */
4
+
5
+ import './style.scss'
6
+ import './editor.scss'
7
+ import './designs'
8
+ import classnames from 'classnames'
9
+ import DesignPanelBody from '../../components/design-panel-body'
10
+ import { BlogPostsIcon } from '../../icons'
11
+ const { isUndefined, pickBy } = lodash
12
+ const {
13
+ Placeholder,
14
+ Spinner,
15
+ } = wp.components
16
+ const { decodeEntities } = wp.htmlEntities
17
+ const { applyFilters } = wp.hooks
18
+ const { dateI18n, format } = wp.date
19
+
20
+ import {
21
+ registerBlockType,
22
+ __,
23
+ InspectorControls,
24
+ Fragment,
25
+ PanelBody,
26
+ QueryControls,
27
+ withSelect,
28
+ ToggleControl,
29
+ TextControl,
30
+ RangeControl,
31
+ BlockControls,
32
+ SelectControl,
33
+ AlignmentToolbar,
34
+ PanelColorSettings,
35
+ } from '../../wp-imports'
36
+
37
+ const featuredImageShapes = [
38
+ { value: 'full', label: __( 'Full-sized' ) },
39
+ { value: 'square', label: __( 'Square' ) },
40
+ { value: 'landscape', label: __( 'Landscape' ) },
41
+ { value: 'portrait', label: __( 'Portrait' ) },
42
+ ]
43
+
44
+ export const _edit = ( props ) => {
45
+
46
+ const { attributes, categoriesList, setAttributes, latestPosts, className } = props
47
+ const {
48
+ align, contentAlign, columns, order, orderBy, categories, postsToShow,
49
+ displayFeaturedImage, featuredImageShape, displayTitle, displayCategory, displayComments,
50
+ displayAuthor, displayDate, displayExcerpt, displayReadMoreLink, readMoreText,
51
+ design, accentColor,
52
+ } = attributes
53
+
54
+ const hasPosts = Array.isArray( latestPosts ) && latestPosts.length;
55
+ const mainClasses = classnames( [
56
+ className,
57
+ 'ugb-blog-posts',
58
+ `columns-${columns}`,
59
+ `feature-image-shape-${featuredImageShape}`,
60
+ `design-${design}`,
61
+ ], {
62
+ [ `align-${contentAlign}` ]: contentAlign,
63
+ } )
64
+
65
+ const mainStyles = {
66
+ '--s-accent-color': accentColor ? accentColor : undefined,
67
+ }
68
+
69
+ const inspectorControls = (
70
+ <InspectorControls>
71
+ <DesignPanelBody
72
+ initialOpen={ true }
73
+ selected={ design }
74
+ options={ [
75
+ { label: 'Basic', value: 'basic', image: 'blog-posts/images/basic.png' },
76
+ { label: 'List', value: 'list', image: 'blog-posts/images/list.png' },
77
+ ] }
78
+ onChange={ ( design ) => { setAttributes( { design } ) } }
79
+ />
80
+ <PanelBody title={ __( 'Blog Posts Settings' ) }>
81
+ <QueryControls
82
+ { ...{ order, orderBy } }
83
+ numberOfItems={ postsToShow }
84
+ categoriesList={ categoriesList }
85
+ selectedCategoryId={ categories }
86
+ onOrderChange={ order => setAttributes( { order } ) }
87
+ onOrderByChange={ orderBy => setAttributes( { orderBy } ) }
88
+ onCategoryChange={ value => setAttributes( { categories: '' !== value ? value : undefined } ) }
89
+ onNumberOfItemsChange={ postsToShow => setAttributes( { postsToShow } ) }
90
+ />
91
+ <RangeControl
92
+ label={ __( 'Columns' ) }
93
+ value={ columns }
94
+ onChange={ columns => setAttributes( { columns } ) }
95
+ min={ 1 }
96
+ max={ 4 }
97
+ />
98
+ <ToggleControl
99
+ label={ __( 'Display Title' ) }
100
+ checked={ displayTitle }
101
+ onChange={ displayTitle => setAttributes( { displayTitle } ) }
102
+ />
103
+ <ToggleControl
104
+ label={ __( 'Display Featured Image' ) }
105
+ checked={ displayFeaturedImage }
106
+ onChange={ displayFeaturedImage => setAttributes( { displayFeaturedImage } ) }
107
+ />
108
+ { displayFeaturedImage &&
109
+ <SelectControl
110
+ label={ __( 'Featured Image Shape' ) }
111
+ options={ featuredImageShapes }
112
+ value={ featuredImageShape }
113
+ onChange={ featuredImageShape => setAttributes( { featuredImageShape } ) }
114
+ />
115
+ }
116
+ <ToggleControl
117
+ label={ __( 'Display Excerpt' ) }
118
+ checked={ displayExcerpt }
119
+ onChange={ displayExcerpt => setAttributes( { displayExcerpt } ) }
120
+ />
121
+ <ToggleControl
122
+ label={ __( 'Display Category' ) }
123
+ checked={ displayCategory }
124
+ onChange={ displayCategory => setAttributes( { displayCategory } ) }
125
+ />
126
+ <ToggleControl
127
+ label={ __( 'Display Date' ) }
128
+ checked={ displayDate }
129
+ onChange={ displayDate => setAttributes( { displayDate } ) }
130
+ />
131
+ <ToggleControl
132
+ label={ __( 'Display Author' ) }
133
+ checked={ displayAuthor }
134
+ onChange={ displayAuthor => setAttributes( { displayAuthor } ) }
135
+ />
136
+ <ToggleControl
137
+ label={ __( 'Display Comments' ) }
138
+ checked={ displayComments }
139
+ onChange={ displayComments => setAttributes( { displayComments } ) }
140
+ />
141
+ <ToggleControl
142
+ label={ __( 'Display Continue Reading Link' ) }
143
+ checked={ displayReadMoreLink }
144
+ onChange={ displayReadMoreLink => setAttributes( { displayReadMoreLink } ) }
145
+ />
146
+ { displayReadMoreLink &&
147
+ <TextControl
148
+ label={ __( 'Customize Read More Link' ) }
149
+ type='text'
150
+ value={ readMoreText }
151
+ onChange={ readMoreText => setAttributes( { readMoreText } ) }
152
+ />
153
+ }
154
+ </PanelBody>
155
+ <PanelColorSettings
156
+ initialOpen={ true }
157
+ title={ __( 'Color Settings' ) }
158
+ colorSettings={ [
159
+ {
160
+ value: accentColor,
161
+ onChange: ( accentColor ) => setAttributes( { accentColor } ),
162
+ label: __( 'Accent Color' ),
163
+ },
164
+ ] }
165
+ ></PanelColorSettings>
166
+ </InspectorControls>
167
+ );
168
+
169
+ if ( ! hasPosts ) {
170
+ return (
171
+ <Fragment>
172
+ { inspectorControls }
173
+ <Placeholder
174
+ icon='admin-post'
175
+ label={ __( 'Blog Posts' ) }
176
+ >
177
+ { ! Array.isArray( latestPosts ) ?
178
+ <Spinner /> :
179
+ __( 'No posts found.' )
180
+ }
181
+ </Placeholder>
182
+ </Fragment>
183
+ );
184
+ }
185
+
186
+ // Removing posts from display should be instant.
187
+ const displayPosts = latestPosts.length > postsToShow ?
188
+ latestPosts.slice( 0, postsToShow ) :
189
+ latestPosts;
190
+
191
+ return (
192
+ <Fragment>
193
+ { inspectorControls }
194
+ <BlockControls>
195
+ <AlignmentToolbar
196
+ value={ contentAlign }
197
+ onChange={ contentAlign => setAttributes( { contentAlign } ) }
198
+ />
199
+ </BlockControls>
200
+ <div className={ mainClasses } style={ mainStyles }>
201
+ { displayPosts.map( ( post, i ) => {
202
+ const sizeName = featuredImageShape !== 'full' && columns < 2 ? `${featuredImageShape}_large` : featuredImageShape
203
+ const featuredImageSrc = post.featured_image_urls[ sizeName ][0]
204
+
205
+ // Ready the different blog post components.
206
+ const category = displayCategory && post.category_list && (
207
+ <div className='ugb-blog-posts__category-list' dangerouslySetInnerHTML={ { __html: post.category_list } } />
208
+ )
209
+ const featuredImage = displayFeaturedImage && featuredImageSrc && (
210
+ <figure className='ugb-blog-posts__featured-image'>
211
+ <a href={ post.link } target="_blank">
212
+ <img src={ featuredImageSrc }/>
213
+ </a>
214
+ </figure>
215
+ )
216
+ const author = displayAuthor && post.author_info && (
217
+ <span>{ post.author_info.name }</span>
218
+ )
219
+ const date = displayDate && post.date_gmt && (
220
+ <time dateTime={ format( 'c', post.date_gmt ) } className={ 'date' }>
221
+ { dateI18n( 'F d, Y', post.date_gmt ) }
222
+ </time>
223
+ )
224
+ const comments = displayComments && (
225
+ <span>{ post.comments_num }</span>
226
+ )
227
+ const title = displayTitle && (
228
+ <h3 className='ugb-blog-posts__title'>
229
+ <a href={ post.link }>{ decodeEntities( post.title.rendered.trim() ) || __( '(Untitled)' ) }</a>
230
+ </h3>
231
+ )
232
+ const excerpt = displayExcerpt && post.excerpt && (
233
+ <div className='ugb-blog-posts__excerpt' dangerouslySetInnerHTML={ { __html: post.post_excerpt_stackable } } />
234
+ )
235
+ const readMore = displayReadMoreLink && (
236
+ <p className='ugb-blog-posts__read_more'><a href={ post.link }>{ readMoreText ? readMoreText : __( 'Continue reading' ) }</a></p>
237
+ )
238
+
239
+ const defaultEditDesign = (
240
+ <article key={ i } className='hentry'>
241
+ { category }
242
+ { featuredImage }
243
+ { ( displayDate || displayAuthor || displayComments ) &&
244
+ <aside className='entry-meta ugb-blog-posts__meta'>
245
+ { author }
246
+ { displayAuthor && ( displayDate || displayComments ) &&
247
+ <span className='ugb-blog-posts__sep'>&middot;</span>
248
+ }
249
+ { date }
250
+ { displayDate && displayComments &&
251
+ <span className='ugb-blog-posts__sep'>&middot;</span>
252
+ }
253
+ { comments }
254
+ </aside>
255
+ }
256
+ { title }
257
+ { excerpt }
258
+ { readMore }
259
+ </article>
260
+ )
261
+
262
+ const passedProps = {
263
+ ...props,
264
+ i,
265
+ featuredImageSrc,
266
+ category,
267
+ featuredImage,
268
+ author,
269
+ date,
270
+ comments,
271
+ title,
272
+ excerpt,
273
+ readMore,
274
+ }
275
+ return applyFilters( 'stackable.designs.blog-posts.edit', defaultEditDesign, design, passedProps )
276
+ } ) }
277
+ </div>
278
+ </Fragment>
279
+ );
280
+ }
281
+
282
+ export const edit = withSelect( ( select, props ) => {
283
+ const { postsToShow, order, orderBy, categories } = props.attributes;
284
+ const { getEntityRecords } = select( 'core' );
285
+ const latestPostsQuery = pickBy( {
286
+ categories,
287
+ order,
288
+ orderby: orderBy,
289
+ per_page: postsToShow,
290
+ }, ( value ) => ! isUndefined( value ) );
291
+ const categoriesListQuery = {
292
+ per_page: 100,
293
+ };
294
+ return {
295
+ latestPosts: getEntityRecords( 'postType', 'post', latestPostsQuery ),
296
+ categoriesList: getEntityRecords( 'taxonomy', 'category', categoriesListQuery ),
297
+ };
298
+ } )( _edit );
299
+
300
+ export const save = () => {
301
+ return null
302
+ }
303
+
304
+ /**
305
+ * Register: Gutenberg Block.
306
+ *
307
+ * Registers a new block provided a unique name and an object defining its
308
+ * behavior. Once registered, the block is made editor as an option to any
309
+ * editor interface where blocks are implemented.
310
+ *
311
+ * @param {string} name Block name.
312
+ * @param {Object} settings Block settings.
313
+ * @return {?WPBlock} The block, if it has been successfully
314
+ * registered; otherwise `undefined`.
315
+ */
316
+ registerBlockType( 'ugb/blog-posts', {
317
+ title: __( 'Blog Posts' ),
318
+ icon: BlogPostsIcon,
319
+ category: 'stackable-ultimate-gutenberg-blocks',
320
+ keywords: [
321
+ __( 'Blog Posts' ),
322
+ __( 'Stackable' ),
323
+ ],
324
+
325
+ supports: {
326
+ align: true,
327
+ align: [ 'center', 'wide', 'full' ],
328
+ },
329
+
330
+ edit,
331
+ save,
332
+ } );
src/block/blog-posts/index.php ADDED
@@ -0,0 +1,479 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Server-side rendering of the `ugb/blog-posts` block.
4
+ *
5
+ * @package Stackable
6
+ */
7
+
8
+ /**
9
+ * Renders the `ugb/blog-posts` block on server.
10
+ *
11
+ * @since 1.7
12
+ *
13
+ * @param array $attributes The block attributes.
14
+ *
15
+ * @return string Returns the post content with latest posts added.
16
+ */
17
+ if ( ! function_exists( 'stackable_render_blog_posts_block' ) ) {
18
+ function stackable_render_blog_posts_block( $attributes ) {
19
+ $recent_posts = wp_get_recent_posts(
20
+ array(
21
+ 'numberposts' => $attributes['postsToShow'],
22
+ 'post_status' => 'publish',
23
+ 'order' => $attributes['order'],
24
+ 'orderby' => $attributes['orderBy'],
25
+ 'category' => $attributes['categories'],
26
+ )
27
+ );
28
+
29
+ $posts_markup = '';
30
+
31
+ foreach ( $recent_posts as $post ) {
32
+ $post_id = $post['ID'];
33
+
34
+ // Category.
35
+ $category = '';
36
+ if ( ! empty( $attributes['displayCategory'] ) ) {
37
+ $category = sprintf(
38
+ '<div class="ugb-blog-posts__category-list">%s</div>',
39
+ get_the_category_list( esc_html__( ', ', 'stackable' ), '', $post_id )
40
+ );
41
+ }
42
+
43
+ // Featured image.
44
+ $featured_image = '';
45
+ if ( ! empty( $attributes['displayFeaturedImage'] ) ) {
46
+ $size = 'full';
47
+ if ( $attributes['featuredImageShape'] === 'landscape' ) {
48
+ $size = 'stackable-landscape';
49
+ } else if ( $attributes['featuredImageShape'] === 'square' ) {
50
+ $size = 'stackable-square';
51
+ }
52
+ $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), $size, false );
53
+
54
+ if ( ! empty( $image ) ) {
55
+ $featured_image = sprintf(
56
+ '<figure class="ugb-blog-posts__featured-image"><a href="%s"><img src="%s" alt="%s"/></a></figure>',
57
+ esc_url( get_permalink( $post_id ) ),
58
+ $image[0],
59
+ esc_attr( get_the_title( $post_id ) )
60
+ );
61
+ }
62
+ }
63
+
64
+ // Author.
65
+ $author = '';
66
+ if ( ! empty( $attributes['displayAuthor'] ) ) {
67
+ $author = sprintf(
68
+ '<span>%s</span>',
69
+ esc_html( get_the_author_meta( 'display_name', $post['post_author'] ) )
70
+ );
71
+ }
72
+
73
+ // Date.
74
+ $date = '';
75
+ if ( ! empty( $attributes['displayDate'] ) ) {
76
+ $date = sprintf(
77
+ '<time datetime="%1$s" class="ugb-blog-posts__date">%2$s</time>',
78
+ esc_attr( get_the_date( 'c', $post_id ) ),
79
+ esc_html( get_the_date( '', $post_id ) )
80
+ );
81
+ }
82
+
83
+ // Comments.
84
+ $comments = '';
85
+ if ( ! empty( $attributes['displayComments'] ) ) {
86
+ $num = get_comments_number( $post_id );
87
+ $num = sprintf( _n( '%d comment', '%d comments', $num, 'stackable' ), $num );
88
+
89
+ $comments = sprintf(
90
+ '<span>%s</span>',
91
+ $num
92
+ );
93
+ }
94
+
95
+ // Title.
96
+ $title = '';
97
+ if ( ! empty( $attributes['displayTitle'] ) ) {
98
+ $title = get_the_title( $post_id );
99
+ if ( ! $title ) {
100
+ $title = __( '(Untitled)', 'stackable' );
101
+ }
102
+ $title = sprintf(
103
+ '<h3 class="ugb-blog-posts__title"><a href="%s">%s</a></h3>',
104
+ esc_url( get_permalink( $post_id ) ),
105
+ $title // esc_html( $title )
106
+ );
107
+ }
108
+
109
+ // Excerpt.
110
+ $excerpt = '';
111
+ if ( ! empty( $attributes['displayExcerpt'] ) ) {
112
+
113
+ $excerpt = stackable_get_excerpt( $post_id, $post );
114
+ if ( ! empty( $excerpt ) ) {
115
+ $excerpt = sprintf(
116
+ '<div class="ugb-blog-posts__excerpt">%s</div>',
117
+ wp_kses_post( $excerpt )
118
+ );
119
+ }
120
+ }
121
+
122
+ // Read more link.
123
+ $read_more = '';
124
+ if ( ! empty( $attributes['displayReadMoreLink'] ) ) {
125
+ $read_more_text = __( 'Continue reading', 'stackable' );
126
+ if ( ! empty( $attributes['readMoreText'] ) ) {
127
+ $read_more_text = $attributes['readMoreText'];
128
+ }
129
+ $read_more = sprintf(
130
+ '<p class="ugb-blog-posts__read_more"><a href="%s">%s</a></p>',
131
+ esc_url( get_permalink( $post_id ) ),
132
+ esc_html( $read_more_text )
133
+ );
134
+ }
135
+
136
+ /**
137
+ * This is the default basic style.
138
+ */
139
+ $post_markup = "<article>";
140
+ $post_markup .= $category;
141
+ $post_markup .= $featured_image;
142
+ if ( $attributes['displayDate'] || $attributes['displayAuthor'] || $attributes['displayComments'] ) {
143
+ $post_markup .= '<aside class="entry-meta ugb-blog-posts__meta">';
144
+ $post_markup .= $author;
145
+ if ( ! empty( $attributes['displayAuthor'] ) && ( ! empty( $attributes['displayDate'] ) || ! empty( $attributes['displayComments'] ) ) ) {
146
+ $post_markup .= '<span class="ugb-blog-posts__sep">&middot;</span>';
147
+ }
148
+ $post_markup .= $date;
149
+ if ( ! empty( $attributes['displayDate'] ) && ! empty( $attributes['displayComments'] ) ) {
150
+ $post_markup .= '<span class="ugb-blog-posts__sep">&middot;</span>';
151
+ }
152
+ $post_markup .= $comments;
153
+ $post_markup .= '</aside>';
154
+ }
155
+ $post_markup .= $title;
156
+ $post_markup .= $excerpt;
157
+ $post_markup .= $read_more;
158
+ $post_markup .= "</article>";
159
+
160
+ // Let others change the saved markup.
161
+ $props = array(
162
+ 'attributes' => $attributes,
163
+ 'category' => $category,
164
+ 'featured_image' => $featured_image,
165
+ 'author' => $author,
166
+ 'date' => $date,
167
+ 'comments' => $comments,
168
+ 'title' => $title,
169
+ 'excerpt' => $excerpt,
170
+ 'read_more' => $read_more,
171
+ );
172
+
173
+ $post_markup = apply_filters( 'stackable/designs_blog-posts_save', $post_markup, $attributes['design'], $props );
174
+ $posts_markup .= $post_markup . "\n";
175
+ }
176
+
177
+ // Main classes.
178
+ $mainClasses = array(
179
+ $attributes['className'],
180
+ 'ugb-blog-posts',
181
+ 'columns-' . $attributes['columns'],
182
+ 'feature-image-shape-' . $attributes['featuredImageShape'],
183
+ 'design-' . $attributes['design'],
184
+ );
185
+ if ( ! empty( $attributes['contentAlign'] ) ) {
186
+ $mainClasses[] = 'align-' . $attributes['contentAlign'];
187
+ }
188
+ if ( ! empty( $attributes['align'] ) ) {
189
+ $mainClasses[] = 'align' . $attributes['align'];
190
+ }
191
+
192
+ // Main styles.
193
+ $mainStyles = array();
194
+ if ( ! empty( $attributes['accentColor'] ) ) {
195
+ $mainStyles[] = '--s-accent-color: ' . $attributes['accentColor'];
196
+ }
197
+
198
+ $block_content = sprintf(
199
+ '<div class="%s" style="%s">%s</div>',
200
+ esc_attr( implode( ' ', $mainClasses ) ),
201
+ esc_attr( implode( ';', $mainStyles ) ),
202
+ $posts_markup
203
+ );
204
+
205
+ return $block_content;
206
+ }
207
+ }
208
+
209
+ if ( ! function_exists( 'stackable_register_blog_posts_block' ) ) {
210
+ /**
211
+ * Registers the `ugb/blog-posts` block on server.
212
+ */
213
+ function stackable_register_blog_posts_block() {
214
+ if ( ! function_exists( 'register_block_type' ) ) {
215
+ return;
216
+ }
217
+
218
+ register_block_type(
219
+ 'ugb/blog-posts',
220
+ array(
221
+ 'attributes' => array(
222
+ 'className' => array(
223
+ 'type' => 'string',
224
+ ),
225
+ 'order' => array(
226
+ 'type' => 'string',
227
+ 'default' => 'desc',
228
+ ),
229
+ 'orderBy' => array(
230
+ 'type' => 'string',
231
+ 'default' => 'date',
232
+ ),
233
+ 'categories' => array(
234
+ 'type' => 'string',
235
+ ),
236
+ 'postsToShow' => array(
237
+ 'type' => 'number',
238
+ 'default' => 6,
239
+ ),
240
+ 'columns' => array(
241
+ 'type' => 'number',
242
+ 'default' => 2,
243
+ ),
244
+ 'displayFeaturedImage' => array(
245
+ 'type' => 'boolean',
246
+ 'default' => true,
247
+ ),
248
+ 'featuredImageShape' => array(
249
+ 'type' => 'string',
250
+ 'default' => 'landscape',
251
+ ),
252
+ 'displayTitle' => array(
253
+ 'type' => 'boolean',
254
+ 'default' => true,
255
+ ),
256
+ 'displayDate' => array(
257
+ 'type' => 'boolean',
258
+ 'default' => true,
259
+ ),
260
+ 'displayCategory' => array(
261
+ 'type' => 'boolean',
262
+ 'default' => true,
263
+ ),
264
+ 'displayComments' => array(
265
+ 'type' => 'boolean',
266
+ 'default' => true,
267
+ ),
268
+ 'displayAuthor' => array(
269
+ 'type' => 'boolean',
270
+ 'default' => true,
271
+ ),
272
+ 'displayExcerpt' => array(
273
+ 'type' => 'boolean',
274
+ 'default' => true,
275
+ ),
276
+ 'displayReadMoreLink' => array(
277
+ 'type' => 'boolean',
278
+ 'default' => false,
279
+ ),
280
+ 'readMoreText' => array(
281
+ 'type' => 'string',
282
+ ),
283
+ 'contentAlign' => array(
284
+ 'type' => 'string',
285
+ ),
286
+ 'align' => array(
287
+ 'type' => 'string',
288
+ ),
289
+ 'accentColor' => array(
290
+ 'type' => 'string',
291
+ ),
292
+ 'design' => array(
293
+ 'type' => 'string',
294
+ 'default' => 'basic',
295
+ ),
296
+ ),
297
+ 'render_callback' => 'stackable_render_blog_posts_block',
298
+ )
299
+ );
300
+ }
301
+ add_action( 'init', 'stackable_register_blog_posts_block' );
302
+ }
303
+
304
+ if ( ! function_exists( 'stackable_blog_posts_rest_fields' ) ) {
305
+ /**
306
+ * Add more data in the REST API that we'll use in the blog post.
307
+ *
308
+ * @since 1.7
309
+ */
310
+ function stackable_blog_posts_rest_fields() {
311
+
312
+ // Featured image urls.
313
+ register_rest_field( 'post', 'featured_image_urls',
314
+ array(
315
+ 'get_callback' => 'stackable_featured_image_urls',
316
+ 'update_callback' => null,
317
+ 'schema' => array(
318
+ 'description' => __( 'Different sized featured images' ),
319
+ 'type' => 'array',
320
+ ),
321
+ )
322
+ );
323
+
324
+ // Excerpt.
325
+ register_rest_field( 'post', 'post_excerpt_stackable',
326
+ array(
327
+ 'get_callback' => 'stackable_post_excerpt',
328
+ 'update_callback' => null,
329
+ 'schema' => array(
330
+ 'description' => __( 'Post excerpt for Stackable' ),
331
+ 'type' => 'string',
332
+ ),
333
+ )
334
+ );
335
+
336
+ // Category links.
337
+ register_rest_field( 'post', 'category_list',
338
+ array(
339
+ 'get_callback' => 'stackable_category_list',
340
+ 'update_callback' => null,
341
+ 'schema' => array(
342
+ 'description' => __( 'Category list links' ),
343
+ 'type' => 'string',
344
+ ),
345
+ )
346
+ );
347
+
348
+ // Author name.
349
+ register_rest_field( 'post', 'author_info',
350
+ array(
351
+ 'get_callback' => 'stackable_author_info',
352
+ 'update_callback' => null,
353
+ 'schema' => array(
354
+ 'description' => __( 'Author information' ),
355
+ 'type' => 'array',
356
+ ),
357
+ )
358
+ );
359
+
360
+ // Number of comments.
361
+ register_rest_field( 'post', 'comments_num',
362
+ array(
363
+ 'get_callback' => 'stackable_commments_number',
364
+ 'update_callback' => null,
365
+ 'schema' => array(
366
+ 'description' => __( 'Number of comments' ),
367
+ 'type' => 'number',
368
+ ),
369
+ )
370
+ );
371
+ }
372
+ add_action( 'rest_api_init', 'stackable_blog_posts_rest_fields' );
373
+ }
374
+
375
+ if ( ! function_exists( 'stackable_featured_image_urls' ) ) {
376
+ /**
377
+ * Get the different featured image sizes that the blog will use.
378
+ *
379
+ * @since 1.7
380
+ */
381
+ function stackable_featured_image_urls( $object, $field_name, $request ) {
382
+ $image = wp_get_attachment_image_src( $object['featured_media'], 'full', false );
383
+ return array(
384
+ 'full' => is_array( $image ) ? $image : '',
385
+ 'landscape_large' => is_array( $image ) ? wp_get_attachment_image_src( $object['featured_media'], 'stackable-landscape-large', false ) : '',
386
+ 'portrait_large' => is_array( $image ) ? wp_get_attachment_image_src( $object['featured_media'], 'stackable-portrait-large', false ) : '',
387
+ 'square_large' => is_array( $image ) ? wp_get_attachment_image_src( $object['featured_media'], 'stackable-square-large', false ) : '',
388
+ 'landscape' => is_array( $image ) ? wp_get_attachment_image_src( $object['featured_media'], 'stackable-landscape', false ) : '',
389
+ 'portrait' => is_array( $image ) ? wp_get_attachment_image_src( $object['featured_media'], 'stackable-portrait', false ) : '',
390
+ 'square' => is_array( $image ) ? wp_get_attachment_image_src( $object['featured_media'], 'stackable-square', false ) : '',
391
+ );
392
+ }
393
+ }
394
+
395
+ if ( ! function_exists( 'stackable_author_info' ) ) {
396
+ /**
397
+ * Get the author name and link.
398
+ *
399
+ * @since 1.7
400
+ */
401
+ function stackable_author_info( $object ) {
402
+ return array(
403
+ 'name' => get_the_author_meta( 'display_name', $object['author'] ),
404
+ 'url' => get_author_posts_url( $object['author'] ),
405
+ );
406
+ }
407
+ }
408
+
409
+ if ( ! function_exists( 'stackable_commments_number' ) ) {
410
+ /**
411
+ * Get the number of comments.
412
+ *
413
+ * @since 1.7
414
+ */
415
+ function stackable_commments_number( $object ) {
416
+ $num = get_comments_number( $object['id'] );
417
+ return sprintf( _n( '%d comment', '%d comments', $num, 'stackable' ), $num );
418
+ }
419
+ }
420
+
421
+ if ( ! function_exists( 'stackable_category_list' ) ) {
422
+ /**
423
+ * Get the category links.
424
+ *
425
+ * @since 1.7
426
+ */
427
+ function stackable_category_list( $object ) {
428
+ return get_the_category_list( esc_html__( ', ', 'stackable' ), '', $object['id'] );
429
+ }
430
+ }
431
+
432
+ if ( ! function_exists( 'stackable_post_excerpt' ) ) {
433
+ /**
434
+ * Get the post excerpt.
435
+ *
436
+ * @since 1.7
437
+ */
438
+ function stackable_post_excerpt( $object ) {
439
+ return stackable_get_excerpt( $object['id'] );
440
+ }
441
+ }
442
+
443
+ if ( ! function_exists( 'stackable_get_excerpt' ) ) {
444
+ /**
445
+ * Get the excerpt.
446
+ *
447
+ * @since 1.7
448
+ */
449
+ function stackable_get_excerpt( $post_id, $post = null ) {
450
+ $excerpt = apply_filters( 'the_excerpt', get_post_field( 'post_excerpt', $post_id, 'display' ) );
451
+ if ( ! empty( $excerpt ) ) {
452
+ return $excerpt;
453
+ }
454
+
455
+ if ( ! empty( $post['post_content'] ) ) {
456
+ return apply_filters( 'the_excerpt', wp_trim_words( $post['post_content'], 55 ) );
457
+ }
458
+
459
+ $post_content = apply_filters( 'the_content', get_post_field( 'post_content', $post_id ) );
460
+ return apply_filters( 'the_excerpt', wp_trim_words( $post_content, 55 ) );
461
+ }
462
+ }
463
+
464
+ if ( ! function_exists( 'stackable_blog_posts_image_sizes' ) ) {
465
+ /**
466
+ * Add all the image sizes.
467
+ *
468
+ * @since 1.7
469
+ */
470
+ function stackable_blog_posts_image_sizes() {
471
+ add_image_size( 'stackable-landscape-large', 1200, 800, true );
472
+ add_image_size( 'stackable-square-large', 1200, 1200, true );
473
+ add_image_size( 'stackable-portrait-large', 1200, 1800, true );
474
+ add_image_size( 'stackable-landscape', 600, 400, true );
475
+ add_image_size( 'stackable-portrait', 600, 900, true );
476
+ add_image_size( 'stackable-square', 600, 600, true );
477
+ }
478
+ add_action( 'after_setup_theme', 'stackable_blog_posts_image_sizes' );
479
+ }
src/block/blog-posts/style.scss ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Styles for Blog Posts Block.
3
+ *
4
+ * CSS for both Frontend+Backend.
5
+ */
6
+ .ugb-blog-posts {
7
+ @include baseBlock();
8
+ article {
9
+ @include baseBlock();
10
+ }
11
+ time {
12
+ display: inline-block;
13
+ }
14
+ .ugb-blog-posts__title {
15
+ a, a:hover {
16
+ box-shadow: none;
17
+ text-decoration: none;
18
+ }
19
+ }
20
+
21
+ // Make sure all columns are even.
22
+ > *, > * > * {
23
+ overflow: auto;
24
+ }
25
+
26
+ // Last paragraph of excerpts interfere with margins.
27
+ .ugb-blog-posts__excerpt > *:last-child {
28
+ margin-bottom: 0;
29
+ }
30
+
31
+ &.align-right {
32
+ text-align: right;
33
+ }
34
+ &.align-left {
35
+ text-align: left;
36
+ }
37
+ &.align-center {
38
+ text-align: center;
39
+ }
40
+
41
+ // Add side paddings to fullwidth.
42
+ &.alignfull {
43
+ padding-left: $box-hori-padding;
44
+ padding-right: $box-hori-padding;
45
+ }
46
+
47
+ .ugb-blog-posts__featured-image {
48
+ @include box();
49
+ padding: 0 !important;
50
+ margin-left: 0;
51
+ margin-right: 0;
52
+ }
53
+
54
+ &.feature-image-shape-full {
55
+ .ugb-blog-posts__featured-image {
56
+ a {
57
+ display: block;
58
+ }
59
+ img {
60
+ display: block;
61
+ width: 100%;
62
+ height: auto;
63
+ }
64
+ }
65
+ }
66
+ &.feature-image-shape-square, &.feature-image-shape-landscape, &.feature-image-shape-portrait {
67
+ .ugb-blog-posts__featured-image {
68
+ a {
69
+ position: relative;
70
+ height: 0;
71
+ padding-bottom: 50%;
72
+ display: block;
73
+ }
74
+ img {
75
+ position: absolute;
76
+ max-height: none;
77
+ max-width: none;
78
+ top: 0;
79
+ left: 0;
80
+ right: 0;
81
+ bottom: 0;
82
+ object-fit: cover;
83
+ height: 100%;
84
+ width: 100%;
85
+ }
86
+ }
87
+ }
88
+ &.feature-image-shape-square {
89
+ .ugb-blog-posts__featured-image a {
90
+ padding-bottom: 100%;
91
+ }
92
+ }
93
+ &.feature-image-shape-portrait {
94
+ .ugb-blog-posts__featured-image a {
95
+ padding-bottom: 150%;
96
+ }
97
+ }
98
+ &.feature-image-shape-landscape {
99
+ .ugb-blog-posts__featured-image a {
100
+ padding-bottom: 50%;
101
+ }
102
+ }
103
+
104
+ .ugb-blog-posts__category-list {
105
+ font-size: .75em;
106
+ text-transform: uppercase;
107
+ a, a:hover {
108
+ text-decoration: none;
109
+ box-shadow: none;
110
+ }
111
+ }
112
+
113
+ .ugb-blog-posts__meta {
114
+ font-size: .75em;
115
+ text-transform: uppercase;
116
+ color: var(--s-accent-color, var(--s-primary-color, #2091e1));
117
+ }
118
+ .ugb-blog-posts__sep {
119
+ margin: 0 .25em;
120
+ }
121
+
122
+ &.columns-1 {
123
+ grid-template-columns: 1fr;
124
+ }
125
+ &.columns-2 {
126
+ grid-template-columns: 1fr 1fr;
127
+ }
128
+ &.columns-3 {
129
+ grid-template-columns: 1fr 1fr 1fr;
130
+ }
131
+ &.columns-4 {
132
+ grid-template-columns: 1fr 1fr 1fr 1fr;
133
+ }
134
+ display: grid;
135
+ grid-column-gap: $box-hori-padding;
136
+ grid-row-gap: $box-vert-padding;
137
+
138
+ @media screen and (max-width: $break-wide) {
139
+ &.columns-4 {
140
+ grid-template-columns: 1fr 1fr;
141
+ }
142
+ }
143
+ @media screen and (max-width: $break-medium) {
144
+ &.columns-3 {
145
+ grid-template-columns: 1fr;
146
+ }
147
+ }
148
+ @media screen and (max-width: $break-small) {
149
+ &.columns-2, &.columns-4 {
150
+ grid-template-columns: 1fr;
151
+ }
152
+ }
153
+
154
+ /**
155
+ * List design.
156
+ */
157
+ &.design-list {
158
+ article {
159
+ display: grid;
160
+ grid-template-columns: .8fr 1fr;
161
+ grid-gap: $box-hori-padding;
162
+ }
163
+ .ugb-blog-posts__featured-image {
164
+ align-self: flex-start;
165
+ }
166
+ .ugb-blog-posts__side {
167
+ @include baseBlock();
168
+ }
169
+ @media screen and (max-width: $break-huge) {
170
+ &.columns-3, &.columns-4 {
171
+ grid-template-columns: 1fr 1fr;
172
+ }
173
+ }
174
+ @media screen and (max-width: $break-large) {
175
+ &.columns-2, &.columns-3, &.columns-4 {
176
+ grid-template-columns: 1fr;
177
+ }
178
+ }
179
+ @media screen and (max-width: $break-small) {
180
+ article {
181
+ grid-template-columns: 1fr;
182
+ grid-gap: 0;
183
+ }
184
+ }
185
+ }
186
+ }
src/block/button/index.js CHANGED
@@ -68,18 +68,6 @@ export const edit = ( props ) => {
68
  controls={ [ 'left', 'center', 'right', 'full' ] }
69
  />
70
  </BlockControls>
71
- <InspectorControls>
72
- <DesignPanelBody
73
- selected={ design }
74
- options={ [
75
- { label: 'Basic', value: 'basic', image: 'button/images/test.jpg' },
76
- { label: 'Center', value: 'center', image: 'button/images/test.jpg', isPro: true },
77
- { label: 'Right', value: 'right', image: 'button/images/test.jpg', isPro: true },
78
- { label: 'Left', value: 'left', image: 'button/images/test.jpg', isPro: true },
79
- ] }
80
- onChange={ ( design ) => { setAttributes( { design } ) } }
81
- />
82
- </InspectorControls>
83
  <InspectorControls>
84
  <PanelButtonSettings
85
  initialOpen={ true }
68
  controls={ [ 'left', 'center', 'right', 'full' ] }
69
  />
70
  </BlockControls>
 
 
 
 
 
 
 
 
 
 
 
 
71
  <InspectorControls>
72
  <PanelButtonSettings
73
  initialOpen={ true }
src/blocks.js CHANGED
@@ -27,5 +27,6 @@ import './block/card'
27
  import './block/feature-grid'
28
  import './block/icon-list'
29
  import './block/feature'
 
30
 
31
  import './pro'
27
  import './block/feature-grid'
28
  import './block/icon-list'
29
  import './block/feature'
30
+ import './block/blog-posts'
31
 
32
  import './pro'
src/components/design-panel-body/index.js CHANGED
@@ -11,17 +11,25 @@ import DesignPanelItem from '../design-panel-item'
11
  import classnames from 'classnames'
12
 
13
  function DesignPanelBody( props ) {
14
- return null
15
 
16
  const { options, onChange, selected, title = 'Design' } = props
17
 
18
- const selectedOption = options.find( opt => opt.value === selected )
 
 
 
 
 
 
 
 
 
19
  const panelClassName = classnames( 'design-panel', {
20
  'design-panel-lite': ! isPro,
21
  } )
22
 
23
  const onChangeHandler = ( value ) => {
24
- const selectedOption = options.find( opt => opt.value === value )
25
  if ( ! isPro ) {
26
  if ( selectedOption.isPro ) {
27
  doAction( 'stackable.get_pro' );
@@ -30,21 +38,13 @@ function DesignPanelBody( props ) {
30
  }
31
  onChange( value )
32
  }
33
-
34
- // Convert the options.
35
- const fixedOptions = options.map( ( option, i ) => {
36
- return {
37
- label: <DesignPanelItem imageFile={ option.image } isPro={ option.isPro } label={ option.label } />,
38
- title: option.label,
39
- value: option.value,
40
- }
41
- } )
42
 
 
43
  return (
44
  <PanelBody
45
- title={ <span>{ title } – { selectedOption.title } { selectedOption.label }</span> }
46
  className={ panelClassName }
47
- initialOpen={ false }
48
  >
49
  <RadioControl
50
  className="design-control"
11
  import classnames from 'classnames'
12
 
13
  function DesignPanelBody( props ) {
 
14
 
15
  const { options, onChange, selected, title = 'Design' } = props
16
 
17
+ // Convert the options.
18
+ const fixedOptions = options.map( ( option, i ) => {
19
+ return {
20
+ label: <DesignPanelItem imageFile={ option.image } isPro={ option.isPro } label={ option.label } />,
21
+ title: option.label,
22
+ value: option.value,
23
+ }
24
+ } )
25
+
26
+ const selectedOption = fixedOptions.find( opt => opt.value === selected )
27
  const panelClassName = classnames( 'design-panel', {
28
  'design-panel-lite': ! isPro,
29
  } )
30
 
31
  const onChangeHandler = ( value ) => {
32
+ const selectedOption = fixedOptions.find( opt => opt.value === value )
33
  if ( ! isPro ) {
34
  if ( selectedOption.isPro ) {
35
  doAction( 'stackable.get_pro' );
38
  }
39
  onChange( value )
40
  }
 
 
 
 
 
 
 
 
 
41
 
42
+ const panelTitle = selectedOption ? `${title} – ${selectedOption.title}` : title
43
  return (
44
  <PanelBody
45
+ title={ <span>{ panelTitle }</span> }
46
  className={ panelClassName }
47
+ { ...props }
48
  >
49
  <RadioControl
50
  className="design-control"
src/components/design-panel-item/images/pro-tag.svg ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 19.2.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 200 97.1" style="enable-background:new 0 0 200 97.1;" xml:space="preserve">
5
+ <path d="M55.6,32.8c-0.8-0.7-1.8-1.2-2.9-1.6c-1.2-0.4-2.6-0.6-4.2-0.6h-6.5v16.7h6.5c1.6,0,3-0.2,4.2-0.6c1.2-0.4,2.2-1,2.9-1.7
6
+ c0.8-0.7,1.4-1.6,1.7-2.7c0.4-1.1,0.6-2.2,0.6-3.6c0-1.2-0.2-2.4-0.6-3.4C57,34.4,56.4,33.5,55.6,32.8z"/>
7
+ <path d="M153,35.2c-1.3-1.4-2.8-2.5-4.6-3.3c-1.8-0.8-3.9-1.1-6.1-1.1c-2.3,0-4.3,0.4-6.1,1.1c-1.8,0.8-3.4,1.8-4.7,3.3
8
+ s-2.3,3.1-2.9,5.2c-0.7,2-1,4.3-1,6.9c0,2.6,0.3,4.8,1,6.9c0.7,2,1.7,3.7,2.9,5.2c1.3,1.4,2.8,2.5,4.7,3.2c1.8,0.8,3.9,1.1,6.1,1.1
9
+ c2.3,0,4.3-0.4,6.1-1.1c1.8-0.7,3.4-1.8,4.6-3.2c1.3-1.4,2.2-3.1,2.9-5.2s1-4.3,1-6.9c0-2.6-0.3-4.8-1-6.9S154.3,36.6,153,35.2z"/>
10
+ <path d="M100.9,38c0-2.4-0.8-4.2-2.3-5.4c-1.6-1.3-3.9-1.9-7.1-1.9h-5.5v15.5h5.4c1.6,0,3.1-0.2,4.3-0.6c1.2-0.4,2.2-1,3-1.7
11
+ c0.8-0.7,1.4-1.6,1.8-2.6C100.7,40.2,100.9,39.2,100.9,38z"/>
12
+ <path d="M178.6,0H21.4C9.6,0,0,9.6,0,21.4v54.3c0,11.8,9.6,21.4,21.4,21.4h157.2c11.8,0,21.4-9.6,21.4-21.4V21.4
13
+ C200,9.6,190.4,0,178.6,0z M65.5,45c-0.8,1.9-1.9,3.5-3.4,4.8c-1.5,1.4-3.4,2.4-5.6,3.2c-2.3,0.8-4.9,1.1-7.9,1.1h-6.5v16.4h-8.7
14
+ V23.9h15.2c3.1,0,5.8,0.4,8.1,1.1c2.3,0.7,4.2,1.8,5.6,3.1c1.5,1.3,2.6,2.9,3.3,4.7c0.7,1.8,1.1,3.8,1.1,6
15
+ C66.6,41,66.3,43.1,65.5,45z M105.8,70.5c-0.8,0-1.4-0.1-1.9-0.5s-1-0.7-1.3-1.3l-9.8-14.9c-0.4-0.6-0.8-1-1.2-1.2
16
+ c-0.4-0.2-1.1-0.4-1.9-0.4h-3.7v18.2h-8.7V23.9h14.2c3.2,0,5.9,0.3,8.2,1c2.3,0.7,4.1,1.6,5.6,2.8c1.4,1.2,2.5,2.6,3.2,4.2
17
+ c0.7,1.6,1,3.5,1,5.4c0,1.6-0.2,3-0.7,4.4c-0.5,1.4-1.1,2.7-2,3.8c-0.9,1.1-1.9,2.1-3.2,3c-1.3,0.9-2.7,1.5-4.4,2.1
18
+ c1.1,0.6,2,1.5,2.8,2.7l11.7,17.2H105.8z M164.2,56.7c-1.1,2.9-2.7,5.4-4.8,7.5c-2.1,2.1-4.5,3.8-7.4,5c-2.9,1.2-6.1,1.8-9.6,1.8
19
+ c-3.5,0-6.7-0.6-9.6-1.8c-2.9-1.2-5.4-2.9-7.5-5c-2.1-2.1-3.7-4.6-4.8-7.5c-1.1-2.9-1.7-6.1-1.7-9.5c0-3.4,0.6-6.6,1.7-9.5
20
+ c1.1-2.9,2.7-5.4,4.8-7.6c2.1-2.1,4.6-3.8,7.5-5c2.9-1.2,6.1-1.8,9.6-1.8c3.5,0,6.7,0.6,9.6,1.8s5.4,2.9,7.4,5
21
+ c2.1,2.1,3.7,4.6,4.8,7.5s1.7,6.1,1.7,9.5C165.9,50.6,165.3,53.8,164.2,56.7z"/>
22
+ </svg>
src/icons.js CHANGED
@@ -191,3 +191,13 @@ export const IconListIcon = () => {
191
  </svg>
192
  )
193
  }
 
 
 
 
 
 
 
 
 
 
191
  </svg>
192
  )
193
  }
194
+
195
+ export const BlogPostsIcon = () => {
196
+ const id = iconID()
197
+ return (
198
+ <svg className="dashicon dashicons-grid-view" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
199
+ <Gradient id={ id } />
200
+ <path fill={ `url(#${id})` } d="M2 1h16c.55 0 1 .45 1 1v16c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1V2c0-.55.45-1 1-1zm7.01 7.99v-6H3v6h6.01zm8 0v-6h-6v6h6zm-8 8.01v-6H3v6h6.01zm8 0v-6h-6v6h6z"></path>
201
+ </svg>
202
+ )
203
+ }
src/{welcome.scss → welcome/admin.scss} RENAMED
@@ -12,7 +12,7 @@ body.toplevel_page_stackable {
12
  }
13
  }
14
 
15
- @import 'common';
16
 
17
  // Actual page styles.
18
  body.toplevel_page_stackable {
@@ -42,6 +42,10 @@ body.toplevel_page_stackable {
42
  h3 {
43
  font-size: 1.5em;
44
  }
 
 
 
 
45
  .s-box {
46
  @include box();
47
  margin-bottom: 30px;
@@ -112,6 +116,9 @@ body.toplevel_page_stackable {
112
  text-align: center;
113
  }
114
  }
 
 
 
115
  }
116
 
117
  // Collapse to a single column for mobile.
12
  }
13
  }
14
 
15
+ @import '../common';
16
 
17
  // Actual page styles.
18
  body.toplevel_page_stackable {
42
  h3 {
43
  font-size: 1.5em;
44
  }
45
+ ul {
46
+ padding-left: 2em;
47
+ list-style-type: circle;
48
+ }
49
  .s-box {
50
  @include box();
51
  margin-bottom: 30px;
116
  text-align: center;
117
  }
118
  }
119
+ .stackable_notice {
120
+ margin-bottom: 30px;
121
+ }
122
  }
123
 
124
  // Collapse to a single column for mobile.
{images → src/welcome/images}/gambit-logo-small.png RENAMED
File without changes
{images → src/welcome/images}/stackable-how.gif RENAMED
File without changes
{images → src/welcome/images}/stackable-logo.svg RENAMED
File without changes
welcome.php → src/welcome/index.php RENAMED
@@ -21,7 +21,7 @@ if ( ! class_exists( 'Stackable_Welcome_Screen' ) ) {
21
  public function add_dashboard_page() {
22
  add_menu_page(
23
  __( 'Stackable', 'stackable' ), // Page Title.
24
- __( 'Stackable', 'stackable' ), // Menu Title.
25
  'edit_posts', // Capability.
26
  'stackable', // Menu slug.
27
  array( $this, 'stackable_welcome_content' ), // Action.
@@ -31,7 +31,7 @@ if ( ! class_exists( 'Stackable_Welcome_Screen' ) ) {
31
  }
32
 
33
  public function enqueue_dashboard_script() {
34
- wp_enqueue_style( 'stackable-welcome', plugins_url( 'dist/admin.welcome.min.css', __FILE__ ), array() );
35
  }
36
 
37
  public function stackable_welcome_content() {
@@ -43,31 +43,35 @@ if ( ! class_exists( 'Stackable_Welcome_Screen' ) ) {
43
  <img src="<?php echo esc_url( plugins_url( 'images/stackable-logo.svg', __FILE__ ) ) ?>" alt="<?php esc_attr_e( 'Stackable Logo' ) ?>"/>
44
  </header>
45
  <section class="s-body-container">
46
- <article class="s-box s-body">
47
- <p><?php _e( 'Stackable supercharges Gutenberg - the new WordPress editor, and gives you the capability to build awesome front pages and landing pages. ⚡️🚀', 'stackable' ) ?></p>
48
- <p><?php _e( 'Stackable provides more functionality and design options for your site. We\'ve come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.', 'stackable' ) ?></p>
49
- <h2><?php _e( 'How to Use Stackable - It\'s Easy', 'stackable' ) ?></h2>
50
- <ol>
51
- <li><?php _e( 'Edit your page using Gutenberg', 'stackable' ) ?></li>
52
- <li><?php printf( __( 'Add a new block into your page by clicking on the %s button', 'stackable' ), '<img src="' . esc_attr( $plus_image ) . '" class="s-plus-button"/>' ) ?></li>
53
- <li><?php _e( 'Scroll down until you see the tab of Stackable blocks', 'stackable' ) ?></li>
54
- <li><?php _e( 'Choose a block and customize how it looks in the sidebar inspector', 'stackable' ) ?></li>
55
- </ol>
56
- <p><img src="<?php echo esc_url( plugins_url( 'images/stackable-how.gif', __FILE__ ) ) ?>" alt="<?php esc_attr_e( 'Stackable Screenshot' ) ?>" class="s-gif"/></p>
57
- <h2><?php _e( 'Help Us out by Rating Stackable', 'stackable' ) ?></h2>
58
- <p><?php printf( __( 'Stackable was made with love ❤️ We strive to give you as much awesome possibilities for your websites. %sRating our plugin 5 stars in the plugin directory%s pushes us to give you new features and updates.', 'stackable' ), '<a href="https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks/reviews/#new-post" target="_blank">', '</a>' ) ?></p>
59
- <p><?php printf( __( 'Made by %s', 'stackable' ), '<a href="https://gambit.ph" target="blank"><img src="' . esc_url( plugins_url( 'images/gambit-logo-small.png', __FILE__ ) ) . '" height="35" class="s-gambit-logo" alt="Gambit"/></a>' ) ?></p>
60
- </article>
 
 
 
 
61
  <div class="s-side">
62
  <aside class="s-box">
63
  <h2><?php _e( 'Free Theme Download', 'stackable' ) ?></h2>
64
  <p><?php _e( 'Get our FREE WordPress theme that\'s beautiful & flexible, and made especially for Stackable blocks and the new WordPress editor. Subscribe to our newsletter to get the Stackable Theme now.', 'stackable' ) ?></p>
65
- <p><a href="http://eepurl.com/dJY9xI" class="s-button" target="blank" title="Subscibe & Download"><?php _e( 'Subscribe & Download', 'stackable' ) ?></a></p>
66
  </aside>
67
  <aside class="s-box s-support-box">
68
  <h3><?php _e( 'Suggestions or Bug Reports', 'stackable' ) ?></h3>
69
  <p><?php _e( 'If you have any suggestions and bug reports, let us know in our plugin support forum.', 'stackable' ) ?></p>
70
- <p><a href="https://wordpress.org/support/plugin/stackable-ultimate-gutenberg-blocks" target="blank" title="Support Forum"><?php _e( 'Plugin Support Forum', 'stackable' ) ?></a></p>
71
  </aside>
72
  </div>
73
  </section>
21
  public function add_dashboard_page() {
22
  add_menu_page(
23
  __( 'Stackable', 'stackable' ), // Page Title.
24
+ __( 'Stackable', 'stackable' ) . ' ' . stackable_notification_count(), // Menu Title.
25
  'edit_posts', // Capability.
26
  'stackable', // Menu slug.
27
  array( $this, 'stackable_welcome_content' ), // Action.
31
  }
32
 
33
  public function enqueue_dashboard_script() {
34
+ wp_enqueue_style( 'stackable-welcome', plugins_url( 'dist/admin.welcome.min.css', STACKABLE_FILE ), array() );
35
  }
36
 
37
  public function stackable_welcome_content() {
43
  <img src="<?php echo esc_url( plugins_url( 'images/stackable-logo.svg', __FILE__ ) ) ?>" alt="<?php esc_attr_e( 'Stackable Logo' ) ?>"/>
44
  </header>
45
  <section class="s-body-container">
46
+ <div class="s-body">
47
+ <?php stackable_welcome_notification() ?>
48
+ <article class="s-box">
49
+ <p><?php _e( 'Stackable supercharges Gutenberg - the new WordPress editor, and gives you the capability to build awesome front pages and landing pages. ⚡️🚀', 'stackable' ) ?></p>
50
+ <p><?php _e( 'Stackable provides more functionality and design options for your site. We\'ve come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.', 'stackable' ) ?></p>
51
+ <h2><?php _e( 'How to Use Stackable - It\'s Easy', 'stackable' ) ?></h2>
52
+ <ol>
53
+ <li><?php _e( 'Edit your page using Gutenberg', 'stackable' ) ?></li>
54
+ <li><?php printf( __( 'Add a new block into your page by clicking on the %s button', 'stackable' ), '<img src="' . esc_attr( $plus_image ) . '" class="s-plus-button"/>' ) ?></li>
55
+ <li><?php _e( 'Scroll down until you see the tab of Stackable blocks', 'stackable' ) ?></li>
56
+ <li><?php _e( 'Choose a block and customize how it looks in the sidebar inspector', 'stackable' ) ?></li>
57
+ </ol>
58
+ <p><img src="<?php echo esc_url( plugins_url( 'images/stackable-how.gif', __FILE__ ) ) ?>" alt="<?php esc_attr_e( 'Stackable Screenshot' ) ?>" class="s-gif"/></p>
59
+ <h2><?php _e( 'Help Us out by Rating Stackable', 'stackable' ) ?></h2>
60
+ <p><?php printf( __( 'Stackable was made with love ❤️ We strive to give you as much awesome possibilities for your websites. %sRating our plugin 5 stars in the plugin directory%s pushes us to give you new features and updates.', 'stackable' ), '<a href="https://rebrand.ly/plugin-welcome-footer-stackablerate" target="_blank">', '</a>' ) ?></p>
61
+ <p><?php printf( __( 'Made by %s', 'stackable' ), '<a href="https://gambit.ph" target="blank"><img src="' . esc_url( plugins_url( 'images/gambit-logo-small.png', __FILE__ ) ) . '" height="35" class="s-gambit-logo" alt="Gambit"/></a>' ) ?></p>
62
+ <p><?php printf( __( 'FYI: You have Stackable version %s activated', 'stackable' ), STACKABLE_VERSION ) ?></p>
63
+ </article>
64
+ </div>
65
  <div class="s-side">
66
  <aside class="s-box">
67
  <h2><?php _e( 'Free Theme Download', 'stackable' ) ?></h2>
68
  <p><?php _e( 'Get our FREE WordPress theme that\'s beautiful & flexible, and made especially for Stackable blocks and the new WordPress editor. Subscribe to our newsletter to get the Stackable Theme now.', 'stackable' ) ?></p>
69
+ <p><a href="https://rebrand.ly/plugin-welcome-theme-download" class="s-button" target="blank" title="Subscibe & Download"><?php _e( 'Subscribe & Download', 'stackable' ) ?></a></p>
70
  </aside>
71
  <aside class="s-box s-support-box">
72
  <h3><?php _e( 'Suggestions or Bug Reports', 'stackable' ) ?></h3>
73
  <p><?php _e( 'If you have any suggestions and bug reports, let us know in our plugin support forum.', 'stackable' ) ?></p>
74
+ <p><a href="https://rebrand.ly/plugin-welcome-report" target="blank" title="Support Forum"><?php _e( 'Plugin Support Forum', 'stackable' ) ?></a></p>
75
  </aside>
76
  </div>
77
  </section>
src/welcome/notification-rate.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Adds a Rate us notification if the plugin has been installed for some time.
4
+ *
5
+ * @package Stackable
6
+ */
7
+
8
+ // Exit if accessed directly.
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
13
+ if ( ! class_exists( 'Stackable_Welcome_Notification_Rate' ) ) {
14
+ class Stackable_Welcome_Notification_Rate {
15
+
16
+ /**
17
+ * The amount of time from plugin activation to wait in seconds to display the rating notice.
18
+ *
19
+ * @var int
20
+ */
21
+ const RATING_NOTICE_TIME = 7 * 24 * 60 * 60;
22
+
23
+ function __construct() {
24
+ add_action( 'admin_menu', array( $this, 'check_activation_date' ), 9 );
25
+ }
26
+
27
+ /**
28
+ * Checks whether the activation date surpasses our limit and then displays a rating notification.
29
+ *
30
+ * @since 1.7
31
+ */
32
+ public function check_activation_date() {
33
+ if ( get_option( 'stackable_activation_date' ) === false ) {
34
+ update_option( 'stackable_activation_date', time() );
35
+ }
36
+
37
+ $activation_time = get_option( 'stackable_activation_date' );
38
+ $elapsed_time = time() - absint( $activation_time );
39
+
40
+ if ( $elapsed_time > self::RATING_NOTICE_TIME ) {
41
+ stackable_add_welcome_notification( 'rate', sprintf( __( 'We\'ve noticed that you\'ve been using Stackable for some time now, we hope you are loving it! We would appreciate it if you can %sgive us a 5 star rating on WordPress.org%s!', 'stackable' ), '<a href="https://rebrand.ly/plugin-welcome-notice-rate" target="_blank">', '</a>' ) );
42
+ }
43
+ }
44
+ }
45
+
46
+ new Stackable_Welcome_Notification_Rate();
47
+ }
src/welcome/notification-updates.php ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Adds a version update notifications.
4
+ *
5
+ * @package Stackable
6
+ */
7
+
8
+ // Exit if accessed directly.
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
13
+ if ( ! class_exists( 'Stackable_Welcome_Notification_Updates' ) ) {
14
+ class Stackable_Welcome_Notification_Updates {
15
+
16
+ function __construct() {
17
+ add_action( 'admin_menu', array( $this, 'check_activation_date' ), 9 );
18
+ stackable_add_welcome_notification( 'rate19', 'Stackable has been updated, here\'s what\'s new:<ul><li>Better Block Experience & Improved Image Box Block <a href="https://rebrand.ly/plugin-welcome-update-1-6">Read full article</a></li></ul>' );
19
+ }
20
+
21
+ /**
22
+ * Checks whether the activation date surpasses our limit and then displays a rating notification.
23
+ *
24
+ * @since 1.7
25
+ */
26
+ public function check_activation_date() {
27
+ if ( get_option( 'stackable_activation_date' ) === false ) {
28
+ update_option( 'stackable_activation_date', time() );
29
+ }
30
+
31
+ $activation_time = get_option( 'stackable_activation_date' );
32
+ $elapsed_time = time() - absint( $activation_time );
33
+
34
+ if ( $elapsed_time > self::RATING_NOTICE_TIME ) {
35
+ stackable_add_welcome_notification( 'rate', sprintf( __( 'We\'ve noticed that you\'ve been using Stackable for some time now, we hope you are loving it! We would appreciate it if you can %sgive us a 5 star rating on WordPress.org%s!', 'stackable' ), '<a href="https://rebrand.ly/plugin-welcome-notice-rate" target="_blank">', '</a>' ) );
36
+ }
37
+ }
38
+ }
39
+
40
+ new Stackable_Welcome_Notification_Updates();
41
+ }
src/welcome/notification.php ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Functions to add notifications in the welcome screen and top level menu.
4
+ *
5
+ * @package Stackable
6
+ */
7
+
8
+ // Exit if accessed directly.
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
13
+ global $stackable_notifications;
14
+ if ( ! isset( $stackable_notifications ) ) {
15
+ $stackable_notifications = array();
16
+ }
17
+
18
+ if ( ! function_exists( 'stackable_ajax_dismiss_notice' ) ) {
19
+ add_action( 'wp_ajax_stackable_dismiss_notice', 'stackable_ajax_dismiss_notice' );
20
+
21
+ /**
22
+ * Handles the dismissal of a notification via ajax.
23
+ *
24
+ * @since 1.7
25
+ */
26
+ function stackable_ajax_dismiss_notice() {
27
+ if ( empty( $_POST['id'] ) || empty( $_POST['nonce'] ) ) { // Input var: okay.
28
+ wp_die();
29
+ }
30
+
31
+ // Security check.
32
+ if ( ! wp_verify_nonce( sanitize_key( $_POST['nonce'] ), 'stackable_dismiss_notice' ) ) { // Input var: okay.
33
+ wp_die();
34
+ }
35
+
36
+ $id = sanitize_text_field( wp_unslash( $_POST['id'] ) ); // Input var: okay.
37
+ $dismissed = get_option( 'stackable_notifications_dismissed' );
38
+ if ( empty( $dismissed ) ) {
39
+ $dismissed = array();
40
+ }
41
+ if ( ! in_array( $id, $dismissed ) ) {
42
+ $dismissed[] = $id;
43
+ }
44
+ update_option( 'stackable_notifications_dismissed', $dismissed );
45
+
46
+ wp_die();
47
+ }
48
+ }
49
+
50
+ if ( ! function_exists( 'stackable_notification_count' ) ) {
51
+ /**
52
+ * Returns the number of notifications.
53
+ *
54
+ * @since 1.7
55
+ *
56
+ * @return int
57
+ */
58
+ function stackable_notification_count() {
59
+ global $stackable_notifications;
60
+ $num_notifiations = count( $stackable_notifications );
61
+ if ( $num_notifiations ) {
62
+ return sprintf( '<span class="update-plugins count-%s"><span class="plugin-count" aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></span>',
63
+ $num_notifiations,
64
+ $num_notifiations,
65
+ sprintf( _n( '%s notification', '%s notifications', $num_notifiations, 'stackable' ), $num_notifiations )
66
+ );
67
+ }
68
+ return '';
69
+ }
70
+ }
71
+
72
+ if ( ! function_exists( 'stackable_welcome_notification' ) ) {
73
+
74
+ /**
75
+ * Echoes out the available notifications in the welcome screen.
76
+ *
77
+ * @since 1.7
78
+ */
79
+ function stackable_welcome_notification() {
80
+ global $stackable_notifications;
81
+ if ( ! count( $stackable_notifications ) ) {
82
+ return;
83
+ }
84
+
85
+ ?>
86
+ <script type="text/javascript">
87
+ function stackable_dismiss( button ) {
88
+ jQuery.post(
89
+ ajaxurl, {
90
+ action: 'stackable_dismiss_notice',
91
+ id: button.getAttribute( 'data-id' ),
92
+ nonce: '<?php echo esc_attr( wp_create_nonce( 'stackable_dismiss_notice' ) ) ?>'
93
+ },
94
+ function() {
95
+
96
+ // Remove the notice.
97
+ jQuery( button ).parents( '.stackable_notice' ).remove();
98
+
99
+ // Remove the notice area if no notices remain.
100
+ if ( ! jQuery( '.stackable_notice' ).length ) {
101
+ jQuery( '.stackable_notice_wrapper' ).remove();
102
+ }
103
+
104
+ // Decrement the top level menu indicator
105
+ var indicator = jQuery( 'li.toplevel_page_stackable .wp-menu-name .update-plugins' );
106
+ var n = parseInt( indicator.attr( 'class' ).match( /count-(\d*)/ )[1], 10 );
107
+ // Decrement the class.
108
+ indicator.removeClass( 'count-' + n ).addClass( 'count-' + ( n - 1 ) );
109
+ // Decrement the text.
110
+ indicator.find( '> *' ).each( function ( i, el ) {
111
+ jQuery( el ).html( jQuery( el ).html().replace( /\d+/, ( n - 1 ) ) )
112
+ } )
113
+ }
114
+ )
115
+ }
116
+ </script>
117
+ <aside class="stackable_notice_wrapper s-box">
118
+ <h3><?php esc_html_e( '⚠️ Notifications', 'stackable' ) ?></h3>
119
+ <?php
120
+ foreach ( $stackable_notifications as $notification ) {
121
+ ?>
122
+ <div class="stackable_notice">
123
+ <p><?php echo wp_kses_post( $notification['message'] ) ?></p>
124
+ <p><button class="button" data-id="<?php echo esc_attr( $notification['id'] ) ?>" onclick="stackable_dismiss(this); event.preventDefault();"><?php _e( 'Don\'t show me this anymore', 'stackable' ) ?></button></p>
125
+ </div>
126
+ <?php
127
+ }
128
+ ?>
129
+ </aside>
130
+ <?php
131
+ }
132
+ }
133
+
134
+ if ( ! function_exists( 'stackable_add_welcome_notification' ) ) {
135
+ /**
136
+ * Adds a notification to the Stackable welcome screen.
137
+ *
138
+ * Should be called on or before the `admin_menu` action (priority 9)
139
+ * in order for the notification indicator to appear.
140
+ *
141
+ * @since 1.7
142
+ *
143
+ * @param $id string A unique ID for the message. This will be used to perma-dismiss the message.
144
+ * @param $message string The message to display in the notification.
145
+ */
146
+ function stackable_add_welcome_notification( $id, $message ) {
147
+ global $stackable_notifications;
148
+
149
+ $dismissed = get_option( 'stackable_notifications_dismissed' );
150
+ if ( $dismissed && in_array( $id, $dismissed ) ) {
151
+ return;
152
+ }
153
+
154
+ $stackable_notifications[] = array(
155
+ 'id' => $id,
156
+ 'message' => $message,
157
+ );
158
+ }
159
+ }
src/wp-imports.js CHANGED
@@ -20,6 +20,7 @@ export const {
20
  PanelBody,
21
  RadioControl,
22
  BaseControl,
 
23
  } = wp.components
24
 
25
  export const {
@@ -53,6 +54,10 @@ export const {
53
  addFilter,
54
  } = wp.hooks
55
 
 
 
 
 
56
  export const {
57
  isPro,
58
  blockSrcUrl,
20
  PanelBody,
21
  RadioControl,
22
  BaseControl,
23
+ QueryControls,
24
  } = wp.components
25
 
26
  export const {
54
  addFilter,
55
  } = wp.hooks
56
 
57
+ export const {
58
+ withSelect,
59
+ } = wp.data
60
+
61
  export const {
62
  isPro,
63
  blockSrcUrl,