Stackable – Page Builder Gutenberg Blocks - Version 0.7

Version Description

  • Updated: Rearranged and used color panels for all color settings
Download this release

Release Info

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

Code changes from version 0.6 to 0.7

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=3)}([function(e,t,n){"use strict";n.d(t,"g",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return i}),n.d(t,"c",function(){return m}),n.d(t,"k",function(){return s}),n.d(t,"l",function(){return b}),n.d(t,"n",function(){return p}),n.d(t,"b",function(){return d}),n.d(t,"m",function(){return g}),n.d(t,"d",function(){return h}),n.d(t,"h",function(){return f}),n.d(t,"f",function(){return w}),n.d(t,"i",function(){return y}),n.d(t,"o",function(){return v}),n.d(t,"j",function(){return E});var l=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},o=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",l({},e,{gradientTransform:"rotate(90)"}),wp.element.createElement("stop",{offset:"0%",stopColor:"#2FDDD1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"20%",stopColor:"#30A2E3",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"50%",stopColor:"#F56FAE",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#FFC58E",stopOpacity:"1"})))},r=1,a=function(){return"stk-icon-"+r++},c=function(){var e=a();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=a();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)},m=function(){var e=a();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=a();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"}))},b=function(){var e=a();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"}))},p=function(){var e=a();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"}))},d=function(){var e=a();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"}))},g=function(){var e=a();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"}))},h=function(){var e=a();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=a();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"}))},w=function(){var e=a();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"}))},y=function(){var e=a();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"}))},v=function(){var e=a();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"}))},E=function(){var e=a();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"}))}},function(e,t,n){"use strict";n.d(t,"r",function(){return l}),n.d(t,"q",function(){return o}),n.d(t,"j",function(){return a}),n.d(t,"k",function(){return c}),n.d(t,"m",function(){return u}),n.d(t,"n",function(){return i}),n.d(t,"e",function(){return m}),n.d(t,"f",function(){return s}),n.d(t,"c",function(){return b}),n.d(t,"o",function(){return p}),n.d(t,"i",function(){return d}),n.d(t,"g",function(){return h}),n.d(t,"b",function(){return f}),n.d(t,"d",function(){return w}),n.d(t,"a",function(){return y}),n.d(t,"l",function(){return v}),n.d(t,"p",function(){return E}),n.d(t,"h",function(){return C});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.PanelColor,c=r.RangeControl,u=r.SelectControl,i=(r.TextControl,r.ToggleControl),m=r.Dashicon,s=r.IconButton,b=r.Button,p=r.Toolbar,d=r.PanelBody,g=wp.editor.InspectorControls?wp.editor:wp.blocks,h=g.InspectorControls,f=g.BlockControls,w=g.ColorPalette,y=g.AlignmentToolbar,v=g.RichText,E=g.URLInput,C=g.MediaUpload},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});n(4),n(7),n(10),n(13),n(16),n(22),n(25),n(28),n(31),n(34),n(37),n(40),n(43),n(46),n(50),n(53),n(56),n(59)},function(e,t,n){"use strict";var l=n(5),o=(n.n(l),n(6)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},u=function(e){var t=e.isSelected,n=e.attributes.height;return[!!t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.k,{label:Object(a.q)("Height"),value:n,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:e.className,style:{height:n+"px"}})]};Object(a.r)("ugb/spacer",{title:Object(a.q)("Spacer"),icon:r.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Spacer"),Object(a.q)("Stackable")],attributes:{height:{default:50,type:"number"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(8),o=(n.n(l),n(9)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.attributes,n=t.height,l=t.width,o=t.color,r=t.alignment;return wp.element.createElement("div",{className:"ugb-divider"},wp.element.createElement("hr",{align:r,style:{backgroundColor:o,width:l+"%",height:n}}))},u=function(e){var t=e.isSelected,n=e.attributes,l=n.height,o=n.width,r=n.color,c=n.alignment;return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:c,onChange:function(t){e.setAttributes({alignment:t})}})),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.k,{label:Object(a.q)("Height"),value:l,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(a.k,{label:Object(a.q)("Width"),value:o,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(a.j,{title:Object(a.q)("Divider Color"),colorValue:r,initialOpen:!1},wp.element.createElement(a.d,{value:r,onChange:function(t){return e.setAttributes({color:t})}}))),wp.element.createElement("div",{className:"ugb-divider",style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:c,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:o+"%",height:l}}))]};Object(a.r)("ugb/divider",{title:Object(a.q)("Divider"),icon:r.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Divider"),Object(a.q)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(11),o=(n.n(l),n(12)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=(e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.text,c=l.color,u=l.textColor,i=l.size,m=l.textAlignment,s=l.cornerButtonRadius,b=[{value:"small",label:Object(a.q)("Small")},{value:"normal",label:Object(a.q)("Normal")},{value:"medium",label:Object(a.q)("Medium")},{value:"large",label:Object(a.q)("Large")}];return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:m,onChange:function(e){n({textAlignment:e})}})),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Size"),value:i,options:b.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(a.k,{label:Object(a.q)("Corner Radius"),value:s,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Background Color"),colorValue:c},wp.element.createElement(a.d,{value:c,onChange:function(e){return n({color:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Text Color"),colorValue:u},wp.element.createElement(a.d,{value:u,onChange:function(e){return n({textColor:e})}}))),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+m},wp.element.createElement(a.l,{tagName:"span",placeholder:Object(a.q)("Enter Text"),value:r,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"wp-ugb-button ugb-button-"+i,style:{backgroundColor:c,color:u,borderRadius:s+"px"},isSelected:t,keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+m},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"}))]},u=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.textColor,c=t.size,u=t.cornerButtonRadius,i={backgroundColor:r,color:a,borderRadius:u+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+c,style:i},l))};Object(a.r)("ugb/button",{title:Object(a.q)("Button"),icon:r.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Button"),Object(a.q)("Stackable")],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(14),o=(n.n(l),n(15)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.setAttributes,l=e.attributes,o=l.url,r=l.text,c=l.color,u=l.size,i=l.textAlignment,m=l.cornerButtonRadius,s=l.borderThickness,b=[{value:"small",label:Object(a.q)("Small")},{value:"normal",label:Object(a.q)("Normal ")},{value:"medium",label:Object(a.q)("Medium")},{value:"large",label:Object(a.q)("Large")}];return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:i,onChange:function(e){n({textAlignment:e})}})),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+i},wp.element.createElement(a.l,{tagName:"span",placeholder:Object(a.q)("Enter Text"),value:r,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"wp-ugb-button ugb-button-"+u+" ugb-ghost-button",style:{borderColor:c,color:c,borderRadius:m+"px",borderWidth:s+"px"},isSelected:t,keepPlaceholderOnFocus:!0}),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Size"),value:u,options:b.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(a.k,{label:Object(a.q)("Corner Radius"),value:m,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(a.k,{label:Object(a.q)("Border Thickness"),value:s,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Button Color"),colorValue:c,initialOpen:!1},wp.element.createElement(a.d,{value:c,onChange:function(e){return n({color:e})}})))),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+i},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"}))]},u=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.size,c=t.cornerButtonRadius,u=t.borderThickness,i={borderColor:r,color:r,borderRadius:c+"px",borderWidth:u+"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:i},l))};Object(a.r)("ugb/ghost-button",{title:Object(a.q)("Ghost Button"),icon:r.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Ghost Button"),Object(a.q)("Stackable")],attributes:{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"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(17),o=(n.n(l),n(18)),r=(n.n(o),n(19)),a=n.n(r),c=n(0),u=n(1),i=function(e){var t=[{value:"success",label:Object(u.q)("Success")},{value:"error",label:Object(u.q)("Error")},{value:"warning",label:Object(u.q)("Warning")},{value:"info",label:Object(u.q)("Information")}],n=e.isSelected,l=e.editable,o=e.setState,r=e.setAttributes,a=(e.className,e.attributes),c=a.text,i=a.color,m=a.textColor,s=a.notifType,b=a.dismissible;return[n&&wp.element.createElement(u.b,{key:"controls"}),wp.element.createElement("div",{key:"editable",className:"ugb-notification type-"+s+" dismissible-"+b},b&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:m}},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(u.l,{tagName:"p",placeholder:e.attributes.text.default,value:c,isSelected:n&&"content"===l,onFocus:function(e){return function(){o({editable:e})}}("content"),onChange:function(e){return r({text:e})},className:"wp-ugb-notif notif-"+s,style:{backgroundColor:i,color:m}}),n&&wp.element.createElement(u.g,{key:"inspector"},wp.element.createElement(u.i,null,wp.element.createElement(u.n,{label:Object(u.q)("Dismissible"),checked:b,onChange:function(){return r({dismissible:!b})}}),wp.element.createElement(u.m,{label:Object(u.q)("Notification Type"),value:s,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){r({notifType:e})}})),wp.element.createElement(u.j,{title:Object(u.q)("Background Color"),colorValue:i,initialOpen:!1},wp.element.createElement(u.d,{value:i,onChange:function(e){return r({color:e})}})),wp.element.createElement(u.j,{title:Object(u.q)("Text Color"),colorValue:m,initialOpen:!1},wp.element.createElement(u.d,{value:m,onChange:function(e){return r({textColor:e})}}))))]},m=function(e){var t=e.attributes,n=t.text,l=t.color,o=t.textColor,r=t.notifType,c=t.dismissible,u={backgroundColor:l,color:o},i=a()(n+r).substr(0,6);return wp.element.createElement("div",{className:"ugb-notification type-"+r+" dismissible-"+c,"data-uid":i},c&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:o}},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("p",{className:"wp-ugb-notif notif-"+r,style:u},n))};Object(u.r)("ugb/notification",{title:Object(u.q)("Notification"),icon:c.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.q)("Notification"),Object(u.q)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(u.q)("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}},edit:i,save:m})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(20),l=n(2).utf8,o=n(21),r=n(2).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 c=t.bytesToWords(e),u=8*e.length,i=1732584193,m=-271733879,s=-1732584194,b=271733878,p=0;p<c.length;p++)c[p]=16711935&(c[p]<<8|c[p]>>>24)|4278255360&(c[p]<<24|c[p]>>>8);c[u>>>5]|=128<<u%32,c[14+(u+64>>>9<<4)]=u;for(var d=a._ff,g=a._gg,h=a._hh,f=a._ii,p=0;p<c.length;p+=16){var w=i,y=m,v=s,E=b;i=d(i,m,s,b,c[p+0],7,-680876936),b=d(b,i,m,s,c[p+1],12,-389564586),s=d(s,b,i,m,c[p+2],17,606105819),m=d(m,s,b,i,c[p+3],22,-1044525330),i=d(i,m,s,b,c[p+4],7,-176418897),b=d(b,i,m,s,c[p+5],12,1200080426),s=d(s,b,i,m,c[p+6],17,-1473231341),m=d(m,s,b,i,c[p+7],22,-45705983),i=d(i,m,s,b,c[p+8],7,1770035416),b=d(b,i,m,s,c[p+9],12,-1958414417),s=d(s,b,i,m,c[p+10],17,-42063),m=d(m,s,b,i,c[p+11],22,-1990404162),i=d(i,m,s,b,c[p+12],7,1804603682),b=d(b,i,m,s,c[p+13],12,-40341101),s=d(s,b,i,m,c[p+14],17,-1502002290),m=d(m,s,b,i,c[p+15],22,1236535329),i=g(i,m,s,b,c[p+1],5,-165796510),b=g(b,i,m,s,c[p+6],9,-1069501632),s=g(s,b,i,m,c[p+11],14,643717713),m=g(m,s,b,i,c[p+0],20,-373897302),i=g(i,m,s,b,c[p+5],5,-701558691),b=g(b,i,m,s,c[p+10],9,38016083),s=g(s,b,i,m,c[p+15],14,-660478335),m=g(m,s,b,i,c[p+4],20,-405537848),i=g(i,m,s,b,c[p+9],5,568446438),b=g(b,i,m,s,c[p+14],9,-1019803690),s=g(s,b,i,m,c[p+3],14,-187363961),m=g(m,s,b,i,c[p+8],20,1163531501),i=g(i,m,s,b,c[p+13],5,-1444681467),b=g(b,i,m,s,c[p+2],9,-51403784),s=g(s,b,i,m,c[p+7],14,1735328473),m=g(m,s,b,i,c[p+12],20,-1926607734),i=h(i,m,s,b,c[p+5],4,-378558),b=h(b,i,m,s,c[p+8],11,-2022574463),s=h(s,b,i,m,c[p+11],16,1839030562),m=h(m,s,b,i,c[p+14],23,-35309556),i=h(i,m,s,b,c[p+1],4,-1530992060),b=h(b,i,m,s,c[p+4],11,1272893353),s=h(s,b,i,m,c[p+7],16,-155497632),m=h(m,s,b,i,c[p+10],23,-1094730640),i=h(i,m,s,b,c[p+13],4,681279174),b=h(b,i,m,s,c[p+0],11,-358537222),s=h(s,b,i,m,c[p+3],16,-722521979),m=h(m,s,b,i,c[p+6],23,76029189),i=h(i,m,s,b,c[p+9],4,-640364487),b=h(b,i,m,s,c[p+12],11,-421815835),s=h(s,b,i,m,c[p+15],16,530742520),m=h(m,s,b,i,c[p+2],23,-995338651),i=f(i,m,s,b,c[p+0],6,-198630844),b=f(b,i,m,s,c[p+7],10,1126891415),s=f(s,b,i,m,c[p+14],15,-1416354905),m=f(m,s,b,i,c[p+5],21,-57434055),i=f(i,m,s,b,c[p+12],6,1700485571),b=f(b,i,m,s,c[p+3],10,-1894986606),s=f(s,b,i,m,c[p+10],15,-1051523),m=f(m,s,b,i,c[p+1],21,-2054922799),i=f(i,m,s,b,c[p+8],6,1873313359),b=f(b,i,m,s,c[p+15],10,-30611744),s=f(s,b,i,m,c[p+6],15,-1560198380),m=f(m,s,b,i,c[p+13],21,1309151649),i=f(i,m,s,b,c[p+4],6,-145523070),b=f(b,i,m,s,c[p+11],10,-1120210379),s=f(s,b,i,m,c[p+2],15,718787259),m=f(m,s,b,i,c[p+9],21,-343485551),i=i+w>>>0,m=m+y>>>0,s=s+v>>>0,b=b+E>>>0}return t.endian([i,m,s,b])};a._ff=function(e,t,n,l,o,r,a){var c=e+(t&n|~t&l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._gg=function(e,t,n,l,o,r,a){var c=e+(t&l|n&~l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._hh=function(e,t,n,l,o,r,a){var c=e+(t^n^l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._ii=function(e,t,n,l,o,r,a){var c=e+(n^(t|~l))+(o>>>0)+a;return(c<<r|c>>>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(23),o=(n.n(l),n(24)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,c=l.borderColor;return[wp.element.createElement("blockquote",{key:"quote",className:"ugb-blockquote",style:{borderLeftColor:c}},wp.element.createElement(a.l,{tagName:"p",className:"ugb-blockquote-text",value:r,onChange:function(e){return n({text:e})},isSelected:t,style:{color:o}})),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.j,{title:Object(a.q)("Text Color"),colorValue:o},wp.element.createElement(a.d,{value:o,onChange:function(e){return n({color:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Border Color"),colorValue:c},wp.element.createElement(a.d,{value:c,onChange:function(e){return n({borderColor:e})}})))]},u=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))};Object(a.r)("ugb/blockquote",{title:Object(a.q)("Blockquote"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Blockquote"),Object(a.q)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(a.q)("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"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(26),o=(n.n(l),n(27)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,c=l.borderColor;return[wp.element.createElement("blockquote",{key:"quote",className:"ugb-pullquote",style:{borderTopColor:c,borderBottomColor:c}},wp.element.createElement(a.l,{tagName:"p",className:"ugb-pullquote-text",value:r,onChange:function(e){return n({text:e})},placeholder:Object(a.q)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:o}})),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.j,{title:Object(a.q)("Text Color"),colorValue:o,initialOpen:!1},wp.element.createElement(a.d,{value:o,onChange:function(e){return n({color:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Border Color"),colorValue:c,initialOpen:!1},wp.element.createElement(a.d,{value:c,onChange:function(e){return n({borderColor:e})}})))]},u=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))};Object(a.r)("ugb/pullquote",{title:Object(a.q)("Pullquote"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Pullquote"),Object(a.q)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(a.q)("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"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(29),o=(n.n(l),n(30)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.url,u=r.buttonText,i=r.ctaTitle,m=r.bodyText,s=r.color,b=r.textColor,p=r.size,d=r.borderButtonRadius,g=r.bodyTextColor,h=r.titleColor,f=r.bgColor,w=[{value:"small",label:Object(a.q)("Small")},{value:"normal",label:Object(a.q)("Normal")},{value:"medium",label:Object(a.q)("Medium")},{value:"large",label:Object(a.q)("Large")}],y=function(e){return function(){l({editable:e})}};return[wp.element.createElement("div",{key:"editable",className:"ugb-cta",style:{backgroundColor:f}},wp.element.createElement(a.l,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(a.q)("Add Title"),value:i,onChange:function(e){return o({ctaTitle:e})},isSelected:t&&"ctaTitle"===n,onFocus:y("ctaTitle"),keepPlaceholderOnFocus:!0,style:{color:h}}),wp.element.createElement(a.l,{tagName:"p",value:m,className:"ugb-cta-bodyText",onChange:function(e){return o({bodyText:e})},isSelected:t&&"bodyText"===n,onFocus:y("bodyText"),placeholder:Object(a.q)("Write body text\u2026"),style:{color:g}}),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-cta-button"},wp.element.createElement(a.l,{tagName:"span",placeholder:Object(a.q)("Add Text"),value:u,onChange:function(e){return o({buttonText:e})},isSelected:t&&"buttonText"===n,onFocus:y("buttonText"),className:"wp-ugb-button ugb-button-"+p,style:{backgroundColor:s,color:b,borderRadius:d+"px"},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Button Size"),value:p,options:w.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({size:e})}}),wp.element.createElement(a.k,{label:Object(a.q)("Button Border Radius"),value:d,min:"1",max:"50",onChange:function(e){return o({borderButtonRadius:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Title Color"),colorValue:h,initialOpen:!1},wp.element.createElement(a.d,{value:s,onChange:function(e){return o({titleColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Body Text Color"),colorValue:g,initialOpen:!1},wp.element.createElement(a.d,{value:s,onChange:function(e){return o({bodyTextColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Button Background Color"),colorValue:s,initialOpen:!1},wp.element.createElement(a.d,{value:s,onChange:function(e){return o({color:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Button Text Color"),colorValue:b,initialOpen:!1},wp.element.createElement(a.d,{value:b,onChange:function(e){return o({textColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Background Color"),colorValue:f,initialOpen:!1},wp.element.createElement(a.d,{value:f,onChange:function(e){return o({bgColor:e})}})))),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"})))]},u=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,c=t.textColor,u=t.size,i=t.borderButtonRadius,m=t.bodyTextColor,s=t.titleColor,b=t.bgColor,p={backgroundColor:a,color:c,borderRadius:i+"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:s}},o),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:m}},r),l&&!!l.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-cta-button ugb-button-"+u,style:p},l))};Object(a.r)("ugb/cta",{title:Object(a.q)("Call to Action"),icon:r.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Call to Action"),Object(a.q)("Stackable"),Object(a.q)("CTA")],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(a.q)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(a.q)("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:"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}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(32),o=(n.n(l),n(33)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.testimonialTitle,u=r.testimonialTitleTwo,i=r.testimonialTitleThree,m=r.body,s=r.bodyTwo,b=r.bodyThree,p=r.position,d=r.positionTwo,g=r.positionThree,h=(r.href,r.hrefTwo,r.hrefThree,r.mediaID),f=r.mediaIDTwo,w=r.mediaIDThree,y=r.mediaURL,v=r.mediaURLTwo,E=r.mediaURLThree,C=r.columns,x=r.titleColor,O=r.posColor,k=r.bodyTextColor,j=r.iconColor,T=[{value:"1",label:Object(a.q)("One Column")},{value:"2",label:Object(a.q)("Two Column")},{value:"3",label:Object(a.q)("Three Column")}],q=function(e){return function(){l({editable:e})}};return[t&&wp.element.createElement(a.b,null),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Column Number"),value:C,options:T.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({columns:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Title Color"),colorValue:x,initialOpen:!1},wp.element.createElement(a.d,{value:x,onChange:function(e){return o({titleColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Position Color"),colorValue:O,initialOpen:!1},wp.element.createElement(a.d,{value:O,onChange:function(e){return o({posColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Body Text Color"),colorValue:k,initialOpen:!1},wp.element.createElement(a.d,{value:k,onChange:function(e){return o({bodyTextColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Icon Color"),colorValue:j,initialOpen:!1},wp.element.createElement(a.d,{value:j,onChange:function(e){return o({iconColor:e})}}))),wp.element.createElement("div",{key:"editable",className:"ugb-testimonial column-"+C},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:h,render:function(e){return wp.element.createElement(a.c,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(a.q)("Upload Image"))}})),wp.element.createElement(a.l,{tagName:"h4",value:c,onChange:function(e){return o({testimonialTitle:e})},isSelected:t&&"testimonialTitle"===n,onFocus:q("testimonialTitle"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:p,className:"ugb-testimonial-position",onChange:function(e){return o({position:e})},isSelected:t&&"position"===n,onFocus:q("position"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:m,className:"ugb-testimonial-body",onChange:function(e){return o({body:e})},isSelected:t&&"body"===n,onFocus:q("body"),style:{color:k},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:f,render:function(e){return wp.element.createElement(a.c,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+v+")"}}):Object(a.q)("Upload Image"))}})),wp.element.createElement(a.l,{tagName:"h4",value:u,onChange:function(e){return o({testimonialTitleTwo:e})},isSelected:t&&"testimonialTitleTwo"===n,onFocus:q("testimonialTitleTwo"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:d,className:"ugb-testimonial-position-two",onChange:function(e){return o({positionTwo:e})},isSelected:t&&"positionTwo"===n,onFocus:q("positionTwo"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:s,className:"ugb-testimonial-body-two",onChange:function(e){return o({bodyTwo:e})},isSelected:t&&"bodyTwo"===n,onFocus:q("bodyTwo"),style:{color:k},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:w,render:function(e){return wp.element.createElement(a.c,{className:w?"":"button button-large",onClick:e.open},w?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+E+")"}}):Object(a.q)("Upload Image"))}})),wp.element.createElement(a.l,{tagName:"h4",value:i,onChange:function(e){return o({testimonialTitleThree:e})},isSelected:t&&"testimonialTitleThree"===n,onFocus:q("testimonialTitleThree"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:g,className:"ugb-testimonial-position-three",onChange:function(e){return o({positionThree:e})},isSelected:t&&"positionThree"===n,onFocus:q("positionThree"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:b,className:"ugb-testimonial-body-three",onChange:function(e){return o({bodyThree:e})},isSelected:t&&"bodyThree"===n,onFocus:q("bodyThree"),style:{color:k},keepPlaceholderOnFocus:!0})))]},u=function(e){var t=e.attributes,n=t.testimonialTitle,l=t.testimonialTitleTwo,o=t.testimonialTitleThree,r=t.body,a=t.bodyTwo,c=t.bodyThree,u=t.position,i=t.positionTwo,m=t.positionThree,s=t.mediaURL,b=t.mediaURLTwo,p=t.mediaURLThree,d=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.titleColor),g=t.posColor,h=t.bodyTextColor,f=t.iconColor,w=t.columns,y=wp.element.createElement("div",{key:"button",className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:f}},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:"ugb-testimonial column-"+w},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},s?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+s+")"},"data-src":s}):y,n&&!!n.length&&wp.element.createElement("h4",{style:{color:d}},n),u&&!!u.length&&wp.element.createElement("p",{className:"ugb-testimonial-position",style:{color:g}},u),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-testimonial-body",style:{color:h}},r)),w>1&&wp.element.createElement("div",{className:"ugb-testimonial-column-two"},b?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+b+")"},"data-src":b}):y,l&&!!l.length&&wp.element.createElement("h4",{style:{color:d}},l),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-testimonial-position-two",style:{color:g}},i),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-testimonial-body-two",style:{color:h}},a)),w>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+p+")"},"data-src":p}):y,o&&!!o.length&&wp.element.createElement("h4",{style:{color:d}},o),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-testimonial-position-three",style:{color:g}},m),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-testimonial-body-three",style:{color:h}},c)))};Object(a.r)("ugb/testimonial",{title:Object(a.q)("Testimonial"),icon:r.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Testimonial"),Object(a.q)("Stackable")],attributes:{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:{type:"array",source:"children",selector:".ugb-testimonial-column-one h4",default:Object(a.q)("Ben Adams")},testimonialTitleTwo:{type:"array",source:"children",selector:".ugb-testimonial-column-two h4",default:Object(a.q)("Alex Johnson")},testimonialTitleThree:{type:"array",source:"children",selector:".ugb-testimonial-column-three h4",default:Object(a.q)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-testimonial-position",default:Object(a.q)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-testimonial-position-two",default:Object(a.q)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-testimonial-position-three",default:Object(a.q)("Programmer")},body:{type:"array",source:"children",selector:".ugb-testimonial-body",default:Object(a.q)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{type:"array",source:"children",selector:".ugb-testimonial-body-two",default:Object(a.q)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{type:"array",source:"children",selector:".ugb-testimonial-body-three",default:Object(a.q)("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:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(35),o=(n.n(l),n(36)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.name,u=r.nameTwo,i=r.nameThree,m=r.des,s=r.desTwo,b=r.desThree,p=r.position,d=r.positionTwo,g=r.positionThree,h=(r.href,r.hrefTwo,r.hrefThree,r.mediaID),f=r.mediaIDTwo,w=r.mediaIDThree,y=r.mediaURL,v=r.mediaURLTwo,E=r.mediaURLThree,C=r.columns,x=r.nameColor,O=r.posColor,k=r.desColor,j=r.iconColor,T=r.shapes,q=[{value:"1",label:Object(a.q)("One Column")},{value:"2",label:Object(a.q)("Two Column")},{value:"3",label:Object(a.q)("Three Column")}],N=[{value:"square",label:Object(a.q)("Square")},{value:"circle",label:Object(a.q)("Circle")}],S=function(e){return function(){l({editable:e})}};return[t&&wp.element.createElement(a.b,{key:"controls"}),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Image Shape"),value:T,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({shapes:e})}}),wp.element.createElement(a.m,{label:Object(a.q)("Column Number"),value:C,options:q.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({columns:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Name Color"),colorValue:x,initialOpen:!1},wp.element.createElement(a.d,{value:x,onChange:function(e){return o({nameColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Position Color"),colorValue:O,initialOpen:!1},wp.element.createElement(a.d,{value:O,onChange:function(e){return o({posColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Description Color"),colorValue:k,initialOpen:!1},wp.element.createElement(a.d,{value:k,onChange:function(e){return o({desColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Icon Color"),colorValue:j,initialOpen:!1},wp.element.createElement(a.d,{value:j,onChange:function(e){return o({iconColor:e})}}))),wp.element.createElement("div",{key:"editable",className:"ugb-team-member column-"+C+" image-"+T},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:h,render:function(e){return wp.element.createElement(a.c,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(a.q)("Upload Image"))}})),wp.element.createElement(a.l,{tagName:"h4",value:c,onChange:function(e){return o({name:e})},isSelected:t&&"name"===n,onFocus:S("name"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:p,className:"ugb-team-member-position",onChange:function(e){return o({position:e})},isSelected:t&&"position"===n,onFocus:S("position"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:m,className:"ugb-team-member-des",onChange:function(e){return o({des:e})},isSelected:t&&"des"===n,onFocus:S("des"),style:{color:k},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:f,render:function(e){return wp.element.createElement(a.c,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+v+")"}}):Object(a.q)("Upload Image"))}})),wp.element.createElement(a.l,{tagName:"h4",value:u,onChange:function(e){return o({nameTwo:e})},isSelected:t&&"nameTwo"===n,onFocus:S("nameTwo"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:d,className:"ugb-team-member-position",onChange:function(e){return o({positionTwo:e})},isSelected:t&&"positionTwo"===n,onFocus:S("positionTwo"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:s,className:"ugb-team-member-des-two",onChange:function(e){return o({desTwo:e})},isSelected:t&&"desTwo"===n,onFocus:S("desTwo"),style:{color:k},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:w,render:function(e){return wp.element.createElement(a.c,{className:w?"":"button button-large",onClick:e.open},w?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+E+")"}}):Object(a.q)("Upload Image"))}})),wp.element.createElement(a.l,{tagName:"h4",value:i,onChange:function(e){return o({nameThree:e})},isSelected:t&&"nameThree"===n,onFocus:S("nameThree"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:g,className:"ugb-team-member-position",onChange:function(e){return o({positionThree:e})},isSelected:t&&"positionThree"===n,onFocus:S("positionThree"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:b,className:"ugb-team-member-des-three",onChange:function(e){return o({desThree:e})},isSelected:t&&"desThree"===n,onFocus:S("desThree"),style:{color:k},keepPlaceholderOnFocus:!0})))]},u=function(e){var t=e.attributes,n=t.name,l=t.nameTwo,o=t.nameThree,r=t.shapes,a=t.des,c=t.desTwo,u=t.desThree,i=t.position,m=t.positionTwo,s=t.positionThree,b=t.mediaURL,p=t.mediaURLTwo,d=t.mediaURLThree,g=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.nameColor),h=t.posColor,f=t.desColor,w=(t.iconColor,t.columns);return wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+r},wp.element.createElement("div",{className:"ugb-team-member-column-one"},b&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+b+")"},"data-src":b}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:g}},n),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-team-member-position",style:{color:h}},i),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-team-member-des",style:{color:f}},a)),w>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},p&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+p+")"},"data-src":p}),l&&!!l.length&&wp.element.createElement("h4",{style:{color:g}},l),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-team-member-position",style:{color:h}},m),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-team-member-des-two",style:{color:f}},c)),w>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},d&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+d+")"},"data-src":d}),o&&!!o.length&&wp.element.createElement("h4",{style:{color:g}},o),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-team-member-position",style:{color:h}},s),u&&!!u.length&&wp.element.createElement("p",{className:"ugb-team-member-des-three",style:{color:f}},u)))};Object(a.r)("ugb/team-member",{title:Object(a.q)("Team Member"),icon:r.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Team Member"),Object(a.q)("Stackable")],attributes:{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:{type:"array",source:"children",selector:".ugb-team-member-column-one h4",default:Object(a.q)("Ben Adams")},nameTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two h4",default:Object(a.q)("Alex Johnson")},nameThree:{type:"array",source:"children",selector:".ugb-team-member-column-three h4",default:Object(a.q)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(a.q)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(a.q)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(a.q)("Programmer")},des:{type:"array",source:"children",selector:".ugb-team-member-des",default:Object(a.q)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{type:"array",source:"children",selector:".ugb-team-member-des-two",default:Object(a.q)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{type:"array",source:"children",selector:".ugb-team-member-des-three",default:Object(a.q)("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:"select",default:"1"},shapes:{type:"select",default:"square"}},edit:c,save:u})},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}var o=n(38),r=(n.n(o),n(39)),a=(n.n(r),n(0)),c=n(1),u=function(e){return e.map?e.map(function(e){return e.children}):""},i=function(e){return e.map?e.map(function(e){return{children:e}}):""},m=function(e){var t=(e.focus,e.setFocus,e.editable),n=e.setAttributes,o=e.setState,r=e.className,a=e.isSelected,m=function(e){return function(){o({editable:e})}},s=e.attributes,b=s.text,p=s.moreLabel,d=s.moreText,g=s.lessLabel;return[a&&wp.element.createElement(c.b,{key:"controls"}),wp.element.createElement("div",{key:"expand",className:r},a&&wp.element.createElement("label",{className:"ugb-editor-label"},"Less text"),wp.element.createElement(c.l,l({multiline:"p",placeholder:e.attributes.text.default,value:u(b),onChange:function(e){return n({text:i(e)})},isSelected:a&&"text"===t,onFocus:m("text"),className:"ugb-expand-less-text"},"placeholder",Object(c.q)("Some short text that can be expanded to show more details."))),wp.element.createElement(c.l,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:p,isSelected:a&&"moreLabel"===t,onFocus:m("moreLabel"),onChange:function(e){return n({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(c.q)("Show more"))),a&&wp.element.createElement("label",{className:"ugb-editor-label"},"More text"),a&&wp.element.createElement(c.l,l({multiline:"p",placeholder:e.attributes.moreText.default,value:u(d),isSelected:a&&"moreText"===t,onFocus:m("moreText"),onChange:function(e){return n({moreText:i(e)})},className:"ugb-expand-more-text"},"placeholder",Object(c.q)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),a&&wp.element.createElement(c.l,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:g,isSelected:a&&"lessLabel"===t,onFocus:m("lessLabel"),onChange:function(e){return n({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(c.q)("Show less"))))]},s=function(e){var t=e.attributes,n=t.text,l=t.moreLabel,o=t.moreText,r=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},n.map&&n.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},o.map&&o.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement("span",{className:"ugb-expand-more"},l),wp.element.createElement("span",{className:"ugb-expand-less",style:{display:"none"}},r)))};Object(c.r)("ugb/expand",{title:Object(c.q)("Expand / Show More"),icon:a.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.q)("Expand"),Object(c.q)("Show more/less"),Object(c.q)("Stackable")],attributes:{text:{type:"array",source:"query",selector:".ugb-expand-less-text > p",query:{children:{source:"node"}},default:[]},moreText:{type:"array",source:"query",selector:".ugb-expand-more-text > p",query:{children:{source:"node"}},default:[]},moreLabel:{type:"array",source:"children",selector:".ugb-expand-more",default:Object(c.q)("Show more")},lessLabel:{type:"array",source:"children",selector:".ugb-expand-less",default:Object(c.q)("Show less")}},edit:m,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(41),o=(n.n(l),n(42)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.editable,o=e.setState,r=e.attributes,c=r.numberBox,u=r.numberBoxTwo,i=r.numberBoxThree,m=r.body,s=r.bodyTwo,b=r.bodyThree,p=r.name,d=r.nameTwo,g=r.nameThree,h=r.columns,f=r.numberBoxColor,w=r.nameColor,y=r.bodyTextColor,v=r.numberBGColor,E=[{value:"1",label:Object(a.q)("One Column")},{value:"2",label:Object(a.q)("Two Column")},{value:"3",label:Object(a.q)("Three Column")}],C=function(e){return function(){o({editable:e})}};return[n&&wp.element.createElement(a.b,{key:"controls"}),n&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Column Number"),value:h,options:E.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Number Color"),colorValue:f,initialOpen:!1},wp.element.createElement(a.d,{value:f,onChange:function(e){return t({numberBoxColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Number Background Color"),colorValue:v,initialOpen:!1},wp.element.createElement(a.d,{value:v,onChange:function(e){return t({numberBGColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Name Color"),colorValue:w,initialOpen:!1},wp.element.createElement(a.d,{value:w,onChange:function(e){return t({nameColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Body Text Color"),colorValue:y,initialOpen:!1},wp.element.createElement(a.d,{value:y,onChange:function(e){return t({bodyTextColor:e})}}))),wp.element.createElement("div",{key:"editable",className:"ugb-number-box column-"+h},wp.element.createElement("div",{className:"ugb-number-box-column-one"},wp.element.createElement(a.l,{tagName:"span",placeholder:c?c.default:"",value:c,onChange:function(e){return t({numberBox:e})},isSelected:n&&"numberBox"===l,onFocus:C("numberBox"),style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"h4",value:p,className:"ugb-number-box-name",onChange:function(e){return t({name:e})},isSelected:n&&"name"===l,onFocus:C("name"),placeholder:Object(a.q)("Add name\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:m,className:"ugb-number-box-body",onChange:function(e){return t({body:e})},isSelected:n&&"body"===l,onFocus:C("body"),placeholder:Object(a.q)("Add body\u2026"),style:{color:y},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-number-box-column-two"},wp.element.createElement(a.l,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return t({numberBoxTwo:e})},isSelected:n&&"numberBoxTwo"===l,onFocus:C("numberBoxTwo"),style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"h4",value:d,className:"ugb-number-box-name-two",onChange:function(e){return t({nameTwo:e})},isSelected:n&&"nameTwo"===l,onFocus:C("nameTwo"),placeholder:Object(a.q)("Add name\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:s,className:"ugb-number-box-body-two",onChange:function(e){return t({bodyTwo:e})},isSelected:n&&"bodyTwo"===l,onFocus:C("bodyTwo"),placeholder:Object(a.q)("Add body\u2026"),style:{color:y},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-number-box-column-three"},wp.element.createElement(a.l,{tagName:"span",placeholder:i?i.default:"",value:i,onChange:function(e){return t({numberBoxThree:e})},isSelected:n&&"numberBoxThree"===l,onFocus:C("numberBoxThree"),style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"h4",value:g,className:"ugb-number-box-name-three",onChange:function(e){return t({nameThree:e})},isSelected:n&&"nameThree"===l,onFocus:C("nameThree"),placeholder:Object(a.q)("Add name\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:b,className:"ugb-number-box-body-three",onChange:function(e){return t({bodyThree:e})},isSelected:n&&"bodyThree"===l,onFocus:C("bodyThree"),placeholder:Object(a.q)("Add body\u2026"),style:{color:y},keepPlaceholderOnFocus:!0})))]},u=function(e){var t=e.attributes,n=t.numberBox,l=t.numberBoxTwo,o=t.numberBoxThree,r=t.body,a=t.bodyTwo,c=t.bodyThree,u=t.name,i=t.nameTwo,m=t.nameThree,s=t.numberBoxColor,b=t.nameColor,p=t.bodyTextColor,d=t.numberBGColor,g=t.columns;return wp.element.createElement("div",{className:"ugb-number-box column-"+g},wp.element.createElement("div",{className:"ugb-number-box-column-one"},n&&!!n.length&&wp.element.createElement("span",{style:{color:s,backgroundColor:d}},n),u&&!!u.length&&wp.element.createElement("h4",{className:"ugb-number-box-name",style:{color:b}},u),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-number-box-body",style:{color:p}},r)),g>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},l&&!!l.length&&wp.element.createElement("span",{style:{color:s,backgroundColor:d}},l),i&&!!i.length&&wp.element.createElement("h4",{className:"ugb-number-box-name-two",style:{color:b}},i),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-number-box-body-two",style:{color:p}},a)),g>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},o&&!!o.length&&wp.element.createElement("span",{style:{color:s,backgroundColor:d}},o),m&&!!m.length&&wp.element.createElement("h4",{className:"ugb-number-box-name-three",style:{color:b}},m),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-number-box-body-three",style:{color:p}},c)))};Object(a.r)("ugb/number-box",{title:Object(a.q)("Number Box"),icon:r.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Number Box"),Object(a.q)("Stackable")],attributes:{numberBox:{type:"array",source:"children",selector:".ugb-number-box-column-one span",default:Object(a.q)("01")},numberBoxTwo:{type:"array",source:"children",selector:".ugb-number-box-column-two span",default:Object(a.q)("02")},numberBoxThree:{type:"array",source:"children",selector:".ugb-number-box-column-three span",default:Object(a.q)("03")},name:{type:"array",source:"children",selector:".ugb-number-box-name",default:Object(a.q)("Registration")},nameTwo:{type:"array",source:"children",selector:".ugb-number-box-name-two",default:Object(a.q)("Waiting Period")},nameThree:{type:"array",source:"children",selector:".ugb-number-box-name-three",default:Object(a.q)("Delivery")},body:{type:"array",source:"children",selector:".ugb-number-box-body",default:Object(a.q)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{type:"array",source:"children",selector:".ugb-number-box-body-two",default:Object(a.q)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{type:"array",source:"children",selector:".ugb-number-box-body-three",default:Object(a.q)("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:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(44),o=(n.n(l),n(45)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.url,u=(r.url2,r.url3,r.pricingBoxTitle),i=r.pricingBoxTitle2,m=r.pricingBoxTitle3,s=r.price,b=r.price2,p=r.price3,d=r.perMonthLabel,g=r.perMonthLabel2,h=r.perMonthLabel3,f=r.buttonText,w=r.buttonText2,y=r.buttonText3,v=r.featureList,E=r.featureList2,C=r.featureList3,x=r.pricingBoxColor,O=r.priceColor,k=r.perMonthLabelColor,j=r.buttonColor,T=r.buttonTextColor,q=r.featureListColor,N=r.columns,S=r.size,B=r.cornerButtonRadius,L=[{value:"1",label:Object(a.q)("One Column")},{value:"2",label:Object(a.q)("Two Column")},{value:"3",label:Object(a.q)("Three Column")}],F=[{value:"small",label:Object(a.q)("Small")},{value:"normal",label:Object(a.q)("Normal")},{value:"medium",label:Object(a.q)("Medium")},{value:"large",label:Object(a.q)("Large")}],z=function(e){return function(){l({editable:e})}};return[t&&wp.element.createElement(a.b,{key:"controls"}),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Column Number"),value:N,options:L.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({columns:e})}}),wp.element.createElement(a.k,{label:Object(a.q)("Corner Radius"),value:B,min:"1",max:"50",onChange:function(e){return o({cornerButtonRadius:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Pricing Title Color"),colorValue:x,initialOpen:!1},wp.element.createElement(a.d,{value:x,onChange:function(e){return o({pricingBoxColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Price Color"),colorValue:O,initialOpen:!1},wp.element.createElement(a.d,{value:O,onChange:function(e){return o({priceColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Per Month Label Color"),colorValue:k,initialOpen:!1},wp.element.createElement(a.d,{value:k,onChange:function(e){return o({perMonthLabelColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Feature List Color"),colorValue:q,initialOpen:!1},wp.element.createElement(a.d,{value:q,onChange:function(e){return o({featureListColor:e})}})),wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Button Size"),value:S,options:F.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({size:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Button Color"),colorValue:j,initialOpen:!1},wp.element.createElement(a.d,{value:j,onChange:function(e){return o({buttonColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Button Text Color"),colorValue:T,initialOpen:!1},wp.element.createElement(a.d,{value:T,onChange:function(e){return o({buttonTextColor:e})}}))),wp.element.createElement("div",{key:"editable",className:"ugb-pricing-box column-"+N},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(a.l,{tagName:"h3",value:u,onChange:function(e){return o({pricingBoxTitle:e})},isSelected:t&&"pricingBoxTitle"===n,onFocus:z("pricingBoxTitle"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:s,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price:e})},isSelected:t&&"price"===n,onFocus:z("price"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:d,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel:e})},focus:t&&"perMonthLabel"===n,onFocus:z("perMonthLabel"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button"},wp.element.createElement(a.l,{tagName:"span",value:f,onChange:function(e){return o({buttonText:e})},className:"wp-ugb-button ugb-button-"+S,isSelected:t&&"buttonText"===n,onFocus:z("buttonText"),style:{backgroundColor:j,color:T,borderRadius:B+"px"},keepPlaceholderOnFocus:!0})),wp.element.createElement(a.l,{tagName:"p",value:v,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList:e})},focus:t&&"featureList"===n,onFocus:z("featureList"),style:{color:q},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(a.l,{tagName:"h3",value:i,onChange:function(e){return o({pricingBoxTitle2:e})},isSelected:t&&"pricingBoxTitle2"===n,onFocus:z("pricingBoxTitle2"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:b,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price2:e})},isSelected:t&&"price2"===n,onFocus:z("price2"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:g,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel2:e})},focus:t&&"perMonthLabel2"===n,onFocus:z("perMonthLabel2"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button"},wp.element.createElement(a.l,{tagName:"span",value:w,onChange:function(e){return o({buttonText2:e})},className:"wp-ugb-button ugb-button-"+S,isSelected:t&&"buttonText2"===n,onFocus:z("buttonText2"),style:{backgroundColor:j,color:T,borderRadius:B+"px"},keepPlaceholderOnFocus:!0})),wp.element.createElement(a.l,{tagName:"p",value:E,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList2:e})},focus:t&&"featureList2"===n,onFocus:z("featureList2"),style:{color:q},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(a.l,{tagName:"h3",value:m,onChange:function(e){return o({pricingBoxTitle3:e})},isSelected:t&&"pricingBoxTitle3"===n,onFocus:z("pricingBoxTitle3"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price3:e})},isSelected:t&&"price3"===n,onFocus:z("price3"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:h,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel3:e})},focus:t&&"perMonthLabel3"===n,onFocus:z("perMonthLabel3"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button"},wp.element.createElement(a.l,{tagName:"span",value:y,onChange:function(e){return o({buttonText3:e})},className:"wp-ugb-button ugb-button-"+S,isSelected:t&&"buttonText3"===n,onFocus:z("buttonText3"),style:{backgroundColor:j,color:T,borderRadius:B+"px"},keepPlaceholderOnFocus:!0})),wp.element.createElement(a.l,{tagName:"p",value:C,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList3:e})},focus:t&&"featureList3"===n,onFocus:z("featureList3"),style:{color:q},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"}))))]},u=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,c=t.pricingBoxTitle3,u=t.price,i=t.price2,m=t.price3,s=t.perMonthLabel,b=t.perMonthLabel2,p=t.perMonthLabel3,d=t.buttonText,g=t.buttonText2,h=t.buttonText3,f=t.featureList,w=t.featureList2,y=t.featureList3,v=t.pricingBoxColor,E=t.priceColor,C=t.perMonthLabelColor,x=t.buttonColor,O=t.buttonTextColor,k=t.featureListColor,j=t.columns,T=t.size,q=t.cornerButtonRadius,N={backgroundColor:x,color:O,borderRadius:q+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+j},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:v}},r),u&&!!u.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:E}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:C}},s),d&&!!d.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+T,style:N},d),f&&!!f.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},f)),j>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},a),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:E}},i),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:C}},b),g&&!!g.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+T,style:N},g),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},w)),j>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},c&&!!c.length&&wp.element.createElement("h3",{style:{color:v}},c),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:E}},m),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:C}},p),h&&!!h.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+T,style:N},h),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:k}},y)))};Object(a.r)("ugb/pricing-box",{title:Object(a.q)("Pricing Box"),icon:r.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Pricing Box"),Object(a.q)("Stackable")],attributes:{url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three a",attribute:"href"},pricingBoxTitle:{type:"array",source:"children",selector:".ugb-pricing-box-column-one h3",default:Object(a.q)("Basic")},pricingBoxTitle2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two h3",default:Object(a.q)("Basic")},pricingBoxTitle3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three h3",default:Object(a.q)("Basic")},price:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(a.q)("$9")},price2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(a.q)("$9")},price3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(a.q)("$9")},perMonthLabel:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(a.q)("per month")},perMonthLabel2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(a.q)("per month")},perMonthLabel3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(a.q)("per month")},buttonText:{type:"array",source:"children",selector:".ugb-pricing-box-column-one a",default:Object(a.q)("Buy Now")},buttonText2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two a",default:Object(a.q)("Buy Now")},buttonText3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three a",default:Object(a.q)("Buy Now")},featureList:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(a.q)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(a.q)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(a.q)("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:"select",default:"1"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}},edit:c,save:u})},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)}var o=n(47),r=n.n(o),a=n(48),c=(n.n(a),n(49)),u=(n.n(c),n(0)),i=n(1),m=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,o=e.editable,a=e.setState,c=e.attributes,u=c.url,m=c.buttonURL,s=c.buttonText,b=c.buttonColor,p=c.buttonTextColor,d=c.cornerButtonRadius,g=c.size,h=c.title,f=c.titleColor,w=c.subtitle,y=c.subtitleColor,v=c.contentAlign,E=c.id,C=c.backgroundColor,x=c.opacity,O=u?{backgroundImage:"url("+u+")"}:void 0,k=u?"has-image":"",j=r()(l(x),{"overlay-opacity":0!==x}),T=function(e){return function(){a({editable:e})}},q=[{value:"small",label:Object(i.q)("Small")},{value:"normal",label:Object(i.q)("Normal")},{value:"medium",label:Object(i.q)("Medium")},{value:"large",label:Object(i.q)("Large")}];return[n&&wp.element.createElement(i.b,{key:"controls"},wp.element.createElement(i.a,{value:v,onChange:function(e){return t({contentAlign:e})}}),wp.element.createElement(i.o,null,wp.element.createElement(i.h,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:E,render:function(e){var t=e.open;return wp.element.createElement(i.f,{className:"components-toolbar__control",label:Object(i.q)("Edit image"),icon:"edit",onClick:t})}}))),n&&wp.element.createElement(i.g,{key:"inspector"},wp.element.createElement(i.j,{title:Object(i.q)("Title Color"),colorValue:f,initialOpen:!1},wp.element.createElement(i.d,{value:f,onChange:function(e){return t({titleColor:e})}})),wp.element.createElement(i.j,{title:Object(i.q)("Subtitle Color"),colorValue:y,initialOpen:!1},wp.element.createElement(i.d,{value:y,onChange:function(e){return t({subtitleColor:e})}})),wp.element.createElement(i.j,{title:Object(i.q)("Heading Background Color"),colorValue:C,initialOpen:!1},wp.element.createElement(i.d,{value:C,onChange:function(e){return t({backgroundColor:e})}})),wp.element.createElement(i.i,null,wp.element.createElement(i.k,{label:Object(i.q)("Background Opacity"),value:x,min:0,max:10,step:1,onChange:function(e){return t({opacity:e})}}),wp.element.createElement("h2",null,"Button Settings"),wp.element.createElement(i.m,{label:Object(i.q)("Button Size"),value:g,options:q.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({size:e})}}),wp.element.createElement(i.k,{label:Object(i.q)("Corner Radius"),value:d,min:"1",max:"50",onChange:function(e){return t({cornerButtonRadius:e})}})),wp.element.createElement(i.j,{title:Object(i.q)("Button Color"),colorValue:b,initialOpen:!1},wp.element.createElement(i.d,{value:b,onChange:function(e){return t({buttonColor:e})}})),wp.element.createElement(i.j,{title:Object(i.q)("Button Text Color"),colorValue:p,initialOpen:!1},wp.element.createElement(i.d,{value:p,onChange:function(e){return t({buttonTextColor:e})}}))),wp.element.createElement("div",{key:"editable",className:"ugb-header "+k+" "},wp.element.createElement("div",{className:"ugb-header-overlay "+j,style:{backgroundColor:C}}),wp.element.createElement(i.h,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:E,render:function(e){return[!u&&wp.element.createElement(i.c,{className:E?"":"button button-large",onClick:e.open},Object(i.q)("Upload Image"))]}}),wp.element.createElement("section",{key:"preview","data-url":u,style:O,className:"ugb-header-section"},wp.element.createElement(i.l,{tagName:"h2",className:"ugb-header-title",placeholder:h.default,value:h,onChange:function(e){return t({title:e})},isSelected:n&&"title"===o,onFocus:T("title"),style:{textAlign:v,color:f}}),wp.element.createElement(i.l,{tagName:"p",className:"ugb-header-subtitle",placeholder:w.default,value:w,onChange:function(e){return t({subtitle:e})},isSelected:n&&"subtitle"===o,onFocus:T("subtitle"),style:{textAlign:v,color:y}}),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+v},wp.element.createElement(i.l,{tagName:"span",placeholder:s.default,value:s,onChange:function(e){return t({buttonText:e})},className:"wp-ugb-button ugb-button-"+g,style:{backgroundColor:b,color:p,borderRadius:d+"px"},isSelected:n&&"buttonText"===o,onFocus:T("buttonText"),keepPlaceholderOnFocus:!0})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+v},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.p,{value:m,onChange:function(e){return t({buttonURL:e})}}),wp.element.createElement(i.f,{icon:"editor-break",label:Object(i.q)("Apply"),type:"submit"}))]},s=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,a=t.buttonText,c=t.buttonColor,u=t.buttonTextColor,i=t.cornerButtonRadius,m=t.size,s=t.title,b=t.titleColor,p=t.subtitle,d=t.subtitleColor,g=(t.contentAlign,t.id,t.backgroundColor),h=t.opacity,f={backgroundColor:c,color:u,borderRadius:i+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,y=n?"has-image":"",v=r()(l(h),{"overlay-opacity":0!==h}),E=s.length||p.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+y+" "+E},wp.element.createElement("div",{className:"ugb-header-overlay "+v,style:{backgroundColor:g}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},s&&!!s.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},s),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:d}},p),a&&!!a.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+m,style:f},a)))};Object(i.r)("ugb/header",{title:Object(i.q)("Header"),icon:u.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.q)("Header"),Object(i.q)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h2",default:Object(i.q)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.q)("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.q)("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}},edit:m,save:s})},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 c in l)r.call(l,c)&&l[c]&&e.push(c)}}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){},function(e,t){},function(e,t,n){"use strict";var l=n(51),o=(n.n(l),n(52)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.editable,o=e.setState,r=e.attributes,c=r.url,u=r.title,i=r.titleColor,m=r.subtitle,s=r.subtitleColor,b=r.overlayColor,p=r.id,d=r.height,g=r.width,h=r.verticalAlign,f=r.horizontalAlign,w=r.full,y=c?"has-image":"",v=w?"full-width":"",E=function(e){return function(){o({editable:e})}},C=[{value:"flex-start",label:Object(a.q)("Top")},{value:"center",label:Object(a.q)("Center")},{value:"flex-end",label:Object(a.q)("Bottom")}],x=[{value:"flex-start",label:Object(a.q)("Left")},{value:"center",label:Object(a.q)("Center")},{value:"flex-end",label:Object(a.q)("Right")}];return[n&&wp.element.createElement(a.b,{key:"controls"},c&&wp.element.createElement(a.o,null,wp.element.createElement(a.h,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:p,render:function(e){var t=e.open;return wp.element.createElement(a.f,{className:"components-toolbar__control",label:Object(a.q)("Edit image"),icon:"edit",onClick:t})}}))),n&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.n,{label:"Full-Width",checked:!!w,onChange:function(){return t({full:!w})}}),wp.element.createElement(a.k,{label:Object(a.q)("Height"),value:d,min:"135",max:"700",onChange:function(e){return t({height:e})}}),wp.element.createElement(a.k,{label:Object(a.q)("Width"),value:g,min:"400",max:"999",onChange:function(e){return t({width:e})}}),wp.element.createElement(a.m,{label:Object(a.q)("Vertical Alignment"),value:h,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({verticalAlign:e})}}),wp.element.createElement(a.m,{label:Object(a.q)("Horizontal Alignment"),value:f,options:x.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({horizontalAlign:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Title Color"),colorValue:i,initialOpen:!1},wp.element.createElement(a.d,{value:i,onChange:function(e){return t({titleColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Subtitle Color"),colorValue:s,initialOpen:!1},wp.element.createElement(a.d,{value:s,onChange:function(e){return t({subtitleColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Overlay Color"),colorValue:b,initialOpen:!1},wp.element.createElement(a.d,{value:b,onChange:function(e){return t({overlayColor:e})}}))),wp.element.createElement("div",{key:"editable",className:"ugb-image-box "+y+" "+v,"data-url":c,style:{width:g+"px",height:d+"px",backgroundImage:"url("+c+")",alignItems:f,justifyContent:h}},wp.element.createElement(a.h,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:p,render:function(e){return[!c&&wp.element.createElement(a.c,{className:p?"":"button button-large",onClick:e.open},Object(a.q)("Upload Image"))]}}),wp.element.createElement("a",{href:"#",style:{backgroundColor:b}}),wp.element.createElement(a.l,{tagName:"h4",placeholder:u.default,value:u,onChange:function(e){return t({title:e})},isSelected:n&&"title"===l,onFocus:E("title"),style:{color:i}}),wp.element.createElement(a.l,{tagName:"p",placeholder:m.default,value:m,onChange:function(e){return t({subtitle:e})},isSelected:n&&"subtitle"===l,onFocus:E("subtitle"),style:{color:s}}))]},u=function(e){var t=e.attributes,n=t.url,l=t.title,o=t.titleColor,r=t.subtitle,a=t.subtitleColor,c=t.overlayColor,u=(t.id,t.height),i=t.width,m=t.verticalAlign,s=t.horizontalAlign,b=t.full,p=n?"has-image":"",d=b?"full-width":"",g=l.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+p+" "+g+" "+d,"data-url":n,style:{width:i+"px",height:u+"px",backgroundImage:"url("+n+")",alignItems:s,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:c}}),l&&!!l.length&&wp.element.createElement("h4",{style:{color:o}},l),r&&!!r.length&&wp.element.createElement("p",{style:{color:a}},r))};Object(a.r)("ugb/image-box",{title:Object(a.q)("Image Box"),icon:r.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Image Box"),Object(a.q)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(a.q)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(a.q)("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}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(54),o=(n.n(l),n(55)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=function(e){return function(){o({editable:e})}},n=e.isSelected,l=e.editable,o=e.setState,r=e.setAttributes,c=(e.className,e.attributes),u=c.color,i=c.headingColor,m=c.desColor,s=c.title,b=c.counter,p=c.des,d=c.fontSize;return[wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.l,{tagName:"h4",value:s,onChange:function(e){return r({title:e})},isSelected:n&&"title"===l,onFocus:t("title"),style:{color:i}}),wp.element.createElement(a.l,{tagName:"div",className:"ugb-counter",placeholder:b.default,"data-duration":"1000","data-delay":"16",value:b,onChange:function(e){return r({counter:e})},isSelected:n&&"counter"===l,onFocus:t("counter"),style:{color:u,fontSize:d+"px"}}),wp.element.createElement(a.l,{tagName:"p",className:"ugb-counter-des",value:p,onChange:function(e){return r({des:e})},isSelected:n&&"des"===l,onFocus:t("des"),style:{color:m}})),n&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.j,{title:Object(a.q)("Heading Color"),colorValue:i,initialOpen:!1},wp.element.createElement(a.d,{value:i,onChange:function(e){return r({headingColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Count Up Text Color"),colorValue:u,initialOpen:!1},wp.element.createElement(a.d,{value:u,onChange:function(e){return r({color:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Description Color"),colorValue:m,initialOpen:!1},wp.element.createElement(a.d,{value:m,onChange:function(e){return r({desColor:e})}})),wp.element.createElement(a.i,null,wp.element.createElement(a.k,{label:Object(a.q)("Counter Text Font Size"),max:"100",min:"10",value:d,onChange:function(e){return r({fontSize:e})}})))]},u=function(e){var t=e.attributes,n=t.color,l=t.headingColor,o=t.desColor,r=t.title,a=t.counter,c=t.des,u=t.fontSize;return wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement("h4",{style:{color:l}}," ",r," "),wp.element.createElement("div",{className:"ugb-counter",style:{color:n,fontSize:u+"px"},"data-duration":"1000","data-delay":"16"},a),wp.element.createElement("p",{style:{color:o}}," ",c," "))};Object(a.r)("ugb/count-up",{title:Object(a.q)("Count Up"),icon:r.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Count Up"),Object(a.q)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(a.q)("Happy Customers")},counter:{type:"array",source:"children",selector:".ugb-counter",default:"12,345"},des:{type:"array",source:"children",selector:"p",default:Object(a.q)("and counting")},fontSize:{type:"number",default:"60"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(57),o=(n.n(l),n(58)),r=(n.n(o),n(0)),a=n(1),c={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"}))},u=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.attributes,o=l.videoLink,r=l.mediaLink,u=l.overlayColor,i=l.playButtonType,m=l.mediaID,s=[{value:"normal",label:Object(a.q)("Normal Play Button")},{value:"circle",label:Object(a.q)("Play Button with Circle")},{value:"outline",label:Object(a.q)("Outline Play Button")}];return[n&&wp.element.createElement(a.b,{key:"controls"},r&&wp.element.createElement(a.o,null,wp.element.createElement(a.h,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:m,render:function(e){var t=e.open;return wp.element.createElement(a.f,{className:"components-toolbar__control",label:Object(a.q)("Edit image"),icon:"edit",onClick:t})}}))),n&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.i,null,wp.element.createElement(a.m,{label:Object(a.q)("Play Button Style"),value:i,options:s.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({playButtonType:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Background/Overlay Color"),colorValue:u,initialOpen:!1},wp.element.createElement(a.d,{value:u,onChange:function(e){return t({overlayColor:e})}}))),wp.element.createElement("div",{className:"ugb-video-popup","data-video":o,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+r+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(a.h,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:m,render:function(e){return[!r&&wp.element.createElement(a.c,{className:m?"":"button button-large",onClick:e.open},Object(a.q)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},c[i]))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:o,onChange:function(e){return t({videoLink:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"}),wp.element.createElement("p",null,wp.element.createElement("i",null,"Youtube/Vimeo ID only")))]},i=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"},c[r])))};Object(a.r)("ugb/video-popup",{title:Object(a.q)("Video Popup"),icon:r.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Video Popup"),Object(a.q)("Stackable")],attributes:{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"}},edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(60),o=(n.n(l),n(61)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.heading,u=r.tagline,i=r.des,m=r.mediaID,s=r.mediaURL,b=r.headingColor,p=r.taglineColor,d=r.desColor,g=r.buttonURL,h=r.buttonText,f=r.buttonColor,w=r.buttonTextColor,y=r.size,v=r.cornerButtonRadius,E=r.contentAlign,C=function(e){return function(){l({editable:e})}},x=s?"has-image":"",O=[{value:"small",label:Object(a.q)("Small")},{value:"normal",label:Object(a.q)("Normal")},{value:"medium",label:Object(a.q)("Medium")},{value:"large",label:Object(a.q)("Large")}];return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:E,onChange:function(e){return o({contentAlign:e})}}),wp.element.createElement(a.o,null,wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:m,render:function(e){var t=e.open;return wp.element.createElement(a.f,{className:"components-toolbar__control",label:Object(a.q)("Edit image"),icon:"edit",onClick:t})}}))),t&&wp.element.createElement(a.g,{key:"inspector"},wp.element.createElement(a.j,{title:Object(a.q)("Heading Color"),colorValue:b,initialOpen:!1},wp.element.createElement(a.d,{value:b,onChange:function(e){return o({headingColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Tagline Color"),colorValue:p,initialOpen:!1},wp.element.createElement(a.d,{value:p,onChange:function(e){return o({taglineColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Description Color"),colorValue:d,initialOpen:!1},wp.element.createElement(a.d,{value:d,onChange:function(e){return o({desColor:e})}})),wp.element.createElement(a.i,null,wp.element.createElement("h2",null,"Button Settings"),wp.element.createElement(a.m,{label:Object(a.q)("Button Size"),value:y,options:O.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({size:e})}}),wp.element.createElement(a.k,{label:Object(a.q)("Corner Radius"),value:v,min:"1",max:"50",onChange:function(e){return o({cornerButtonRadius:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Button Color"),colorValue:f,initialOpen:!1},wp.element.createElement(a.d,{value:f,onChange:function(e){return o({buttonColor:e})}})),wp.element.createElement(a.j,{title:Object(a.q)("Button Text Color"),colorValue:w,initialOpen:!1},wp.element.createElement(a.d,{value:w,onChange:function(e){return o({buttonTextColor:e})}}))),wp.element.createElement("div",{key:"editable",className:"ugb-card "+x},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+s+")",textAlign:E}},wp.element.createElement(a.h,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:m,render:function(e){return[!s&&wp.element.createElement(a.c,{className:m?"":"button button-large",onClick:e.open},Object(a.q)("Upload Image"))]}})),wp.element.createElement(a.l,{tagName:"h4",value:c,className:"ugb-card-heading",onChange:function(e){return o({heading:e})},isSelected:t&&"heading"===n,onFocus:C("heading"),style:{color:b,textAlign:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return o({tagline:e})},isSelected:t&&"tagline"===n,onFocus:C("tagline"),style:{color:p,textAlign:E},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.l,{tagName:"p",value:i,className:"ugb-card-des",onChange:function(e){return o({des:e})},isSelected:t&&"des"===n,onFocus:C("des"),style:{color:d,textAlign:E},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+E},wp.element.createElement(a.l,{tagName:"span",placeholder:h.default,value:h,onChange:function(e){return o({buttonText:e})},className:"wp-ugb-button ugb-button-"+y,style:{backgroundColor:f,color:w,borderRadius:v+"px"},isSelected:t&&"buttonText"===n,onFocus:C("buttonText"),keepPlaceholderOnFocus:!0}))),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+E,style:{marginTop:10}},wp.element.createElement(a.e,{icon:"admin-links"}),wp.element.createElement(a.p,{value:g,onChange:function(e){return o({buttonURL:e})}}),wp.element.createElement(a.f,{icon:"editor-break",label:Object(a.q)("Apply"),type:"submit"}))]},u=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),c=t.taglineColor,u=t.desColor,i=t.buttonURL,m=t.buttonText,s=t.buttonColor,b=t.buttonTextColor,p=t.size,d=t.cornerButtonRadius,g=t.contentAlign,h={backgroundColor:s,color:b,borderRadius:d+"px"},f=r?"has-image":"",w=n.length||l.length||o.length||m.length?"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:g},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:g}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:c,textAlign:g}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:u,textAlign:g}},o),m&&!!m.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+p+" ugb-button-"+g,style:h},m))};Object(a.r)("ugb/card",{title:Object(a.q)("Card"),icon:r.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.q)("Card"),Object(a.q)("Stackable")],attributes:{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(a.q)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(a.q)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(a.q)("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(a.q)("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"}},edit:c,save:u})},function(e,t){},function(e,t){}]);
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=3)}([function(e,t,n){"use strict";n.d(t,"g",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"k",function(){return m}),n.d(t,"l",function(){return p}),n.d(t,"n",function(){return b}),n.d(t,"b",function(){return d}),n.d(t,"m",function(){return g}),n.d(t,"d",function(){return h}),n.d(t,"h",function(){return f}),n.d(t,"f",function(){return w}),n.d(t,"i",function(){return y}),n.d(t,"o",function(){return v}),n.d(t,"j",function(){return C});var l=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},o=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",l({},e,{gradientTransform:"rotate(90)"}),wp.element.createElement("stop",{offset:"0%",stopColor:"#2FDDD1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"20%",stopColor:"#30A2E3",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"50%",stopColor:"#F56FAE",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#FFC58E",stopOpacity:"1"})))},r=1,a=function(){return"stk-icon-"+r++},c=function(){var e=a();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=a();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)},s=function(){var e=a();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"}))},m=function(){var e=a();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"}))},p=function(){var e=a();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=a();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"}))},d=function(){var e=a();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"}))},g=function(){var e=a();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"}))},h=function(){var e=a();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=a();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"}))},w=function(){var e=a();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"}))},y=function(){var e=a();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"}))},v=function(){var e=a();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"}))},C=function(){var e=a();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"}))}},function(e,t,n){"use strict";n.d(t,"q",function(){return l}),n.d(t,"p",function(){return o}),n.d(t,"j",function(){return a}),n.d(t,"l",function(){return c}),n.d(t,"m",function(){return u}),n.d(t,"d",function(){return i}),n.d(t,"e",function(){return s}),n.d(t,"c",function(){return m}),n.d(t,"n",function(){return p}),n.d(t,"h",function(){return b}),n.d(t,"f",function(){return g}),n.d(t,"b",function(){return h}),n.d(t,"a",function(){return f}),n.d(t,"k",function(){return w}),n.d(t,"o",function(){return y}),n.d(t,"g",function(){return v}),n.d(t,"i",function(){return C});var l=wp.blocks.registerBlockType,o=wp.i18n.__,r=wp.components,a=r.RangeControl,c=r.SelectControl,u=(r.TextControl,r.ToggleControl),i=r.Dashicon,s=r.IconButton,m=r.Button,p=r.Toolbar,b=r.PanelBody,d=wp.editor.InspectorControls?wp.editor:wp.blocks,g=d.InspectorControls,h=d.BlockControls,f=(d.ColorPalette,d.AlignmentToolbar),w=d.RichText,y=d.URLInput,v=d.MediaUpload,C=wp.editor.PanelColorSettings},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});n(4),n(7),n(10),n(13),n(16),n(22),n(25),n(28),n(31),n(34),n(37),n(40),n(43),n(46),n(50),n(53),n(56),n(59)},function(e,t,n){"use strict";var l=n(5),o=(n.n(l),n(6)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},u=function(e){var t=e.isSelected,n=e.attributes.height;return[!!t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.j,{label:Object(a.p)("Height"),value:n,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:e.className,style:{height:n+"px"}})]};Object(a.q)("ugb/spacer",{title:Object(a.p)("Spacer"),icon:r.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Spacer"),Object(a.p)("Stackable")],attributes:{height:{default:50,type:"number"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(8),o=(n.n(l),n(9)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.attributes,n=t.height,l=t.width,o=t.color,r=t.alignment;return wp.element.createElement("div",{className:"ugb-divider"},wp.element.createElement("hr",{align:r,style:{backgroundColor:o,width:l+"%",height:n}}))},u=function(e){var t=e.isSelected,n=e.attributes,l=n.height,o=n.width,r=n.color,c=n.alignment;return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:c,onChange:function(t){e.setAttributes({alignment:t})}})),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.j,{label:Object(a.p)("Height"),value:l,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(a.j,{label:Object(a.p)("Width"),value:o,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(a.p)("Divider Color")}]})),wp.element.createElement("div",{className:"ugb-divider",style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:c,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:o+"%",height:l}}))]};Object(a.q)("ugb/divider",{title:Object(a.p)("Divider"),icon:r.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Divider"),Object(a.p)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(11),o=(n.n(l),n(12)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=(e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.text,c=l.color,u=l.textColor,i=l.size,s=l.textAlignment,m=l.cornerButtonRadius,p=[{value:"small",label:Object(a.p)("Small")},{value:"normal",label:Object(a.p)("Normal")},{value:"medium",label:Object(a.p)("Medium")},{value:"large",label:Object(a.p)("Large")}];return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:s,onChange:function(e){n({textAlignment:e})}})),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Size"),value:i,options:p.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(a.j,{label:Object(a.p)("Corner Radius"),value:m,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:c,onChange:function(e){return n({color:e})},label:Object(a.p)("Background Color")},{value:u,onChange:function(e){return n({textColor:e})},label:Object(a.p)("Text Color")}]})),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+s},wp.element.createElement(a.k,{tagName:"span",placeholder:Object(a.p)("Enter Text"),value:r,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"wp-ugb-button ugb-button-"+i,style:{backgroundColor:c,color:u,borderRadius:m+"px"},isSelected:t,keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+s},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"}))]},u=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.textColor,c=t.size,u=t.cornerButtonRadius,i={backgroundColor:r,color:a,borderRadius:u+"px"};return wp.element.createElement("div",{className:"ugb-button-"+o},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+c,style:i},l))};Object(a.q)("ugb/button",{title:Object(a.p)("Button"),icon:r.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Button"),Object(a.p)("Stackable")],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(14),o=(n.n(l),n(15)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.setAttributes,l=e.attributes,o=l.url,r=l.text,c=l.color,u=l.size,i=l.textAlignment,s=l.cornerButtonRadius,m=l.borderThickness,p=[{value:"small",label:Object(a.p)("Small")},{value:"normal",label:Object(a.p)("Normal ")},{value:"medium",label:Object(a.p)("Medium")},{value:"large",label:Object(a.p)("Large")}];return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:i,onChange:function(e){n({textAlignment:e})}})),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+i},wp.element.createElement(a.k,{tagName:"span",placeholder:Object(a.p)("Enter Text"),value:r,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"wp-ugb-button ugb-button-"+u+" ugb-ghost-button",style:{borderColor:c,color:c,borderRadius:s+"px",borderWidth:m+"px"},isSelected:t,keepPlaceholderOnFocus:!0}),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Size"),value:u,options:p.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(a.j,{label:Object(a.p)("Corner Radius"),value:s,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(a.j,{label:Object(a.p)("Border Thickness"),value:m,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:c,onChange:function(e){return n({color:e})},label:Object(a.p)("Button Color")}]}))),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+i},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"}))]},u=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.size,c=t.cornerButtonRadius,u=t.borderThickness,i={borderColor:r,color:r,borderRadius:c+"px",borderWidth:u+"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:i},l))};Object(a.q)("ugb/ghost-button",{title:Object(a.p)("Ghost Button"),icon:r.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Ghost Button"),Object(a.p)("Stackable")],attributes:{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"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(17),o=(n.n(l),n(18)),r=(n.n(o),n(19)),a=n.n(r),c=n(0),u=n(1),i=function(e){var t=[{value:"success",label:Object(u.p)("Success")},{value:"error",label:Object(u.p)("Error")},{value:"warning",label:Object(u.p)("Warning")},{value:"info",label:Object(u.p)("Information")}],n=e.isSelected,l=e.editable,o=e.setState,r=e.setAttributes,a=(e.className,e.attributes),c=a.text,i=a.color,s=a.textColor,m=a.notifType,p=a.dismissible;return[n&&wp.element.createElement(u.b,{key:"controls"}),wp.element.createElement("div",{key:"editable",className:"ugb-notification type-"+m+" dismissible-"+p},p&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:s}},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(u.k,{tagName:"p",placeholder:e.attributes.text.default,value:c,isSelected:n&&"content"===l,onFocus:function(e){return function(){o({editable:e})}}("content"),onChange:function(e){return r({text:e})},className:"wp-ugb-notif notif-"+m,style:{backgroundColor:i,color:s}}),n&&wp.element.createElement(u.f,{key:"inspector"},wp.element.createElement(u.h,null,wp.element.createElement(u.m,{label:Object(u.p)("Dismissible"),checked:p,onChange:function(){return r({dismissible:!p})}}),wp.element.createElement(u.l,{label:Object(u.p)("Notification Type"),value:m,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){r({notifType:e})}})),wp.element.createElement(u.i,{title:Object(u.p)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return r({color:e})},label:Object(u.p)("Background Color")},{value:s,onChange:function(e){return r({textColor:e})},label:Object(u.p)("Text Color")}]})))]},s=function(e){var t=e.attributes,n=t.text,l=t.color,o=t.textColor,r=t.notifType,c=t.dismissible,u={backgroundColor:l,color:o},i=a()(n+r).substr(0,6);return wp.element.createElement("div",{className:"ugb-notification type-"+r+" dismissible-"+c,"data-uid":i},c&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:o}},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("p",{className:"wp-ugb-notif notif-"+r,style:u},n))};Object(u.q)("ugb/notification",{title:Object(u.p)("Notification"),icon:c.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.p)("Notification"),Object(u.p)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(u.p)("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}},edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(20),l=n(2).utf8,o=n(21),r=n(2).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 c=t.bytesToWords(e),u=8*e.length,i=1732584193,s=-271733879,m=-1732584194,p=271733878,b=0;b<c.length;b++)c[b]=16711935&(c[b]<<8|c[b]>>>24)|4278255360&(c[b]<<24|c[b]>>>8);c[u>>>5]|=128<<u%32,c[14+(u+64>>>9<<4)]=u;for(var d=a._ff,g=a._gg,h=a._hh,f=a._ii,b=0;b<c.length;b+=16){var w=i,y=s,v=m,C=p;i=d(i,s,m,p,c[b+0],7,-680876936),p=d(p,i,s,m,c[b+1],12,-389564586),m=d(m,p,i,s,c[b+2],17,606105819),s=d(s,m,p,i,c[b+3],22,-1044525330),i=d(i,s,m,p,c[b+4],7,-176418897),p=d(p,i,s,m,c[b+5],12,1200080426),m=d(m,p,i,s,c[b+6],17,-1473231341),s=d(s,m,p,i,c[b+7],22,-45705983),i=d(i,s,m,p,c[b+8],7,1770035416),p=d(p,i,s,m,c[b+9],12,-1958414417),m=d(m,p,i,s,c[b+10],17,-42063),s=d(s,m,p,i,c[b+11],22,-1990404162),i=d(i,s,m,p,c[b+12],7,1804603682),p=d(p,i,s,m,c[b+13],12,-40341101),m=d(m,p,i,s,c[b+14],17,-1502002290),s=d(s,m,p,i,c[b+15],22,1236535329),i=g(i,s,m,p,c[b+1],5,-165796510),p=g(p,i,s,m,c[b+6],9,-1069501632),m=g(m,p,i,s,c[b+11],14,643717713),s=g(s,m,p,i,c[b+0],20,-373897302),i=g(i,s,m,p,c[b+5],5,-701558691),p=g(p,i,s,m,c[b+10],9,38016083),m=g(m,p,i,s,c[b+15],14,-660478335),s=g(s,m,p,i,c[b+4],20,-405537848),i=g(i,s,m,p,c[b+9],5,568446438),p=g(p,i,s,m,c[b+14],9,-1019803690),m=g(m,p,i,s,c[b+3],14,-187363961),s=g(s,m,p,i,c[b+8],20,1163531501),i=g(i,s,m,p,c[b+13],5,-1444681467),p=g(p,i,s,m,c[b+2],9,-51403784),m=g(m,p,i,s,c[b+7],14,1735328473),s=g(s,m,p,i,c[b+12],20,-1926607734),i=h(i,s,m,p,c[b+5],4,-378558),p=h(p,i,s,m,c[b+8],11,-2022574463),m=h(m,p,i,s,c[b+11],16,1839030562),s=h(s,m,p,i,c[b+14],23,-35309556),i=h(i,s,m,p,c[b+1],4,-1530992060),p=h(p,i,s,m,c[b+4],11,1272893353),m=h(m,p,i,s,c[b+7],16,-155497632),s=h(s,m,p,i,c[b+10],23,-1094730640),i=h(i,s,m,p,c[b+13],4,681279174),p=h(p,i,s,m,c[b+0],11,-358537222),m=h(m,p,i,s,c[b+3],16,-722521979),s=h(s,m,p,i,c[b+6],23,76029189),i=h(i,s,m,p,c[b+9],4,-640364487),p=h(p,i,s,m,c[b+12],11,-421815835),m=h(m,p,i,s,c[b+15],16,530742520),s=h(s,m,p,i,c[b+2],23,-995338651),i=f(i,s,m,p,c[b+0],6,-198630844),p=f(p,i,s,m,c[b+7],10,1126891415),m=f(m,p,i,s,c[b+14],15,-1416354905),s=f(s,m,p,i,c[b+5],21,-57434055),i=f(i,s,m,p,c[b+12],6,1700485571),p=f(p,i,s,m,c[b+3],10,-1894986606),m=f(m,p,i,s,c[b+10],15,-1051523),s=f(s,m,p,i,c[b+1],21,-2054922799),i=f(i,s,m,p,c[b+8],6,1873313359),p=f(p,i,s,m,c[b+15],10,-30611744),m=f(m,p,i,s,c[b+6],15,-1560198380),s=f(s,m,p,i,c[b+13],21,1309151649),i=f(i,s,m,p,c[b+4],6,-145523070),p=f(p,i,s,m,c[b+11],10,-1120210379),m=f(m,p,i,s,c[b+2],15,718787259),s=f(s,m,p,i,c[b+9],21,-343485551),i=i+w>>>0,s=s+y>>>0,m=m+v>>>0,p=p+C>>>0}return t.endian([i,s,m,p])};a._ff=function(e,t,n,l,o,r,a){var c=e+(t&n|~t&l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._gg=function(e,t,n,l,o,r,a){var c=e+(t&l|n&~l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._hh=function(e,t,n,l,o,r,a){var c=e+(t^n^l)+(o>>>0)+a;return(c<<r|c>>>32-r)+t},a._ii=function(e,t,n,l,o,r,a){var c=e+(n^(t|~l))+(o>>>0)+a;return(c<<r|c>>>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(23),o=(n.n(l),n(24)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,c=l.borderColor;return[wp.element.createElement("blockquote",{key:"quote",className:"ugb-blockquote",style:{borderLeftColor:c}},wp.element.createElement(a.k,{tagName:"p",className:"ugb-blockquote-text",value:r,onChange:function(e){return n({text:e})},isSelected:t,style:{color:o}})),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(a.p)("Text Color")},{value:c,onChange:function(e){return n({borderColor:e})},label:Object(a.p)("Border Color")}]}))]},u=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))};Object(a.q)("ugb/blockquote",{title:Object(a.p)("Blockquote"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Blockquote"),Object(a.p)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(a.p)("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"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(26),o=(n.n(l),n(27)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,c=l.borderColor;return[wp.element.createElement("blockquote",{key:"quote",className:"ugb-pullquote",style:{borderTopColor:c,borderBottomColor:c}},wp.element.createElement(a.k,{tagName:"p",className:"ugb-pullquote-text",value:r,onChange:function(e){return n({text:e})},placeholder:Object(a.p)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:o}})),t&&wp.element.createElement(a.f,null,wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(a.p)("Text Color")},{value:c,onChange:function(e){return n({borderColor:e})},label:Object(a.p)("Border Color")}]}))]},u=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))};Object(a.q)("ugb/pullquote",{title:Object(a.p)("Pullquote"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Pullquote"),Object(a.p)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(a.p)("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"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(29),o=(n.n(l),n(30)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.url,u=r.buttonText,i=r.ctaTitle,s=r.bodyText,m=r.color,p=r.textColor,b=r.size,d=r.borderButtonRadius,g=r.bodyTextColor,h=r.titleColor,f=r.bgColor,w=[{value:"small",label:Object(a.p)("Small")},{value:"normal",label:Object(a.p)("Normal")},{value:"medium",label:Object(a.p)("Medium")},{value:"large",label:Object(a.p)("Large")}],y=function(e){return function(){l({editable:e})}};return[wp.element.createElement("div",{key:"editable",className:"ugb-cta",style:{backgroundColor:f}},wp.element.createElement(a.k,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(a.p)("Add Title"),value:i,onChange:function(e){return o({ctaTitle:e})},isSelected:t&&"ctaTitle"===n,onFocus:y("ctaTitle"),keepPlaceholderOnFocus:!0,style:{color:h}}),wp.element.createElement(a.k,{tagName:"p",value:s,className:"ugb-cta-bodyText",onChange:function(e){return o({bodyText:e})},isSelected:t&&"bodyText"===n,onFocus:y("bodyText"),placeholder:Object(a.p)("Write body text\u2026"),style:{color:g}}),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-cta-button"},wp.element.createElement(a.k,{tagName:"span",placeholder:Object(a.p)("Add Text"),value:u,onChange:function(e){return o({buttonText:e})},isSelected:t&&"buttonText"===n,onFocus:y("buttonText"),className:"wp-ugb-button ugb-button-"+b,style:{backgroundColor:m,color:p,borderRadius:d+"px"},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Button Size"),value:b,options:w.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({size:e})}}),wp.element.createElement(a.j,{label:Object(a.p)("Button Border Radius"),value:d,min:"1",max:"50",onChange:function(e){return o({borderButtonRadius:e})}})),wp.element.createElement(a.i,{initialOpen:!1,title:Object(a.p)("Color Settings"),colorSettings:[{value:h,onChange:function(e){return o({titleColor:e})},label:Object(a.p)("Title Color")},{value:g,onChange:function(e){return o({bodyTextColor:e})},label:Object(a.p)("Body Text Color")}]}),wp.element.createElement(a.i,{title:Object(a.p)("Button Colors"),colorSettings:[{value:m,onChange:function(e){return o({color:e})},label:Object(a.p)("Button Background Color")},{value:p,onChange:function(e){return o({textColor:e})},label:Object(a.p)("Button Text Color")},{value:f,onChange:function(e){return o({bgColor:e})},label:Object(a.p)("Background Color")}]}))),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"})))]},u=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,c=t.textColor,u=t.size,i=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,p=t.bgColor,b={backgroundColor:a,color:c,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:p}},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-"+u,style:b},l))};Object(a.q)("ugb/cta",{title:Object(a.p)("Call to Action"),icon:r.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Call to Action"),Object(a.p)("Stackable"),Object(a.p)("CTA")],attributes:{url:{type:"string",source:"attribute",selector:"a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(a.p)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(a.p)("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:"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}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(32),o=(n.n(l),n(33)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.testimonialTitle,u=r.testimonialTitleTwo,i=r.testimonialTitleThree,s=r.body,m=r.bodyTwo,p=r.bodyThree,b=r.position,d=r.positionTwo,g=r.positionThree,h=(r.href,r.hrefTwo,r.hrefThree,r.mediaID),f=r.mediaIDTwo,w=r.mediaIDThree,y=r.mediaURL,v=r.mediaURLTwo,C=r.mediaURLThree,E=r.columns,k=r.titleColor,x=r.posColor,O=r.bodyTextColor,T=r.iconColor,j=[{value:"1",label:Object(a.p)("One Column")},{value:"2",label:Object(a.p)("Two Column")},{value:"3",label:Object(a.p)("Three Column")}],N=function(e){return function(){l({editable:e})}};return[t&&wp.element.createElement(a.b,null),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Column Number"),value:E,options:j.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({columns:e})}})),wp.element.createElement(a.i,{initialOpen:!1,title:Object(a.p)("Color Settings"),colorSettings:[{value:k,onChange:function(e){return o({titleColor:e})},label:Object(a.p)("Title Color")},{value:x,onChange:function(e){return o({posColor:e})},label:Object(a.p)("Position Color")},{value:O,onChange:function(e){return o({bodyTextColor:e})},label:Object(a.p)("Body Text Color")},{value:T,onChange:function(e){return o({iconColor:e})},label:Object(a.p)("Icon Color")}]})),wp.element.createElement("div",{key:"editable",className:"ugb-testimonial column-"+E},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:h,render:function(e){return wp.element.createElement(a.c,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(a.p)("Upload Image"))}})),wp.element.createElement(a.k,{tagName:"h4",value:c,onChange:function(e){return o({testimonialTitle:e})},isSelected:t&&"testimonialTitle"===n,onFocus:N("testimonialTitle"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:b,className:"ugb-testimonial-position",onChange:function(e){return o({position:e})},isSelected:t&&"position"===n,onFocus:N("position"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:s,className:"ugb-testimonial-body",onChange:function(e){return o({body:e})},isSelected:t&&"body"===n,onFocus:N("body"),style:{color:O},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:f,render:function(e){return wp.element.createElement(a.c,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+v+")"}}):Object(a.p)("Upload Image"))}})),wp.element.createElement(a.k,{tagName:"h4",value:u,onChange:function(e){return o({testimonialTitleTwo:e})},isSelected:t&&"testimonialTitleTwo"===n,onFocus:N("testimonialTitleTwo"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:d,className:"ugb-testimonial-position-two",onChange:function(e){return o({positionTwo:e})},isSelected:t&&"positionTwo"===n,onFocus:N("positionTwo"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:m,className:"ugb-testimonial-body-two",onChange:function(e){return o({bodyTwo:e})},isSelected:t&&"bodyTwo"===n,onFocus:N("bodyTwo"),style:{color:O},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:w,render:function(e){return wp.element.createElement(a.c,{className:w?"":"button button-large",onClick:e.open},w?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+C+")"}}):Object(a.p)("Upload Image"))}})),wp.element.createElement(a.k,{tagName:"h4",value:i,onChange:function(e){return o({testimonialTitleThree:e})},isSelected:t&&"testimonialTitleThree"===n,onFocus:N("testimonialTitleThree"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:g,className:"ugb-testimonial-position-three",onChange:function(e){return o({positionThree:e})},isSelected:t&&"positionThree"===n,onFocus:N("positionThree"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:p,className:"ugb-testimonial-body-three",onChange:function(e){return o({bodyThree:e})},isSelected:t&&"bodyThree"===n,onFocus:N("bodyThree"),style:{color:O},keepPlaceholderOnFocus:!0})))]},u=function(e){var t=e.attributes,n=t.testimonialTitle,l=t.testimonialTitleTwo,o=t.testimonialTitleThree,r=t.body,a=t.bodyTwo,c=t.bodyThree,u=t.position,i=t.positionTwo,s=t.positionThree,m=t.mediaURL,p=t.mediaURLTwo,b=t.mediaURLThree,d=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.titleColor),g=t.posColor,h=t.bodyTextColor,f=t.iconColor,w=t.columns,y=wp.element.createElement("div",{key:"button",className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:f}},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:"ugb-testimonial column-"+w},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},m?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+m+")"},"data-src":m}):y,n&&!!n.length&&wp.element.createElement("h4",{style:{color:d}},n),u&&!!u.length&&wp.element.createElement("p",{className:"ugb-testimonial-position",style:{color:g}},u),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-testimonial-body",style:{color:h}},r)),w>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}):y,l&&!!l.length&&wp.element.createElement("h4",{style:{color:d}},l),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-testimonial-position-two",style:{color:g}},i),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-testimonial-body-two",style:{color:h}},a)),w>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},b?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+b+")"},"data-src":b}):y,o&&!!o.length&&wp.element.createElement("h4",{style:{color:d}},o),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-testimonial-position-three",style:{color:g}},s),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-testimonial-body-three",style:{color:h}},c)))};Object(a.q)("ugb/testimonial",{title:Object(a.p)("Testimonial"),icon:r.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Testimonial"),Object(a.p)("Stackable")],attributes:{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:{type:"array",source:"children",selector:".ugb-testimonial-column-one h4",default:Object(a.p)("Ben Adams")},testimonialTitleTwo:{type:"array",source:"children",selector:".ugb-testimonial-column-two h4",default:Object(a.p)("Alex Johnson")},testimonialTitleThree:{type:"array",source:"children",selector:".ugb-testimonial-column-three h4",default:Object(a.p)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-testimonial-position",default:Object(a.p)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-testimonial-position-two",default:Object(a.p)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-testimonial-position-three",default:Object(a.p)("Programmer")},body:{type:"array",source:"children",selector:".ugb-testimonial-body",default:Object(a.p)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{type:"array",source:"children",selector:".ugb-testimonial-body-two",default:Object(a.p)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{type:"array",source:"children",selector:".ugb-testimonial-body-three",default:Object(a.p)("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:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(35),o=(n.n(l),n(36)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.name,u=r.nameTwo,i=r.nameThree,s=r.des,m=r.desTwo,p=r.desThree,b=r.position,d=r.positionTwo,g=r.positionThree,h=(r.href,r.hrefTwo,r.hrefThree,r.mediaID),f=r.mediaIDTwo,w=r.mediaIDThree,y=r.mediaURL,v=r.mediaURLTwo,C=r.mediaURLThree,E=r.columns,k=r.nameColor,x=r.posColor,O=r.desColor,T=r.iconColor,j=r.shapes,N=[{value:"1",label:Object(a.p)("One Column")},{value:"2",label:Object(a.p)("Two Column")},{value:"3",label:Object(a.p)("Three Column")}],S=[{value:"square",label:Object(a.p)("Square")},{value:"circle",label:Object(a.p)("Circle")}],B=function(e){return function(){l({editable:e})}};return[t&&wp.element.createElement(a.b,{key:"controls"}),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Image Shape"),value:j,options:S.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({shapes:e})}}),wp.element.createElement(a.l,{label:Object(a.p)("Column Number"),value:E,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({columns:e})}})),wp.element.createElement(a.i,{initialOpen:!1,title:Object(a.p)("Color Settings"),colorSettings:[{value:k,onChange:function(e){return o({nameColor:e})},label:Object(a.p)("Name Color")},{value:x,onChange:function(e){return o({posColor:e})},label:Object(a.p)("Position Color")},{value:O,onChange:function(e){return o({desColor:e})},label:Object(a.p)("Description Color")},{value:T,onChange:function(e){return o({iconColor:e})},label:Object(a.p)("Icon Color")}]})),wp.element.createElement("div",{key:"editable",className:"ugb-team-member column-"+E+" image-"+j},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:h,render:function(e){return wp.element.createElement(a.c,{className:h?"":"button button-large",onClick:e.open},h?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(a.p)("Upload Image"))}})),wp.element.createElement(a.k,{tagName:"h4",value:c,onChange:function(e){return o({name:e})},isSelected:t&&"name"===n,onFocus:B("name"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return o({position:e})},isSelected:t&&"position"===n,onFocus:B("position"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:s,className:"ugb-team-member-des",onChange:function(e){return o({des:e})},isSelected:t&&"des"===n,onFocus:B("des"),style:{color:O},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:f,render:function(e){return wp.element.createElement(a.c,{className:f?"":"button button-large",onClick:e.open},f?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+v+")"}}):Object(a.p)("Upload Image"))}})),wp.element.createElement(a.k,{tagName:"h4",value:u,onChange:function(e){return o({nameTwo:e})},isSelected:t&&"nameTwo"===n,onFocus:B("nameTwo"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:d,className:"ugb-team-member-position",onChange:function(e){return o({positionTwo:e})},isSelected:t&&"positionTwo"===n,onFocus:B("positionTwo"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:m,className:"ugb-team-member-des-two",onChange:function(e){return o({desTwo:e})},isSelected:t&&"desTwo"===n,onFocus:B("desTwo"),style:{color:O},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:w,render:function(e){return wp.element.createElement(a.c,{className:w?"":"button button-large",onClick:e.open},w?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+C+")"}}):Object(a.p)("Upload Image"))}})),wp.element.createElement(a.k,{tagName:"h4",value:i,onChange:function(e){return o({nameThree:e})},isSelected:t&&"nameThree"===n,onFocus:B("nameThree"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:g,className:"ugb-team-member-position",onChange:function(e){return o({positionThree:e})},isSelected:t&&"positionThree"===n,onFocus:B("positionThree"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:p,className:"ugb-team-member-des-three",onChange:function(e){return o({desThree:e})},isSelected:t&&"desThree"===n,onFocus:B("desThree"),style:{color:O},keepPlaceholderOnFocus:!0})))]},u=function(e){var t=e.attributes,n=t.name,l=t.nameTwo,o=t.nameThree,r=t.shapes,a=t.des,c=t.desTwo,u=t.desThree,i=t.position,s=t.positionTwo,m=t.positionThree,p=t.mediaURL,b=t.mediaURLTwo,d=t.mediaURLThree,g=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.nameColor),h=t.posColor,f=t.desColor,w=(t.iconColor,t.columns);return wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+r},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}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:g}},n),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-team-member-position",style:{color:h}},i),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-team-member-des",style:{color:f}},a)),w>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},b&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+b+")"},"data-src":b}),l&&!!l.length&&wp.element.createElement("h4",{style:{color:g}},l),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-team-member-position",style:{color:h}},s),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-team-member-des-two",style:{color:f}},c)),w>2&&wp.element.createElement("div",{className:"ugb-team-member-column-three"},d&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+d+")"},"data-src":d}),o&&!!o.length&&wp.element.createElement("h4",{style:{color:g}},o),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-team-member-position",style:{color:h}},m),u&&!!u.length&&wp.element.createElement("p",{className:"ugb-team-member-des-three",style:{color:f}},u)))};Object(a.q)("ugb/team-member",{title:Object(a.p)("Team Member"),icon:r.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Team Member"),Object(a.p)("Stackable")],attributes:{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:{type:"array",source:"children",selector:".ugb-team-member-column-one h4",default:Object(a.p)("Ben Adams")},nameTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two h4",default:Object(a.p)("Alex Johnson")},nameThree:{type:"array",source:"children",selector:".ugb-team-member-column-three h4",default:Object(a.p)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(a.p)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(a.p)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(a.p)("Programmer")},des:{type:"array",source:"children",selector:".ugb-team-member-des",default:Object(a.p)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{type:"array",source:"children",selector:".ugb-team-member-des-two",default:Object(a.p)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{type:"array",source:"children",selector:".ugb-team-member-des-three",default:Object(a.p)("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:"select",default:"1"},shapes:{type:"select",default:"square"}},edit:c,save:u})},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}var o=n(38),r=(n.n(o),n(39)),a=(n.n(r),n(0)),c=n(1),u=function(e){return e.map?e.map(function(e){return e.children}):""},i=function(e){return e.map?e.map(function(e){return{children:e}}):""},s=function(e){var t=(e.focus,e.setFocus,e.editable),n=e.setAttributes,o=e.setState,r=e.className,a=e.isSelected,s=function(e){return function(){o({editable:e})}},m=e.attributes,p=m.text,b=m.moreLabel,d=m.moreText,g=m.lessLabel;return[a&&wp.element.createElement(c.b,{key:"controls"}),wp.element.createElement("div",{key:"expand",className:r},a&&wp.element.createElement("label",{className:"ugb-editor-label"},"Less text"),wp.element.createElement(c.k,l({multiline:"p",placeholder:e.attributes.text.default,value:u(p),onChange:function(e){return n({text:i(e)})},isSelected:a&&"text"===t,onFocus:s("text"),className:"ugb-expand-less-text"},"placeholder",Object(c.p)("Some short text that can be expanded to show more details."))),wp.element.createElement(c.k,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:b,isSelected:a&&"moreLabel"===t,onFocus:s("moreLabel"),onChange:function(e){return n({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(c.p)("Show more"))),a&&wp.element.createElement("label",{className:"ugb-editor-label"},"More text"),a&&wp.element.createElement(c.k,l({multiline:"p",placeholder:e.attributes.moreText.default,value:u(d),isSelected:a&&"moreText"===t,onFocus:s("moreText"),onChange:function(e){return n({moreText:i(e)})},className:"ugb-expand-more-text"},"placeholder",Object(c.p)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),a&&wp.element.createElement(c.k,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:g,isSelected:a&&"lessLabel"===t,onFocus:s("lessLabel"),onChange:function(e){return n({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(c.p)("Show less"))))]},m=function(e){var t=e.attributes,n=t.text,l=t.moreLabel,o=t.moreText,r=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},n.map&&n.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},o.map&&o.map(function(e,t){return wp.element.createElement("p",{key:t},e.children&&e.children.props.children)})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement("span",{className:"ugb-expand-more"},l),wp.element.createElement("span",{className:"ugb-expand-less",style:{display:"none"}},r)))};Object(c.q)("ugb/expand",{title:Object(c.p)("Expand / Show More"),icon:a.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.p)("Expand"),Object(c.p)("Show more/less"),Object(c.p)("Stackable")],attributes:{text:{type:"array",source:"query",selector:".ugb-expand-less-text > p",query:{children:{source:"node"}},default:[]},moreText:{type:"array",source:"query",selector:".ugb-expand-more-text > p",query:{children:{source:"node"}},default:[]},moreLabel:{type:"array",source:"children",selector:".ugb-expand-more",default:Object(c.p)("Show more")},lessLabel:{type:"array",source:"children",selector:".ugb-expand-less",default:Object(c.p)("Show less")}},edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(41),o=(n.n(l),n(42)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.editable,o=e.setState,r=e.attributes,c=r.numberBox,u=r.numberBoxTwo,i=r.numberBoxThree,s=r.body,m=r.bodyTwo,p=r.bodyThree,b=r.name,d=r.nameTwo,g=r.nameThree,h=r.columns,f=r.numberBoxColor,w=r.nameColor,y=r.bodyTextColor,v=r.numberBGColor,C=[{value:"1",label:Object(a.p)("One Column")},{value:"2",label:Object(a.p)("Two Column")},{value:"3",label:Object(a.p)("Three Column")}],E=function(e){return function(){o({editable:e})}};return[n&&wp.element.createElement(a.b,{key:"controls"}),n&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Column Number"),value:h,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return t({numberBoxColor:e})},label:Object(a.p)("Number Color")},{value:v,onChange:function(e){return t({numberBGColor:e})},label:Object(a.p)("Number Background Color")},{value:w,onChange:function(e){return t({nameColor:e})},label:Object(a.p)("Name Color")},{value:y,onChange:function(e){return t({bodyTextColor:e})},label:Object(a.p)("Body Text Color")}]})),wp.element.createElement("div",{key:"editable",className:"ugb-number-box column-"+h},wp.element.createElement("div",{className:"ugb-number-box-column-one"},wp.element.createElement(a.k,{tagName:"span",placeholder:c?c.default:"",value:c,onChange:function(e){return t({numberBox:e})},isSelected:n&&"numberBox"===l,onFocus:E("numberBox"),style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"h4",value:b,className:"ugb-number-box-name",onChange:function(e){return t({name:e})},isSelected:n&&"name"===l,onFocus:E("name"),placeholder:Object(a.p)("Add name\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:s,className:"ugb-number-box-body",onChange:function(e){return t({body:e})},isSelected:n&&"body"===l,onFocus:E("body"),placeholder:Object(a.p)("Add body\u2026"),style:{color:y},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-number-box-column-two"},wp.element.createElement(a.k,{tagName:"span",placeholder:u?u.default:"",value:u,onChange:function(e){return t({numberBoxTwo:e})},isSelected:n&&"numberBoxTwo"===l,onFocus:E("numberBoxTwo"),style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"h4",value:d,className:"ugb-number-box-name-two",onChange:function(e){return t({nameTwo:e})},isSelected:n&&"nameTwo"===l,onFocus:E("nameTwo"),placeholder:Object(a.p)("Add name\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:m,className:"ugb-number-box-body-two",onChange:function(e){return t({bodyTwo:e})},isSelected:n&&"bodyTwo"===l,onFocus:E("bodyTwo"),placeholder:Object(a.p)("Add body\u2026"),style:{color:y},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-number-box-column-three"},wp.element.createElement(a.k,{tagName:"span",placeholder:i?i.default:"",value:i,onChange:function(e){return t({numberBoxThree:e})},isSelected:n&&"numberBoxThree"===l,onFocus:E("numberBoxThree"),style:{color:f,backgroundColor:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"h4",value:g,className:"ugb-number-box-name-three",onChange:function(e){return t({nameThree:e})},isSelected:n&&"nameThree"===l,onFocus:E("nameThree"),placeholder:Object(a.p)("Add name\u2026"),style:{color:w},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:p,className:"ugb-number-box-body-three",onChange:function(e){return t({bodyThree:e})},isSelected:n&&"bodyThree"===l,onFocus:E("bodyThree"),placeholder:Object(a.p)("Add body\u2026"),style:{color:y},keepPlaceholderOnFocus:!0})))]},u=function(e){var t=e.attributes,n=t.numberBox,l=t.numberBoxTwo,o=t.numberBoxThree,r=t.body,a=t.bodyTwo,c=t.bodyThree,u=t.name,i=t.nameTwo,s=t.nameThree,m=t.numberBoxColor,p=t.nameColor,b=t.bodyTextColor,d=t.numberBGColor,g=t.columns;return wp.element.createElement("div",{className:"ugb-number-box column-"+g},wp.element.createElement("div",{className:"ugb-number-box-column-one"},n&&!!n.length&&wp.element.createElement("span",{style:{color:m,backgroundColor:d}},n),u&&!!u.length&&wp.element.createElement("h4",{className:"ugb-number-box-name",style:{color:p}},u),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-number-box-body",style:{color:b}},r)),g>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},l&&!!l.length&&wp.element.createElement("span",{style:{color:m,backgroundColor:d}},l),i&&!!i.length&&wp.element.createElement("h4",{className:"ugb-number-box-name-two",style:{color:p}},i),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-number-box-body-two",style:{color:b}},a)),g>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},o&&!!o.length&&wp.element.createElement("span",{style:{color:m,backgroundColor:d}},o),s&&!!s.length&&wp.element.createElement("h4",{className:"ugb-number-box-name-three",style:{color:p}},s),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-number-box-body-three",style:{color:b}},c)))};Object(a.q)("ugb/number-box",{title:Object(a.p)("Number Box"),icon:r.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Number Box"),Object(a.p)("Stackable")],attributes:{numberBox:{type:"array",source:"children",selector:".ugb-number-box-column-one span",default:Object(a.p)("01")},numberBoxTwo:{type:"array",source:"children",selector:".ugb-number-box-column-two span",default:Object(a.p)("02")},numberBoxThree:{type:"array",source:"children",selector:".ugb-number-box-column-three span",default:Object(a.p)("03")},name:{type:"array",source:"children",selector:".ugb-number-box-name",default:Object(a.p)("Registration")},nameTwo:{type:"array",source:"children",selector:".ugb-number-box-name-two",default:Object(a.p)("Waiting Period")},nameThree:{type:"array",source:"children",selector:".ugb-number-box-name-three",default:Object(a.p)("Delivery")},body:{type:"array",source:"children",selector:".ugb-number-box-body",default:Object(a.p)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{type:"array",source:"children",selector:".ugb-number-box-body-two",default:Object(a.p)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{type:"array",source:"children",selector:".ugb-number-box-body-three",default:Object(a.p)("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:"select",default:"1"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(44),o=(n.n(l),n(45)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.url,u=(r.url2,r.url3,r.pricingBoxTitle),i=r.pricingBoxTitle2,s=r.pricingBoxTitle3,m=r.price,p=r.price2,b=r.price3,d=r.perMonthLabel,g=r.perMonthLabel2,h=r.perMonthLabel3,f=r.buttonText,w=r.buttonText2,y=r.buttonText3,v=r.featureList,C=r.featureList2,E=r.featureList3,k=r.pricingBoxColor,x=r.priceColor,O=r.perMonthLabelColor,T=r.buttonColor,j=r.buttonTextColor,N=r.featureListColor,S=r.columns,B=r.size,L=r.cornerButtonRadius,F=[{value:"1",label:Object(a.p)("One Column")},{value:"2",label:Object(a.p)("Two Column")},{value:"3",label:Object(a.p)("Three Column")}],z=[{value:"small",label:Object(a.p)("Small")},{value:"normal",label:Object(a.p)("Normal")},{value:"medium",label:Object(a.p)("Medium")},{value:"large",label:Object(a.p)("Large")}],A=function(e){return function(){l({editable:e})}};return[t&&wp.element.createElement(a.b,{key:"controls"}),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Column Number"),value:S,options:F.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({columns:e})}}),wp.element.createElement(a.j,{label:Object(a.p)("Corner Radius"),value:L,min:"1",max:"50",onChange:function(e){return o({cornerButtonRadius:e})}}),wp.element.createElement(a.l,{label:Object(a.p)("Button Size"),value:B,options:z.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({size:e})}})),wp.element.createElement(a.i,{initialOpen:!1,title:Object(a.p)("Text Colors"),colorSettings:[{value:k,onChange:function(e){return o({pricingBoxColor:e})},label:Object(a.p)("Pricing Title Color")},{value:x,onChange:function(e){return o({priceColor:e})},label:Object(a.p)("Price Color")},{value:O,onChange:function(e){return o({perMonthLabelColor:e})},label:Object(a.p)("Per Month Label Color")},{value:N,onChange:function(e){return o({featureListColor:e})},label:Object(a.p)("Feature List Color")}]}),wp.element.createElement(a.i,{initialOpen:!1,title:Object(a.p)("Button Colors"),colorSettings:[{value:T,onChange:function(e){return o({buttonColor:e})},label:Object(a.p)("Button Color")},{value:j,onChange:function(e){return o({buttonTextColor:e})},label:Object(a.p)("Button Text Color")}]})),wp.element.createElement("div",{key:"editable",className:"ugb-pricing-box column-"+S},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(a.k,{tagName:"h3",value:u,onChange:function(e){return o({pricingBoxTitle:e})},isSelected:t&&"pricingBoxTitle"===n,onFocus:A("pricingBoxTitle"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:m,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price:e})},isSelected:t&&"price"===n,onFocus:A("price"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:d,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel:e})},focus:t&&"perMonthLabel"===n,onFocus:A("perMonthLabel"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button"},wp.element.createElement(a.k,{tagName:"span",value:f,onChange:function(e){return o({buttonText:e})},className:"wp-ugb-button ugb-button-"+B,isSelected:t&&"buttonText"===n,onFocus:A("buttonText"),style:{backgroundColor:T,color:j,borderRadius:L+"px"},keepPlaceholderOnFocus:!0})),wp.element.createElement(a.k,{tagName:"p",value:v,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList:e})},focus:t&&"featureList"===n,onFocus:A("featureList"),style:{color:N},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(a.k,{tagName:"h3",value:i,onChange:function(e){return o({pricingBoxTitle2:e})},isSelected:t&&"pricingBoxTitle2"===n,onFocus:A("pricingBoxTitle2"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price2:e})},isSelected:t&&"price2"===n,onFocus:A("price2"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:g,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel2:e})},focus:t&&"perMonthLabel2"===n,onFocus:A("perMonthLabel2"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button"},wp.element.createElement(a.k,{tagName:"span",value:w,onChange:function(e){return o({buttonText2:e})},className:"wp-ugb-button ugb-button-"+B,isSelected:t&&"buttonText2"===n,onFocus:A("buttonText2"),style:{backgroundColor:T,color:j,borderRadius:L+"px"},keepPlaceholderOnFocus:!0})),wp.element.createElement(a.k,{tagName:"p",value:C,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList2:e})},focus:t&&"featureList2"===n,onFocus:A("featureList2"),style:{color:N},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(a.k,{tagName:"h3",value:s,onChange:function(e){return o({pricingBoxTitle3:e})},isSelected:t&&"pricingBoxTitle3"===n,onFocus:A("pricingBoxTitle3"),style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:b,className:"ugb-pricing-box-pricing",onChange:function(e){return o({price3:e})},isSelected:t&&"price3"===n,onFocus:A("price3"),style:{color:x},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:h,className:"ugb-pricing-box-per-month-label",onChange:function(e){return o({perMonthLabel3:e})},focus:t&&"perMonthLabel3"===n,onFocus:A("perMonthLabel3"),style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button"},wp.element.createElement(a.k,{tagName:"span",value:y,onChange:function(e){return o({buttonText3:e})},className:"wp-ugb-button ugb-button-"+B,isSelected:t&&"buttonText3"===n,onFocus:A("buttonText3"),style:{backgroundColor:T,color:j,borderRadius:L+"px"},keepPlaceholderOnFocus:!0})),wp.element.createElement(a.k,{tagName:"p",value:E,className:"ugb-pricing-box-feature-list",onChange:function(e){return o({featureList3:e})},focus:t&&"featureList3"===n,onFocus:A("featureList3"),style:{color:N},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:c,onChange:function(e){return o({url:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"}))))]},u=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,c=t.pricingBoxTitle3,u=t.price,i=t.price2,s=t.price3,m=t.perMonthLabel,p=t.perMonthLabel2,b=t.perMonthLabel3,d=t.buttonText,g=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,T=t.columns,j=t.size,N=t.cornerButtonRadius,S={backgroundColor:k,color:x,borderRadius:N+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+T},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:v}},r),u&&!!u.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},u),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:S},d),f&&!!f.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},f)),T>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},a),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},p),g&&!!g.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:S},g),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},w)),T>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},c&&!!c.length&&wp.element.createElement("h3",{style:{color:v}},c),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),h&&!!h.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:S},h),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},y)))};Object(a.q)("ugb/pricing-box",{title:Object(a.p)("Pricing Box"),icon:r.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Pricing Box"),Object(a.p)("Stackable")],attributes:{url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three a",attribute:"href"},pricingBoxTitle:{type:"array",source:"children",selector:".ugb-pricing-box-column-one h3",default:Object(a.p)("Basic")},pricingBoxTitle2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two h3",default:Object(a.p)("Basic")},pricingBoxTitle3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three h3",default:Object(a.p)("Basic")},price:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(a.p)("$9")},price2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(a.p)("$9")},price3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(a.p)("$9")},perMonthLabel:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(a.p)("per month")},perMonthLabel2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(a.p)("per month")},perMonthLabel3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(a.p)("per month")},buttonText:{type:"array",source:"children",selector:".ugb-pricing-box-column-one a",default:Object(a.p)("Buy Now")},buttonText2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two a",default:Object(a.p)("Buy Now")},buttonText3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three a",default:Object(a.p)("Buy Now")},featureList:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(a.p)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(a.p)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(a.p)("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:"select",default:"1"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}},edit:c,save:u})},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)}var o=n(47),r=n.n(o),a=n(48),c=(n.n(a),n(49)),u=(n.n(c),n(0)),i=n(1),s=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,o=e.editable,a=e.setState,c=e.attributes,u=c.url,s=c.buttonURL,m=c.buttonText,p=c.buttonColor,b=c.buttonTextColor,d=c.cornerButtonRadius,g=c.size,h=c.title,f=c.titleColor,w=c.subtitle,y=c.subtitleColor,v=c.contentAlign,C=c.id,E=c.backgroundColor,k=c.opacity,x=u?{backgroundImage:"url("+u+")"}:void 0,O=u?"has-image":"",T=r()(l(k),{"overlay-opacity":0!==k}),j=function(e){return function(){a({editable:e})}},N=[{value:"small",label:Object(i.p)("Small")},{value:"normal",label:Object(i.p)("Normal")},{value:"medium",label:Object(i.p)("Medium")},{value:"large",label:Object(i.p)("Large")}];return[n&&wp.element.createElement(i.b,{key:"controls"},wp.element.createElement(i.a,{value:v,onChange:function(e){return t({contentAlign:e})}}),wp.element.createElement(i.n,null,wp.element.createElement(i.g,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:C,render:function(e){var t=e.open;return wp.element.createElement(i.e,{className:"components-toolbar__control",label:Object(i.p)("Edit image"),icon:"edit",onClick:t})}}))),n&&wp.element.createElement(i.f,null,wp.element.createElement(i.h,{title:Object(i.p)("General")},wp.element.createElement(i.j,{label:Object(i.p)("Background Opacity"),value:k,min:0,max:10,step:1,onChange:function(e){return t({opacity:e})}}),wp.element.createElement(i.l,{label:Object(i.p)("Button Size"),value:g,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({size:e})}}),wp.element.createElement(i.j,{label:Object(i.p)("Corner Radius"),value:d,min:"1",max:"50",onChange:function(e){return t({cornerButtonRadius:e})}})),wp.element.createElement(i.i,{initialOpen:!1,title:Object(i.p)("Text Colors"),colorSettings:[{value:f,onChange:function(e){return t({titleColor:e})},label:Object(i.p)("Title Color")},{value:y,onChange:function(e){return t({subtitleColor:e})},label:Object(i.p)("Subtitle Color")},{value:E,onChange:function(e){return t({backgroundColor:e})},label:Object(i.p)("Heading Background Color")}]}),wp.element.createElement(i.i,{initialOpen:!1,title:Object(i.p)("Button Colors"),colorSettings:[{value:p,onChange:function(e){return t({buttonColor:e})},label:Object(i.p)("Button Color")},{value:b,onChange:function(e){return t({buttonTextColor:e})},label:Object(i.p)("Button Text Color")}]})),wp.element.createElement("div",{key:"editable",className:"ugb-header "+O+" "},wp.element.createElement("div",{className:"ugb-header-overlay "+T,style:{backgroundColor:E}}),wp.element.createElement(i.g,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:C,render:function(e){return[!u&&wp.element.createElement(i.c,{className:C?"":"button button-large",onClick:e.open},Object(i.p)("Upload Image"))]}}),wp.element.createElement("section",{key:"preview","data-url":u,style:x,className:"ugb-header-section"},wp.element.createElement(i.k,{tagName:"h2",className:"ugb-header-title",placeholder:h.default,value:h,onChange:function(e){return t({title:e})},isSelected:n&&"title"===o,onFocus:j("title"),style:{textAlign:v,color:f}}),wp.element.createElement(i.k,{tagName:"p",className:"ugb-header-subtitle",placeholder:w.default,value:w,onChange:function(e){return t({subtitle:e})},isSelected:n&&"subtitle"===o,onFocus:j("subtitle"),style:{textAlign:v,color:y}}),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+v},wp.element.createElement(i.k,{tagName:"span",placeholder:m.default,value:m,onChange:function(e){return t({buttonText:e})},className:"wp-ugb-button ugb-button-"+g,style:{backgroundColor:p,color:b,borderRadius:d+"px"},isSelected:n&&"buttonText"===o,onFocus:j("buttonText"),keepPlaceholderOnFocus:!0})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+v},wp.element.createElement(i.d,{icon:"admin-links"}),wp.element.createElement(i.o,{value:s,onChange:function(e){return t({buttonURL:e})}}),wp.element.createElement(i.e,{icon:"editor-break",label:Object(i.p)("Apply"),type:"submit"}))]},m=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,a=t.buttonText,c=t.buttonColor,u=t.buttonTextColor,i=t.cornerButtonRadius,s=t.size,m=t.title,p=t.titleColor,b=t.subtitle,d=t.subtitleColor,g=(t.contentAlign,t.id,t.backgroundColor),h=t.opacity,f={backgroundColor:c,color:u,borderRadius:i+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,y=n?"has-image":"",v=r()(l(h),{"overlay-opacity":0!==h}),C=m.length||b.length||a.length?"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:g}}),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:p}},m),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:d}},b),a&&!!a.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+s,style:f},a)))};Object(i.q)("ugb/header",{title:Object(i.p)("Header"),icon:u.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.p)("Header"),Object(i.p)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h2",default:Object(i.p)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(i.p)("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.p)("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}},edit:s,save:m})},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 c in l)r.call(l,c)&&l[c]&&e.push(c)}}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){},function(e,t){},function(e,t,n){"use strict";var l=n(51),o=(n.n(l),n(52)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.editable,o=e.setState,r=e.attributes,c=r.url,u=r.title,i=r.titleColor,s=r.subtitle,m=r.subtitleColor,p=r.overlayColor,b=r.id,d=r.height,g=r.width,h=r.verticalAlign,f=r.horizontalAlign,w=r.full,y=c?"has-image":"",v=w?"full-width":"",C=function(e){return function(){o({editable:e})}},E=[{value:"flex-start",label:Object(a.p)("Top")},{value:"center",label:Object(a.p)("Center")},{value:"flex-end",label:Object(a.p)("Bottom")}],k=[{value:"flex-start",label:Object(a.p)("Left")},{value:"center",label:Object(a.p)("Center")},{value:"flex-end",label:Object(a.p)("Right")}];return[n&&wp.element.createElement(a.b,{key:"controls"},c&&wp.element.createElement(a.n,null,wp.element.createElement(a.g,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:b,render:function(e){var t=e.open;return wp.element.createElement(a.e,{className:"components-toolbar__control",label:Object(a.p)("Edit image"),icon:"edit",onClick:t})}}))),n&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.m,{label:"Full-Width",checked:!!w,onChange:function(){return t({full:!w})}}),wp.element.createElement(a.j,{label:Object(a.p)("Height"),value:d,min:"135",max:"700",onChange:function(e){return t({height:e})}}),wp.element.createElement(a.j,{label:Object(a.p)("Width"),value:g,min:"400",max:"999",onChange:function(e){return t({width:e})}}),wp.element.createElement(a.l,{label:Object(a.p)("Vertical Alignment"),value:h,options:E.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({verticalAlign:e})}}),wp.element.createElement(a.l,{label:Object(a.p)("Horizontal Alignment"),value:f,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({horizontalAlign:e})}})),wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:p,onChange:function(e){return t({overlayColor:e})},label:Object(a.p)("Overlay Color")},{value:i,onChange:function(e){return t({titleColor:e})},label:Object(a.p)("Title Color")},{value:m,onChange:function(e){return t({subtitleColor:e})},label:Object(a.p)("Subtitle Color")}]})),wp.element.createElement("div",{key:"editable",className:"ugb-image-box "+y+" "+v,"data-url":c,style:{width:g+"px",height:d+"px",backgroundImage:"url("+c+")",alignItems:f,justifyContent:h}},wp.element.createElement(a.g,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:b,render:function(e){return[!c&&wp.element.createElement(a.c,{className:b?"":"button button-large",onClick:e.open},Object(a.p)("Upload Image"))]}}),wp.element.createElement("a",{href:"#",style:{backgroundColor:p}}),wp.element.createElement(a.k,{tagName:"h4",placeholder:u.default,value:u,onChange:function(e){return t({title:e})},isSelected:n&&"title"===l,onFocus:C("title"),style:{color:i}}),wp.element.createElement(a.k,{tagName:"p",placeholder:s.default,value:s,onChange:function(e){return t({subtitle:e})},isSelected:n&&"subtitle"===l,onFocus:C("subtitle"),style:{color:m}}))]},u=function(e){var t=e.attributes,n=t.url,l=t.title,o=t.titleColor,r=t.subtitle,a=t.subtitleColor,c=t.overlayColor,u=(t.id,t.height),i=t.width,s=t.verticalAlign,m=t.horizontalAlign,p=t.full,b=n?"has-image":"",d=p?"full-width":"",g=l.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+b+" "+g+" "+d,"data-url":n,style:{width:i+"px",height:u+"px",backgroundImage:"url("+n+")",alignItems:m,justifyContent:s}},wp.element.createElement("a",{href:"#",style:{backgroundColor:c}}),l&&!!l.length&&wp.element.createElement("h4",{style:{color:o}},l),r&&!!r.length&&wp.element.createElement("p",{style:{color:a}},r))};Object(a.q)("ugb/image-box",{title:Object(a.p)("Image Box"),icon:r.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Image Box"),Object(a.p)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(a.p)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(a.p)("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}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(54),o=(n.n(l),n(55)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=function(e){return function(){o({editable:e})}},n=e.isSelected,l=e.editable,o=e.setState,r=e.setAttributes,c=(e.className,e.attributes),u=c.color,i=c.headingColor,s=c.desColor,m=c.title,p=c.counter,b=c.des,d=c.fontSize;return[wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.k,{tagName:"h4",value:m,onChange:function(e){return r({title:e})},isSelected:n&&"title"===l,onFocus:t("title"),style:{color:i}}),wp.element.createElement(a.k,{tagName:"div",className:"ugb-counter",placeholder:p.default,"data-duration":"1000","data-delay":"16",value:p,onChange:function(e){return r({counter:e})},isSelected:n&&"counter"===l,onFocus:t("counter"),style:{color:u,fontSize:d+"px"}}),wp.element.createElement(a.k,{tagName:"p",className:"ugb-counter-des",value:b,onChange:function(e){return r({des:e})},isSelected:n&&"des"===l,onFocus:t("des"),style:{color:s}})),n&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.i,{title:Object(a.p)("Color Settings"),colorSettings:[{value:i,onChange:function(e){return r({headingColor:e})},label:Object(a.p)("Heading Color")},{value:u,onChange:function(e){return r({color:e})},label:Object(a.p)("Number Color")},{value:s,onChange:function(e){return r({desColor:e})},label:Object(a.p)("Description Color")}]}),wp.element.createElement(a.h,null,wp.element.createElement(a.j,{label:Object(a.p)("Counter Text Font Size"),max:"100",min:"10",value:d,onChange:function(e){return r({fontSize:e})}})))]},u=function(e){var t=e.attributes,n=t.color,l=t.headingColor,o=t.desColor,r=t.title,a=t.counter,c=t.des,u=t.fontSize;return wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement("h4",{style:{color:l}}," ",r," "),wp.element.createElement("div",{className:"ugb-counter",style:{color:n,fontSize:u+"px"},"data-duration":"1000","data-delay":"16"},a),wp.element.createElement("p",{style:{color:o}}," ",c," "))};Object(a.q)("ugb/count-up",{title:Object(a.p)("Count Up"),icon:r.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Count Up"),Object(a.p)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(a.p)("Happy Customers")},counter:{type:"array",source:"children",selector:".ugb-counter",default:"12,345"},des:{type:"array",source:"children",selector:"p",default:Object(a.p)("and counting")},fontSize:{type:"number",default:"60"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(57),o=(n.n(l),n(58)),r=(n.n(o),n(0)),a=n(1),c={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"}))},u=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.attributes,o=l.videoLink,r=l.mediaLink,u=l.overlayColor,i=l.playButtonType,s=l.mediaID,m=[{value:"normal",label:Object(a.p)("Normal Play Button")},{value:"circle",label:Object(a.p)("Play Button with Circle")},{value:"outline",label:Object(a.p)("Outline Play Button")}];return[n&&wp.element.createElement(a.b,{key:"controls"},r&&wp.element.createElement(a.n,null,wp.element.createElement(a.g,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){var t=e.open;return wp.element.createElement(a.e,{className:"components-toolbar__control",label:Object(a.p)("Edit image"),icon:"edit",onClick:t})}}))),n&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.h,null,wp.element.createElement(a.l,{label:Object(a.p)("Play Button Style"),value:i,options:m.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({playButtonType:e})}})),wp.element.createElement(a.i,{initialOpen:!1,title:Object(a.p)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return t({overlayColor:e})},label:Object(a.p)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:"ugb-video-popup","data-video":o,style:{backgroundColor:u}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+r+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(a.g,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){return[!r&&wp.element.createElement(a.c,{className:s?"":"button button-large",onClick:e.open},Object(a.p)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:u}}),wp.element.createElement("span",{className:"ugb-play-button"},c[i]))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:o,onChange:function(e){return t({videoLink:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"}),wp.element.createElement("p",null,wp.element.createElement("i",null,"Youtube/Vimeo ID only")))]},i=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"},c[r])))};Object(a.q)("ugb/video-popup",{title:Object(a.p)("Video Popup"),icon:r.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Video Popup"),Object(a.p)("Stackable")],attributes:{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"}},edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(60),o=(n.n(l),n(61)),r=(n.n(o),n(0)),a=n(1),c=function(e){var t=e.isSelected,n=e.editable,l=e.setState,o=(e.className,e.setAttributes),r=e.attributes,c=r.heading,u=r.tagline,i=r.des,s=r.mediaID,m=r.mediaURL,p=r.headingColor,b=r.taglineColor,d=r.desColor,g=r.buttonURL,h=r.buttonText,f=r.buttonColor,w=r.buttonTextColor,y=r.size,v=r.cornerButtonRadius,C=r.contentAlign,E=function(e){return function(){l({editable:e})}},k=m?"has-image":"",x=[{value:"small",label:Object(a.p)("Small")},{value:"normal",label:Object(a.p)("Normal")},{value:"medium",label:Object(a.p)("Medium")},{value:"large",label:Object(a.p)("Large")}];return[t&&wp.element.createElement(a.b,{key:"controls"},wp.element.createElement(a.a,{value:C,onChange:function(e){return o({contentAlign:e})}}),wp.element.createElement(a.n,null,wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){var t=e.open;return wp.element.createElement(a.e,{className:"components-toolbar__control",label:Object(a.p)("Edit image"),icon:"edit",onClick:t})}}))),t&&wp.element.createElement(a.f,{key:"inspector"},wp.element.createElement(a.i,{title:Object(a.p)("Text Colors"),colorSettings:[{value:p,onChange:function(e){return o({headingColor:e})},label:Object(a.p)("Heading Color")},{value:b,onChange:function(e){return o({taglineColor:e})},label:Object(a.p)("Tagline Color")},{value:d,onChange:function(e){return o({desColor:e})},label:Object(a.p)("Description Color")}]}),wp.element.createElement(a.h,{initialOpen:!1,title:Object(a.p)("Button Size")},wp.element.createElement(a.l,{label:Object(a.p)("Button Size"),value:y,options:x.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){o({size:e})}}),wp.element.createElement(a.j,{label:Object(a.p)("Corner Radius"),value:v,min:"1",max:"50",onChange:function(e){return o({cornerButtonRadius:e})}})),wp.element.createElement(a.i,{initialOpen:!1,title:Object(a.p)("Button Colors"),colorSettings:[{value:f,onChange:function(e){return o({buttonColor:e})},label:Object(a.p)("Button Color")},{value:w,onChange:function(e){return o({buttonTextColor:e})},label:Object(a.p)("Button Text Color")}]})),wp.element.createElement("div",{key:"editable",className:"ugb-card "+k},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+m+")",textAlign:C}},wp.element.createElement(a.g,{onSelect:function(e){return o({mediaURL:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){return[!m&&wp.element.createElement(a.c,{className:s?"":"button button-large",onClick:e.open},Object(a.p)("Upload Image"))]}})),wp.element.createElement(a.k,{tagName:"h4",value:c,className:"ugb-card-heading",onChange:function(e){return o({heading:e})},isSelected:t&&"heading"===n,onFocus:E("heading"),style:{color:p,textAlign:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:u,className:"ugb-tagline",onChange:function(e){return o({tagline:e})},isSelected:t&&"tagline"===n,onFocus:E("tagline"),style:{color:b,textAlign:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.k,{tagName:"p",value:i,className:"ugb-card-des",onChange:function(e){return o({des:e})},isSelected:t&&"des"===n,onFocus:E("des"),style:{color:d,textAlign:C},keepPlaceholderOnFocus:!0}),wp.element.createElement("span",{key:"button",className:"wp-block-button ugb-button-"+C},wp.element.createElement(a.k,{tagName:"span",placeholder:h.default,value:h,onChange:function(e){return o({buttonText:e})},className:"wp-ugb-button ugb-button-"+y,style:{backgroundColor:f,color:w,borderRadius:v+"px"},isSelected:t&&"buttonText"===n,onFocus:E("buttonText"),keepPlaceholderOnFocus:!0}))),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+C,style:{marginTop:10}},wp.element.createElement(a.d,{icon:"admin-links"}),wp.element.createElement(a.o,{value:g,onChange:function(e){return o({buttonURL:e})}}),wp.element.createElement(a.e,{icon:"editor-break",label:Object(a.p)("Apply"),type:"submit"}))]},u=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),c=t.taglineColor,u=t.desColor,i=t.buttonURL,s=t.buttonText,m=t.buttonColor,p=t.buttonTextColor,b=t.size,d=t.cornerButtonRadius,g=t.contentAlign,h={backgroundColor:m,color:p,borderRadius:d+"px"},f=r?"has-image":"",w=n.length||l.length||o.length||s.length?"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:g},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:g}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:c,textAlign:g}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:u,textAlign:g}},o),s&&!!s.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+b+" ugb-button-"+g,style:h},s))};Object(a.q)("ugb/card",{title:Object(a.p)("Card"),icon:r.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.p)("Card"),Object(a.p)("Stackable")],attributes:{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(a.p)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(a.p)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(a.p)("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(a.p)("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"}},edit:c,save:u})},function(e,t){},function(e,t){}]);
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: 0.6
9
  *
10
  * @package Stackable
11
  */
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: 0.7
9
  *
10
  * @package Stackable
11
  */
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: bfintal, reggieduran, gambitph, freemius
3
  Tags: gutenberg, blocks, gutenberg blocks, editor, addon, add on, add-on, gutenberg addon, wordpress 5.0, simple, essential, options, all in one
4
  Requires at least: 4.8
5
- Tested up to: 4.9.6
6
  Requires PHP: 5.3
7
- Stable tag: 0.6
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -155,6 +155,9 @@ Nope. Stackable only works with Gutenberg.
155
 
156
  == Changelog ==
157
 
 
 
 
158
  = 0.6 =
159
  * New: Grouped together all Stackable blocks
160
  * Fixed: Compatibility with Gutenberg 3.7.0
2
  Contributors: bfintal, reggieduran, gambitph, freemius
3
  Tags: gutenberg, blocks, gutenberg blocks, editor, addon, add on, add-on, gutenberg addon, wordpress 5.0, simple, essential, options, all in one
4
  Requires at least: 4.8
5
+ Tested up to: 4.9.8
6
  Requires PHP: 5.3
7
+ Stable tag: 0.7
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
155
 
156
  == Changelog ==
157
 
158
+ = 0.7 =
159
+ * Updated: Rearranged and used color panels for all color settings
160
+
161
  = 0.6 =
162
  * New: Grouped together all Stackable blocks
163
  * Fixed: Compatibility with Gutenberg 3.7.0
src/block/blockquote/index.js CHANGED
@@ -13,7 +13,7 @@ import { QuoteIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  InspectorControls,
18
  RichText,
19
  ColorPalette,
@@ -49,24 +49,22 @@ export const edit = ( props ) => {
49
  </blockquote>,
50
  isSelected && (
51
  <InspectorControls key='inspector'>
52
- <PanelColor
53
- title={ __( 'Text Color' ) }
54
- colorValue={ color }
55
- >
56
- <ColorPalette
57
- value={ color }
58
- onChange={ ( colorValue ) => setAttributes( { color: colorValue } ) }
59
- />
60
- </PanelColor>
61
- <PanelColor
62
- title={ __( 'Border Color' ) }
63
- colorValue={ borderColor }
64
- >
65
- <ColorPalette
66
- value={ borderColor }
67
- onChange={ ( colorValue ) => setAttributes( { borderColor: colorValue } ) }
68
- />
69
- </PanelColor>
70
  </InspectorControls>
71
  )
72
  ];
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  InspectorControls,
18
  RichText,
19
  ColorPalette,
49
  </blockquote>,
50
  isSelected && (
51
  <InspectorControls key='inspector'>
52
+ <PanelColorSettings
53
+ title={ __( 'Color Settings' ) }
54
+ colorSettings={ [
55
+ {
56
+ value: color,
57
+ onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
58
+ label: __( 'Text Color' ),
59
+ },
60
+ {
61
+ value: borderColor,
62
+ onChange: ( colorValue ) => setAttributes( { borderColor: colorValue } ),
63
+ label: __( 'Border Color' ),
64
+ },
65
+ ] }
66
+ >
67
+ </PanelColorSettings>
 
 
68
  </InspectorControls>
69
  )
70
  ];
src/block/button/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
  AlignmentToolbar,
19
  RichText,
20
  ColorPalette,
21
- PanelColor,
22
  Dashicon,
23
  IconButton,
24
  SelectControl,
@@ -71,24 +71,25 @@ export const edit = ( props ) => {
71
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
72
  />
73
  </PanelBody>
74
- <PanelColor
75
- title={ __( 'Background Color' ) }
76
- colorValue={ color }
77
- >
78
- <ColorPalette
79
- value={ color }
80
- onChange={ ( colorValue ) => setAttributes( { color: colorValue } ) }
81
- />
82
- </PanelColor>
83
- <PanelColor
84
- title={ __( 'Text Color' ) }
85
- colorValue={ textColor }
 
 
 
 
86
  >
87
- <ColorPalette
88
- value={ textColor }
89
- onChange={ ( colorValue ) => setAttributes( { textColor: colorValue } ) }
90
- />
91
- </PanelColor>
92
  </InspectorControls>
93
  ),
94
  <span key={ 'button' }
18
  AlignmentToolbar,
19
  RichText,
20
  ColorPalette,
21
+ PanelColorSettings,
22
  Dashicon,
23
  IconButton,
24
  SelectControl,
71
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
72
  />
73
  </PanelBody>
74
+
75
+
76
+ <PanelColorSettings
77
+ title={ __( 'Color Settings' ) }
78
+ colorSettings={ [
79
+ {
80
+ value: color,
81
+ onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
82
+ label: __( 'Background Color' ),
83
+ },
84
+ {
85
+ value: textColor,
86
+ onChange: ( colorValue ) => setAttributes( { textColor: colorValue } ),
87
+ label: __( 'Text Color' ),
88
+ },
89
+ ] }
90
  >
91
+ </PanelColorSettings>
92
+
 
 
 
93
  </InspectorControls>
94
  ),
95
  <span key={ 'button' }
src/block/call-to-action/index.js CHANGED
@@ -14,7 +14,7 @@ import { CTAIcon } from '../../icons'
14
  import {
15
  registerBlockType,
16
  __,
17
- PanelColor,
18
  Dashicon,
19
  IconButton,
20
  SelectControl,
@@ -126,56 +126,44 @@ export const edit = ( props ) => {
126
  onChange={ ( borderRad ) => setAttributes( { borderButtonRadius: borderRad } ) }
127
  />
128
  </PanelBody>
129
- <PanelColor
130
- title={ __( 'Title Color' ) }
131
- colorValue={ titleColor }
132
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  >
134
- <ColorPalette
135
- value={ color }
136
- onChange={ ( colorValue ) => setAttributes( { titleColor: colorValue } ) }
137
- />
138
- </PanelColor>
139
- <PanelColor
140
- title={ __( 'Body Text Color' ) }
141
- colorValue={ bodyTextColor }
142
- initialOpen={ false }
143
- >
144
- <ColorPalette
145
- value={ color }
146
- onChange={ ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ) }
147
- />
148
- </PanelColor>
149
- <PanelColor
150
- title={ __( 'Button Background Color' ) }
151
- colorValue={ color }
152
- initialOpen={ false }
153
- >
154
- <ColorPalette
155
- value={ color }
156
- onChange={ ( colorValue ) => setAttributes( { color: colorValue } ) }
157
- />
158
- </PanelColor>
159
- <PanelColor
160
- title={ __( 'Button Text Color' ) }
161
- colorValue={ textColor }
162
- initialOpen={ false }
163
- >
164
- <ColorPalette
165
- value={ textColor }
166
- onChange={ ( colorValue ) => setAttributes( { textColor: colorValue } ) }
167
- />
168
- </PanelColor>
169
- <PanelColor
170
- title={ __( 'Background Color' ) }
171
- colorValue={ bgColor }
172
- initialOpen={ false }
173
  >
174
- <ColorPalette
175
- value={ bgColor }
176
- onChange={ ( colorValue ) => setAttributes( { bgColor: colorValue } ) }
177
- />
178
- </PanelColor>
179
  </InspectorControls>
180
  }
181
  </span>
14
  import {
15
  registerBlockType,
16
  __,
17
+ PanelColorSettings,
18
  Dashicon,
19
  IconButton,
20
  SelectControl,
126
  onChange={ ( borderRad ) => setAttributes( { borderButtonRadius: borderRad } ) }
127
  />
128
  </PanelBody>
129
+ <PanelColorSettings
 
 
130
  initialOpen={ false }
131
+ title={ __( 'Color Settings' ) }
132
+ colorSettings={ [
133
+ {
134
+ value: titleColor,
135
+ onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
136
+ label: __( 'Title Color' ),
137
+ },
138
+ {
139
+ value: bodyTextColor,
140
+ onChange: ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ),
141
+ label: __( 'Body Text Color' ),
142
+ },
143
+ ] }
144
  >
145
+ </PanelColorSettings>
146
+ <PanelColorSettings
147
+ title={ __( 'Button Colors' ) }
148
+ colorSettings={ [
149
+ {
150
+ value: color,
151
+ onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
152
+ label: __( 'Button Background Color' ),
153
+ },
154
+ {
155
+ value: textColor,
156
+ onChange: ( colorValue ) => setAttributes( { textColor: colorValue } ),
157
+ label: __( 'Button Text Color' ),
158
+ },
159
+ {
160
+ value: bgColor,
161
+ onChange: ( colorValue ) => setAttributes( { bgColor: colorValue } ),
162
+ label: __( 'Background Color' ),
163
+ },
164
+ ] }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  >
166
+ </PanelColorSettings>
 
 
 
 
167
  </InspectorControls>
168
  }
169
  </span>
src/block/card/index.js CHANGED
@@ -13,7 +13,7 @@ import { TeamMemberIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  Button,
18
  IconButton,
19
  Dashicon,
@@ -97,38 +97,31 @@ export const edit = ( props ) => {
97
  ),
98
  isSelected && (
99
  <InspectorControls key={ 'inspector' }>
100
- <PanelColor
101
- title={ __( 'Heading Color' ) }
102
- colorValue={ headingColor }
103
- initialOpen={ false }
104
- >
105
- <ColorPalette
106
- value={ headingColor }
107
- onChange={ ( colorValue ) => setAttributes( { headingColor: colorValue } ) }
108
- />
109
- </PanelColor>
110
- <PanelColor
111
- title={ __( 'Tagline Color' ) }
112
- colorValue={ taglineColor }
113
- initialOpen={ false }
 
 
 
 
 
114
  >
115
- <ColorPalette
116
- value={ taglineColor }
117
- onChange={ ( colorValue ) => setAttributes( { taglineColor: colorValue } ) }
118
- />
119
- </PanelColor>
120
- <PanelColor
121
- title={ __( 'Description Color' ) }
122
- colorValue={ desColor }
123
  initialOpen={ false }
124
- >
125
- <ColorPalette
126
- value={ desColor }
127
- onChange={ ( colorValue ) => setAttributes( { desColor: colorValue } ) }
128
- />
129
- </PanelColor>
130
- <PanelBody>
131
- <h2>Button Settings</h2>
132
  <SelectControl
133
  label={ __( 'Button Size' ) }
134
  value={ size }
@@ -146,26 +139,23 @@ export const edit = ( props ) => {
146
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
147
  />
148
  </PanelBody>
149
- <PanelColor
150
- title={ __( 'Button Color' ) }
151
- colorValue={ buttonColor }
152
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  >
154
- <ColorPalette
155
- value={ buttonColor }
156
- onChange={ ( colorValue ) => setAttributes( { buttonColor: colorValue } ) }
157
- />
158
- </PanelColor>
159
- <PanelColor
160
- title={ __( 'Button Text Color' ) }
161
- colorValue={ buttonTextColor }
162
- initialOpen={ false }
163
- >
164
- <ColorPalette
165
- value={ buttonTextColor }
166
- onChange={ ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ) }
167
- />
168
- </PanelColor>
169
  </InspectorControls>
170
  ),
171
  <div key={'editable'} className={ `ugb-card ${imageClass}` }>
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  Button,
18
  IconButton,
19
  Dashicon,
97
  ),
98
  isSelected && (
99
  <InspectorControls key={ 'inspector' }>
100
+ <PanelColorSettings
101
+ title={ __( 'Text Colors' ) }
102
+ colorSettings={ [
103
+ {
104
+ value: headingColor,
105
+ onChange: ( colorValue ) => setAttributes( { headingColor: colorValue } ),
106
+ label: __( 'Heading Color' ),
107
+ },
108
+ {
109
+ value: taglineColor,
110
+ onChange: ( colorValue ) => setAttributes( { taglineColor: colorValue } ),
111
+ label: __( 'Tagline Color' ),
112
+ },
113
+ {
114
+ value: desColor,
115
+ onChange: ( colorValue ) => setAttributes( { desColor: colorValue } ),
116
+ label: __( 'Description Color' ),
117
+ },
118
+ ] }
119
  >
120
+ </PanelColorSettings>
121
+ <PanelBody
 
 
 
 
 
 
122
  initialOpen={ false }
123
+ title={ __( 'Button Size' ) }
124
+ >
 
 
 
 
 
 
125
  <SelectControl
126
  label={ __( 'Button Size' ) }
127
  value={ size }
139
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
140
  />
141
  </PanelBody>
142
+ <PanelColorSettings
 
 
143
  initialOpen={ false }
144
+ title={ __( 'Button Colors' ) }
145
+ colorSettings={ [
146
+ {
147
+ value: buttonColor,
148
+ onChange: ( colorValue ) => setAttributes( { buttonColor: colorValue } ),
149
+ label: __( 'Button Color' ),
150
+ },
151
+ {
152
+ value: buttonTextColor,
153
+ onChange: ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ),
154
+ label: __( 'Button Text Color' ),
155
+ },
156
+ ] }
157
  >
158
+ </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  </InspectorControls>
160
  ),
161
  <div key={'editable'} className={ `ugb-card ${imageClass}` }>
src/block/count-up/index.js CHANGED
@@ -13,7 +13,7 @@ import { NumberBoxIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  RangeControl,
18
  InspectorControls,
19
  RichText,
@@ -68,33 +68,27 @@ export const edit = ( props ) => {
68
  </div>,
69
  isSelected && (
70
  <InspectorControls key='inspector'>
71
- <PanelColor
72
- title={ __( 'Heading Color' ) }
73
- colorValue={ headingColor }
74
- initialOpen={ false }>
75
- <ColorPalette
76
- value={ headingColor }
77
- onChange={ ( colorValue ) => setAttributes( { headingColor: colorValue } ) }
78
- />
79
- </PanelColor>
80
- <PanelColor
81
- title={ __( 'Count Up Text Color' ) }
82
- colorValue={ color }
83
- initialOpen={ false }>
84
- <ColorPalette
85
- value={ color }
86
- onChange={ ( colorValue ) => setAttributes( { color: colorValue } ) }
87
- />
88
- </PanelColor>
89
- <PanelColor
90
- title={ __( 'Description Color' ) }
91
- colorValue={ desColor }
92
- initialOpen={ false }>
93
- <ColorPalette
94
- value={ desColor }
95
- onChange={ ( colorValue ) => setAttributes( { desColor: colorValue } ) }
96
- />
97
- </PanelColor>
98
  <PanelBody>
99
  <RangeControl
100
  label={ __( 'Counter Text Font Size' ) }
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  RangeControl,
18
  InspectorControls,
19
  RichText,
68
  </div>,
69
  isSelected && (
70
  <InspectorControls key='inspector'>
71
+ <PanelColorSettings
72
+ title={ __( 'Color Settings' ) }
73
+ colorSettings={ [
74
+ {
75
+ value: headingColor,
76
+ onChange: ( colorValue ) => setAttributes( { headingColor: colorValue } ),
77
+ label: __( 'Heading Color' ),
78
+ },
79
+ {
80
+ value: color,
81
+ onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
82
+ label: __( 'Number Color' ),
83
+ },
84
+ {
85
+ value: desColor,
86
+ onChange: ( colorValue ) => setAttributes( { desColor: colorValue } ),
87
+ label: __( 'Description Color' ),
88
+ },
89
+ ] }
90
+ >
91
+ </PanelColorSettings>
 
 
 
 
 
 
92
  <PanelBody>
93
  <RangeControl
94
  label={ __( 'Counter Text Font Size' ) }
src/block/divider/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
  ColorPalette,
18
  BlockControls,
19
  AlignmentToolbar,
20
- PanelColor,
21
  RangeControl,
22
  PanelBody
23
  } from '../../wp-imports'
@@ -71,12 +71,18 @@ export const edit = ( props ) => {
71
  }}
72
  />
73
  </PanelBody>
74
- <PanelColor title={ __( 'Divider Color' ) } colorValue={ color } initialOpen={ false }>
75
- <ColorPalette
76
- value={ color }
77
- onChange={ ( colorValue ) => props.setAttributes( { color: colorValue } ) }
78
- />
79
- </PanelColor>
 
 
 
 
 
 
80
  </InspectorControls>
81
 
82
  ),
17
  ColorPalette,
18
  BlockControls,
19
  AlignmentToolbar,
20
+ PanelColorSettings,
21
  RangeControl,
22
  PanelBody
23
  } from '../../wp-imports'
71
  }}
72
  />
73
  </PanelBody>
74
+
75
+ <PanelColorSettings
76
+ title={ __( 'Color Settings' ) }
77
+ colorSettings={ [
78
+ {
79
+ value: color,
80
+ onChange: ( colorValue ) => props.setAttributes( { color: colorValue } ),
81
+ label: __( 'Divider Color' ),
82
+ },
83
+ ] }
84
+ >
85
+ </PanelColorSettings>
86
  </InspectorControls>
87
 
88
  ),
src/block/ghost-button/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
  RichText,
19
  AlignmentToolbar,
20
  ColorPalette,
21
- PanelColor,
22
  IconButton,
23
  Dashicon,
24
  SelectControl,
@@ -107,16 +107,17 @@ export const edit = ( props ) => {
107
  onChange={ ( borderThick ) => setAttributes( { borderThickness: borderThick } ) }
108
  />
109
  </PanelBody>
110
- <PanelColor
111
- title={ __( 'Button Color' ) }
112
- colorValue={ color }
113
- initialOpen={ false }
 
 
 
 
 
114
  >
115
- <ColorPalette
116
- value={ color }
117
- onChange={ ( colorValue ) => setAttributes( { color: colorValue } ) }
118
- />
119
- </PanelColor>
120
  </InspectorControls>
121
  }
122
  </span>,
18
  RichText,
19
  AlignmentToolbar,
20
  ColorPalette,
21
+ PanelColorSettings,
22
  IconButton,
23
  Dashicon,
24
  SelectControl,
107
  onChange={ ( borderThick ) => setAttributes( { borderThickness: borderThick } ) }
108
  />
109
  </PanelBody>
110
+ <PanelColorSettings
111
+ title={ __( 'Color Settings' ) }
112
+ colorSettings={ [
113
+ {
114
+ value: color,
115
+ onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
116
+ label: __( 'Button Color' ),
117
+ },
118
+ ] }
119
  >
120
+ </PanelColorSettings>
 
 
 
 
121
  </InspectorControls>
122
  }
123
  </span>,
src/block/header/index.js CHANGED
@@ -16,7 +16,7 @@ import {
16
  registerBlockType,
17
  __,
18
  IconButton,
19
- PanelColor,
20
  Dashicon,
21
  RangeControl,
22
  SelectControl,
@@ -107,38 +107,10 @@ export const edit = ( props ) => {
107
  </BlockControls>
108
  ),
109
  isSelected && (
110
- <InspectorControls key={ 'inspector' }>
111
- <PanelColor
112
- title={ __( 'Title Color' ) }
113
- colorValue={ titleColor }
114
- initialOpen={ false }
115
- >
116
- <ColorPalette
117
- value={ titleColor }
118
- onChange={ ( colorValue ) => setAttributes( { titleColor: colorValue } ) }
119
- />
120
- </PanelColor>
121
- <PanelColor
122
- title={ __( 'Subtitle Color' ) }
123
- colorValue={ subtitleColor }
124
- initialOpen={ false }
125
- >
126
- <ColorPalette
127
- value={ subtitleColor }
128
- onChange={ ( colorValue ) => setAttributes( { subtitleColor: colorValue } ) }
129
- />
130
- </PanelColor>
131
- <PanelColor
132
- title={ __( 'Heading Background Color' ) }
133
- colorValue={ backgroundColor }
134
- initialOpen={ false }
135
- >
136
- <ColorPalette
137
- value={ backgroundColor }
138
- onChange={ ( colorValue ) => setAttributes( { backgroundColor: colorValue } ) }
139
- />
140
- </PanelColor>
141
- <PanelBody>
142
  <RangeControl
143
  label={ __( 'Background Opacity' ) }
144
  value={ opacity }
@@ -147,7 +119,6 @@ export const edit = ( props ) => {
147
  step={ 1 }
148
  onChange={ ( ratio ) => setAttributes( { opacity: ratio } ) }
149
  />
150
- <h2>Button Settings</h2>
151
  <SelectControl
152
  label={ __( 'Button Size' ) }
153
  value={ size }
@@ -165,26 +136,45 @@ export const edit = ( props ) => {
165
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
166
  />
167
  </PanelBody>
168
- <PanelColor
169
- title={ __( 'Button Color' ) }
170
- colorValue={ buttonColor }
171
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  >
173
- <ColorPalette
174
- value={ buttonColor }
175
- onChange={ ( colorValue ) => setAttributes( { buttonColor: colorValue } ) }
176
- />
177
- </PanelColor>
178
- <PanelColor
179
- title={ __( 'Button Text Color' ) }
180
- colorValue={ buttonTextColor }
181
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  >
183
- <ColorPalette
184
- value={ buttonTextColor }
185
- onChange={ ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ) }
186
- />
187
- </PanelColor>
188
  </InspectorControls>
189
  ),
190
  <div key={'editable'}
16
  registerBlockType,
17
  __,
18
  IconButton,
19
+ PanelColorSettings,
20
  Dashicon,
21
  RangeControl,
22
  SelectControl,
107
  </BlockControls>
108
  ),
109
  isSelected && (
110
+ <InspectorControls>
111
+ <PanelBody
112
+ title={ __( 'General' ) }
113
+ >
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  <RangeControl
115
  label={ __( 'Background Opacity' ) }
116
  value={ opacity }
119
  step={ 1 }
120
  onChange={ ( ratio ) => setAttributes( { opacity: ratio } ) }
121
  />
 
122
  <SelectControl
123
  label={ __( 'Button Size' ) }
124
  value={ size }
136
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
137
  />
138
  </PanelBody>
139
+ <PanelColorSettings
 
 
140
  initialOpen={ false }
141
+ title={ __( 'Text Colors' ) }
142
+ colorSettings={ [
143
+ {
144
+ value: titleColor,
145
+ onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
146
+ label: __( 'Title Color' ),
147
+ },
148
+ {
149
+ value: subtitleColor,
150
+ onChange: ( colorValue ) => setAttributes( { subtitleColor: colorValue } ),
151
+ label: __( 'Subtitle Color' ),
152
+ },
153
+ {
154
+ value: backgroundColor,
155
+ onChange: ( colorValue ) => setAttributes( { backgroundColor: colorValue } ),
156
+ label: __( 'Heading Background Color' ),
157
+ },
158
+ ] }
159
  >
160
+ </PanelColorSettings>
161
+ <PanelColorSettings
 
 
 
 
 
 
162
  initialOpen={ false }
163
+ title={ __( 'Button Colors' ) }
164
+ colorSettings={ [
165
+ {
166
+ value: buttonColor,
167
+ onChange: ( colorValue ) => setAttributes( { buttonColor: colorValue } ),
168
+ label: __( 'Button Color' ),
169
+ },
170
+ {
171
+ value: buttonTextColor,
172
+ onChange: ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ),
173
+ label: __( 'Button Text Color' ),
174
+ },
175
+ ] }
176
  >
177
+ </PanelColorSettings>
 
 
 
 
178
  </InspectorControls>
179
  ),
180
  <div key={'editable'}
src/block/image-box/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
  registerBlockType,
15
  __,
16
  IconButton,
17
- PanelColor,
18
  Toolbar,
19
  Button,
20
  RangeControl,
@@ -136,36 +136,27 @@ export const edit = ( props ) => {
136
  onChange={ ( newSize ) => { setAttributes( { horizontalAlign: newSize } ) } }
137
  />
138
  </PanelBody>
139
- <PanelColor
140
- title={ __( 'Title Color' ) }
141
- colorValue={ titleColor }
142
- initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  >
144
- <ColorPalette
145
- value={ titleColor }
146
- onChange={ ( colorValue ) => setAttributes( { titleColor: colorValue } ) }
147
- />
148
- </PanelColor>
149
- <PanelColor
150
- title={ __( 'Subtitle Color' ) }
151
- colorValue={ subtitleColor }
152
- initialOpen={ false }
153
- >
154
- <ColorPalette
155
- value={ subtitleColor }
156
- onChange={ ( colorValue ) => setAttributes( { subtitleColor: colorValue } ) }
157
- />
158
- </PanelColor>
159
- <PanelColor
160
- title={ __( 'Overlay Color' ) }
161
- colorValue={ overlayColor }
162
- initialOpen={ false }
163
- >
164
- <ColorPalette
165
- value={ overlayColor }
166
- onChange={ ( colorValue ) => setAttributes( { overlayColor: colorValue } ) }
167
- />
168
- </PanelColor>
169
  </InspectorControls>
170
  ),
171
  <div key={'editable'}
14
  registerBlockType,
15
  __,
16
  IconButton,
17
+ PanelColorSettings,
18
  Toolbar,
19
  Button,
20
  RangeControl,
136
  onChange={ ( newSize ) => { setAttributes( { horizontalAlign: newSize } ) } }
137
  />
138
  </PanelBody>
139
+ <PanelColorSettings
140
+ title={ __( 'Color Settings' ) }
141
+ colorSettings={ [
142
+ {
143
+ value: overlayColor,
144
+ onChange: ( colorValue ) => setAttributes( { overlayColor: colorValue } ),
145
+ label: __( 'Overlay Color' ),
146
+ },
147
+ {
148
+ value: titleColor,
149
+ onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
150
+ label: __( 'Title Color' ),
151
+ },
152
+ {
153
+ value: subtitleColor,
154
+ onChange: ( colorValue ) => setAttributes( { subtitleColor: colorValue } ),
155
+ label: __( 'Subtitle Color' ),
156
+ },
157
+ ] }
158
  >
159
+ </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  </InspectorControls>
161
  ),
162
  <div key={'editable'}
src/block/notification/index.js CHANGED
@@ -15,7 +15,7 @@ import {
15
  registerBlockType,
16
  __,
17
  SelectControl,
18
- PanelColor,
19
  ToggleControl,
20
  InspectorControls,
21
  RichText,
@@ -100,26 +100,22 @@ export const edit = ( props ) => {
100
  onChange={ ( newSize ) => { setAttributes( { notifType: newSize } ) } }
101
  />
102
  </PanelBody>
103
- <PanelColor
104
- title={ __( 'Background Color' ) }
105
- colorValue={ color }
106
- initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
107
  >
108
- <ColorPalette
109
- value={ color }
110
- onChange={ ( colorValue ) => setAttributes( { color: colorValue } ) }
111
- />
112
- </PanelColor>
113
- <PanelColor
114
- title={ __( 'Text Color' ) }
115
- colorValue={ textColor }
116
- initialOpen={ false }
117
- >
118
- <ColorPalette
119
- value={ textColor }
120
- onChange={ ( colorValue ) => setAttributes( { textColor: colorValue } ) }
121
- />
122
- </PanelColor>
123
  </InspectorControls>
124
  }
125
  </div>
15
  registerBlockType,
16
  __,
17
  SelectControl,
18
+ PanelColorSettings,
19
  ToggleControl,
20
  InspectorControls,
21
  RichText,
100
  onChange={ ( newSize ) => { setAttributes( { notifType: newSize } ) } }
101
  />
102
  </PanelBody>
103
+ <PanelColorSettings
104
+ title={ __( 'Color Settings' ) }
105
+ colorSettings={ [
106
+ {
107
+ value: color,
108
+ onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
109
+ label: __( 'Background Color' ),
110
+ },
111
+ {
112
+ value: textColor,
113
+ onChange: ( colorValue ) => setAttributes( { textColor: colorValue } ),
114
+ label: __( 'Text Color' ),
115
+ },
116
+ ] }
117
  >
118
+ </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  </InspectorControls>
120
  }
121
  </div>
src/block/number-box/index.js CHANGED
@@ -13,7 +13,7 @@ import { NumberBoxIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  SelectControl,
18
  InspectorControls,
19
  RichText,
@@ -76,46 +76,32 @@ export const edit = ( props ) => {
76
  onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
77
  />
78
  </PanelBody>
79
- <PanelColor
80
- title={ __( 'Number Color' ) }
81
- colorValue={ numberBoxColor }
82
- initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  >
84
- <ColorPalette
85
- value={ numberBoxColor }
86
- onChange={ ( colorValue ) => setAttributes( { numberBoxColor: colorValue } ) }
87
- />
88
- </PanelColor>
89
- <PanelColor
90
- title={ __( 'Number Background Color' ) }
91
- colorValue={ numberBGColor }
92
- initialOpen={ false }
93
- >
94
- <ColorPalette
95
- value={ numberBGColor }
96
- onChange={ ( colorValue ) => setAttributes( { numberBGColor: colorValue } ) }
97
- />
98
- </PanelColor>
99
- <PanelColor
100
- title={ __( 'Name Color' ) }
101
- colorValue={ nameColor }
102
- initialOpen={ false }
103
- >
104
- <ColorPalette
105
- value={ nameColor }
106
- onChange={ ( colorValue ) => setAttributes( { nameColor: colorValue } ) }
107
- />
108
- </PanelColor>
109
- <PanelColor
110
- title={ __( 'Body Text Color' ) }
111
- colorValue={ bodyTextColor }
112
- initialOpen={ false }
113
- >
114
- <ColorPalette
115
- value={ bodyTextColor }
116
- onChange={ ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ) }
117
- />
118
- </PanelColor>
119
  </InspectorControls>
120
  ),
121
  <div key={'editable'} className={ `ugb-number-box column-${columns}` }>
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  SelectControl,
18
  InspectorControls,
19
  RichText,
76
  onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
77
  />
78
  </PanelBody>
79
+ <PanelColorSettings
80
+ title={ __( 'Color Settings' ) }
81
+ colorSettings={ [
82
+ {
83
+ value: numberBoxColor,
84
+ onChange: ( colorValue ) => setAttributes( { numberBoxColor: colorValue } ),
85
+ label: __( 'Number Color' ),
86
+ },
87
+ {
88
+ value: numberBGColor,
89
+ onChange: ( colorValue ) => setAttributes( { numberBGColor: colorValue } ),
90
+ label: __( 'Number Background Color' ),
91
+ },
92
+ {
93
+ value: nameColor,
94
+ onChange: ( colorValue ) => setAttributes( { nameColor: colorValue } ),
95
+ label: __( 'Name Color' ),
96
+ },
97
+ {
98
+ value: bodyTextColor,
99
+ onChange: ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ),
100
+ label: __( 'Body Text Color' ),
101
+ },
102
+ ] }
103
  >
104
+ </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
105
  </InspectorControls>
106
  ),
107
  <div key={'editable'} className={ `ugb-number-box column-${columns}` }>
src/block/pricing-box/index.js CHANGED
@@ -13,7 +13,7 @@ import { PricingIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  SelectControl,
18
  Dashicon,
19
  IconButton,
@@ -103,48 +103,6 @@ export const edit = ( props ) => {
103
  max='50'
104
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
105
  />
106
- </PanelBody>
107
- <PanelColor
108
- title={ __( 'Pricing Title Color' ) }
109
- colorValue={ pricingBoxColor }
110
- initialOpen={ false }
111
- >
112
- <ColorPalette
113
- value={ pricingBoxColor }
114
- onChange={ ( colorValue ) => setAttributes( { pricingBoxColor: colorValue } ) }
115
- />
116
- </PanelColor>
117
- <PanelColor
118
- title={ __( 'Price Color' ) }
119
- colorValue={ priceColor }
120
- initialOpen={ false }
121
- >
122
- <ColorPalette
123
- value={ priceColor }
124
- onChange={ ( colorValue ) => setAttributes( { priceColor: colorValue } ) }
125
- />
126
- </PanelColor>
127
- <PanelColor
128
- title={ __( 'Per Month Label Color' ) }
129
- colorValue={ perMonthLabelColor }
130
- initialOpen={ false }
131
- >
132
- <ColorPalette
133
- value={ perMonthLabelColor }
134
- onChange={ ( colorValue ) => setAttributes( { perMonthLabelColor: colorValue } ) }
135
- />
136
- </PanelColor>
137
- <PanelColor
138
- title={ __( 'Feature List Color' ) }
139
- colorValue={ featureListColor }
140
- initialOpen={ false }
141
- >
142
- <ColorPalette
143
- value={ featureListColor }
144
- onChange={ ( colorValue ) => setAttributes( { featureListColor: colorValue } ) }
145
- />
146
- </PanelColor>
147
- <PanelBody>
148
  <SelectControl
149
  label={ __( 'Button Size' ) }
150
  value={ size }
@@ -155,26 +113,50 @@ export const edit = ( props ) => {
155
  onChange={ ( newSize ) => { setAttributes( { size: newSize } ) } }
156
  />
157
  </PanelBody>
158
- <PanelColor
159
- title={ __( 'Button Color' ) }
160
- colorValue={ buttonColor }
161
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  >
163
- <ColorPalette
164
- value={ buttonColor }
165
- onChange={ ( colorValue ) => setAttributes( { buttonColor: colorValue } ) }
166
- />
167
- </PanelColor>
168
- <PanelColor
169
- title={ __( 'Button Text Color' ) }
170
- colorValue={ buttonTextColor }
171
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
172
  >
173
- <ColorPalette
174
- value={ buttonTextColor }
175
- onChange={ ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ) }
176
- />
177
- </PanelColor>
178
  </InspectorControls>
179
  ),
180
  <div key={'editable'} className={ `ugb-pricing-box column-${columns}` }>
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  SelectControl,
18
  Dashicon,
19
  IconButton,
103
  max='50'
104
  onChange={ ( cornerRad ) => setAttributes( { cornerButtonRadius: cornerRad } ) }
105
  />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  <SelectControl
107
  label={ __( 'Button Size' ) }
108
  value={ size }
113
  onChange={ ( newSize ) => { setAttributes( { size: newSize } ) } }
114
  />
115
  </PanelBody>
116
+ <PanelColorSettings
 
 
117
  initialOpen={ false }
118
+ title={ __( 'Text Colors' ) }
119
+ colorSettings={ [
120
+ {
121
+ value: pricingBoxColor,
122
+ onChange: ( colorValue ) => setAttributes( { pricingBoxColor: colorValue } ),
123
+ label: __( 'Pricing Title Color' ),
124
+ },
125
+ {
126
+ value: priceColor,
127
+ onChange: ( colorValue ) => setAttributes( { priceColor: colorValue } ),
128
+ label: __( 'Price Color' ),
129
+ },
130
+ {
131
+ value: perMonthLabelColor,
132
+ onChange: ( colorValue ) => setAttributes( { perMonthLabelColor: colorValue } ),
133
+ label: __( 'Per Month Label Color' ),
134
+ },
135
+ {
136
+ value: featureListColor,
137
+ onChange: ( colorValue ) => setAttributes( { featureListColor: colorValue } ),
138
+ label: __( 'Feature List Color' ),
139
+ },
140
+ ] }
141
  >
142
+ </PanelColorSettings>
143
+ <PanelColorSettings
 
 
 
 
 
 
144
  initialOpen={ false }
145
+ title={ __( 'Button Colors' ) }
146
+ colorSettings={ [
147
+ {
148
+ value: buttonColor,
149
+ onChange: ( colorValue ) => setAttributes( { buttonColor: colorValue } ),
150
+ label: __( 'Button Color' ),
151
+ },
152
+ {
153
+ value: buttonTextColor,
154
+ onChange: ( colorValue ) => setAttributes( { buttonTextColor: colorValue } ),
155
+ label: __( 'Button Text Color' ),
156
+ },
157
+ ] }
158
  >
159
+ </PanelColorSettings>
 
 
 
 
160
  </InspectorControls>
161
  ),
162
  <div key={'editable'} className={ `ugb-pricing-box column-${columns}` }>
src/block/pullquote/index.js CHANGED
@@ -13,7 +13,7 @@ import { QuoteIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  InspectorControls,
18
  RichText,
19
  ColorPalette,
@@ -52,25 +52,23 @@ export const edit = ( props ) => {
52
  />
53
  </blockquote>,
54
  isSelected && (
55
- <InspectorControls key='inspector'>
56
- <PanelColor
57
- title={ __( 'Text Color' ) }
58
- colorValue={ color }
59
- initialOpen={ false }>
60
- <ColorPalette
61
- value={ color }
62
- onChange={ ( colorValue ) => setAttributes( { color: colorValue } ) }
63
- />
64
- </PanelColor>
65
- <PanelColor
66
- title={ __( 'Border Color' ) }
67
- colorValue={ borderColor }
68
- initialOpen={ false }>
69
- <ColorPalette
70
- value={ borderColor }
71
- onChange={ ( colorValue ) => setAttributes( { borderColor: colorValue } ) }
72
- />
73
- </PanelColor>
74
  </InspectorControls>
75
  )
76
  ];
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  InspectorControls,
18
  RichText,
19
  ColorPalette,
52
  />
53
  </blockquote>,
54
  isSelected && (
55
+ <InspectorControls>
56
+ <PanelColorSettings
57
+ title={ __( 'Color Settings' ) }
58
+ colorSettings={ [
59
+ {
60
+ value: color,
61
+ onChange: ( colorValue ) => setAttributes( { color: colorValue } ),
62
+ label: __( 'Text Color' ),
63
+ },
64
+ {
65
+ value: borderColor,
66
+ onChange: ( colorValue ) => setAttributes( { borderColor: colorValue } ),
67
+ label: __( 'Border Color' ),
68
+ },
69
+ ] }
70
+ >
71
+ </PanelColorSettings>
 
 
72
  </InspectorControls>
73
  )
74
  ];
src/block/team-member/index.js CHANGED
@@ -13,7 +13,7 @@ import { TeamMemberIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  Button,
18
  SelectControl,
19
  InspectorControls,
@@ -101,46 +101,33 @@ export const edit = ( props ) => {
101
  onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
102
  />
103
  </PanelBody>
104
- <PanelColor
105
- title={ __( 'Name Color' ) }
106
- colorValue={ nameColor }
107
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  >
109
- <ColorPalette
110
- value={ nameColor }
111
- onChange={ ( colorValue ) => setAttributes( { nameColor: colorValue } ) }
112
- />
113
- </PanelColor>
114
- <PanelColor
115
- title={ __( 'Position Color' ) }
116
- colorValue={ posColor }
117
- initialOpen={ false }
118
- >
119
- <ColorPalette
120
- value={ posColor }
121
- onChange={ ( colorValue ) => setAttributes( { posColor: colorValue } ) }
122
- />
123
- </PanelColor>
124
- <PanelColor
125
- title={ __( 'Description Color' ) }
126
- colorValue={ desColor }
127
- initialOpen={ false }
128
- >
129
- <ColorPalette
130
- value={ desColor }
131
- onChange={ ( colorValue ) => setAttributes( { desColor: colorValue } ) }
132
- />
133
- </PanelColor>
134
- <PanelColor
135
- title={ __( 'Icon Color' ) }
136
- colorValue={ iconColor }
137
- initialOpen={ false }
138
- >
139
- <ColorPalette
140
- value={ iconColor }
141
- onChange={ ( colorValue ) => setAttributes( { iconColor: colorValue } ) }
142
- />
143
- </PanelColor>
144
  </InspectorControls>
145
  ),
146
  <div key={'editable'} className={ `ugb-team-member column-${columns} image-${ shapes }` }>
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  Button,
18
  SelectControl,
19
  InspectorControls,
101
  onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
102
  />
103
  </PanelBody>
104
+ <PanelColorSettings
 
 
105
  initialOpen={ false }
106
+ title={ __( 'Color Settings' ) }
107
+ colorSettings={ [
108
+ {
109
+ value: nameColor,
110
+ onChange: ( colorValue ) => setAttributes( { nameColor: colorValue } ),
111
+ label: __( 'Name Color' ),
112
+ },
113
+ {
114
+ value: posColor,
115
+ onChange: ( colorValue ) => setAttributes( { posColor: colorValue } ),
116
+ label: __( 'Position Color' ),
117
+ },
118
+ {
119
+ value: desColor,
120
+ onChange: ( colorValue ) => setAttributes( { desColor: colorValue } ),
121
+ label: __( 'Description Color' ),
122
+ },
123
+ {
124
+ value: iconColor,
125
+ onChange: ( colorValue ) => setAttributes( { iconColor: colorValue } ),
126
+ label: __( 'Icon Color' ),
127
+ },
128
+ ] }
129
  >
130
+ </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  </InspectorControls>
132
  ),
133
  <div key={'editable'} className={ `ugb-team-member column-${columns} image-${ shapes }` }>
src/block/testimonial/index.js CHANGED
@@ -13,7 +13,7 @@ import { TestimonialIcon } from '../../icons'
13
  import {
14
  registerBlockType,
15
  __,
16
- PanelColor,
17
  Button,
18
  SelectControl,
19
  InspectorControls,
@@ -87,46 +87,33 @@ export const edit = ( props ) => {
87
  onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
88
  />
89
  </PanelBody>
90
- <PanelColor
91
- title={ __( 'Title Color' ) }
92
- colorValue={ titleColor }
93
  initialOpen={ false }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  >
95
- <ColorPalette
96
- value={ titleColor }
97
- onChange={ ( colorValue ) => setAttributes( { titleColor: colorValue } ) }
98
- />
99
- </PanelColor>
100
- <PanelColor
101
- title={ __( 'Position Color' ) }
102
- colorValue={ posColor }
103
- initialOpen={ false }
104
- >
105
- <ColorPalette
106
- value={ posColor }
107
- onChange={ ( colorValue ) => setAttributes( { posColor: colorValue } ) }
108
- />
109
- </PanelColor>
110
- <PanelColor
111
- title={ __( 'Body Text Color' ) }
112
- colorValue={ bodyTextColor }
113
- initialOpen={ false }
114
- >
115
- <ColorPalette
116
- value={ bodyTextColor }
117
- onChange={ ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ) }
118
- />
119
- </PanelColor>
120
- <PanelColor
121
- title={ __( 'Icon Color' ) }
122
- colorValue={ iconColor }
123
- initialOpen={ false }
124
- >
125
- <ColorPalette
126
- value={ iconColor }
127
- onChange={ ( colorValue ) => setAttributes( { iconColor: colorValue } ) }
128
- />
129
- </PanelColor>
130
  </InspectorControls>
131
  ),
132
  <div key={'editable'} className={ `ugb-testimonial column-${columns}` }>
13
  import {
14
  registerBlockType,
15
  __,
16
+ PanelColorSettings,
17
  Button,
18
  SelectControl,
19
  InspectorControls,
87
  onChange={ ( newColumns ) => { setAttributes( { columns: newColumns } ) } }
88
  />
89
  </PanelBody>
90
+ <PanelColorSettings
 
 
91
  initialOpen={ false }
92
+ title={ __( 'Color Settings' ) }
93
+ colorSettings={ [
94
+ {
95
+ value: titleColor,
96
+ onChange: ( colorValue ) => setAttributes( { titleColor: colorValue } ),
97
+ label: __( 'Title Color' ),
98
+ },
99
+ {
100
+ value: posColor,
101
+ onChange: ( colorValue ) => setAttributes( { posColor: colorValue } ),
102
+ label: __( 'Position Color' ),
103
+ },
104
+ {
105
+ value: bodyTextColor,
106
+ onChange: ( colorValue ) => setAttributes( { bodyTextColor: colorValue } ),
107
+ label: __( 'Body Text Color' ),
108
+ },
109
+ {
110
+ value: iconColor,
111
+ onChange: ( colorValue ) => setAttributes( { iconColor: colorValue } ),
112
+ label: __( 'Icon Color' ),
113
+ },
114
+ ] }
115
  >
116
+ </PanelColorSettings>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  </InspectorControls>
118
  ),
119
  <div key={'editable'} className={ `ugb-testimonial column-${columns}` }>
src/block/video-popup/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
  registerBlockType,
15
  __,
16
  IconButton,
17
- PanelColor,
18
  Button,
19
  SelectControl,
20
  Dashicon,
@@ -87,16 +87,18 @@ export const edit = ( props ) => {
87
  onChange={ ( newSize ) => { setAttributes( { playButtonType: newSize } ) } }
88
  />
89
  </PanelBody>
90
- <PanelColor
91
- title={ __( 'Background/Overlay Color' ) }
92
- colorValue={ overlayColor }
93
  initialOpen={ false }
 
 
 
 
 
 
 
 
94
  >
95
- <ColorPalette
96
- value={ overlayColor }
97
- onChange={ ( colorValue ) => setAttributes( { overlayColor: colorValue } ) }
98
- />
99
- </PanelColor>
100
  </InspectorControls>
101
  ),
102
  <div className='ugb-video-popup'
14
  registerBlockType,
15
  __,
16
  IconButton,
17
+ PanelColorSettings,
18
  Button,
19
  SelectControl,
20
  Dashicon,
87
  onChange={ ( newSize ) => { setAttributes( { playButtonType: newSize } ) } }
88
  />
89
  </PanelBody>
90
+ <PanelColorSettings
 
 
91
  initialOpen={ false }
92
+ title={ __( 'Color Settings' ) }
93
+ colorSettings={ [
94
+ {
95
+ value: overlayColor,
96
+ onChange: ( colorValue ) => setAttributes( { overlayColor: colorValue } ),
97
+ label: __( 'Background / Overlay Color' ),
98
+ },
99
+ ] }
100
  >
101
+ </PanelColorSettings>
 
 
 
 
102
  </InspectorControls>
103
  ),
104
  <div className='ugb-video-popup'
src/wp-imports.js CHANGED
@@ -3,7 +3,6 @@ export const { registerBlockType } = wp.blocks
3
  export const { __ } = wp.i18n
4
 
5
  export const {
6
- PanelColor,
7
  RangeControl,
8
  SelectControl,
9
  TextControl,
@@ -24,3 +23,7 @@ export const {
24
  URLInput,
25
  MediaUpload,
26
  } = wp.editor.InspectorControls ? wp.editor : wp.blocks
 
 
 
 
3
  export const { __ } = wp.i18n
4
 
5
  export const {
 
6
  RangeControl,
7
  SelectControl,
8
  TextControl,
23
  URLInput,
24
  MediaUpload,
25
  } = wp.editor.InspectorControls ? wp.editor : wp.blocks
26
+
27
+ export const {
28
+ PanelColorSettings,
29
+ } = wp.editor