Stackable – Page Builder Gutenberg Blocks - Version 1.3

Version Description

  • New: Feature block
  • New: Feature Grid block
  • New: Icon List block
  • Changed: Tweaked left/right padding for medium & large buttons to make them look better.
  • Fixed: Adjusted deprecated type prop in MediaUpload for Gutenberg 4.2
  • Fixed: Scripts are now cache busted
  • Fixed: Gutenberg 4.0 compatibility for detecting empty text
Download this release

Release Info

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

Code changes from version 1.2.1 to 1.3

Files changed (56) hide show
  1. dist/blocks.build.js +1 -1
  2. dist/blocks.editor.build.css +4 -1
  3. dist/blocks.style.build.css +5 -2
  4. plugin.php +3 -2
  5. readme.txt +39 -22
  6. src/block/blockquote/index.js +1 -3
  7. src/block/button/button-edit.js +2 -1
  8. src/block/button/index.js +1 -3
  9. src/block/button/style.scss +12 -5
  10. src/block/call-to-action/editor.scss +5 -0
  11. src/block/call-to-action/index.js +3 -7
  12. src/block/call-to-action/style.scss +0 -3
  13. src/block/card/index.js +6 -11
  14. src/block/count-up/index.js +3 -7
  15. src/block/divider/index.js +0 -1
  16. src/block/expand/index.js +4 -8
  17. src/block/feature-grid/editor.scss +31 -0
  18. src/block/feature-grid/index.js +305 -0
  19. src/block/feature-grid/style.scss +23 -0
  20. src/block/feature/editor.scss +33 -0
  21. src/block/feature/index.js +371 -0
  22. src/block/feature/style.scss +78 -0
  23. src/block/ghost-button/index.js +1 -3
  24. src/block/header/index.js +5 -9
  25. src/block/icon-list/editor.scss +22 -0
  26. src/block/icon-list/icons.js +171 -0
  27. src/block/icon-list/images/Arrow-01.svg +3 -0
  28. src/block/icon-list/images/Arrow-02.svg +9 -0
  29. src/block/icon-list/images/Arrow-03.svg +4 -0
  30. src/block/icon-list/images/Check-01.svg +3 -0
  31. src/block/icon-list/images/Check-02.svg +10 -0
  32. src/block/icon-list/images/Check-03.svg +4 -0
  33. src/block/icon-list/images/Plus-01.svg +3 -0
  34. src/block/icon-list/images/Plus-02.svg +10 -0
  35. src/block/icon-list/images/Plus-03.svg +4 -0
  36. src/block/icon-list/images/Star-01.svg +3 -0
  37. src/block/icon-list/images/Star-02.svg +10 -0
  38. src/block/icon-list/images/Star-03.svg +4 -0
  39. src/block/icon-list/images/X-01.svg +3 -0
  40. src/block/icon-list/images/X-02.svg +10 -0
  41. src/block/icon-list/images/X-03.svg +4 -0
  42. src/block/icon-list/index.js +293 -0
  43. src/block/icon-list/style.scss +45 -0
  44. src/block/image-box/index.js +4 -7
  45. src/block/notification/index.js +1 -3
  46. src/block/number-box/index.js +9 -19
  47. src/block/pricing-box/index.js +15 -31
  48. src/block/pullquote/index.js +1 -3
  49. src/block/team-member/index.js +12 -22
  50. src/block/testimonial/index.js +12 -22
  51. src/block/video-popup/index.js +2 -3
  52. src/blocks.js +3 -0
  53. src/icons.js +1 -1
  54. src/init.php +29 -6
  55. src/util.js +25 -0
  56. src/wp-imports.js +2 -1
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(l){if(n[l])return n[l].exports;var r=n[l]={i:l,l:!1,exports:{}};return e[l].call(r.exports,r,r.exports,t),r.l=!0,r.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=7)}([function(e,t,n){"use strict";n.d(t,"A",function(){return l}),n.d(t,"s",function(){return r}),n.d(t,"m",function(){return o}),n.d(t,"o",function(){return u}),n.d(t,"p",function(){return c}),n.d(t,"e",function(){return i}),n.d(t,"g",function(){return s}),n.d(t,"d",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"j",function(){return p}),n.d(t,"l",function(){return g}),n.d(t,"h",function(){return f}),n.d(t,"c",function(){return h}),n.d(t,"a",function(){return y}),n.d(t,"n",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"i",function(){return C}),n.d(t,"k",function(){return x}),n.d(t,"b",function(){return N}),n.d(t,"f",function(){return O}),n.d(t,"z",function(){return j}),n.d(t,"y",function(){return T}),n.d(t,"w",function(){return S}),n.d(t,"t",function(){return z}),n.d(t,"u",function(){return L}),n.d(t,"x",function(){return R}),n.d(t,"v",function(){return I});var l=wp.blocks.registerBlockType,r=wp.i18n.__,a=wp.components,o=a.RangeControl,u=a.SelectControl,c=(a.TextControl,a.ToggleControl),i=a.Dashicon,s=a.IconButton,m=a.Button,b=a.Toolbar,p=a.PanelBody,g=a.RadioControl,d=wp.editor.InspectorControls?wp.editor:wp.blocks,f=d.InspectorControls,h=d.BlockControls,y=(d.ColorPalette,d.AlignmentToolbar),w=d.RichText,v=d.URLInput,C=d.MediaUpload,E=wp.editor,x=E.PanelColorSettings,N=E.BlockAlignmentToolbar,O=wp.element.Fragment,k=lodash,j=k.omit,T=k.merge,B=wp.hooks,S=B.doAction,z=B.addAction,L=B.applyFilters,A=(B.addFilter,stackable),R=A.isPro,I=A.blockSrcUrl;A.primaryColor},function(e,t,n){"use strict";n.d(t,"g",function(){return o}),n.d(t,"a",function(){return u}),n.d(t,"e",function(){return c}),n.d(t,"c",function(){return i}),n.d(t,"k",function(){return s}),n.d(t,"l",function(){return m}),n.d(t,"n",function(){return b}),n.d(t,"b",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"i",function(){return y}),n.d(t,"o",function(){return w}),n.d(t,"j",function(){return v});var l=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},r=1,a=function(){return"stk-icon-"+r++},o=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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},u=function(){var e=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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M17 5H3c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm1 7c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V7c0-.6.4-1 1-1h14c.6 0 1 .4 1 1v5z"}))},c=function(){return wp.element.createElement(u,null)},i=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(l,{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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},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 16 14"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},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 32 8"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},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 38"},wp.element.createElement(l,{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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},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 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},v=function(){var e=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(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))}},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,a=void 0===l?"normal":l,o=e.color,u=e.text,c=void 0===u?"":u,i=e.backgroundColor,s=e.borderRadius,m=void 0===s?4:s,b=e.isSelected,p=void 0===b?null:b,g=e.onFocus,d=void 0===g?function(){}:g,f=e.onChange,h=void 0===f?function(){}:f,y={borderRadius:m+"px",backgroundColor:i||void 0};return wp.element.createElement("span",{className:"ugb-button ugb-button-"+n+" ugb-button-"+a,style:y},wp.element.createElement(r.n,{tagName:"span",placeholder:Object(r.s)("Enter Text"),value:c,onChange:h,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:o},onFocus:d,isSelected:p,keepPlaceholderOnFocus:!0}))}var r=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,a=void 0===l?"normal":l,o=e.url,u=void 0===o?"":o,c=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px",backgroundColor:s||void 0};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+a,style:b},wp.element.createElement(r.n.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}var r=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,r=void 0===l?"normal":l,o=e.url,u=void 0===o?"":o,c=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px"};return s&&(b.backgroundColor=s),wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+r,style:b},wp.element.createElement(a.n.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}function r(e){var t=e.align,n=void 0===t?"center":t,l=e.size,r=void 0===l?"normal":l,o=e.url,u=void 0===o?"":o,c=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={backgroundColor:s,borderRadius:m+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+r,style:b},wp.element.createElement(a.n.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:c},value:i}))}n.d(t,"b",function(){return o}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return c}),n.d(t,"f",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"e",function(){return m});var a=n(0),o=l,u=r,c=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,o=t.color,c=t.textColor,i=t.size,s=t.cornerButtonRadius,m=t.design,b=wp.element.createElement(u,{align:r,size:i,url:n,color:c,text:l,backgroundColor:o,borderRadius:s});return Object(a.u)("stackable.designs.button.save",b,m,e)},i={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},s=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.textAlignment,a=t.color,o=t.textColor,u=t.size,c=t.cornerButtonRadius,i={backgroundColor:a,color:o,borderRadius:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+r},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+u,style:i},l))},m={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t,n){var l,r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var l=arguments[t];if(l){var r=typeof l;if("string"===r||"number"===r)e.push(l);else if(Array.isArray(l)&&l.length){var o=n.apply(null,l);o&&e.push(o)}else if("object"===r)for(var u in l)a.call(l,u)&&l[u]&&e.push(u)}}return e.join(" ")}var a={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(l=[],void 0!==(r=function(){return n}.apply(t,l))&&(e.exports=r))}()},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(8),n(11),n(14),n(21),n(25),n(31),n(35),n(39),n(43),n(46),n(49),n(52),n(55),n(59),n(63),n(67),n(70),n(73),n(77)},function(e,t,n){"use strict";var l=n(9),r=(n.n(l),n(10)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},c=function(e){var t=(e.isSelected,e.attributes.height);return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.m,{label:Object(o.s)("Height"),value:t,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:e.className,style:{height:t+"px"}}))};Object(o.A)("ugb/spacer",{title:Object(o.s)("Spacer"),icon:a.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Spacer"),Object(o.s)("Stackable")],attributes:{height:{default:50,type:"number"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(12),r=(n.n(l),n(13)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=e.attributes,n=t.height,l=t.width,r=t.color,a=t.alignment;return wp.element.createElement("div",{className:"ugb-divider"},wp.element.createElement("hr",{align:a,style:{backgroundColor:r,width:l+"%",height:n}}))},c=function(e){var t=(e.isSelected,e.attributes),n=t.height,l=t.width,r=t.color,a=t.alignment;return wp.element.createElement(o.f,null,wp.element.createElement(o.c,null,wp.element.createElement(o.a,{value:a,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.m,{label:Object(o.s)("Height"),value:n,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(o.m,{label:Object(o.s)("Width"),value:l,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(o.k,{title:Object(o.s)("Color Settings"),colorSettings:[{value:r,onChange:function(t){return e.setAttributes({color:t})},label:Object(o.s)("Divider Color")}]})),wp.element.createElement("div",{className:"ugb-divider",style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:a,style:{marginTop:0,marginBottom:0,backgroundColor:r,width:l+"%",height:n}})))};Object(o.A)("ugb/divider",{title:Object(o.s)("Divider"),icon:a.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Divider"),Object(o.s)("Stackable")],attributes:{height:{default:1,type:"number"},width:{default:50,type:"number"},color:{type:"string",default:"#dddddd"},alignment:{type:"string",default:"center"}},edit:c,save:u})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(15),r=(n.n(l),n(16)),a=(n.n(r),n(1)),o=n(4),u=n(2),c=n(3),i=n(17),s=n(19),m=(n(20),n(0)),b=function(e){var t=e.isSelected,n=(e.className,e.setAttributes),l=e.attributes,r=l.url,a=l.text,o=l.color,c=l.textColor,b=l.size,p=l.align,g=l.cornerButtonRadius,d=l.design,f=[{value:"small",label:Object(m.s)("Small")},{value:"normal",label:Object(m.s)("Normal")},{value:"medium",label:Object(m.s)("Medium")},{value:"large",label:Object(m.s)("Large")}],h=wp.element.createElement(u.a,{onChange:function(e){return n({text:e})},align:p,size:b,backgroundColor:o,color:c,text:a,borderRadius:g}),y=Object(m.u)("stackable.designs.button.edit",h,d,e);return wp.element.createElement(m.f,null,wp.element.createElement(m.c,null,wp.element.createElement(m.b,{value:p,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(m.h,null,wp.element.createElement(i.a,{selected:d,options:[{label:wp.element.createElement(s.a,{imageFile:"button/images/test.jpg"}),title:"Basic",value:"basic"},{label:wp.element.createElement(s.a,{imageFile:"button/images/test.jpg",isPro:!0}),title:"Center",value:"center"},{label:wp.element.createElement(s.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Right",value:"right"},{label:wp.element.createElement(s.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Full",value:"full"}],onChange:function(e){n({design:e})}})),wp.element.createElement(m.h,null,wp.element.createElement(m.j,null,wp.element.createElement(m.o,{label:Object(m.s)("Size"),value:b,options:f.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(m.m,{label:Object(m.s)("Corner Radius"),value:g,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(m.k,{title:Object(m.s)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(m.s)("Background Color")},{value:c,onChange:function(e){return n({textColor:e})},label:Object(m.s)("Text Color")}]})),y,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(m.e,{icon:"admin-links"}),wp.element.createElement(m.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(m.g,{icon:"editor-break",label:Object(m.s)("Apply"),type:"submit"})))},p=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,a=t.color,o=t.textColor,u=t.size,i=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(c.a,{align:r,size:u,url:n,color:o,text:l,backgroundColor:a,borderRadius:i});return Object(m.u)("stackable.designs.button.save",b,s,e)},g={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(m.A)("ugb/button",{title:Object(m.s)("Button"),icon:a.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.s)("Button"),Object(m.s)("Stackable")],attributes:g,deprecated:[{attributes:o.f,save:o.d},{attributes:o.e,migrate:function(e){return Object(m.z)(Object(m.y)(e,{align:e.textAlignment}),["textAlignment"])},save:o.c}],edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var r=n(18),a=(n.n(r),n(0),n(5));n.n(a);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=a()({"is-pro":t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:o.v+"/"+n}))}var r=n(5),a=n.n(r),o=n(0);t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(22),r=(n.n(l),n(23)),a=(n.n(r),n(1)),o=n(24),u=n(0),c=function(e){var t=e.isSelected,n=e.setAttributes,l=e.attributes,r=l.url,a=l.text,o=l.color,c=l.size,i=l.align,s=l.cornerButtonRadius,m=l.borderThickness,b=[{value:"small",label:Object(u.s)("Small")},{value:"normal",label:Object(u.s)("Normal ")},{value:"medium",label:Object(u.s)("Medium")},{value:"large",label:Object(u.s)("Large")}];return wp.element.createElement(u.f,null,wp.element.createElement(u.c,null,wp.element.createElement(u.b,{value:i,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(u.h,null,wp.element.createElement(u.j,null,wp.element.createElement(u.o,{label:Object(u.s)("Size"),value:c,options:b.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(u.m,{label:Object(u.s)("Corner Radius"),value:s,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(u.m,{label:Object(u.s)("Border Thickness"),value:m,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(u.s)("Button Color")}]})),wp.element.createElement("span",{className:"ugb-button ugb-ghost-button ugb-button-"+i+" ugb-button-"+c,style:{borderColor:o,borderRadius:s+"px",borderWidth:m+"px"}},wp.element.createElement(u.n,{tagName:"span",placeholder:Object(u.s)("Enter Text"),value:a,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:o},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(u.e,{icon:"admin-links"}),wp.element.createElement(u.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(u.g,{icon:"editor-break",label:Object(u.s)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.align,a=t.color,o=t.size,c=t.cornerButtonRadius,i=t.borderThickness,s={borderColor:a,borderRadius:c+"px",borderWidth:i+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-ghost-button ugb-button-"+r+" ugb-button-"+o,style:s},wp.element.createElement(u.n.Content,{className:"ugb-button-inner",tagName:"a",value:l,href:n,style:{color:a}}))},s={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(u.A)("ugb/ghost-button",{title:Object(u.s)("Ghost Button"),icon:a.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Ghost Button"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,migrate:function(e){return Object(u.z)(Object(u.y)(e,{align:e.textAlignment}),["textAlignment"])},save:o.a}],edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return r});var l=function(e){var t=e.attributes,n=t.url,l=t.text,r=t.textAlignment,a=t.color,o=t.size,u=t.cornerButtonRadius,c=t.borderThickness,i={borderColor:a,color:a,borderRadius:u+"px",borderWidth:c+"px"};return wp.element.createElement("div",{className:"ugb-button-"+r},wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+o+" ugb-ghost-button",style:i},l))},r={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}}},function(e,t,n){"use strict";var l=n(26),r=(n.n(l),n(27)),a=(n.n(r),n(28)),o=n.n(a),u=n(1),c=n(0),i=function(e){var t=[{value:"success",label:Object(c.s)("Success")},{value:"error",label:Object(c.s)("Error")},{value:"warning",label:Object(c.s)("Warning")},{value:"info",label:Object(c.s)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=(e.className,e.attributes),r=l.text,a=l.color,o=l.textColor,u=l.notifType,i=l.dismissible;return wp.element.createElement(c.f,null,wp.element.createElement(c.h,null,wp.element.createElement(c.j,null,wp.element.createElement(c.p,{label:Object(c.s)("Dismissible"),checked:i,onChange:function(){return n({dismissible:!i})}}),wp.element.createElement(c.o,{label:Object(c.s)("Notification Type"),value:u,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(c.k,{title:Object(c.s)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(c.s)("Background Color")},{value:o,onChange:function(e){return n({textColor:e})},label:Object(c.s)("Text Color")}]})),wp.element.createElement("div",{className:"ugb-notification type-"+u+" dismissible-"+i},i&&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(c.n,{tagName:"p",placeholder:e.attributes.text.default,value:r,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+u,style:{backgroundColor:a,color:o}})))},s=function(e){var t=e.attributes,n=t.text,l=t.color,r=t.textColor,a=t.notifType,u=t.dismissible,i={backgroundColor:l,color:r},s=o()(n+a).substr(0,6);return wp.element.createElement("div",{className:"ugb-notification type-"+a+" dismissible-"+u,"data-uid":s},u&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:r}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(c.n.Content,{tagName:"p",className:"wp-ugb-notif notif-"+a,style:i,value:n}))};Object(c.A)("ugb/notification",{title:Object(c.s)("Notification"),icon:u.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.s)("Notification"),Object(c.s)("Stackable")],attributes:{text:{type:"array",source:"children",selector:"p",default:Object(c.s)("This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}},edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){!function(){var t=n(29),l=n(6).utf8,r=n(30),a=n(6).bin,o=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?a.stringToBytes(e):l.stringToBytes(e):r(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var u=t.bytesToWords(e),c=8*e.length,i=1732584193,s=-271733879,m=-1732584194,b=271733878,p=0;p<u.length;p++)u[p]=16711935&(u[p]<<8|u[p]>>>24)|4278255360&(u[p]<<24|u[p]>>>8);u[c>>>5]|=128<<c%32,u[14+(c+64>>>9<<4)]=c;for(var g=o._ff,d=o._gg,f=o._hh,h=o._ii,p=0;p<u.length;p+=16){var y=i,w=s,v=m,C=b;i=g(i,s,m,b,u[p+0],7,-680876936),b=g(b,i,s,m,u[p+1],12,-389564586),m=g(m,b,i,s,u[p+2],17,606105819),s=g(s,m,b,i,u[p+3],22,-1044525330),i=g(i,s,m,b,u[p+4],7,-176418897),b=g(b,i,s,m,u[p+5],12,1200080426),m=g(m,b,i,s,u[p+6],17,-1473231341),s=g(s,m,b,i,u[p+7],22,-45705983),i=g(i,s,m,b,u[p+8],7,1770035416),b=g(b,i,s,m,u[p+9],12,-1958414417),m=g(m,b,i,s,u[p+10],17,-42063),s=g(s,m,b,i,u[p+11],22,-1990404162),i=g(i,s,m,b,u[p+12],7,1804603682),b=g(b,i,s,m,u[p+13],12,-40341101),m=g(m,b,i,s,u[p+14],17,-1502002290),s=g(s,m,b,i,u[p+15],22,1236535329),i=d(i,s,m,b,u[p+1],5,-165796510),b=d(b,i,s,m,u[p+6],9,-1069501632),m=d(m,b,i,s,u[p+11],14,643717713),s=d(s,m,b,i,u[p+0],20,-373897302),i=d(i,s,m,b,u[p+5],5,-701558691),b=d(b,i,s,m,u[p+10],9,38016083),m=d(m,b,i,s,u[p+15],14,-660478335),s=d(s,m,b,i,u[p+4],20,-405537848),i=d(i,s,m,b,u[p+9],5,568446438),b=d(b,i,s,m,u[p+14],9,-1019803690),m=d(m,b,i,s,u[p+3],14,-187363961),s=d(s,m,b,i,u[p+8],20,1163531501),i=d(i,s,m,b,u[p+13],5,-1444681467),b=d(b,i,s,m,u[p+2],9,-51403784),m=d(m,b,i,s,u[p+7],14,1735328473),s=d(s,m,b,i,u[p+12],20,-1926607734),i=f(i,s,m,b,u[p+5],4,-378558),b=f(b,i,s,m,u[p+8],11,-2022574463),m=f(m,b,i,s,u[p+11],16,1839030562),s=f(s,m,b,i,u[p+14],23,-35309556),i=f(i,s,m,b,u[p+1],4,-1530992060),b=f(b,i,s,m,u[p+4],11,1272893353),m=f(m,b,i,s,u[p+7],16,-155497632),s=f(s,m,b,i,u[p+10],23,-1094730640),i=f(i,s,m,b,u[p+13],4,681279174),b=f(b,i,s,m,u[p+0],11,-358537222),m=f(m,b,i,s,u[p+3],16,-722521979),s=f(s,m,b,i,u[p+6],23,76029189),i=f(i,s,m,b,u[p+9],4,-640364487),b=f(b,i,s,m,u[p+12],11,-421815835),m=f(m,b,i,s,u[p+15],16,530742520),s=f(s,m,b,i,u[p+2],23,-995338651),i=h(i,s,m,b,u[p+0],6,-198630844),b=h(b,i,s,m,u[p+7],10,1126891415),m=h(m,b,i,s,u[p+14],15,-1416354905),s=h(s,m,b,i,u[p+5],21,-57434055),i=h(i,s,m,b,u[p+12],6,1700485571),b=h(b,i,s,m,u[p+3],10,-1894986606),m=h(m,b,i,s,u[p+10],15,-1051523),s=h(s,m,b,i,u[p+1],21,-2054922799),i=h(i,s,m,b,u[p+8],6,1873313359),b=h(b,i,s,m,u[p+15],10,-30611744),m=h(m,b,i,s,u[p+6],15,-1560198380),s=h(s,m,b,i,u[p+13],21,1309151649),i=h(i,s,m,b,u[p+4],6,-145523070),b=h(b,i,s,m,u[p+11],10,-1120210379),m=h(m,b,i,s,u[p+2],15,718787259),s=h(s,m,b,i,u[p+9],21,-343485551),i=i+y>>>0,s=s+w>>>0,m=m+v>>>0,b=b+C>>>0}return t.endian([i,s,m,b])};o._ff=function(e,t,n,l,r,a,o){var u=e+(t&n|~t&l)+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._gg=function(e,t,n,l,r,a,o){var u=e+(t&l|n&~l)+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._hh=function(e,t,n,l,r,a,o){var u=e+(t^n^l)+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._ii=function(e,t,n,l,r,a,o){var u=e+(n^(t|~l))+(r>>>0)+o;return(u<<a|u>>>32-a)+t},o._blocksize=16,o._digestsize=16,e.exports=function(e,n){if(void 0===e||null===e)throw new Error("Illegal argument "+e);var l=t.wordsToBytes(o(e,n));return n&&n.asBytes?l:n&&n.asString?a.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 r=e[l]<<16|e[l+1]<<8|e[l+2],a=0;a<4;a++)8*l+6*a<=8*e.length?n.push(t.charAt(r>>>6*(3-a)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],l=0,r=0;l<e.length;r=++l%4)0!=r&&n.push((t.indexOf(e.charAt(l-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(l))>>>6-2*r);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(32),r=(n.n(l),n(33)),a=(n.n(r),n(1)),o=n(34),u=n(0),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),r=l.color,a=l.text,o=l.quoteColor;return wp.element.createElement(u.f,null,wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":o}},wp.element.createElement(u.n,{className:"ugb-blockquote-text",value:a,onChange:function(e){return n({text:e})},isSelected:t,style:{color:r}})),wp.element.createElement(u.h,null,wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(u.s)("Text Color")},{value:o,onChange:function(e){return n({quoteColor:e})},label:Object(u.s)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":r}},wp.element.createElement(u.n.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{type:"array",source:"children",selector:"p",default:Object(u.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(u.A)("ugb/blockquote",{title:Object(u.s)("Blockquote"),icon:a.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Blockquote"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,migrate:function(e){return Object(u.z)(Object(u.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:o.a}],edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),r={text:{type:"array",source:"children",selector:"p",default:Object(l.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#424242"},borderColor:{type:"string",default:"#2091e1"}},a=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:r}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(36),r=(n.n(l),n(37)),a=(n.n(r),n(1)),o=n(38),u=n(0),c=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),r=l.color,a=l.text,o=l.quoteColor;return wp.element.createElement(u.f,null,wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":o}},wp.element.createElement(u.n,{tagName:"p",className:"ugb-pullquote-text",value:a,onChange:function(e){return n({text:e})},placeholder:Object(u.s)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:r}})),wp.element.createElement(u.h,null,wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(u.s)("Text Color")},{value:o,onChange:function(e){return n({quoteColor:e})},label:Object(u.s)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":r}},wp.element.createElement(u.n.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{type:"array",source:"children",selector:"p",default:Object(u.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(u.A)("ugb/pullquote",{title:Object(u.s)("Pullquote"),icon:a.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Pullquote"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,migrate:function(e){return Object(u.z)(Object(u.y)(e,{quoteColor:e.borderColor}),["borderColor"])},save:o.a}],edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var l=n(0),r=function(e){var t=e.attributes,n=t.color,l=t.text,r=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:r,borderBottomColor:r}},wp.element.createElement("p",{style:{color:n}},l))},a={text:{type:"array",source:"children",selector:"p",default:Object(l.s)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(40),r=(n.n(l),n(41)),a=(n.n(r),n(1)),o=n(2),u=n(3),c=n(42),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.url,a=l.buttonText,u=l.ctaTitle,c=l.bodyText,s=l.color,m=l.textColor,b=l.size,p=l.borderButtonRadius,g=l.bodyTextColor,d=l.titleColor,f=l.bgColor,h=[{value:"small",label:Object(i.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.o,{label:Object(i.s)("Button Size"),value:b,options:h.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.m,{label:Object(i.s)("Button Border Radius"),value:p,min:"1",max:"50",onChange:function(e){return n({borderButtonRadius:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({bgColor:e})},label:Object(i.s)("Background Color")},{value:d,onChange:function(e){return n({titleColor:e})},label:Object(i.s)("Title Color")},{value:g,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.s)("Body Text Color")}]}),wp.element.createElement(i.k,{title:Object(i.s)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return n({color:e})},label:Object(i.s)("Button Background Color")},{value:m,onChange:function(e){return n({textColor:e})},label:Object(i.s)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:f}},wp.element.createElement(i.n,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(i.s)("Add Title"),value:u,onChange:function(e){return n({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:d}}),wp.element.createElement(i.n,{tagName:"p",value:c,className:"ugb-cta-bodyText",onChange:function(e){return n({bodyText:e})},placeholder:Object(i.s)("Write body text\u2026"),style:{color:g}}),wp.element.createElement(o.a,{size:b,color:m,backgroundColor:s,text:a,borderRadius:p,onChange:function(e){return n({buttonText:e})}})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.url,l=t.buttonText,r=t.ctaTitle,a=t.bodyText,o=t.color,c=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},r&&!!r.length&&wp.element.createElement(i.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:r}),a&&!!a.length&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:a}),l&&!!l.length&&wp.element.createElement(u.a,{size:s,url:n,color:c,text:l,backgroundColor:o,borderRadius:m}))},b={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(i.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(i.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}};Object(i.A)("ugb/cta",{title:Object(i.s)("Call to Action"),icon:a.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Call to Action"),Object(i.s)("Stackable"),Object(i.s)("CTA")],attributes:b,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:c.c,save:c.b},{save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"c",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return u});var l=n(0),r=n(4),a={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(l.s)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(l.s)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},o=function(e){var t=e.attributes,n=t.url,a=t.buttonText,o=t.ctaTitle,u=t.bodyText,c=t.color,i=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},o&&!!o.length&&wp.element.createElement(l.n.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:o}),u&&!!u.length&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:u}),a&&!!a.length&&wp.element.createElement(r.a,{size:s,url:n,color:i,text:a,backgroundColor:c,borderRadius:m}))},u=function(e){var t=e.attributes,n=t.url,l=t.buttonText,r=t.ctaTitle,a=t.bodyText,o=t.color,u=t.textColor,c=t.size,i=t.borderButtonRadius,s=t.bodyTextColor,m=t.titleColor,b=t.bgColor,p={backgroundColor:o,color:u,borderRadius:i+"px"};return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:b}},r&&!!r.length&&wp.element.createElement("h3",{className:"ugb-cta-title",style:{color:m}},r),a&&!!a.length&&wp.element.createElement("p",{className:"ugb-cta-bodyText",style:{color:s}},a),l&&!!l.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-cta-button ugb-button-"+c,style:p},l))}},function(e,t,n){"use strict";var l=n(44),r=(n.n(l),n(45)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.testimonialTitle,r=n.testimonialTitleTwo,a=n.testimonialTitleThree,u=n.body,c=n.bodyTwo,i=n.bodyThree,s=n.position,m=n.positionTwo,b=n.positionThree,p=(n.href,n.hrefTwo,n.hrefThree,n.mediaID),g=n.mediaIDTwo,d=n.mediaIDThree,f=n.mediaURL,h=n.mediaURLTwo,y=n.mediaURLThree,w=n.columns,v=n.titleColor,C=n.posColor,E=n.bodyTextColor,x=n.iconColor,N=[{value:"1",label:Object(o.s)("One Column")},{value:"2",label:Object(o.s)("Two Column")},{value:"3",label:Object(o.s)("Three Column")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("Column Number"),value:w,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(o.k,{initialOpen:!1,title:Object(o.s)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return t({titleColor:e})},label:Object(o.s)("Title Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(o.s)("Position Color")},{value:E,onChange:function(e){return t({bodyTextColor:e})},label:Object(o.s)("Body Text Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(o.s)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-testimonial column-"+w},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},type:"image",value:p,render:function(e){return wp.element.createElement(o.d,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:l,onChange:function(e){return t({testimonialTitle:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:s,className:"ugb-testimonial-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:u,className:"ugb-testimonial-body",onChange:function(e){return t({body:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:g,render:function(e){return wp.element.createElement(o.d,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+h+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:r,onChange:function(e){return t({testimonialTitleTwo:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:m,className:"ugb-testimonial-position-two",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:c,className:"ugb-testimonial-body-two",onChange:function(e){return t({bodyTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:d,render:function(e){return wp.element.createElement(o.d,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+y+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:a,onChange:function(e){return t({testimonialTitleThree:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:b,className:"ugb-testimonial-position-three",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:i,className:"ugb-testimonial-body-three",onChange:function(e){return t({bodyThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},c=function(e){var t=e.attributes,n=t.testimonialTitle,l=t.testimonialTitleTwo,r=t.testimonialTitleThree,a=t.body,u=t.bodyTwo,c=t.bodyThree,i=t.position,s=t.positionTwo,m=t.positionThree,b=t.mediaURL,p=t.mediaURLTwo,g=t.mediaURLThree,d=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.titleColor),f=t.posColor,h=t.bodyTextColor,y=t.iconColor,w=t.columns,v=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:y}},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"},b?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+b+")"},"data-src":b}):v,!o.n.isEmpty(n)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:d},value:n}),!o.n.isEmpty(i)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:f},value:i}),!o.n.isEmpty(a)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:h},value:a})),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}):v,!o.n.isEmpty(l)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:d},value:l}),!o.n.isEmpty(s)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:f},value:s}),!o.n.isEmpty(u)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:h},value:u})),w>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+g+")"},"data-src":g}):v,!o.n.isEmpty(r)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:d},value:r}),!o.n.isEmpty(m)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:f},value:m}),!o.n.isEmpty(c)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:h},value:c})))};Object(o.A)("ugb/testimonial",{title:Object(o.s)("Testimonial"),icon:a.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Testimonial"),Object(o.s)("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(o.s)("Ben Adams")},testimonialTitleTwo:{type:"array",source:"children",selector:".ugb-testimonial-column-two h4",default:Object(o.s)("Alex Johnson")},testimonialTitleThree:{type:"array",source:"children",selector:".ugb-testimonial-column-three h4",default:Object(o.s)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-testimonial-position",default:Object(o.s)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-testimonial-position-two",default:Object(o.s)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-testimonial-position-three",default:Object(o.s)("Programmer")},body:{type:"array",source:"children",selector:".ugb-testimonial-body",default:Object(o.s)("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(o.s)("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(o.s)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},titleColor:{type:"string"},posColor:{type:"string"},bodyTextColor:{type:"string"},iconColor:{type:"string"},columns:{type:"select",default:"1"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(47),r=(n.n(l),n(48)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.name,r=n.nameTwo,a=n.nameThree,u=n.des,c=n.desTwo,i=n.desThree,s=n.position,m=n.positionTwo,b=n.positionThree,p=(n.href,n.hrefTwo,n.hrefThree,n.mediaID),g=n.mediaIDTwo,d=n.mediaIDThree,f=n.mediaURL,h=n.mediaURLTwo,y=n.mediaURLThree,w=n.columns,v=n.nameColor,C=n.posColor,E=n.desColor,x=n.iconColor,N=n.shapes,O=[{value:"1",label:Object(o.s)("One Column")},{value:"2",label:Object(o.s)("Two Column")},{value:"3",label:Object(o.s)("Three Column")}],k=[{value:"square",label:Object(o.s)("Square")},{value:"circle",label:Object(o.s)("Circle")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("Image Shape"),value:N,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({shapes:e})}}),wp.element.createElement(o.o,{label:Object(o.s)("Column Number"),value:w,options:O.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(o.k,{initialOpen:!1,title:Object(o.s)("Color Settings"),colorSettings:[{value:v,onChange:function(e){return t({nameColor:e})},label:Object(o.s)("Name Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(o.s)("Position Color")},{value:E,onChange:function(e){return t({desColor:e})},label:Object(o.s)("Description Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(o.s)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+N},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},type:"image",value:p,render:function(e){return wp.element.createElement(o.d,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:l,onChange:function(e){return t({name:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:s,className:"ugb-team-member-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:u,className:"ugb-team-member-des",onChange:function(e){return t({des:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},type:"image",value:g,render:function(e){return wp.element.createElement(o.d,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:r,onChange:function(e){return t({nameTwo:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:m,className:"ugb-team-member-position",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:c,className:"ugb-team-member-des-two",onChange:function(e){return t({desTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(o.i,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},type:"image",value:d,render:function(e){return wp.element.createElement(o.d,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+y+")"}}):Object(o.s)("Upload Image"))}})),wp.element.createElement(o.n,{tagName:"h4",value:a,onChange:function(e){return t({nameThree:e})},style:{color:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:i,className:"ugb-team-member-des-three",onChange:function(e){return t({desThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},c=function(e){var t=e.attributes,n=t.name,l=t.nameTwo,r=t.nameThree,a=t.shapes,u=t.des,c=t.desTwo,i=t.desThree,s=t.position,m=t.positionTwo,b=t.positionThree,p=t.mediaURL,g=t.mediaURLTwo,d=t.mediaURLThree,f=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.nameColor),h=t.posColor,y=t.desColor,w=(t.iconColor,t.columns);return wp.element.createElement("div",{className:"ugb-team-member column-"+w+" image-"+a},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}),!o.n.isEmpty(n)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:f},value:n}),!o.n.isEmpty(s)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:s}),!o.n.isEmpty(u)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:y},value:u})),w>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},g&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+g+")"},"data-src":g}),!o.n.isEmpty(l)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:f},value:l}),!o.n.isEmpty(m)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:m}),!o.n.isEmpty(c)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:y},value: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.n.isEmpty(r)&&wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:f},value:r}),!o.n.isEmpty(b)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:b}),!o.n.isEmpty(i)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:y},value:i})))};Object(o.A)("ugb/team-member",{title:Object(o.s)("Team Member"),icon:a.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Team Member"),Object(o.s)("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(o.s)("Ben Adams")},nameTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two h4",default:Object(o.s)("Alex Johnson")},nameThree:{type:"array",source:"children",selector:".ugb-team-member-column-three h4",default:Object(o.s)("Sammy Simpson")},position:{type:"array",source:"children",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(o.s)("Founder")},positionTwo:{type:"array",source:"children",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(o.s)("Editor")},positionThree:{type:"array",source:"children",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(o.s)("Programmer")},des:{type:"array",source:"children",selector:".ugb-team-member-des",default:Object(o.s)("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(o.s)("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(o.s)("Sammy is our programmer. You'll usually find her nose in a book. She has a cat named Skitty.")},nameColor:{type:"string"},posColor:{type:"string"},desColor:{type:"string"},iconColor:{type:"string"},columns:{type:"select",default:"1"},shapes:{type:"select",default:"square"}},edit:u,save:c})},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 r=n(50),a=(n.n(r),n(51)),o=(n.n(a),n(1)),u=n(0),c=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),r=e.isSelected,a=e.attributes,o=a.text,c=a.moreLabel,i=a.moreText,s=a.lessLabel;return wp.element.createElement(u.f,null,wp.element.createElement("div",{className:n},r&&wp.element.createElement("label",{className:"ugb-editor-label"},"Less text"),wp.element.createElement(u.n,l({multiline:"p",placeholder:e.attributes.text.default,value:o,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(u.s)("Some short text that can be expanded to show more details."))),wp.element.createElement(u.n,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:c,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(u.s)("Show more"))),r&&wp.element.createElement("label",{className:"ugb-editor-label"},"More text"),r&&wp.element.createElement(u.n,l({multiline:"p",placeholder:e.attributes.moreText.default,value:i,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(u.s)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),r&&wp.element.createElement(u.n,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:s,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(u.s)("Show less")))))},i=function(e){var t=e.attributes,n=t.text,l=t.moreLabel,r=t.moreText,a=t.lessLabel;return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ugb-expand-less-text"},!u.n.isEmpty(n)&&wp.element.createElement(u.n.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!u.n.isEmpty(r)&&wp.element.createElement(u.n.Content,{multiline:"p",value:r})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(u.n.Content,{className:"ugb-expand-more",tagName:"span",value:l}),wp.element.createElement(u.n.Content,{className:"ugb-expand-less",tagName:"span",value:a,style:{display:"none"}})))};Object(u.A)("ugb/expand",{title:Object(u.s)("Expand / Show More"),icon:o.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Expand"),Object(u.s)("Show more/less"),Object(u.s)("Stackable")],attributes:{text:{type:"array",source:"children",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{type:"array",source:"children",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{type:"array",source:"children",selector:".ugb-expand-more",default:Object(u.s)("Show more")},lessLabel:{type:"array",source:"children",selector:".ugb-expand-less",default:Object(u.s)("Show less")}},edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(53),r=(n.n(l),n(54)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.className,e.setAttributes),n=(e.isSelected,e.editable,e.setState,e.attributes),l=n.numberBox,r=n.numberBoxTwo,a=n.numberBoxThree,u=n.body,c=n.bodyTwo,i=n.bodyThree,s=n.name,m=n.nameTwo,b=n.nameThree,p=n.columns,g=n.numberBoxColor,d=n.nameColor,f=n.bodyTextColor,h=n.numberBGColor,y=[{value:"1",label:Object(o.s)("One Column")},{value:"2",label:Object(o.s)("Two Column")},{value:"3",label:Object(o.s)("Three Column")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("Column Number"),value:p,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(o.k,{title:Object(o.s)("Color Settings"),colorSettings:[{value:g,onChange:function(e){return t({numberBoxColor:e})},label:Object(o.s)("Number Color")},{value:h,onChange:function(e){return t({numberBGColor:e})},label:Object(o.s)("Number Background Color")},{value:d,onChange:function(e){return t({nameColor:e})},label:Object(o.s)("Name Color")},{value:f,onChange:function(e){return t({bodyTextColor:e})},label:Object(o.s)("Body Text Color")}]})),wp.element.createElement("div",{className:"ugb-number-box column-"+p},wp.element.createElement("div",null,wp.element.createElement(o.n,{tagName:"span",placeholder:l?l.default:"",value:l,onChange:function(e){return t({numberBox:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"h4",value:s,className:"ugb-number-box-name",onChange:function(e){return t({name:e})},placeholder:Object(o.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:u,className:"ugb-number-box-body",onChange:function(e){return t({body:e})},placeholder:Object(o.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(o.n,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return t({numberBoxTwo:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"h4",value:m,className:"ugb-number-box-name-two",onChange:function(e){return t({nameTwo:e})},placeholder:Object(o.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:c,className:"ugb-number-box-body-two",onChange:function(e){return t({bodyTwo:e})},placeholder:Object(o.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(o.n,{tagName:"span",placeholder:a?a.default:"",value:a,onChange:function(e){return t({numberBoxThree:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"h4",value:b,className:"ugb-number-box-name-three",onChange:function(e){return t({nameThree:e})},placeholder:Object(o.s)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.n,{tagName:"p",value:i,className:"ugb-number-box-body-three",onChange:function(e){return t({bodyThree:e})},placeholder:Object(o.s)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}))))},c=function(e){var t=e.attributes,n=t.numberBox,l=t.numberBoxTwo,r=t.numberBoxThree,a=t.body,u=t.bodyTwo,c=t.bodyThree,i=t.name,s=t.nameTwo,m=t.nameThree,b=t.numberBoxColor,p=t.nameColor,g=t.bodyTextColor,d=t.numberBGColor,f=t.columns;return wp.element.createElement("div",{className:"ugb-number-box column-"+f},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!o.n.isEmpty(n)&&wp.element.createElement(o.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:n}),!o.n.isEmpty(i)&&wp.element.createElement(o.n.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:i}),!o.n.isEmpty(a)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:g},value:a})),f>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!o.n.isEmpty(l)&&wp.element.createElement(o.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:l}),!o.n.isEmpty(s)&&wp.element.createElement(o.n.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:s}),!o.n.isEmpty(u)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:g},value:u})),f>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!o.n.isEmpty(r)&&wp.element.createElement(o.n.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:r}),!o.n.isEmpty(m)&&wp.element.createElement(o.n.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:m}),!o.n.isEmpty(c)&&wp.element.createElement(o.n.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:g},value:c})))};Object(o.A)("ugb/number-box",{title:Object(o.s)("Number Box"),icon:a.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Number Box"),Object(o.s)("Stackable")],attributes:{numberBox:{type:"array",source:"children",selector:".ugb-number-box-column-one span",default:Object(o.s)("01")},numberBoxTwo:{type:"array",source:"children",selector:".ugb-number-box-column-two span",default:Object(o.s)("02")},numberBoxThree:{type:"array",source:"children",selector:".ugb-number-box-column-three span",default:Object(o.s)("03")},name:{type:"array",source:"children",selector:".ugb-number-box-name",default:Object(o.s)("Registration")},nameTwo:{type:"array",source:"children",selector:".ugb-number-box-name-two",default:Object(o.s)("Waiting Period")},nameThree:{type:"array",source:"children",selector:".ugb-number-box-name-three",default:Object(o.s)("Delivery")},body:{type:"array",source:"children",selector:".ugb-number-box-body",default:Object(o.s)("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(o.s)("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(o.s)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},numberBoxColor:{type:"string"},nameColor:{type:"string"},bodyTextColor:{type:"string"},numberBGColor:{type:"string"},columns:{type:"select",default:"1"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(56),r=(n.n(l),n(57)),a=(n.n(r),n(1)),o=n(2),u=n(3),c=n(58),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.url,a=l.url2,u=l.url3,c=l.pricingBoxTitle,s=l.pricingBoxTitle2,m=l.pricingBoxTitle3,b=l.price,p=l.price2,g=l.price3,d=l.perMonthLabel,f=l.perMonthLabel2,h=l.perMonthLabel3,y=l.buttonText,w=l.buttonText2,v=l.buttonText3,C=l.featureList,E=l.featureList2,x=l.featureList3,N=l.pricingBoxColor,O=l.priceColor,k=l.perMonthLabelColor,j=l.buttonColor,T=l.buttonTextColor,B=l.featureListColor,S=l.columns,z=l.size,L=l.cornerButtonRadius,A=[{value:"1",label:Object(i.s)("One Column")},{value:"2",label:Object(i.s)("Two Column")},{value:"3",label:Object(i.s)("Three Column")}],R=[{value:"small",label:Object(i.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.h,null,wp.element.createElement(i.j,null,wp.element.createElement(i.o,{label:Object(i.s)("Column Number"),value:S,options:A.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({columns:e})}}),wp.element.createElement(i.m,{label:Object(i.s)("Corner Radius"),value:L,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.o,{label:Object(i.s)("Button Size"),value:z,options:R.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Text Colors"),colorSettings:[{value:N,onChange:function(e){return n({pricingBoxColor:e})},label:Object(i.s)("Pricing Title Color")},{value:O,onChange:function(e){return n({priceColor:e})},label:Object(i.s)("Price Color")},{value:k,onChange:function(e){return n({perMonthLabelColor:e})},label:Object(i.s)("Per Month Label Color")},{value:B,onChange:function(e){return n({featureListColor:e})},label:Object(i.s)("Feature List Color")}]}),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Button Colors"),colorSettings:[{value:j,onChange:function(e){return n({buttonColor:e})},label:Object(i.s)("Button Color")},{value:T,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.s)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-pricing-box column-"+S},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(i.n,{tagName:"h3",value:c,onChange:function(e){return n({pricingBoxTitle:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:b,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:d,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.a,{size:z,color:T,backgroundColor:j,text:y,borderRadius:L,onChange:function(e){return n({buttonText:e})}}),wp.element.createElement(i.n,{tagName:"p",value:C,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:r,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(i.n,{tagName:"h3",value:s,onChange:function(e){return n({pricingBoxTitle2:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price2:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:f,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel2:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.a,{size:z,color:T,backgroundColor:j,text:w,borderRadius:L,onChange:function(e){return n({buttonText2:e})}}),wp.element.createElement(i.n,{tagName:"p",value:E,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:a,onChange:function(e){return n({url2:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(i.n,{tagName:"h3",value:m,onChange:function(e){return n({pricingBoxTitle3:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:g,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price3:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:h,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel3:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.a,{size:z,color:T,backgroundColor:j,text:v,borderRadius:L,onChange:function(e){return n({buttonText3:e})}}),wp.element.createElement(i.n,{tagName:"p",value:x,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:u,onChange:function(e){return n({url3:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))))},m=function(e){var t=e.attributes,n=t.url,l=t.url2,r=t.url3,a=t.pricingBoxTitle,o=t.pricingBoxTitle2,c=t.pricingBoxTitle3,s=t.price,m=t.price2,b=t.price3,p=t.perMonthLabel,g=t.perMonthLabel2,d=t.perMonthLabel3,f=t.buttonText,h=t.buttonText2,y=t.buttonText3,w=t.featureList,v=t.featureList2,C=t.featureList3,E=t.pricingBoxColor,x=t.priceColor,N=t.perMonthLabelColor,O=t.buttonColor,k=t.buttonTextColor,j=t.featureListColor,T=t.columns,B=t.size,S=t.cornerButtonRadius;return wp.element.createElement("div",{className:"ugb-pricing-box column-"+T},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!i.n.isEmpty(a)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:a}),!i.n.isEmpty(s)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:s}),!i.n.isEmpty(p)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:p}),f&&!!f.length&&wp.element.createElement(u.a,{size:B,url:n,color:k,text:f,backgroundColor:O,borderRadius:S}),!i.n.isEmpty(w)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:w})),T>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!i.n.isEmpty(o)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:o}),!i.n.isEmpty(m)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:m}),!i.n.isEmpty(g)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:g}),h&&!!h.length&&wp.element.createElement(u.a,{size:B,url:l,color:k,text:h,backgroundColor:O,borderRadius:S}),!i.n.isEmpty(v)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:v})),T>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!i.n.isEmpty(c)&&wp.element.createElement(i.n.Content,{tagName:"h3",style:{color:E},value:c}),!i.n.isEmpty(b)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:b}),!i.n.isEmpty(d)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:N},value:d}),y&&!!y.length&&wp.element.createElement(u.a,{size:B,url:r,color:k,text:y,backgroundColor:O,borderRadius:S}),!i.n.isEmpty(C)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:C})))},b={url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one .ugb-button a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two .ugb-button a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three .ugb-button a",attribute:"href"},pricingBoxTitle:{type:"array",source:"children",selector:".ugb-pricing-box-column-one h3",default:Object(i.s)("Basic")},pricingBoxTitle2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two h3",default:Object(i.s)("Basic")},pricingBoxTitle3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three h3",default:Object(i.s)("Basic")},price:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(i.s)("$9")},price2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(i.s)("$9")},price3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(i.s)("$9")},perMonthLabel:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},perMonthLabel2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},perMonthLabel3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(i.s)("per month")},buttonText:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(i.s)("Buy Now")},buttonText2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(i.s)("Buy Now")},buttonText3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(i.s)("Buy Now")},featureList:{type:"array",source:"children",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{type:"array",source:"children",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{type:"array",source:"children",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(i.s)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},pricingBoxColor:{type:"string"},priceColor:{type:"string"},perMonthLabelColor:{type:"string"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},featureListColor:{type:"string"},columns:{type:"select",default:"1"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}};Object(i.A)("ugb/pricing-box",{title:Object(i.s)("Pricing Box"),icon:a.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Pricing Box"),Object(i.s)("Stackable")],attributes:b,deprecated:[{save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){var t=e.attributes,n=t.url,l=t.url2,r=t.url3,a=t.pricingBoxTitle,o=t.pricingBoxTitle2,u=t.pricingBoxTitle3,c=t.price,i=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,p=t.perMonthLabel3,g=t.buttonText,d=t.buttonText2,f=t.buttonText3,h=t.featureList,y=t.featureList2,w=t.featureList3,v=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,x=t.buttonColor,N=t.buttonTextColor,O=t.featureListColor,k=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:x,color:N,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+k},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:v}},a),c&&!!c.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},c),m&&!!m.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},m),g&&!!g.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},g),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},h)),k>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},o&&!!o.length&&wp.element.createElement("h3",{style:{color:v}},o),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),d&&!!d.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},d),y&&!!y.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},y)),k>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},u&&!!u.length&&wp.element.createElement("h3",{style:{color:v}},u),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},p),f&&!!f.length&&wp.element.createElement("a",{href:r,className:"wp-ugb-button ugb-button-"+j,style:B},f),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:O}},w)))}},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}var r=n(5),a=n.n(r),o=n(60),u=(n.n(o),n(61)),c=(n.n(u),n(1)),i=n(2),s=n(3),m=n(62),b=n(0),p=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,r=(e.editable,e.setState,e.attributes),o=r.url,u=r.buttonURL,c=r.buttonText,s=r.buttonColor,m=r.buttonTextColor,p=r.cornerButtonRadius,g=r.size,d=r.title,f=r.titleColor,h=r.subtitle,y=r.subtitleColor,w=r.contentAlign,v=r.id,C=r.backgroundColor,E=r.opacity,x=o?{backgroundImage:"url("+o+")"}:void 0,N=o?"has-image":"",O=a()(l(E),{"overlay-opacity":0!==E}),k=[{value:"small",label:Object(b.s)("Small")},{value:"normal",label:Object(b.s)("Normal")},{value:"medium",label:Object(b.s)("Medium")},{value:"large",label:Object(b.s)("Large")}];return wp.element.createElement(b.f,null,wp.element.createElement(b.c,null,wp.element.createElement(b.a,{value:w,onChange:function(e){return t({contentAlign:e})}}),wp.element.createElement(b.q,null,wp.element.createElement(b.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:v,render:function(e){var t=e.open;return wp.element.createElement(b.g,{className:"components-toolbar__control",label:Object(b.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(b.h,null,wp.element.createElement(b.j,{title:Object(b.s)("General")},wp.element.createElement(b.m,{label:Object(b.s)("Background Opacity"),value:E,min:0,max:10,step:1,onChange:function(e){return t({opacity:e})}}),wp.element.createElement(b.o,{label:Object(b.s)("Button Size"),value:g,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({size:e})}}),wp.element.createElement(b.m,{label:Object(b.s)("Corner Radius"),value:p,min:"1",max:"50",onChange:function(e){return t({cornerButtonRadius:e})}})),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Header Colors"),colorSettings:[{value:f,onChange:function(e){return t({titleColor:e})},label:Object(b.s)("Title Color")},{value:y,onChange:function(e){return t({subtitleColor:e})},label:Object(b.s)("Subtitle Color")},{value:C,onChange:function(e){return t({backgroundColor:e})},label:Object(b.s)("Heading Background Color")}]}),wp.element.createElement(b.k,{initialOpen:!1,title:Object(b.s)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return t({buttonColor:e})},label:Object(b.s)("Button Color")},{value:m,onChange:function(e){return t({buttonTextColor:e})},label:Object(b.s)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-header "+N+" "},wp.element.createElement("div",{className:"ugb-header-overlay "+O,style:{backgroundColor:C}}),wp.element.createElement(b.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:v,render:function(e){return[!o&&wp.element.createElement(b.d,{className:v?"":"button button-large",onClick:e.open},Object(b.s)("Upload Image"))]}}),wp.element.createElement("section",{"data-url":o,style:x,className:"ugb-header-section"},wp.element.createElement(b.n,{tagName:"h2",className:"ugb-header-title",placeholder:d.default,value:d,onChange:function(e){return t({title:e})},style:{textAlign:w,color:f}}),wp.element.createElement(b.n,{tagName:"p",className:"ugb-header-subtitle",placeholder:h.default,value:h,onChange:function(e){return t({subtitle:e})},style:{textAlign:w,color:y}}),wp.element.createElement(i.a,{size:g,align:w,color:m,backgroundColor:s,text:c,borderRadius:p,onChange:function(e){return t({buttonText:e})}}))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+w},wp.element.createElement(b.e,{icon:"admin-links"}),wp.element.createElement(b.r,{value:u,onChange:function(e){return t({buttonURL:e})}}),wp.element.createElement(b.g,{icon:"editor-break",label:Object(b.s)("Apply"),type:"submit"})))},g=function(e){var t=e.attributes,n=t.url,r=t.buttonURL,o=t.buttonText,u=t.buttonColor,c=t.buttonTextColor,i=t.cornerButtonRadius,m=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,y=(t.id,t.backgroundColor),w=t.opacity,v={backgroundImage:n?"url("+n+")":void 0,textAlign:h||void 0},C=n?"has-image":"",E=a()(l(w),{"overlay-opacity":0!==w}),x=p.length||d.length||o.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!b.n.isEmpty(p)&&wp.element.createElement(b.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!b.n.isEmpty(d)&&wp.element.createElement(b.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),o&&!!o.length&&wp.element.createElement(s.a,{size:m,url:r,align:h,color:c,text:o,backgroundColor:u,borderRadius:i})))},d={title:{type:"array",source:"children",selector:"h2",default:Object(b.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(b.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(b.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}};Object(b.A)("ugb/header",{title:Object(b.s)("Header"),icon:c.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.s)("Header"),Object(b.s)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes:d,deprecated:[{attributes:m.f,save:m.c},{attributes:m.e,save:m.b},{attributes:m.d,save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function r(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"c",function(){return i}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"a",function(){return p}),n.d(t,"d",function(){return g});var a=n(5),o=n.n(a),u=n(0),c=n(4),i=function(e){var t=e.attributes,n=t.url,r=t.buttonURL,a=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,y=(t.id,t.backgroundColor),w=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=o()(l(w),{"overlay-opacity":0!==w}),x=p.length||d.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!u.n.isEmpty(p)&&wp.element.createElement(u.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.n.isEmpty(d)&&wp.element.createElement(u.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),a&&!!a.length&&wp.element.createElement(c.b,{size:b,url:r,align:h,color:s,text:a,backgroundColor:i,borderRadius:m})))},s={title:{type:"array",source:"children",selector:"h2",default:Object(u.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},m=function(e){var t=e.attributes,n=t.url,r=t.buttonURL,a=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,y=(t.id,t.backgroundColor),w=t.opacity,v=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=o()(l(w),{"overlay-opacity":0!==w}),x=p.length||d.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:y}}),wp.element.createElement("section",{key:"preview","data-url":n,style:v,className:"ugb-header-section"},!u.n.isEmpty(p)&&wp.element.createElement(u.n.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!u.n.isEmpty(d)&&wp.element.createElement(u.n.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),a&&!!a.length&&wp.element.createElement(c.a,{size:b,url:r,align:h,color:s,text:a,backgroundColor:i,borderRadius:m})))},b={title:{type:"array",source:"children",selector:"h2",default:Object(u.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(u.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},p=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,a=t.buttonText,u=t.buttonColor,c=t.buttonTextColor,i=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,p=t.subtitle,g=t.subtitleColor,d=(t.contentAlign,t.id,t.backgroundColor),f=t.opacity,h={backgroundColor:u,color:c,borderRadius:i+"px"},y=n?{backgroundImage:"url("+n+")"}:void 0,w=n?"has-image":"",v=o()(r(f),{"overlay-opacity":0!==f}),C=m||p||a?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+w+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+v,style:{backgroundColor:d}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:g}},p),a&&!!a.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},a)))},g={title:{type:"array",source:"children",selector:"h2",default:Object(u.s)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-header a.wp-ugb-button",default:Object(u.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";var l=n(64),r=(n.n(l),n(65)),a=(n.n(r),n(1)),o=n(66),u=n(0),c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=(e.editable,e.setState,e.attributes),r=l.url,a=l.href,o=l.title,c=l.titleColor,i=l.subtitle,s=l.subtitleColor,m=l.overlayColor,b=l.id,p=l.height,g=l.width,d=l.verticalAlign,f=l.horizontalAlign,h=l.full,y=r?"has-image":"",w=h?"full-width":"",v=[{value:"flex-start",label:Object(u.s)("Top")},{value:"center",label:Object(u.s)("Center")},{value:"flex-end",label:Object(u.s)("Bottom")}],C=[{value:"flex-start",label:Object(u.s)("Left")},{value:"center",label:Object(u.s)("Center")},{value:"flex-end",label:Object(u.s)("Right")}];return wp.element.createElement(u.f,null,wp.element.createElement(u.c,null,r&&wp.element.createElement(u.q,null,wp.element.createElement(u.i,{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(u.g,{className:"components-toolbar__control",label:Object(u.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(u.h,null,wp.element.createElement(u.j,null,wp.element.createElement(u.p,{label:"Full-Width",checked:!!h,onChange:function(){return t({full:!h})}}),wp.element.createElement(u.m,{label:Object(u.s)("Height"),value:p,min:"135",max:"700",onChange:function(e){return t({height:e})}}),wp.element.createElement(u.m,{label:Object(u.s)("Width"),value:g,min:"400",max:"999",onChange:function(e){return t({width:e})}}),wp.element.createElement(u.o,{label:Object(u.s)("Vertical Alignment"),value:d,options:v.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({verticalAlign:e})}}),wp.element.createElement(u.o,{label:Object(u.s)("Horizontal Alignment"),value:f,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({horizontalAlign:e})}})),wp.element.createElement(u.k,{title:Object(u.s)("Color Settings"),colorSettings:[{value:m,onChange:function(e){return t({overlayColor:e})},label:Object(u.s)("Overlay Color")},{value:c,onChange:function(e){return t({titleColor:e})},label:Object(u.s)("Title Color")},{value:s,onChange:function(e){return t({subtitleColor:e})},label:Object(u.s)("Subtitle Color")}]})),wp.element.createElement("div",{className:"ugb-image-box "+y+" "+w,"data-url":r,style:{width:g+"px",height:p+"px",backgroundImage:"url("+r+")",alignItems:f,justifyContent:d}},wp.element.createElement(u.i,{onSelect:function(e){return t({url:e.url,id:e.id})},type:"image",value:b,render:function(e){return[!r&&wp.element.createElement(u.d,{className:b?"":"button button-large",onClick:e.open},Object(u.s)("Upload Image"))]}}),wp.element.createElement("a",{href:a,style:{backgroundColor:m}}),wp.element.createElement(u.n,{tagName:"h4",placeholder:o.default,value:o,onChange:function(e){return t({title:e})},style:{color:c}}),wp.element.createElement(u.n,{tagName:"p",placeholder:i.default,value:i,onChange:function(e){return t({subtitle:e})},style:{color:s}})),n&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link",style:{marginTop:10}},wp.element.createElement(u.e,{icon:"admin-links"}),wp.element.createElement(u.r,{value:a,onChange:function(e){t({href:e})}}),wp.element.createElement(u.g,{icon:"editor-break",label:Object(u.s)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.href,r=t.title,a=t.titleColor,o=t.subtitle,c=t.subtitleColor,i=t.overlayColor,s=(t.id,t.height),m=t.width,b=t.verticalAlign,p=t.horizontalAlign,g=t.full,d=n?"has-image":"",f=g?"full-width":"",h=r.length||o.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+d+" "+h+" "+f,"data-url":n,style:{width:m+"px",height:s+"px",backgroundImage:"url("+n+")",alignItems:p,justifyContent:b}},wp.element.createElement("a",{href:l,style:{backgroundColor:i}}),!u.n.isEmpty(r)&&wp.element.createElement(u.n.Content,{tagName:"h4",style:{color:a},value:r}),!u.n.isEmpty(o)&&wp.element.createElement(u.n.Content,{tagName:"p",style:{color:c},value:o}))},s={title:{type:"array",source:"children",selector:"h4",default:Object(u.s)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(u.s)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}};Object(u.A)("ugb/image-box",{title:Object(u.s)("Image Box"),icon:a.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.s)("Image Box"),Object(u.s)("Stackable")],attributes:s,deprecated:[{attributes:o.b,save:o.a}],edit:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a});var l=n(0),r={title:{type:"array",source:"children",selector:"h4",default:Object(l.s)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(l.s)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},a=function(e){var t=e.attributes,n=t.url,r=t.title,a=t.titleColor,o=t.subtitle,u=t.subtitleColor,c=t.overlayColor,i=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,p=t.full,g=n?"has-image":"",d=p?"full-width":"",f=r.length||o.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+g+" "+f+" "+d,"data-url":n,style:{width:s+"px",height:i+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:c}}),!l.n.isEmpty(r)&&wp.element.createElement(l.n.Content,{tagName:"h4",style:{color:a},value:r}),!l.n.isEmpty(o)&&wp.element.createElement(l.n.Content,{tagName:"p",style:{color:u},value:o}))}},function(e,t,n){"use strict";var l=n(68),r=(n.n(l),n(69)),a=(n.n(r),n(1)),o=n(0),u=function(e){var t=(e.isSelected,e.editable,e.setState,e.setAttributes),n=(e.className,e.attributes),l=n.color,r=n.headingColor,a=n.desColor,u=n.title,c=n.counter,i=n.des,s=n.fontSize;return wp.element.createElement(o.f,null,wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(o.n,{tagName:"h4",value:u,onChange:function(e){return t({title:e})},style:{color:r}}),wp.element.createElement(o.n,{tagName:"div",className:"ugb-counter",placeholder:c.default,"data-duration":"1000","data-delay":"16",value:c,onChange:function(e){return t({counter:e})},style:{color:l,fontSize:s+"px"}}),wp.element.createElement(o.n,{tagName:"p",className:"ugb-counter-des",value:i,onChange:function(e){return t({des:e})},style:{color:a}})),wp.element.createElement(o.h,null,wp.element.createElement(o.k,{title:Object(o.s)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return t({headingColor:e})},label:Object(o.s)("Heading Color")},{value:l,onChange:function(e){return t({color:e})},label:Object(o.s)("Number Color")},{value:a,onChange:function(e){return t({desColor:e})},label:Object(o.s)("Description Color")}]}),wp.element.createElement(o.j,null,wp.element.createElement(o.m,{label:Object(o.s)("Counter Text Font Size"),max:"100",min:"10",value:s,onChange:function(e){return t({fontSize:e})}}))))},c=function(e){var t=e.attributes,n=t.color,l=t.headingColor,r=t.desColor,a=t.title,u=t.counter,c=t.des,i=t.fontSize;return wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(o.n.Content,{tagName:"h4",style:{color:l},value:a}),wp.element.createElement(o.n.Content,{tagName:"div",className:"ugb-counter",style:{color:n,fontSize:i+"px"},value:u,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(o.n.Content,{tagName:"p",style:{color:r},value:c}))};Object(o.A)("ugb/count-up",{title:Object(o.s)("Count Up"),icon:a.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Count Up"),Object(o.s)("Stackable")],attributes:{title:{type:"array",source:"children",selector:"h4",default:Object(o.s)("Happy Customers")},counter:{type:"array",source:"children",selector:".ugb-counter",default:"12,345"},des:{type:"array",source:"children",selector:"p",default:Object(o.s)("and counting")},fontSize:{type:"number",default:"60"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},edit:u,save:c})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(71),r=(n.n(l),n(72)),a=(n.n(r),n(1)),o=n(0),u={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},c=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=e.attributes,r=l.videoLink,a=l.mediaLink,c=l.overlayColor,i=l.playButtonType,s=l.mediaID,m=[{value:"normal",label:Object(o.s)("Normal Play Button")},{value:"circle",label:Object(o.s)("Play Button with Circle")},{value:"outline",label:Object(o.s)("Outline Play Button")}];return wp.element.createElement(o.f,null,wp.element.createElement(o.c,null,a&&wp.element.createElement(o.q,null,wp.element.createElement(o.i,{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(o.g,{className:"components-toolbar__control",label:Object(o.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(o.h,null,wp.element.createElement(o.j,null,wp.element.createElement(o.o,{label:Object(o.s)("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(o.k,{initialOpen:!1,title:Object(o.s)("Color Settings"),colorSettings:[{value:c,onChange:function(e){return t({overlayColor:e})},label:Object(o.s)("Background / Overlay Color")}]})),wp.element.createElement("div",{className:"ugb-video-popup","data-video":r,style:{backgroundColor:c}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url("+a+")"}}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement(o.i,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},type:"image",value:s,render:function(e){return[!a&&wp.element.createElement(o.d,{className:s?"":"button button-large",onClick:e.open},Object(o.s)("Upload Image"))]}}),wp.element.createElement("div",{className:"ugb-video-overlay",style:{backgroundColor:c}}),wp.element.createElement("span",{className:"ugb-play-button"},u[i]))),n&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(o.e,{icon:"admin-links"}),wp.element.createElement(o.r,{value:r,onChange:function(e){return t({videoLink:e})}}),wp.element.createElement(o.g,{icon:"editor-break",label:Object(o.s)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},wp.element.createElement("i",null,"Youtube/Vimeo ID only"))))},i=function(e){var t=e.attributes,n=t.videoLink,l=t.mediaLink,r=t.overlayColor,a=t.playButtonType;t.mediaID;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:r}},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:r}}),wp.element.createElement("span",{className:"ugb-play-button"},u[a])))};Object(o.A)("ugb/video-popup",{title:Object(o.s)("Video Popup"),icon:a.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(o.s)("Video Popup"),Object(o.s)("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:c,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(74),r=(n.n(l),n(75)),a=(n.n(r),n(1)),o=n(2),u=n(3),c=n(76),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,r=l.heading,a=l.tagline,u=l.des,c=l.mediaID,s=l.mediaURL,m=l.headingColor,b=l.taglineColor,p=l.desColor,g=l.buttonURL,d=l.buttonText,f=l.buttonColor,h=l.buttonTextColor,y=l.size,w=l.cornerButtonRadius,v=l.contentAlign,C=s?"has-image":"",E=[{value:"small",label:Object(i.s)("Small")},{value:"normal",label:Object(i.s)("Normal")},{value:"medium",label:Object(i.s)("Medium")},{value:"large",label:Object(i.s)("Large")}];return wp.element.createElement(i.f,null,wp.element.createElement(i.c,null,wp.element.createElement(i.a,{value:v,onChange:function(e){return n({contentAlign:e})}}),wp.element.createElement(i.q,null,wp.element.createElement(i.i,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},type:"image",value:c,render:function(e){var t=e.open;return wp.element.createElement(i.g,{className:"components-toolbar__control",label:Object(i.s)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(i.h,null,wp.element.createElement(i.k,{title:Object(i.s)("Text Colors"),colorSettings:[{value:m,onChange:function(e){return n({headingColor:e})},label:Object(i.s)("Heading Color")},{value:b,onChange:function(e){return n({taglineColor:e})},label:Object(i.s)("Tagline Color")},{value:p,onChange:function(e){return n({desColor:e})},label:Object(i.s)("Description Color")}]}),wp.element.createElement(i.j,{initialOpen:!1,title:Object(i.s)("Button Size")},wp.element.createElement(i.o,{label:Object(i.s)("Button Size"),value:y,options:E.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.m,{label:Object(i.s)("Corner Radius"),value:w,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.s)("Button Colors"),colorSettings:[{value:f,onChange:function(e){return n({buttonColor:e})},label:Object(i.s)("Button Color")},{value:h,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.s)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-card "+C},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+s+")",textAlign:v}},wp.element.createElement(i.i,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},type:"image",value:c,render:function(e){return[!s&&wp.element.createElement(i.d,{className:c?"":"button button-large",onClick:e.open},Object(i.s)("Upload Image"))]}})),wp.element.createElement(i.n,{tagName:"h4",value:r,className:"ugb-card-heading",onChange:function(e){return n({heading:e})},style:{color:m,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:a,className:"ugb-tagline",onChange:function(e){return n({tagline:e})},style:{color:b,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.n,{tagName:"p",value:u,className:"ugb-card-des",onChange:function(e){return n({des:e})},style:{color:p,textAlign:v},keepPlaceholderOnFocus:!0}),wp.element.createElement(o.a,{size:y,align:v,color:h,backgroundColor:f,text:d,borderRadius:w,onChange:function(e){return n({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+v,style:{marginTop:10}},wp.element.createElement(i.e,{icon:"admin-links"}),wp.element.createElement(i.r,{value:g,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(i.g,{icon:"editor-break",label:Object(i.s)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.heading,l=t.tagline,r=t.des,a=t.mediaURL,o=(t.mediaID,t.headingColor),c=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,y=a?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+y},a&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+a+")",textAlign:h},"data-src":a}),!i.n.isEmpty(n)&&wp.element.createElement(i.n.Content,{tagName:"h4",style:{color:o,textAlign:h},value:n}),!i.n.isEmpty(l)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:h},value:l}),!i.n.isEmpty(r)&&wp.element.createElement(i.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:r}),b&&!!b.length&&wp.element.createElement(u.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},b={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(i.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(i.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(i.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(i.s)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(i.A)("ugb/card",{title:Object(i.s)("Card"),icon:a.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.s)("Card"),Object(i.s)("Stackable")],attributes:b,deprecated:[{attributes:c.d,save:c.b},{attributes:c.c,save:c.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return a}),n.d(t,"b",function(){return o}),n.d(t,"a",function(){return u}),n.d(t,"c",function(){return c});var l=n(0),r=n(4),a={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},o=function(e){var t=e.attributes,n=t.heading,a=t.tagline,o=t.des,u=t.mediaURL,c=(t.mediaID,t.headingColor),i=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,y=u?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+y},u&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+u+")",textAlign:h},"data-src":u}),!l.n.isEmpty(n)&&wp.element.createElement(l.n.Content,{tagName:"h4",style:{color:c,textAlign:h},value:n}),!l.n.isEmpty(a)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:a}),!l.n.isEmpty(o)&&wp.element.createElement(l.n.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:o}),b&&!!b.length&&wp.element.createElement(r.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},u=function(e){var t=e.attributes,n=t.heading,l=t.tagline,r=t.des,a=t.mediaURL,o=(t.mediaID,t.headingColor),u=t.taglineColor,c=t.desColor,i=t.buttonURL,s=t.buttonText,m=t.buttonColor,b=t.buttonTextColor,p=t.size,g=t.cornerButtonRadius,d=t.contentAlign,f={backgroundColor:m,color:b,borderRadius:g+"px"},h=a?"has-image":"",y=n||l||r||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+y},a&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+a+")",textAlign:d},"data-src":a}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:o,textAlign:d}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:u,textAlign:d}},l),r&&!!r.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:c,textAlign:d}},r),s&&!!s.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+p+" ugb-button-"+d,style:f},s))},c={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.s)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.s)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.s)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.s)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";var l=n(0);Object(l.t)("stackable.get_pro","core",function(){})}]);
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=8)}([function(e,t,n){"use strict";n.d(t,"B",function(){return l}),n.d(t,"t",function(){return o}),n.d(t,"n",function(){return a}),n.d(t,"p",function(){return c}),n.d(t,"q",function(){return u}),n.d(t,"f",function(){return i}),n.d(t,"h",function(){return s}),n.d(t,"e",function(){return m}),n.d(t,"r",function(){return b}),n.d(t,"k",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"b",function(){return d}),n.d(t,"i",function(){return h}),n.d(t,"d",function(){return w}),n.d(t,"a",function(){return v}),n.d(t,"o",function(){return y}),n.d(t,"s",function(){return C}),n.d(t,"j",function(){return E}),n.d(t,"l",function(){return O}),n.d(t,"c",function(){return N}),n.d(t,"g",function(){return j}),n.d(t,"C",function(){return T}),n.d(t,"A",function(){return S}),n.d(t,"z",function(){return z}),n.d(t,"x",function(){return R}),n.d(t,"u",function(){return A}),n.d(t,"v",function(){return I}),n.d(t,"y",function(){return M}),n.d(t,"w",function(){return U});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,b=r.Toolbar,p=r.PanelBody,g=r.RadioControl,d=r.BaseControl,f=wp.editor.InspectorControls?wp.editor:wp.blocks,h=f.InspectorControls,w=f.BlockControls,v=f.AlignmentToolbar,y=f.RichText,C=f.URLInput,E=f.MediaUpload,x=wp.editor,O=x.PanelColorSettings,N=x.BlockAlignmentToolbar,k=wp.element,j=k.Fragment,T=k.renderToString,B=lodash,S=B.omit,z=B.merge,L=wp.hooks,R=L.doAction,A=L.addAction,I=L.applyFilters,F=(L.addFilter,stackable),M=F.isPro,U=F.blockSrcUrl;F.primaryColor},function(e,t,n){"use strict";n.d(t,"j",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"g",function(){return u}),n.d(t,"c",function(){return i}),n.d(t,"n",function(){return s}),n.d(t,"o",function(){return m}),n.d(t,"q",function(){return b}),n.d(t,"b",function(){return p}),n.d(t,"p",function(){return g}),n.d(t,"d",function(){return d}),n.d(t,"k",function(){return f}),n.d(t,"h",function(){return h}),n.d(t,"l",function(){return w}),n.d(t,"r",function(){return v}),n.d(t,"m",function(){return y}),n.d(t,"f",function(){return C}),n.d(t,"e",function(){return E}),n.d(t,"i",function(){return x});var l=function(e){return wp.element.createElement("defs",null,wp.element.createElement("linearGradient",e,wp.element.createElement("stop",{offset:"0%",stopColor:"#ab5af1",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#fb6874",stopOpacity:"1"})))},o=1,r=function(){return"stk-icon-"+o++},a=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"20",height:"20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M512 96c-111.118 0-215.584 43.272-294.156 121.844S96 400.882 96 512s43.272 215.584 121.844 294.156S400.882 928 512 928s215.584-43.272 294.156-121.844S928 623.118 928 512s-43.272-215.584-121.843-294.156S623.118 96 512 96zm0-96c282.77 0 512 229.23 512 512s-229.23 512-512 512S0 794.77 0 512 229.23 0 512 0zm-64 704h128v128H448zm0-512h128v384H448z"}))},c=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"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"}))},u=function(){return wp.element.createElement(c,null)},i=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 9h12v2H4V9z"}))},s=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M8.54 12.74c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45L6.65 1.94C3.45 3.46.31 6.96.85 11.37 1.19 14.16 2.8 16 5.08 16c1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38zm9.43 0c0-.87-.24-1.61-.72-2.22-.73-.92-2.14-1.03-2.96-.85-.34-1.93 1.3-4.39 3.42-5.45l-1.63-2.28c-3.2 1.52-6.34 5.02-5.8 9.43.34 2.79 1.95 4.63 4.23 4.63 1 0 1.83-.29 2.48-.88.66-.59.98-1.38.98-2.38z"}))},m=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 14 32"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 29h5.833L0 23h5V9H0l5.833-6H0V0h14v3H8.167L14 9H9v14h5l-5.833 6H14v3H0v-3z"}))},b=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 13 12.916010856628418"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M5.68 12.916a.5.5 0 0 1-.397-.196L3.208 10H1.463C.656 10 0 9.428 0 8.621V1.463C0 .656.656 0 1.463 0h10.074C12.344 0 13 .656 13 1.463v7.158C13 9.428 12.344 10 11.537 10H8.151l-2.073 2.72a.504.504 0 0 1-.398.196zM1.463 1A.464.464 0 0 0 1 1.463v7.158c0 .255.208.463.463.463h1.993a.5.5 0 0 1 .397.196l1.827 2.312L7.507 9.28a.502.502 0 0 1 .397-.196h3.633A.464.464 0 0 0 12 8.621V1.463A.464.464 0 0 0 11.537 1H1.463zm1.193 2h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49zm0 3h7.828c.284.024.514.207.514.49a.498.498 0 0 1-.514.496H2.656a.499.499 0 0 1-.514-.496c.001-.283.231-.466.514-.49z"}))},p=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 16 14"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M10 0c-.17 0-.36.05-.52.14C8.04 1.02 4.5 3.58 3 4c-1.38 0-3 .67-3 2.5S1.63 9 3 9c.3.08.64.23 1 .41V14h2v-3.45c1.34.86 2.69 1.83 3.48 2.31.16.09.34.14.52.14.52 0 1-.42 1-1V1c0-.58-.48-1-1-1zm0 12c-.38-.23-.89-.58-1.5-1-.16-.11-.33-.22-.5-.34V2.31c.16-.11.31-.2.47-.31.61-.41 1.16-.77 1.53-1v11zm2-6h4v1h-4V6zm0 2l4 2v1l-4-2V8zm4-6v1l-4 2V4l4-2z"}))},g=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 896 1023"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M821 491q-41-41-95-60 62-26 100-82t38-125q0-93-65.5-158.5T640 0q-71 0-128.5 41T430 147q-32-39-77-61t-97-22q-93 0-158.5 65.5T32 288q0 69 38 125t100 82q-54 19-95 60Q0 630 0 736v191q0 40 28 68t68 28h320q31 0 55.5-18t34.5-46h294q40 0 68-28t28-68V672q0-106-75-181zM527 111q47-47 113-47t113 47 47 113-47 113-113 47-113-47-47-113 47-113zM143 401q-47-47-47-113t47-113 113-47 113 47 47 113-47 113-113 47-113-47zm305 526q0 13-9.5 22.5T416 959H96q-13 0-22.5-9.5T64 927V736q0-79 56.5-135.5T256 544t136 56q1 2 2 3 54 55 54 133v191zm-27-387q-36-30-79-45 43-18 75.5-52t48.5-78q36 44 88 66-54 19-95 60-22 23-38 49zm411 323q0 13-9.5 22.5T800 895H512V736q0-80-46-146 15-30 38-53 57-57 136-57t135.5 56.5T832 672v191z"}))},d=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 8"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M4 0C1.79 0 0 1.79 0 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm24 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zM16 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4z"}))},f=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 21.027502059936523 10.284000396728516"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M3.028 10.284a1 1 0 0 1-1-1V2.902l-.553.276A1 1 0 1 1 .58 1.389l2-1a.998.998 0 0 1 1.447.895v8a1 1 0 0 1-1 1zm9 0h-5a1.002 1.002 0 0 1-.707-1.707l4-4c.254-.254.394-.591.394-.95 0-.358-.14-.695-.394-.949-.508-.508-1.39-.508-1.9.001a1.33 1.33 0 0 0-.393.948 1 1 0 0 1-2 0c0-.894.348-1.733.98-2.364C8.273 0 10.472 0 11.735 1.264c.632.631.979 1.471.979 2.363 0 .893-.348 1.733-.98 2.364L9.443 8.284h2.586a1 1 0 0 1 0 2zm7.955-5.623a2.725 2.725 0 0 0 .545-1.627 2.753 2.753 0 0 0-2.75-2.75 2.739 2.739 0 0 0-2.44 1.484 1 1 0 1 0 1.776.92.75.75 0 1 1 .664 1.096 1 1 0 0 0 0 2c.689 0 1.25.561 1.25 1.25s-.561 1.25-1.25 1.25-1.25-.561-1.25-1.25a1 1 0 0 0-2 0c0 1.792 1.458 3.25 3.25 3.25s3.25-1.458 3.25-3.25a3.23 3.23 0 0 0-1.045-2.373z"}))},h=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 32 38"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M0 0h32v38H0V0zm3 3v32h26V3H3zm2 2h22v7H5V5zm0 9h14v19H5V14zm16 19V14h6v19h-6zM6 6v5h20V6H6z"}))},w=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 1024 896"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M960 0H64Q38 0 19 19T0 64v768q0 26 19 45t45 19h896q26 0 45-19t19-45V64q0-26-19-45T960 0zM64 64h896v714L724 430q-7-12-21-14t-25 7L524 548 350 305q-10-14-28-13t-26 17L64 757V64zm855 768H97l231-447 184 255 179-145zM737 190q13 0 22.5 9.5T769 222t-9.5 22.5T737 254t-22.5-9.5T705 222t9.5-22.5T737 190zm0-64q-40 0-68 28t-28 68 28 68 68 28 68-28 28-68-28-68-68-28z"}))},v=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 38 26"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M2 0h34a2 2 0 0 1 2 2v22a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.77 4C6.24 4 5 5.511 5 7.375v11.25C5 20.489 6.24 22 7.77 22h15.46c1.53 0 2.77-1.511 2.77-3.375V16l6 5h1V5h-1l-6 5V7.375C26 5.511 24.76 4 23.23 4H7.77z"}))},y=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 448 448"},wp.element.createElement(l,{id:e}),wp.element.createElement("path",{fill:"url(#"+e+")",d:"M416 32V0H256L0 288l160 160 23.471-23.904L208 448l240-272V32h-32zM160 425.371L22.39 288 262.621 16H400v137.377l-216.555 247.99-11.34 11.363L160 425.371zm272-255.994L208 425.371l-13.182-12.65L416 160V48h16v121.377z"}),wp.element.createElement("path",{d:"M320 128c17.645 0 32-14.355 32-32s-14.355-32-32-32-32 14.355-32 32 14.355 32 32 32zm0-48c8.836 0 16 7.163 16 16s-7.164 16-16 16-16-7.163-16-16 7.164-16 16-16z"}))},C=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 95.11"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"50 0 65.45 31.31 100 36.33 75 60.7 80.9 95.11 50 78.86 19.1 95.11 25 60.7 0 36.33 34.55 31.31 50 0"}))},E=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,2.4 30.1,16.8 46,19.2 34.5,30.4 37.2,46.2 23,38.7 8.8,46.2 11.5,30.4 0,19.2 15.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,2.4 84.1,16.8 100,19.2 88.5,30.4 91.2,46.2 77,38.7 62.8,46.2 65.5,30.4 54,19.2 69.9,16.8 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"23,52.1 30.1,66.5 46,68.8 34.5,80 37.2,95.9 23,88.4 8.8,95.9 11.5,80 0,68.8 15.9,66.5 "}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"77,52.1 84.1,66.5 100,68.8 88.5,80 91.2,95.9 77,88.4 62.8,95.9 65.5,80 54,68.8 69.9,66.5 "}))},x=function(){var e=r();return wp.element.createElement("svg",{className:"dashicon",role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 100 100"},wp.element.createElement(l,{id:e}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,42.3 2.7,36.1 0,38.8 9,47.8 27.6,29.3 24.8,26.5 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"34.6",width:"64.8",height:"5.1"}),wp.element.createElement("polygon",{fill:"url(#"+e+")",points:"9,70.7 2.7,64.4 0,67.1 9,76.2 27.6,57.6 24.8,54.8 "}),wp.element.createElement("rect",{fill:"url(#"+e+")",x:"35.2",y:"63",width:"64.8",height:"5.1"}))}},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,r=void 0===l?"normal":l,a=e.color,c=e.text,u=void 0===c?"":c,i=e.backgroundColor,s=e.borderRadius,m=void 0===s?4:s,b=e.isSelected,p=void 0===b?null:b,g=e.onFocus,d=void 0===g?function(){}:g,f=e.onChange,h=void 0===f?function(){}:f,w={borderRadius:m+"px",backgroundColor:i||void 0};return wp.element.createElement("span",{className:"ugb-button ugb-button-"+n+" ugb-button-"+r,style:w,"data-is-placeholder-visible":o.o.isEmpty(u)},wp.element.createElement(o.o,{tagName:"span",placeholder:Object(o.t)("Enter Text"),value:u,onChange:h,formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:a},onFocus:d,isSelected:p,keepPlaceholderOnFocus:!0}))}var o=n(0);t.a=l},function(e,t,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,r=void 0===l?"normal":l,a=e.url,c=void 0===a?"":a,u=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px",backgroundColor:s||void 0};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+r,style:b},wp.element.createElement(o.o.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}var o=n(0);t.a=l},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,n){"use strict";function l(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,c=void 0===a?"":a,u=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={borderRadius:m+"px"};return s&&(b.backgroundColor=s),wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}function o(e){var t=e.align,n=void 0===t?"center":t,l=e.size,o=void 0===l?"normal":l,a=e.url,c=void 0===a?"":a,u=e.color,i=e.text,s=e.backgroundColor,m=e.borderRadius,b={backgroundColor:s,borderRadius:m+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-button-"+n+" ugb-button-"+o,style:b},wp.element.createElement(r.o.Content,{tagName:"a",className:"ugb-button-inner",href:c,style:{color:u},value:i}))}n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"d",function(){return u}),n.d(t,"f",function(){return i}),n.d(t,"c",function(){return s}),n.d(t,"e",function(){return m});var r=n(0),a=l,c=o,u=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,a=t.color,u=t.textColor,i=t.size,s=t.cornerButtonRadius,m=t.design,b=wp.element.createElement(c,{align:o,size:i,url:n,color:u,text:l,backgroundColor:a,borderRadius:s});return Object(r.v)("stackable.designs.button.save",b,m,e)},i={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}},s=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))},m={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},align:{type:"string",default:"center"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4}}},function(e,t){var n={utf8:{stringToBytes:function(e){return n.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(n.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=n},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});var l=n(0),o=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},r=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(l.C)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(9),n(12),n(15),n(22),n(26),n(32),n(36),n(40),n(44),n(47),n(50),n(53),n(56),n(60),n(64),n(68),n(71),n(74),n(78),n(81),n(85),n(88)},function(e,t,n){"use strict";var l=n(10),o=(n.n(l),n(11)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=e.attributes.height;return wp.element.createElement("div",{style:{height:t+"px"}})},u=function(e){var t=(e.isSelected,e.attributes.height);return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.n,{label:Object(a.t)("Height"),value:t,min:"30",max:"200",onChange:function(t){e.setAttributes({height:t})}}))),wp.element.createElement("div",{className:e.className,style:{height:t+"px"}}))};Object(a.B)("ugb/spacer",{title:Object(a.t)("Spacer"),icon:r.o,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Spacer"),Object(a.t)("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(13),o=(n.n(l),n(14)),r=(n.n(o),n(1)),a=n(0),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,e.attributes),n=t.height,l=t.width,o=t.color,r=t.alignment;return wp.element.createElement(a.g,null,wp.element.createElement(a.d,null,wp.element.createElement(a.a,{value:r,onChange:function(t){e.setAttributes({alignment:t})}})),wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.n,{label:Object(a.t)("Height"),value:n,min:"1",max:"10",onChange:function(t){e.setAttributes({height:t})}}),wp.element.createElement(a.n,{label:Object(a.t)("Width"),value:l,min:"10",max:"100",step:"0.1",onChange:function(t){e.setAttributes({width:t})}})),wp.element.createElement(a.l,{title:Object(a.t)("Color Settings"),colorSettings:[{value:o,onChange:function(t){return e.setAttributes({color:t})},label:Object(a.t)("Divider Color")}]})),wp.element.createElement("div",{className:"ugb-divider",style:{paddingTop:8,paddingBottom:8}},wp.element.createElement("hr",{align:r,style:{marginTop:0,marginBottom:0,backgroundColor:o,width:l+"%",height:n}})))};Object(a.B)("ugb/divider",{title:Object(a.t)("Divider"),icon:r.c,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Divider"),Object(a.t)("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(16),o=(n.n(l),n(17)),r=(n.n(o),n(1)),a=n(5),c=n(2),u=n(3),i=n(18),s=n(20),m=(n(21),n(0)),b=function(e){var t=e.isSelected,n=(e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.text,a=l.color,u=l.textColor,b=l.size,p=l.align,g=l.cornerButtonRadius,d=l.design,f=[{value:"small",label:Object(m.t)("Small")},{value:"normal",label:Object(m.t)("Normal")},{value:"medium",label:Object(m.t)("Medium")},{value:"large",label:Object(m.t)("Large")}],h=wp.element.createElement(c.a,{onChange:function(e){return n({text:e})},align:p,size:b,backgroundColor:a,color:u,text:r,borderRadius:g}),w=Object(m.v)("stackable.designs.button.edit",h,d,e);return wp.element.createElement(m.g,null,wp.element.createElement(m.d,null,wp.element.createElement(m.c,{value:p,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(m.i,null,wp.element.createElement(i.a,{selected:d,options:[{label:wp.element.createElement(s.a,{imageFile:"button/images/test.jpg"}),title:"Basic",value:"basic"},{label:wp.element.createElement(s.a,{imageFile:"button/images/test.jpg",isPro:!0}),title:"Center",value:"center"},{label:wp.element.createElement(s.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Right",value:"right"},{label:wp.element.createElement(s.a,{imageFile:"https://via.placeholder.com/350x150",isPro:!0}),title:"Full",value:"full"}],onChange:function(e){n({design:e})}})),wp.element.createElement(m.i,null,wp.element.createElement(m.k,null,wp.element.createElement(m.p,{label:Object(m.t)("Size"),value:b,options:f.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(m.n,{label:Object(m.t)("Corner Radius"),value:g,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(m.l,{title:Object(m.t)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(m.t)("Background Color")},{value:u,onChange:function(e){return n({textColor:e})},label:Object(m.t)("Text Color")}]})),w,t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(m.f,{icon:"admin-links"}),wp.element.createElement(m.s,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(m.h,{icon:"editor-break",label:Object(m.t)("Apply"),type:"submit"})))},p=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,r=t.color,a=t.textColor,c=t.size,i=t.cornerButtonRadius,s=t.design,b=wp.element.createElement(u.a,{align:o,size:c,url:n,color:a,text:l,backgroundColor:r,borderRadius:i});return Object(m.v)("stackable.designs.button.save",b,s,e)},g={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},design:{type:"string",default:"basic"}};Object(m.B)("ugb/button",{title:Object(m.t)("Button"),icon:r.a,description:"Add customize button",category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.t)("Button"),Object(m.t)("Stackable")],attributes:g,deprecated:[{attributes:a.f,save:a.d},{attributes:a.e,migrate:function(e){return Object(m.A)(Object(m.z)(e,{align:e.textAlignment}),["textAlignment"])},save:a.c}],edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return null}var o=n(19),r=(n.n(o),n(0),n(4));n.n(r);t.a=l},function(e,t){},function(e,t,n){"use strict";function l(e){var t=e.isPro,n=e.imageFile,l=r()({"is-pro":t});return wp.element.createElement("span",{className:l},wp.element.createElement("img",{src:n.match(/https?:/i)?n:a.w+"/"+n}))}var o=n(4),r=n.n(o),a=n(0);t.a=l},function(e,t,n){"use strict"},function(e,t,n){"use strict";var l=n(23),o=(n.n(l),n(24)),r=(n.n(o),n(1)),a=n(25),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=e.attributes,o=l.url,r=l.text,a=l.color,u=l.size,i=l.align,s=l.cornerButtonRadius,m=l.borderThickness,b=[{value:"small",label:Object(c.t)("Small")},{value:"normal",label:Object(c.t)("Normal ")},{value:"medium",label:Object(c.t)("Medium")},{value:"large",label:Object(c.t)("Large")}];return wp.element.createElement(c.g,null,wp.element.createElement(c.d,null,wp.element.createElement(c.c,{value:i,onChange:function(e){n({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.p,{label:Object(c.t)("Size"),value:u,options:b.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Corner Radius"),value:s,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Border Thickness"),value:m,min:"1",max:"10",onChange:function(e){return n({borderThickness:e})}})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:a,onChange:function(e){return n({color:e})},label:Object(c.t)("Button Color")}]})),wp.element.createElement("span",{className:"ugb-button ugb-ghost-button ugb-button-"+i+" ugb-button-"+u,style:{borderColor:a,borderRadius:s+"px",borderWidth:m+"px"}},wp.element.createElement(c.o,{tagName:"span",placeholder:Object(c.t)("Enter Text"),value:r,onChange:function(e){return n({text:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-button-inner",style:{color:a},keepPlaceholderOnFocus:!0})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(c.f,{icon:"admin-links"}),wp.element.createElement(c.s,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(c.h,{icon:"editor-break",label:Object(c.t)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.align,r=t.color,a=t.size,u=t.cornerButtonRadius,i=t.borderThickness,s={borderColor:r,borderRadius:u+"px",borderWidth:i+"px"};return wp.element.createElement("div",{className:"ugb-button ugb-ghost-button ugb-button-"+o+" ugb-button-"+a,style:s},wp.element.createElement(c.o.Content,{className:"ugb-button-inner",tagName:"a",value:l,href:n,style:{color:r}}))},s={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{source:"html",selector:"a"},align:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}};Object(c.B)("ugb/ghost-button",{title:Object(c.t)("Ghost Button"),icon:r.g,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Ghost Button"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.A)(Object(c.z)(e,{align:e.textAlignment}),["textAlignment"])},save:a.a}],edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return o});var l=function(e){var t=e.attributes,n=t.url,l=t.text,o=t.textAlignment,r=t.color,a=t.size,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))},o={url:{type:"string",source:"attribute",selector:"a",attribute:"href"},text:{type:"array",source:"children",selector:"a"},textAlignment:{type:"string",default:"center"},color:{type:"string"},textColor:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:"4"},borderThickness:{type:"number",default:"1"}}},function(e,t,n){"use strict";var l=n(27),o=(n.n(l),n(28)),r=(n.n(o),n(29)),a=n.n(r),c=n(1),u=n(0),i=function(e){var t=[{value:"success",label:Object(u.t)("Success")},{value:"error",label:Object(u.t)("Error")},{value:"warning",label:Object(u.t)("Warning")},{value:"info",label:Object(u.t)("Information")}],n=(e.isSelected,e.editable,e.setState,e.setAttributes),l=(e.className,e.attributes),o=l.text,r=l.color,a=l.textColor,c=l.notifType,i=l.dismissible;return wp.element.createElement(u.g,null,wp.element.createElement(u.i,null,wp.element.createElement(u.k,null,wp.element.createElement(u.q,{label:Object(u.t)("Dismissible"),checked:i,onChange:function(){return n({dismissible:!i})}}),wp.element.createElement(u.p,{label:Object(u.t)("Notification Type"),value:c,options:t.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}})),wp.element.createElement(u.l,{title:Object(u.t)("Color Settings"),colorSettings:[{value:r,onChange:function(e){return n({color:e})},label:Object(u.t)("Background Color")},{value:a,onChange:function(e){return n({textColor:e})},label:Object(u.t)("Text Color")}]})),wp.element.createElement("div",{className:"ugb-notification type-"+c+" dismissible-"+i},i&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:a}},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.o,{tagName:"p",placeholder:e.attributes.text.default,value:o,onChange:function(e){return n({text:e})},className:"wp-ugb-notif notif-"+c,style:{backgroundColor:r,color:a}})))},s=function(e){var t=e.attributes,n=t.text,l=t.color,o=t.textColor,r=t.notifType,c=t.dismissible,i={backgroundColor:l,color:o},s=a()(n+r).substr(0,6);return wp.element.createElement("div",{className:"ugb-notification type-"+r+" dismissible-"+c,"data-uid":s},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(u.o.Content,{tagName:"p",className:"wp-ugb-notif notif-"+r,style:i,value:n}))};Object(u.B)("ugb/notification",{title:Object(u.t)("Notification"),icon:c.j,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.t)("Notification"),Object(u.t)("Stackable")],attributes:{text:{source:"html",selector:"p",default:Object(u.t)("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(30),l=n(6).utf8,o=n(31),r=n(6).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,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 g=a._ff,d=a._gg,f=a._hh,h=a._ii,p=0;p<c.length;p+=16){var w=i,v=s,y=m,C=b;i=g(i,s,m,b,c[p+0],7,-680876936),b=g(b,i,s,m,c[p+1],12,-389564586),m=g(m,b,i,s,c[p+2],17,606105819),s=g(s,m,b,i,c[p+3],22,-1044525330),i=g(i,s,m,b,c[p+4],7,-176418897),b=g(b,i,s,m,c[p+5],12,1200080426),m=g(m,b,i,s,c[p+6],17,-1473231341),s=g(s,m,b,i,c[p+7],22,-45705983),i=g(i,s,m,b,c[p+8],7,1770035416),b=g(b,i,s,m,c[p+9],12,-1958414417),m=g(m,b,i,s,c[p+10],17,-42063),s=g(s,m,b,i,c[p+11],22,-1990404162),i=g(i,s,m,b,c[p+12],7,1804603682),b=g(b,i,s,m,c[p+13],12,-40341101),m=g(m,b,i,s,c[p+14],17,-1502002290),s=g(s,m,b,i,c[p+15],22,1236535329),i=d(i,s,m,b,c[p+1],5,-165796510),b=d(b,i,s,m,c[p+6],9,-1069501632),m=d(m,b,i,s,c[p+11],14,643717713),s=d(s,m,b,i,c[p+0],20,-373897302),i=d(i,s,m,b,c[p+5],5,-701558691),b=d(b,i,s,m,c[p+10],9,38016083),m=d(m,b,i,s,c[p+15],14,-660478335),s=d(s,m,b,i,c[p+4],20,-405537848),i=d(i,s,m,b,c[p+9],5,568446438),b=d(b,i,s,m,c[p+14],9,-1019803690),m=d(m,b,i,s,c[p+3],14,-187363961),s=d(s,m,b,i,c[p+8],20,1163531501),i=d(i,s,m,b,c[p+13],5,-1444681467),b=d(b,i,s,m,c[p+2],9,-51403784),m=d(m,b,i,s,c[p+7],14,1735328473),s=d(s,m,b,i,c[p+12],20,-1926607734),i=f(i,s,m,b,c[p+5],4,-378558),b=f(b,i,s,m,c[p+8],11,-2022574463),m=f(m,b,i,s,c[p+11],16,1839030562),s=f(s,m,b,i,c[p+14],23,-35309556),i=f(i,s,m,b,c[p+1],4,-1530992060),b=f(b,i,s,m,c[p+4],11,1272893353),m=f(m,b,i,s,c[p+7],16,-155497632),s=f(s,m,b,i,c[p+10],23,-1094730640),i=f(i,s,m,b,c[p+13],4,681279174),b=f(b,i,s,m,c[p+0],11,-358537222),m=f(m,b,i,s,c[p+3],16,-722521979),s=f(s,m,b,i,c[p+6],23,76029189),i=f(i,s,m,b,c[p+9],4,-640364487),b=f(b,i,s,m,c[p+12],11,-421815835),m=f(m,b,i,s,c[p+15],16,530742520),s=f(s,m,b,i,c[p+2],23,-995338651),i=h(i,s,m,b,c[p+0],6,-198630844),b=h(b,i,s,m,c[p+7],10,1126891415),m=h(m,b,i,s,c[p+14],15,-1416354905),s=h(s,m,b,i,c[p+5],21,-57434055),i=h(i,s,m,b,c[p+12],6,1700485571),b=h(b,i,s,m,c[p+3],10,-1894986606),m=h(m,b,i,s,c[p+10],15,-1051523),s=h(s,m,b,i,c[p+1],21,-2054922799),i=h(i,s,m,b,c[p+8],6,1873313359),b=h(b,i,s,m,c[p+15],10,-30611744),m=h(m,b,i,s,c[p+6],15,-1560198380),s=h(s,m,b,i,c[p+13],21,1309151649),i=h(i,s,m,b,c[p+4],6,-145523070),b=h(b,i,s,m,c[p+11],10,-1120210379),m=h(m,b,i,s,c[p+2],15,718787259),s=h(s,m,b,i,c[p+9],21,-343485551),i=i+w>>>0,s=s+v>>>0,m=m+y>>>0,b=b+C>>>0}return t.endian([i,s,m,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(33),o=(n.n(l),n(34)),r=(n.n(o),n(1)),a=n(35),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,a=l.quoteColor;return wp.element.createElement(c.g,null,wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":a}},wp.element.createElement(c.o,{className:"ugb-blockquote-text",value:r,onChange:function(e){return n({text:e})},isSelected:t,style:{color:o}})),wp.element.createElement(c.i,null,wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(c.t)("Text Color")},{value:a,onChange:function(e){return n({quoteColor:e})},label:Object(c.t)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{"--quote-color":o}},wp.element.createElement(c.o.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{source:"html",selector:"p",default:Object(c.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(c.B)("ugb/blockquote",{title:Object(c.t)("Blockquote"),icon:r.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Blockquote"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.A)(Object(c.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:a.a}],edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("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"}},r=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-blockquote",style:{borderLeftColor:o}},wp.element.createElement("p",{style:{color:n}},l))}},function(e,t,n){"use strict";var l=n(37),o=(n.n(l),n(38)),r=(n.n(o),n(1)),a=n(39),c=n(0),u=function(e){var t=e.isSelected,n=e.setAttributes,l=(e.className,e.attributes),o=l.color,r=l.text,a=l.quoteColor;return wp.element.createElement(c.g,null,wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":a}},wp.element.createElement(c.o,{tagName:"p",className:"ugb-pullquote-text",value:r,onChange:function(e){return n({text:e})},placeholder:Object(c.t)("Write quote\u2026"),formattingControls:["bold","italic","strikethrough","link"],isSelected:t,keepPlaceholderOnFocus:!0,style:{color:o}})),wp.element.createElement(c.i,null,wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return n({color:e})},label:Object(c.t)("Text Color")},{value:a,onChange:function(e){return n({quoteColor:e})},label:Object(c.t)("Quote Color")}]})))},i=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.quoteColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{"--quote-color":o}},wp.element.createElement(c.o.Content,{tagName:"p",style:{color:n},value:l}))},s={text:{source:"html",selector:"p",default:Object(c.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:""},quoteColor:{type:"string",default:""}};Object(c.B)("ugb/pullquote",{title:Object(c.t)("Pullquote"),icon:r.n,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Pullquote"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,migrate:function(e){return Object(c.A)(Object(c.z)(e,{quoteColor:e.borderColor}),["borderColor"])},save:a.a}],edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return r});var l=n(0),o=function(e){var t=e.attributes,n=t.color,l=t.text,o=t.borderColor;return wp.element.createElement("blockquote",{className:"ugb-pullquote",style:{borderTopColor:o,borderBottomColor:o}},wp.element.createElement("p",{style:{color:n}},l))},r={text:{type:"array",source:"children",selector:"p",default:Object(l.t)("It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful.")},color:{type:"string",default:"#2091e1"},borderColor:{type:"string",default:"#2091e1"}}},function(e,t,n){"use strict";var l=n(41),o=(n.n(l),n(42)),r=(n.n(o),n(1)),a=n(2),c=n(3),u=n(43),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.buttonText,c=l.ctaTitle,u=l.bodyText,s=l.color,m=l.textColor,b=l.size,p=l.borderButtonRadius,g=l.bodyTextColor,d=l.titleColor,f=l.bgColor,h=[{value:"small",label:Object(i.t)("Small")},{value:"normal",label:Object(i.t)("Normal")},{value:"medium",label:Object(i.t)("Medium")},{value:"large",label:Object(i.t)("Large")}];return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.p,{label:Object(i.t)("Button Size"),value:b,options:h.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Button Border Radius"),value:p,min:"1",max:"50",onChange:function(e){return n({borderButtonRadius:e})}})),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Color Settings"),colorSettings:[{value:f,onChange:function(e){return n({bgColor:e})},label:Object(i.t)("Background Color")},{value:d,onChange:function(e){return n({titleColor:e})},label:Object(i.t)("Title Color")},{value:g,onChange:function(e){return n({bodyTextColor:e})},label:Object(i.t)("Body Text Color")}]}),wp.element.createElement(i.l,{title:Object(i.t)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return n({color:e})},label:Object(i.t)("Button Background Color")},{value:m,onChange:function(e){return n({textColor:e})},label:Object(i.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:f}},wp.element.createElement(i.o,{className:"ugb-cta-title",tagName:"h3",placeholder:Object(i.t)("Add Title"),value:c,onChange:function(e){return n({ctaTitle:e})},keepPlaceholderOnFocus:!0,style:{color:d}}),wp.element.createElement(i.o,{tagName:"p",value:u,className:"ugb-cta-bodyText",onChange:function(e){return n({bodyText:e})},placeholder:Object(i.t)("Write body text\u2026"),style:{color:g}}),wp.element.createElement(a.a,{size:b,color:m,backgroundColor:s,text:r,borderRadius:p,onChange:function(e){return n({buttonText:e})}})),t&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.url,l=t.buttonText,o=t.ctaTitle,r=t.bodyText,a=t.color,u=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},o&&!!o.length&&wp.element.createElement(i.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:o}),r&&!!r.length&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:r}),l&&!!l.length&&wp.element.createElement(c.a,{size:s,url:n,color:u,text:l,backgroundColor:a,borderRadius:m}))},b={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:Object(i.t)("Get Started Today")},bodyText:{source:"html",selector:"p",default:Object(i.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}};Object(i.B)("ugb/cta",{title:Object(i.t)("Call to Action"),icon:r.b,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Call to Action"),Object(i.t)("Stackable"),Object(i.t)("CTA")],attributes:b,supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),deprecated:[{attributes:u.c,save:u.b},{save:u.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"c",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c});var l=n(0),o=n(5),r={url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{type:"array",source:"children",selector:"h3",default:Object(l.t)("Get Started Today")},bodyText:{type:"array",source:"children",selector:"p",default:Object(l.t)("Get Stackable: Ultimate Gutenberg Blocks today.\xa0 Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg\u2019s functionality.")},buttonText:{type:"array",source:"children",selector:".ugb-button a"},color:{type:"string",default:"#2091e1"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4}},a=function(e){var t=e.attributes,n=t.url,r=t.buttonText,a=t.ctaTitle,c=t.bodyText,u=t.color,i=t.textColor,s=t.size,m=t.borderButtonRadius,b=t.bodyTextColor,p=t.titleColor,g=t.bgColor;return wp.element.createElement("div",{className:"ugb-cta",style:{backgroundColor:g}},a&&!!a.length&&wp.element.createElement(l.o.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:p},value:a}),c&&!!c.length&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:b},value:c}),r&&!!r.length&&wp.element.createElement(o.a,{size:s,url:n,color:i,text:r,backgroundColor:u,borderRadius:m}))},c=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,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: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:p},l))}},function(e,t,n){"use strict";var l=n(45),o=(n.n(l),n(46)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.testimonialTitle,o=n.testimonialTitleTwo,r=n.testimonialTitleThree,c=n.body,u=n.bodyTwo,i=n.bodyThree,s=n.position,m=n.positionTwo,b=n.positionThree,p=(n.href,n.hrefTwo,n.hrefThree,n.mediaID),g=n.mediaIDTwo,d=n.mediaIDThree,f=n.mediaURL,h=n.mediaURLTwo,w=n.mediaURLThree,v=n.columns,y=n.titleColor,C=n.posColor,E=n.bodyTextColor,x=n.iconColor,O=[{value:"1",label:Object(a.t)("One Column")},{value:"2",label:Object(a.t)("Two Column")},{value:"3",label:Object(a.t)("Three Column")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("Column Number"),value:v,options:O.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.l,{initialOpen:!1,title:Object(a.t)("Color Settings"),colorSettings:[{value:y,onChange:function(e){return t({titleColor:e})},label:Object(a.t)("Title Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(a.t)("Position Color")},{value:E,onChange:function(e){return t({bodyTextColor:e})},label:Object(a.t)("Body Text Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(a.t)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-testimonial column-"+v},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return wp.element.createElement(a.e,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+f+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:l,onChange:function(e){return t({testimonialTitle:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:s,className:"ugb-testimonial-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:c,className:"ugb-testimonial-body",onChange:function(e){return t({body:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:g,render:function(e){return wp.element.createElement(a.e,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+h+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:o,onChange:function(e){return t({testimonialTitleTwo:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:m,className:"ugb-testimonial-position-two",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:u,className:"ugb-testimonial-body-two",onChange:function(e){return t({bodyTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-testimonial-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(a.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+w+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:r,onChange:function(e){return t({testimonialTitleThree:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:b,className:"ugb-testimonial-position-three",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:i,className:"ugb-testimonial-body-three",onChange:function(e){return t({bodyThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},u=function(e){var t=e.attributes,n=t.testimonialTitle,l=t.testimonialTitleTwo,o=t.testimonialTitleThree,r=t.body,c=t.bodyTwo,u=t.bodyThree,i=t.position,s=t.positionTwo,m=t.positionThree,b=t.mediaURL,p=t.mediaURLTwo,g=t.mediaURLThree,d=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.titleColor),f=t.posColor,h=t.bodyTextColor,w=t.iconColor,v=t.columns,y=wp.element.createElement("div",{className:"quote-icon"},wp.element.createElement("svg",{viewBox:"0 0 246 187.5",style:{fill:w}},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-"+v},wp.element.createElement("div",{className:"ugb-testimonial-column-one"},b?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+b+")"},"data-src":b}):y,!a.o.isEmpty(n)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:d},value:n}),!a.o.isEmpty(i)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-position",style:{color:f},value:i}),!a.o.isEmpty(r)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-body",style:{color:h},value:r})),v>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,!a.o.isEmpty(l)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:d},value:l}),!a.o.isEmpty(s)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-position-two",style:{color:f},value:s}),!a.o.isEmpty(c)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-body-two",style:{color:h},value:c})),v>2&&wp.element.createElement("div",{className:"ugb-testimonial-column-three"},g?wp.element.createElement("div",{className:"testimonial-image",style:{backgroundImage:"url("+g+")"},"data-src":g}):y,!a.o.isEmpty(o)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:d},value:o}),!a.o.isEmpty(m)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-position-three",style:{color:f},value:m}),!a.o.isEmpty(u)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-testimonial-body-three",style:{color:h},value:u})))};Object(a.B)("ugb/testimonial",{title:Object(a.t)("Testimonial"),icon:r.q,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Testimonial"),Object(a.t)("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:{source:"html",selector:".ugb-testimonial-column-one h4",default:Object(a.t)("Ben Adams")},testimonialTitleTwo:{source:"html",selector:".ugb-testimonial-column-two h4",default:Object(a.t)("Alex Johnson")},testimonialTitleThree:{source:"html",selector:".ugb-testimonial-column-three h4",default:Object(a.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-testimonial-position",default:Object(a.t)("Founder")},positionTwo:{source:"html",selector:".ugb-testimonial-position-two",default:Object(a.t)("Editor")},positionThree:{source:"html",selector:".ugb-testimonial-position-three",default:Object(a.t)("Programmer")},body:{source:"html",selector:".ugb-testimonial-body",default:Object(a.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyTwo:{source:"html",selector:".ugb-testimonial-body-two",default:Object(a.t)("Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.")},bodyThree:{source:"html",selector:".ugb-testimonial-body-three",default:Object(a.t)("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(48),o=(n.n(l),n(49)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=(e.isSelected,e.editable,e.setState,e.className,e.setAttributes),n=e.attributes,l=n.name,o=n.nameTwo,r=n.nameThree,c=n.des,u=n.desTwo,i=n.desThree,s=n.position,m=n.positionTwo,b=n.positionThree,p=(n.href,n.hrefTwo,n.hrefThree,n.mediaID),g=n.mediaIDTwo,d=n.mediaIDThree,f=n.mediaURL,h=n.mediaURLTwo,w=n.mediaURLThree,v=n.columns,y=n.nameColor,C=n.posColor,E=n.desColor,x=n.iconColor,O=n.shapes,N=[{value:"1",label:Object(a.t)("One Column")},{value:"2",label:Object(a.t)("Two Column")},{value:"3",label:Object(a.t)("Three Column")}],k=[{value:"square",label:Object(a.t)("Square")},{value:"circle",label:Object(a.t)("Circle")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("Image Shape"),value:O,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({shapes:e})}}),wp.element.createElement(a.p,{label:Object(a.t)("Column Number"),value:v,options:N.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.l,{initialOpen:!1,title:Object(a.t)("Color Settings"),colorSettings:[{value:y,onChange:function(e){return t({nameColor:e})},label:Object(a.t)("Name Color")},{value:C,onChange:function(e){return t({posColor:e})},label:Object(a.t)("Position Color")},{value:E,onChange:function(e){return t({desColor:e})},label:Object(a.t)("Description Color")},{value:x,onChange:function(e){return t({iconColor:e})},label:Object(a.t)("Icon Color")}]})),wp.element.createElement("div",{className:"ugb-team-member column-"+v+" image-"+O},wp.element.createElement("div",{className:"ugb-team-member-column-one"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:p,render:function(e){return wp.element.createElement(a.e,{className:p?"":"button button-large",onClick:e.open},p?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+f+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:l,onChange:function(e){return t({name:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:s,className:"ugb-team-member-position",onChange:function(e){return t({position:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:c,className:"ugb-team-member-des",onChange:function(e){return t({des:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-two"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLTwo:e.url,mediaIDTwo:e.id})},allowedTypes:["image"],value:g,render:function(e){return wp.element.createElement(a.e,{className:g?"":"button button-large",onClick:e.open},g?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+h+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:o,onChange:function(e){return t({nameTwo:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:m,className:"ugb-team-member-position",onChange:function(e){return t({positionTwo:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:u,className:"ugb-team-member-des-two",onChange:function(e){return t({desTwo:e})},style:{color:E},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",{className:"ugb-team-member-column-three"},wp.element.createElement("div",null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaURLThree:e.url,mediaIDThree:e.id})},allowedTypes:["image"],value:d,render:function(e){return wp.element.createElement(a.e,{className:d?"":"button button-large",onClick:e.open},d?wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+w+")"}}):Object(a.t)("Upload Image"))}})),wp.element.createElement(a.o,{tagName:"h4",value:r,onChange:function(e){return t({nameThree:e})},style:{color:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:b,className:"ugb-team-member-position",onChange:function(e){return t({positionThree:e})},style:{color:C},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:i,className:"ugb-team-member-des-three",onChange:function(e){return t({desThree:e})},style:{color:E},keepPlaceholderOnFocus:!0}))))},u=function(e){var t=e.attributes,n=t.name,l=t.nameTwo,o=t.nameThree,r=t.shapes,c=t.des,u=t.desTwo,i=t.desThree,s=t.position,m=t.positionTwo,b=t.positionThree,p=t.mediaURL,g=t.mediaURLTwo,d=t.mediaURLThree,f=(t.mediaID,t.mediaIDTwo,t.mediaIDThree,t.nameColor),h=t.posColor,w=t.desColor,v=(t.iconColor,t.columns);return wp.element.createElement("div",{className:"ugb-team-member column-"+v+" 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}),!a.o.isEmpty(n)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:f},value:n}),!a.o.isEmpty(s)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:s}),!a.o.isEmpty(c)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-des",style:{color:w},value:c})),v>1&&wp.element.createElement("div",{className:"ugb-team-member-column-two"},g&&wp.element.createElement("div",{className:"team-member-image",style:{backgroundImage:"url("+g+")"},"data-src":g}),!a.o.isEmpty(l)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:f},value:l}),!a.o.isEmpty(m)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:m}),!a.o.isEmpty(u)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-des-two",style:{color:w},value:u})),v>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}),!a.o.isEmpty(o)&&wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:f},value:o}),!a.o.isEmpty(b)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-position",style:{color:h},value:b}),!a.o.isEmpty(i)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-team-member-des-three",style:{color:w},value:i})))};Object(a.B)("ugb/team-member",{title:Object(a.t)("Team Member"),icon:r.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Team Member"),Object(a.t)("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:{source:"html",selector:".ugb-team-member-column-one h4",default:Object(a.t)("Ben Adams")},nameTwo:{source:"html",selector:".ugb-team-member-column-two h4",default:Object(a.t)("Alex Johnson")},nameThree:{source:"html",selector:".ugb-team-member-column-three h4",default:Object(a.t)("Sammy Simpson")},position:{source:"html",selector:".ugb-team-member-column-one .ugb-team-member-position",default:Object(a.t)("Founder")},positionTwo:{source:"html",selector:".ugb-team-member-column-two .ugb-team-member-position",default:Object(a.t)("Editor")},positionThree:{source:"html",selector:".ugb-team-member-column-three .ugb-team-member-position",default:Object(a.t)("Programmer")},des:{source:"html",selector:".ugb-team-member-des",default:Object(a.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},desTwo:{source:"html",selector:".ugb-team-member-des-two",default:Object(a.t)("Alex handles all written content. She enjoys painting and playing softball on the weekends.")},desThree:{source:"html",selector:".ugb-team-member-des-three",default:Object(a.t)("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(51),r=(n.n(o),n(52)),a=(n.n(r),n(1)),c=n(0),u=function(e){var t=(e.focus,e.setFocus,e.editable,e.setAttributes),n=(e.setState,e.className),o=e.isSelected,r=e.attributes,a=r.text,u=r.moreLabel,i=r.moreText,s=r.lessLabel;return wp.element.createElement(c.g,null,wp.element.createElement("div",{className:n},o&&wp.element.createElement("label",{className:"ugb-editor-label"},"Less text"),wp.element.createElement(c.o,l({multiline:"p",placeholder:e.attributes.text.default,value:a,onChange:function(e){return t({text:e})},className:"ugb-expand-less-text"},"placeholder",Object(c.t)("Some short text that can be expanded to show more details."))),wp.element.createElement(c.o,l({tagName:"a",placeholder:e.attributes.moreLabel.default,value:u,onChange:function(e){return t({moreLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-more"},"placeholder",Object(c.t)("Show more"))),o&&wp.element.createElement("label",{className:"ugb-editor-label"},"More text"),o&&wp.element.createElement(c.o,l({multiline:"p",placeholder:e.attributes.moreText.default,value:i,onChange:function(e){return t({moreText:e})},className:"ugb-expand-more-text"},"placeholder",Object(c.t)("Some short text that can be expanded to show more details. Some additional text that can only be seen when expanded."))),o&&wp.element.createElement(c.o,l({tagName:"a",placeholder:e.attributes.lessLabel.default,value:s,onChange:function(e){return t({lessLabel:e})},formattingControls:["bold","italic","strikethrough"],className:"ugb-expand-less"},"placeholder",Object(c.t)("Show less")))))},i=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"},!c.o.isEmpty(n)&&wp.element.createElement(c.o.Content,{multiline:"p",value:n})),wp.element.createElement("div",{className:"ugb-expand-more-text",style:{display:"none"}},!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{multiline:"p",value:o})),wp.element.createElement("a",{className:"ugb-expand-button",href:"#"},wp.element.createElement(c.o.Content,{className:"ugb-expand-more",tagName:"span",value:l}),wp.element.createElement(c.o.Content,{className:"ugb-expand-less",tagName:"span",value:r,style:{display:"none"}})))};Object(c.B)("ugb/expand",{title:Object(c.t)("Expand / Show More"),icon:a.d,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Expand"),Object(c.t)("Show more/less"),Object(c.t)("Stackable")],attributes:{text:{source:"html",selector:".ugb-expand-less-text",multiline:"p",default:""},moreText:{source:"html",selector:".ugb-expand-more-text",multiline:"p",default:""},moreLabel:{source:"html",selector:".ugb-expand-more",default:Object(c.t)("Show more")},lessLabel:{source:"html",selector:".ugb-expand-less",default:Object(c.t)("Show less")}},edit:u,save:i})},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(1)),a=n(0),c=function(e){var t=(e.className,e.setAttributes),n=(e.isSelected,e.editable,e.setState,e.attributes),l=n.numberBox,o=n.numberBoxTwo,r=n.numberBoxThree,c=n.body,u=n.bodyTwo,i=n.bodyThree,s=n.name,m=n.nameTwo,b=n.nameThree,p=n.columns,g=n.numberBoxColor,d=n.nameColor,f=n.bodyTextColor,h=n.numberBGColor,w=[{value:"1",label:Object(a.t)("One Column")},{value:"2",label:Object(a.t)("Two Column")},{value:"3",label:Object(a.t)("Three Column")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("Column Number"),value:p,options:w.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({columns:e})}})),wp.element.createElement(a.l,{title:Object(a.t)("Color Settings"),colorSettings:[{value:g,onChange:function(e){return t({numberBoxColor:e})},label:Object(a.t)("Number Color")},{value:h,onChange:function(e){return t({numberBGColor:e})},label:Object(a.t)("Number Background Color")},{value:d,onChange:function(e){return t({nameColor:e})},label:Object(a.t)("Name Color")},{value:f,onChange:function(e){return t({bodyTextColor:e})},label:Object(a.t)("Body Text Color")}]})),wp.element.createElement("div",{className:"ugb-number-box column-"+p},wp.element.createElement("div",null,wp.element.createElement(a.o,{tagName:"span",placeholder:l?l.default:"",value:l,onChange:function(e){return t({numberBox:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"h4",value:s,className:"ugb-number-box-name",onChange:function(e){return t({name:e})},placeholder:Object(a.t)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:c,className:"ugb-number-box-body",onChange:function(e){return t({body:e})},placeholder:Object(a.t)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(a.o,{tagName:"span",placeholder:o?o.default:"",value:o,onChange:function(e){return t({numberBoxTwo:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"h4",value:m,className:"ugb-number-box-name-two",onChange:function(e){return t({nameTwo:e})},placeholder:Object(a.t)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:u,className:"ugb-number-box-body-two",onChange:function(e){return t({bodyTwo:e})},placeholder:Object(a.t)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0})),wp.element.createElement("div",null,wp.element.createElement(a.o,{tagName:"span",placeholder:r?r.default:"",value:r,onChange:function(e){return t({numberBoxThree:e})},style:{color:g,backgroundColor:h},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"h4",value:b,className:"ugb-number-box-name-three",onChange:function(e){return t({nameThree:e})},placeholder:Object(a.t)("Add name\u2026"),style:{color:d},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.o,{tagName:"p",value:i,className:"ugb-number-box-body-three",onChange:function(e){return t({bodyThree:e})},placeholder:Object(a.t)("Add body\u2026"),style:{color:f},keepPlaceholderOnFocus:!0}))))},u=function(e){var t=e.attributes,n=t.numberBox,l=t.numberBoxTwo,o=t.numberBoxThree,r=t.body,c=t.bodyTwo,u=t.bodyThree,i=t.name,s=t.nameTwo,m=t.nameThree,b=t.numberBoxColor,p=t.nameColor,g=t.bodyTextColor,d=t.numberBGColor,f=t.columns;return wp.element.createElement("div",{className:"ugb-number-box column-"+f},wp.element.createElement("div",{className:"ugb-number-box-column-one"},!a.o.isEmpty(n)&&wp.element.createElement(a.o.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:n}),!a.o.isEmpty(i)&&wp.element.createElement(a.o.Content,{tagName:"h4",className:"ugb-number-box-name",style:{color:p},value:i}),!a.o.isEmpty(r)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-number-box-body",style:{color:g},value:r})),f>1&&wp.element.createElement("div",{className:"ugb-number-box-column-two"},!a.o.isEmpty(l)&&wp.element.createElement(a.o.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:l}),!a.o.isEmpty(s)&&wp.element.createElement(a.o.Content,{tagName:"h4",className:"ugb-number-box-name-two",style:{color:p},value:s}),!a.o.isEmpty(c)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-number-box-body-two",style:{color:g},value:c})),f>2&&wp.element.createElement("div",{className:"ugb-number-box-column-three"},!a.o.isEmpty(o)&&wp.element.createElement(a.o.Content,{tagName:"span",style:{color:b,backgroundColor:d},value:o}),!a.o.isEmpty(m)&&wp.element.createElement(a.o.Content,{tagName:"h4",className:"ugb-number-box-name-three",style:{color:p},value:m}),!a.o.isEmpty(u)&&wp.element.createElement(a.o.Content,{tagName:"p",className:"ugb-number-box-body-three",style:{color:g},value:u})))};Object(a.B)("ugb/number-box",{title:Object(a.t)("Number Box"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Number Box"),Object(a.t)("Stackable")],attributes:{numberBox:{source:"html",selector:".ugb-number-box-column-one span",default:Object(a.t)("01")},numberBoxTwo:{source:"html",selector:".ugb-number-box-column-two span",default:Object(a.t)("02")},numberBoxThree:{source:"html",selector:".ugb-number-box-column-three span",default:Object(a.t)("03")},name:{source:"html",selector:".ugb-number-box-name",default:Object(a.t)("Registration")},nameTwo:{source:"html",selector:".ugb-number-box-name-two",default:Object(a.t)("Waiting Period")},nameThree:{source:"html",selector:".ugb-number-box-name-three",default:Object(a.t)("Delivery")},body:{source:"html",selector:".ugb-number-box-body",default:Object(a.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyTwo:{source:"html",selector:".ugb-number-box-body-two",default:Object(a.t)("This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.")},bodyThree:{source:"html",selector:".ugb-number-box-body-three",default:Object(a.t)("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(57),o=(n.n(l),n(58)),r=(n.n(o),n(1)),a=n(2),c=n(3),u=n(59),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,o=l.url,r=l.url2,c=l.url3,u=l.pricingBoxTitle,s=l.pricingBoxTitle2,m=l.pricingBoxTitle3,b=l.price,p=l.price2,g=l.price3,d=l.perMonthLabel,f=l.perMonthLabel2,h=l.perMonthLabel3,w=l.buttonText,v=l.buttonText2,y=l.buttonText3,C=l.featureList,E=l.featureList2,x=l.featureList3,O=l.pricingBoxColor,N=l.priceColor,k=l.perMonthLabelColor,j=l.buttonColor,T=l.buttonTextColor,B=l.featureListColor,S=l.columns,z=l.size,L=l.cornerButtonRadius,R=[{value:"1",label:Object(i.t)("One Column")},{value:"2",label:Object(i.t)("Two Column")},{value:"3",label:Object(i.t)("Three Column")}],A=[{value:"small",label:Object(i.t)("Small")},{value:"normal",label:Object(i.t)("Normal")},{value:"medium",label:Object(i.t)("Medium")},{value:"large",label:Object(i.t)("Large")}];return wp.element.createElement(i.g,null,wp.element.createElement(i.i,null,wp.element.createElement(i.k,null,wp.element.createElement(i.p,{label:Object(i.t)("Column Number"),value:S,options:R.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({columns:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Corner Radius"),value:L,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}}),wp.element.createElement(i.p,{label:Object(i.t)("Button Size"),value:z,options:A.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}})),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Text Colors"),colorSettings:[{value:O,onChange:function(e){return n({pricingBoxColor:e})},label:Object(i.t)("Pricing Title Color")},{value:N,onChange:function(e){return n({priceColor:e})},label:Object(i.t)("Price Color")},{value:k,onChange:function(e){return n({perMonthLabelColor:e})},label:Object(i.t)("Per Month Label Color")},{value:B,onChange:function(e){return n({featureListColor:e})},label:Object(i.t)("Feature List Color")}]}),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Button Colors"),colorSettings:[{value:j,onChange:function(e){return n({buttonColor:e})},label:Object(i.t)("Button Color")},{value:T,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-pricing-box column-"+S},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},wp.element.createElement(i.o,{tagName:"h3",value:u,onChange:function(e){return n({pricingBoxTitle:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:b,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:d,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:z,color:T,backgroundColor:j,text:w,borderRadius:L,onChange:function(e){return n({buttonText:e})}}),wp.element.createElement(i.o,{tagName:"p",value:C,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:o,onChange:function(e){return n({url:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},wp.element.createElement(i.o,{tagName:"h3",value:s,onChange:function(e){return n({pricingBoxTitle2:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:p,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price2:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:f,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel2:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:z,color:T,backgroundColor:j,text:v,borderRadius:L,onChange:function(e){return n({buttonText2:e})}}),wp.element.createElement(i.o,{tagName:"p",value:E,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList2:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:r,onChange:function(e){return n({url2:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"}))),wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},wp.element.createElement(i.o,{tagName:"h3",value:m,onChange:function(e){return n({pricingBoxTitle3:e})},style:{color:O},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:g,className:"ugb-pricing-box-pricing",onChange:function(e){return n({price3:e})},style:{color:N},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:h,className:"ugb-pricing-box-per-month-label",onChange:function(e){return n({perMonthLabel3:e})},style:{color:k},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:z,color:T,backgroundColor:j,text:y,borderRadius:L,onChange:function(e){return n({buttonText3:e})}}),wp.element.createElement(i.o,{tagName:"p",value:x,className:"ugb-pricing-box-feature-list",onChange:function(e){return n({featureList3:e})},style:{color:B},keepPlaceholderOnFocus:!0}),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:c,onChange:function(e){return n({url3:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))))},m=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,u=t.pricingBoxTitle3,s=t.price,m=t.price2,b=t.price3,p=t.perMonthLabel,g=t.perMonthLabel2,d=t.perMonthLabel3,f=t.buttonText,h=t.buttonText2,w=t.buttonText3,v=t.featureList,y=t.featureList2,C=t.featureList3,E=t.pricingBoxColor,x=t.priceColor,O=t.perMonthLabelColor,N=t.buttonColor,k=t.buttonTextColor,j=t.featureListColor,T=t.columns,B=t.size,S=t.cornerButtonRadius;return wp.element.createElement("div",{className:"ugb-pricing-box column-"+T},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},!i.o.isEmpty(r)&&wp.element.createElement(i.o.Content,{tagName:"h3",style:{color:E},value:r}),!i.o.isEmpty(s)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:s}),!i.o.isEmpty(p)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:p}),f&&!!f.length&&wp.element.createElement(c.a,{size:B,url:n,color:k,text:f,backgroundColor:N,borderRadius:S}),!i.o.isEmpty(v)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:v})),T>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},!i.o.isEmpty(a)&&wp.element.createElement(i.o.Content,{tagName:"h3",style:{color:E},value:a}),!i.o.isEmpty(m)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:m}),!i.o.isEmpty(g)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:g}),h&&!!h.length&&wp.element.createElement(c.a,{size:B,url:l,color:k,text:h,backgroundColor:N,borderRadius:S}),!i.o.isEmpty(y)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:y})),T>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},!i.o.isEmpty(u)&&wp.element.createElement(i.o.Content,{tagName:"h3",style:{color:E},value:u}),!i.o.isEmpty(b)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-pricing",style:{color:x},value:b}),!i.o.isEmpty(d)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-per-month-label",style:{color:O},value:d}),w&&!!w.length&&wp.element.createElement(c.a,{size:B,url:o,color:k,text:w,backgroundColor:N,borderRadius:S}),!i.o.isEmpty(C)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-pricing-box-feature-list",style:{color:j},value:C})))},b={url:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-one .ugb-button a",attribute:"href"},url2:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-two .ugb-button a",attribute:"href"},url3:{type:"string",source:"attribute",selector:".ugb-pricing-box-column-three .ugb-button a",attribute:"href"},pricingBoxTitle:{source:"html",selector:".ugb-pricing-box-column-one h3",default:Object(i.t)("Basic")},pricingBoxTitle2:{source:"html",selector:".ugb-pricing-box-column-two h3",default:Object(i.t)("Basic")},pricingBoxTitle3:{source:"html",selector:".ugb-pricing-box-column-three h3",default:Object(i.t)("Basic")},price:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-pricing",default:Object(i.t)("$9")},price2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-pricing",default:Object(i.t)("$9")},price3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-pricing",default:Object(i.t)("$9")},perMonthLabel:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-per-month-label",default:Object(i.t)("per month")},perMonthLabel2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-per-month-label",default:Object(i.t)("per month")},perMonthLabel3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-per-month-label",default:Object(i.t)("per month")},buttonText:{source:"html",selector:".ugb-pricing-box-column-one .ugb-button a",default:Object(i.t)("Buy Now")},buttonText2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-button a",default:Object(i.t)("Buy Now")},buttonText3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-button a",default:Object(i.t)("Buy Now")},featureList:{source:"html",selector:".ugb-pricing-box-column-one .ugb-pricing-box-feature-list",default:Object(i.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList2:{source:"html",selector:".ugb-pricing-box-column-two .ugb-pricing-box-feature-list",default:Object(i.t)("Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec")},featureList3:{source:"html",selector:".ugb-pricing-box-column-three .ugb-pricing-box-feature-list",default:Object(i.t)("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}};Object(i.B)("ugb/pricing-box",{title:Object(i.t)("Pricing Box"),icon:r.m,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Pricing Box"),Object(i.t)("Stackable")],attributes:b,deprecated:[{save:u.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e){var t=e.attributes,n=t.url,l=t.url2,o=t.url3,r=t.pricingBoxTitle,a=t.pricingBoxTitle2,c=t.pricingBoxTitle3,u=t.price,i=t.price2,s=t.price3,m=t.perMonthLabel,b=t.perMonthLabel2,p=t.perMonthLabel3,g=t.buttonText,d=t.buttonText2,f=t.buttonText3,h=t.featureList,w=t.featureList2,v=t.featureList3,y=t.pricingBoxColor,C=t.priceColor,E=t.perMonthLabelColor,x=t.buttonColor,O=t.buttonTextColor,N=t.featureListColor,k=t.columns,j=t.size,T=t.cornerButtonRadius,B={backgroundColor:x,color:O,borderRadius:T+"px"};return wp.element.createElement("div",{className:"ugb-pricing-box column-"+k},wp.element.createElement("div",{className:"ugb-pricing-box-column-one"},r&&!!r.length&&wp.element.createElement("h3",{style:{color:y}},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),g&&!!g.length&&wp.element.createElement("a",{href:n,className:"wp-ugb-button ugb-button-"+j,style:B},g),h&&!!h.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},h)),k>1&&wp.element.createElement("div",{className:"ugb-pricing-box-column-two"},a&&!!a.length&&wp.element.createElement("h3",{style:{color:y}},a),i&&!!i.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},i),b&&!!b.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},b),d&&!!d.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+j,style:B},d),w&&!!w.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},w)),k>2&&wp.element.createElement("div",{className:"ugb-pricing-box-column-three"},c&&!!c.length&&wp.element.createElement("h3",{style:{color:y}},c),s&&!!s.length&&wp.element.createElement("p",{className:"ugb-pricing-box-pricing",style:{color:C}},s),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-pricing-box-per-month-label",style:{color:E}},p),f&&!!f.length&&wp.element.createElement("a",{href:o,className:"wp-ugb-button ugb-button-"+j,style:B},f),v&&!!v.length&&wp.element.createElement("p",{className:"ugb-pricing-box-feature-list",style:{color:N}},v)))}},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}var o=n(4),r=n.n(o),a=n(61),c=(n.n(a),n(62)),u=(n.n(c),n(1)),i=n(2),s=n(3),m=n(63),b=n(0),p=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,o=(e.editable,e.setState,e.attributes),a=o.url,c=o.buttonURL,u=o.buttonText,s=o.buttonColor,m=o.buttonTextColor,p=o.cornerButtonRadius,g=o.size,d=o.title,f=o.titleColor,h=o.subtitle,w=o.subtitleColor,v=o.contentAlign,y=o.id,C=o.backgroundColor,E=o.opacity,x=a?{backgroundImage:"url("+a+")"}:void 0,O=a?"has-image":"",N=r()(l(E),{"overlay-opacity":0!==E}),k=[{value:"small",label:Object(b.t)("Small")},{value:"normal",label:Object(b.t)("Normal")},{value:"medium",label:Object(b.t)("Medium")},{value:"large",label:Object(b.t)("Large")}];return wp.element.createElement(b.g,null,wp.element.createElement(b.d,null,wp.element.createElement(b.a,{value:v,onChange:function(e){return t({contentAlign:e})}}),wp.element.createElement(b.r,null,wp.element.createElement(b.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:y,render:function(e){var t=e.open;return wp.element.createElement(b.h,{className:"components-toolbar__control",label:Object(b.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(b.i,null,wp.element.createElement(b.k,{title:Object(b.t)("General")},wp.element.createElement(b.n,{label:Object(b.t)("Background Opacity"),value:E,min:0,max:10,step:1,onChange:function(e){return t({opacity:e})}}),wp.element.createElement(b.p,{label:Object(b.t)("Button Size"),value:g,options:k.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({size:e})}}),wp.element.createElement(b.n,{label:Object(b.t)("Corner Radius"),value:p,min:"1",max:"50",onChange:function(e){return t({cornerButtonRadius:e})}})),wp.element.createElement(b.l,{initialOpen:!1,title:Object(b.t)("Header Colors"),colorSettings:[{value:f,onChange:function(e){return t({titleColor:e})},label:Object(b.t)("Title Color")},{value:w,onChange:function(e){return t({subtitleColor:e})},label:Object(b.t)("Subtitle Color")},{value:C,onChange:function(e){return t({backgroundColor:e})},label:Object(b.t)("Heading Background Color")}]}),wp.element.createElement(b.l,{initialOpen:!1,title:Object(b.t)("Button Colors"),colorSettings:[{value:s,onChange:function(e){return t({buttonColor:e})},label:Object(b.t)("Button Color")},{value:m,onChange:function(e){return t({buttonTextColor:e})},label:Object(b.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-header "+O+" "},wp.element.createElement("div",{className:"ugb-header-overlay "+N,style:{backgroundColor:C}}),wp.element.createElement(b.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:y,render:function(e){return[!a&&wp.element.createElement(b.e,{className:y?"":"button button-large",onClick:e.open},Object(b.t)("Upload Image"))]}}),wp.element.createElement("section",{"data-url":a,style:x,className:"ugb-header-section"},wp.element.createElement(b.o,{tagName:"h2",className:"ugb-header-title",placeholder:d.default,value:d,onChange:function(e){return t({title:e})},style:{textAlign:v,color:f}}),wp.element.createElement(b.o,{tagName:"p",className:"ugb-header-subtitle",placeholder:h.default,value:h,onChange:function(e){return t({subtitle:e})},style:{textAlign:v,color:w}}),wp.element.createElement(i.a,{size:g,align:v,color:m,backgroundColor:s,text:u,borderRadius:p,onChange:function(e){return t({buttonText:e})}}))),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(b.f,{icon:"admin-links"}),wp.element.createElement(b.s,{value:c,onChange:function(e){return t({buttonURL:e})}}),wp.element.createElement(b.h,{icon:"editor-break",label:Object(b.t)("Apply"),type:"submit"})))},g=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,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y={backgroundImage:n?"url("+n+")":void 0,textAlign:h||void 0},C=n?"has-image":"",E=r()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!b.o.isEmpty(p)&&wp.element.createElement(b.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!b.o.isEmpty(d)&&wp.element.createElement(b.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),a&&!!a.length&&wp.element.createElement(s.a,{size:m,url:o,align:h,color:u,text:a,backgroundColor:c,borderRadius:i})))},d={title:{source:"html",selector:"h2",default:Object(b.t)("Heading Title")},subtitle:{source:"html",selector:"p",default:Object(b.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(b.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}};Object(b.B)("ugb/header",{title:Object(b.t)("Header"),icon:u.h,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(b.t)("Header"),Object(b.t)("Stackable")],supports:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({align:!0},"align",["center","wide","full"]),attributes:d,deprecated:[{attributes:m.f,save:m.c},{attributes:m.e,save:m.b},{attributes:m.d,save:m.a}],edit:p,save:g})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function l(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}function o(e){return 0===e?null:"overlay-opacity-"+1*Math.round(e/1)}n.d(t,"c",function(){return i}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return m}),n.d(t,"e",function(){return b}),n.d(t,"a",function(){return p}),n.d(t,"d",function(){return g});var r=n(4),a=n.n(r),c=n(0),u=n(5),i=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!c.o.isEmpty(d)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(u.b,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},s={title:{type:"array",source:"children",selector:"h2",default:Object(c.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(c.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},m=function(e){var t=e.attributes,n=t.url,o=t.buttonURL,r=t.buttonText,i=t.buttonColor,s=t.buttonTextColor,m=t.cornerButtonRadius,b=t.size,p=t.title,g=t.titleColor,d=t.subtitle,f=t.subtitleColor,h=t.contentAlign,w=(t.id,t.backgroundColor),v=t.opacity,y=n?{backgroundImage:"url("+n+")"}:void 0,C=n?"has-image":"",E=a()(l(v),{"overlay-opacity":0!==v}),x=p.length||d.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+C+" "+x},wp.element.createElement("div",{className:"ugb-header-overlay "+E,style:{backgroundColor:w}}),wp.element.createElement("section",{key:"preview","data-url":n,style:y,className:"ugb-header-section"},!c.o.isEmpty(p)&&wp.element.createElement(c.o.Content,{tagName:"h2",className:"ugb-header-title",style:{color:g},value:p}),!c.o.isEmpty(d)&&wp.element.createElement(c.o.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:f},value:d}),r&&!!r.length&&wp.element.createElement(u.a,{size:b,url:o,align:h,color:s,text:r,backgroundColor:i,borderRadius:m})))},b={title:{type:"array",source:"children",selector:"h2",default:Object(c.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.t)("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor.")},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(c.t)("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}},p=function(e){var t=e.attributes,n=t.url,l=t.buttonURL,r=t.buttonText,c=t.buttonColor,u=t.buttonTextColor,i=t.cornerButtonRadius,s=t.size,m=t.title,b=t.titleColor,p=t.subtitle,g=t.subtitleColor,d=(t.contentAlign,t.id,t.backgroundColor),f=t.opacity,h={backgroundColor:c,color:u,borderRadius:i+"px"},w=n?{backgroundImage:"url("+n+")"}:void 0,v=n?"has-image":"",y=a()(o(f),{"overlay-opacity":0!==f}),C=m||p||r?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header "+v+" "+C},wp.element.createElement("div",{className:"ugb-header-overlay "+y,style:{backgroundColor:d}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},m&&!!m.length&&wp.element.createElement("h2",{className:"ugb-header-title",style:{color:b}},m),p&&!!p.length&&wp.element.createElement("p",{className:"ugb-header-subtitle",style:{color:g}},p),r&&!!r.length&&wp.element.createElement("a",{href:l,className:"wp-ugb-button ugb-button-"+s,style:h},r)))},g={title:{type:"array",source:"children",selector:"h2",default:Object(c.t)("Heading Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(c.t)("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(c.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}}},function(e,t,n){"use strict";var l=n(65),o=(n.n(l),n(66)),r=(n.n(o),n(1)),a=n(67),c=n(0),u=function(e){var t=(e.className,e.setAttributes),n=e.isSelected,l=(e.editable,e.setState,e.attributes),o=l.url,r=l.href,a=l.title,u=l.titleColor,i=l.subtitle,s=l.subtitleColor,m=l.overlayColor,b=l.id,p=l.height,g=l.width,d=l.verticalAlign,f=l.horizontalAlign,h=l.full,w=o?"has-image":"",v=h?"full-width":"",y=[{value:"flex-start",label:Object(c.t)("Top")},{value:"center",label:Object(c.t)("Center")},{value:"flex-end",label:Object(c.t)("Bottom")}],C=[{value:"flex-start",label:Object(c.t)("Left")},{value:"center",label:Object(c.t)("Center")},{value:"flex-end",label:Object(c.t)("Right")}];return wp.element.createElement(c.g,null,wp.element.createElement(c.d,null,o&&wp.element.createElement(c.r,null,wp.element.createElement(c.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:b,render:function(e){var t=e.open;return wp.element.createElement(c.h,{className:"components-toolbar__control",label:Object(c.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.q,{label:"Full-Width",checked:!!h,onChange:function(){return t({full:!h})}}),wp.element.createElement(c.n,{label:Object(c.t)("Height"),value:p,min:"135",max:"700",onChange:function(e){return t({height:e})}}),wp.element.createElement(c.n,{label:Object(c.t)("Width"),value:g,min:"400",max:"999",onChange:function(e){return t({width:e})}}),wp.element.createElement(c.p,{label:Object(c.t)("Vertical Alignment"),value:d,options:y.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({verticalAlign:e})}}),wp.element.createElement(c.p,{label:Object(c.t)("Horizontal Alignment"),value:f,options:C.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){t({horizontalAlign:e})}})),wp.element.createElement(c.l,{title:Object(c.t)("Color Settings"),colorSettings:[{value:m,onChange:function(e){return t({overlayColor:e})},label:Object(c.t)("Overlay Color")},{value:u,onChange:function(e){return t({titleColor:e})},label:Object(c.t)("Title Color")},{value:s,onChange:function(e){return t({subtitleColor:e})},label:Object(c.t)("Subtitle Color")}]})),wp.element.createElement("div",{className:"ugb-image-box "+w+" "+v,"data-url":o,style:{width:g+"px",height:p+"px",backgroundImage:"url("+o+")",alignItems:f,justifyContent:d}},wp.element.createElement(c.j,{onSelect:function(e){return t({url:e.url,id:e.id})},allowedTypes:["image"],value:b,render:function(e){return[!o&&wp.element.createElement(c.e,{className:b?"":"button button-large",onClick:e.open},Object(c.t)("Upload Image"))]}}),wp.element.createElement("a",{href:r,style:{backgroundColor:m}}),wp.element.createElement(c.o,{tagName:"h4",placeholder:a.default,value:a,onChange:function(e){return t({title:e})},style:{color:u}}),wp.element.createElement(c.o,{tagName:"p",placeholder:i.default,value:i,onChange:function(e){return t({subtitle:e})},style:{color:s}})),n&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link",style:{marginTop:10}},wp.element.createElement(c.f,{icon:"admin-links"}),wp.element.createElement(c.s,{value:r,onChange:function(e){t({href:e})}}),wp.element.createElement(c.h,{icon:"editor-break",label:Object(c.t)("Apply"),type:"submit"})))},i=function(e){var t=e.attributes,n=t.url,l=t.href,o=t.title,r=t.titleColor,a=t.subtitle,u=t.subtitleColor,i=t.overlayColor,s=(t.id,t.height),m=t.width,b=t.verticalAlign,p=t.horizontalAlign,g=t.full,d=n?"has-image":"",f=g?"full-width":"",h=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+d+" "+h+" "+f,"data-url":n,style:{width:m+"px",height:s+"px",backgroundImage:"url("+n+")",alignItems:p,justifyContent:b}},wp.element.createElement("a",{href:l,style:{backgroundColor:i}}),!c.o.isEmpty(o)&&wp.element.createElement(c.o.Content,{tagName:"h4",style:{color:r},value:o}),!c.o.isEmpty(a)&&wp.element.createElement(c.o.Content,{tagName:"p",style:{color:u},value:a}))},s={title:{source:"html",selector:"h4",default:Object(c.t)("Title")},subtitle:{source:"html",selector:"p",default:Object(c.t)("Subtitle goes here")},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}};Object(c.B)("ugb/image-box",{title:Object(c.t)("Image Box"),icon:r.l,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Image Box"),Object(c.t)("Stackable")],attributes:s,deprecated:[{attributes:a.b,save:a.a}],edit:u,save:i})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r});var l=n(0),o={title:{type:"array",source:"children",selector:"h4",default:Object(l.t)("Title")},subtitle:{type:"array",source:"children",selector:"p",default:Object(l.t)("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}},r=function(e){var t=e.attributes,n=t.url,o=t.title,r=t.titleColor,a=t.subtitle,c=t.subtitleColor,u=t.overlayColor,i=(t.id,t.height),s=t.width,m=t.verticalAlign,b=t.horizontalAlign,p=t.full,g=n?"has-image":"",d=p?"full-width":"",f=o.length||a.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box "+g+" "+f+" "+d,"data-url":n,style:{width:s+"px",height:i+"px",backgroundImage:"url("+n+")",alignItems:b,justifyContent:m}},wp.element.createElement("a",{href:"#",style:{backgroundColor:u}}),!l.o.isEmpty(o)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:r},value:o}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",style:{color:c},value:a}))}},function(e,t,n){"use strict";var l=n(69),o=(n.n(l),n(70)),r=(n.n(o),n(1)),a=n(0),c=function(e){var t=(e.isSelected,e.editable,e.setState,e.setAttributes),n=(e.className,e.attributes),l=n.color,o=n.headingColor,r=n.desColor,c=n.title,u=n.counter,i=n.des,s=n.fontSize;return wp.element.createElement(a.g,null,wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.o,{tagName:"h4",value:c,onChange:function(e){return t({title:e})},style:{color:o}}),wp.element.createElement(a.o,{tagName:"div",className:"ugb-counter",placeholder:u.default,"data-duration":"1000","data-delay":"16",value:u,onChange:function(e){return t({counter:e})},style:{color:l,fontSize:s+"px"}}),wp.element.createElement(a.o,{tagName:"p",className:"ugb-counter-des",value:i,onChange:function(e){return t({des:e})},style:{color:r}})),wp.element.createElement(a.i,null,wp.element.createElement(a.l,{title:Object(a.t)("Color Settings"),colorSettings:[{value:o,onChange:function(e){return t({headingColor:e})},label:Object(a.t)("Heading Color")},{value:l,onChange:function(e){return t({color:e})},label:Object(a.t)("Number Color")},{value:r,onChange:function(e){return t({desColor:e})},label:Object(a.t)("Description Color")}]}),wp.element.createElement(a.k,null,wp.element.createElement(a.n,{label:Object(a.t)("Counter Text Font Size"),max:"100",min:"10",value:s,onChange:function(e){return t({fontSize:e})}}))))},u=function(e){var t=e.attributes,n=t.color,l=t.headingColor,o=t.desColor,r=t.title,c=t.counter,u=t.des,i=t.fontSize;return wp.element.createElement("div",{className:"ugb-countup"},wp.element.createElement(a.o.Content,{tagName:"h4",style:{color:l},value:r}),wp.element.createElement(a.o.Content,{tagName:"div",className:"ugb-counter",style:{color:n,fontSize:i+"px"},value:c,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(a.o.Content,{tagName:"p",style:{color:o},value:u}))};Object(a.B)("ugb/count-up",{title:Object(a.t)("Count Up"),icon:r.k,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Count Up"),Object(a.t)("Stackable")],attributes:{title:{source:"html",selector:"h4",default:Object(a.t)("Happy Customers")},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:Object(a.t)("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(72),o=(n.n(l),n(73)),r=(n.n(o),n(1)),a=n(0),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.t)("Normal Play Button")},{value:"circle",label:Object(a.t)("Play Button with Circle")},{value:"outline",label:Object(a.t)("Outline Play Button")}];return wp.element.createElement(a.g,null,wp.element.createElement(a.d,null,r&&wp.element.createElement(a.r,null,wp.element.createElement(a.j,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:s,render:function(e){var t=e.open;return wp.element.createElement(a.h,{className:"components-toolbar__control",label:Object(a.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(a.i,null,wp.element.createElement(a.k,null,wp.element.createElement(a.p,{label:Object(a.t)("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.l,{initialOpen:!1,title:Object(a.t)("Color Settings"),colorSettings:[{value:u,onChange:function(e){return t({overlayColor:e})},label:Object(a.t)("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.j,{onSelect:function(e){return t({mediaLink:e.url,mediaID:e.id})},allowedTypes:["image"],value:s,render:function(e){return[!r&&wp.element.createElement(a.e,{className:s?"":"button button-large",onClick:e.open},Object(a.t)("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",{onSubmit:function(e){return e.preventDefault()},className:"ugb-video-popup-link blocks-button__inline-link"},wp.element.createElement(a.f,{icon:"admin-links"}),wp.element.createElement(a.s,{value:o,onChange:function(e){return t({videoLink:e})}}),wp.element.createElement(a.h,{icon:"editor-break",label:Object(a.t)("Apply"),type:"submit"}),wp.element.createElement("p",{className:"ugb-video-popup-link-desc"},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.B)("ugb/video-popup",{title:Object(a.t)("Video Popup"),icon:r.r,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(a.t)("Video Popup"),Object(a.t)("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(75),o=(n.n(l),n(76)),r=(n.n(o),n(1)),a=n(2),c=n(3),u=n(77),i=n(0),s=function(e){var t=e.isSelected,n=(e.editable,e.setState,e.className,e.setAttributes),l=e.attributes,o=l.heading,r=l.tagline,c=l.des,u=l.mediaID,s=l.mediaURL,m=l.headingColor,b=l.taglineColor,p=l.desColor,g=l.buttonURL,d=l.buttonText,f=l.buttonColor,h=l.buttonTextColor,w=l.size,v=l.cornerButtonRadius,y=l.contentAlign,C=s?"has-image":"",E=[{value:"small",label:Object(i.t)("Small")},{value:"normal",label:Object(i.t)("Normal")},{value:"medium",label:Object(i.t)("Medium")},{value:"large",label:Object(i.t)("Large")}];return wp.element.createElement(i.g,null,wp.element.createElement(i.d,null,wp.element.createElement(i.a,{value:y,onChange:function(e){return n({contentAlign:e})}}),wp.element.createElement(i.r,null,wp.element.createElement(i.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:u,render:function(e){var t=e.open;return wp.element.createElement(i.h,{className:"components-toolbar__control",label:Object(i.t)("Edit image"),icon:"edit",onClick:t})}}))),wp.element.createElement(i.i,null,wp.element.createElement(i.l,{title:Object(i.t)("Text Colors"),colorSettings:[{value:m,onChange:function(e){return n({headingColor:e})},label:Object(i.t)("Heading Color")},{value:b,onChange:function(e){return n({taglineColor:e})},label:Object(i.t)("Tagline Color")},{value:p,onChange:function(e){return n({desColor:e})},label:Object(i.t)("Description Color")}]}),wp.element.createElement(i.k,{initialOpen:!1,title:Object(i.t)("Button Size")},wp.element.createElement(i.p,{label:Object(i.t)("Button Size"),value:w,options:E.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({size:e})}}),wp.element.createElement(i.n,{label:Object(i.t)("Corner Radius"),value:v,min:"1",max:"50",onChange:function(e){return n({cornerButtonRadius:e})}})),wp.element.createElement(i.l,{initialOpen:!1,title:Object(i.t)("Button Colors"),colorSettings:[{value:f,onChange:function(e){return n({buttonColor:e})},label:Object(i.t)("Button Color")},{value:h,onChange:function(e){return n({buttonTextColor:e})},label:Object(i.t)("Button Text Color")}]})),wp.element.createElement("div",{className:"ugb-card "+C},wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+s+")",textAlign:y}},wp.element.createElement(i.j,{onSelect:function(e){return n({mediaURL:e.url,mediaID:e.id})},allowedTypes:["image"],value:u,render:function(e){return[!s&&wp.element.createElement(i.e,{className:u?"":"button button-large",onClick:e.open},Object(i.t)("Upload Image"))]}})),wp.element.createElement(i.o,{tagName:"h4",value:o,className:"ugb-card-heading",onChange:function(e){return n({heading:e})},style:{color:m,textAlign:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:r,className:"ugb-tagline",onChange:function(e){return n({tagline:e})},style:{color:b,textAlign:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.o,{tagName:"p",value:c,className:"ugb-card-des",onChange:function(e){return n({des:e})},style:{color:p,textAlign:y},keepPlaceholderOnFocus:!0}),wp.element.createElement(a.a,{size:w,align:y,color:h,backgroundColor:f,text:d,borderRadius:v,onChange:function(e){return n({buttonText:e})}})),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+y,style:{marginTop:10}},wp.element.createElement(i.f,{icon:"admin-links"}),wp.element.createElement(i.s,{value:g,onChange:function(e){return n({buttonURL:e})}}),wp.element.createElement(i.h,{icon:"editor-break",label:Object(i.t)("Apply"),type:"submit"})))},m=function(e){var t=e.attributes,n=t.heading,l=t.tagline,o=t.des,r=t.mediaURL,a=(t.mediaID,t.headingColor),u=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=r?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:h},"data-src":r}),!i.o.isEmpty(n)&&wp.element.createElement(i.o.Content,{tagName:"h4",style:{color:a,textAlign:h},value:n}),!i.o.isEmpty(l)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:u,textAlign:h},value:l}),!i.o.isEmpty(o)&&wp.element.createElement(i.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:o}),b&&!!b.length&&wp.element.createElement(c.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},b={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:Object(i.t)("Ben Adams")},tagline:{source:"html",selector:".ugb-tagline",default:Object(i.t)("Ben is the head of our small team")},des:{source:"html",selector:".ugb-card-des",default:Object(i.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(i.t)("Button")},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}};Object(i.B)("ugb/card",{title:Object(i.t)("Card"),icon:r.p,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(i.t)("Card"),Object(i.t)("Stackable")],attributes:b,deprecated:[{attributes:u.d,save:u.b},{attributes:u.c,save:u.a}],edit:s,save:m})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"d",function(){return r}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return c}),n.d(t,"c",function(){return u});var l=n(0),o=n(5),r={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}},a=function(e){var t=e.attributes,n=t.heading,r=t.tagline,a=t.des,c=t.mediaURL,u=(t.mediaID,t.headingColor),i=t.taglineColor,s=t.desColor,m=t.buttonURL,b=t.buttonText,p=t.buttonColor,g=t.buttonTextColor,d=t.size,f=t.cornerButtonRadius,h=t.contentAlign,w=c?"has-image":"";return wp.element.createElement("div",{className:"ugb-card "+w},c&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+c+")",textAlign:h},"data-src":c}),!l.o.isEmpty(n)&&wp.element.createElement(l.o.Content,{tagName:"h4",style:{color:u,textAlign:h},value:n}),!l.o.isEmpty(r)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-tagline",style:{color:i,textAlign:h},value:r}),!l.o.isEmpty(a)&&wp.element.createElement(l.o.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:h},value:a}),b&&!!b.length&&wp.element.createElement(o.a,{size:d,url:m,align:h,color:g,text:b,backgroundColor:p,borderRadius:f}))},c=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,b=t.buttonTextColor,p=t.size,g=t.cornerButtonRadius,d=t.contentAlign,f={backgroundColor:m,color:b,borderRadius:g+"px"},h=r?"has-image":"",w=n||l||o||s?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-card "+h+" "+w},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url("+r+")",textAlign:d},"data-src":r}),n&&!!n.length&&wp.element.createElement("h4",{style:{color:a,textAlign:d}},n),l&&!!l.length&&wp.element.createElement("p",{className:"ugb-tagline",style:{color:c,textAlign:d}},l),o&&!!o.length&&wp.element.createElement("p",{className:"ugb-card-des",style:{color:u,textAlign:d}},o),s&&!!s.length&&wp.element.createElement("a",{href:i,className:"wp-ugb-button wp-block-button ugb-button-"+p+" ugb-button-"+d,style:f},s))},u={mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{type:"array",source:"children",selector:".ugb-card h4",default:Object(l.t)("Ben Adams")},tagline:{type:"array",source:"children",selector:".ugb-tagline",default:Object(l.t)("Ben is the head of our small team")},des:{type:"array",source:"children",selector:".ugb-card-des",default:Object(l.t)("Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".wp-ugb-button",attribute:"href"},buttonText:{type:"array",source:"children",selector:".wp-block-button",default:Object(l.t)("Button")},buttonColor:{type:"string",default:"#2091e1"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"left"}}},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(79),r=(n.n(o),n(80)),a=(n.n(r),n(1)),c=n(7),u=n(0),i=function(e){var t=e.isSelected,n=(e.setState,e.className,e.setAttributes),o=e.attributes,r=o.columns,a=o.imageSize;return wp.element.createElement(u.g,null,wp.element.createElement(u.i,null,wp.element.createElement(u.k,null,wp.element.createElement(u.n,{label:Object(u.t)("Columns"),value:r,onChange:function(e){return n({columns:e})},min:1,max:3}),wp.element.createElement(u.n,{label:Object(u.t)("Image Size %"),value:a,onChange:function(e){return n({imageSize:e})},min:0,max:100}))),wp.element.createElement("div",{className:"ugb-feature-grid columns-"+r},[1,2,3].map(function(e){var r=o["imageUrl"+e],c=o["imageID"+e],i=o["title"+e],s=o["description"+e],b=o["linkUrl"+e],p=o["linkText"+e];return wp.element.createElement("div",{key:e},wp.element.createElement("div",{className:"ugb-feature-grid-item"},wp.element.createElement("div",null,wp.element.createElement(u.j,{onSelect:function(t){var o;return n((o={},l(o,"imageUrl"+e,t.url),l(o,"imageID"+e,t.id),o))},allowedTypes:["image"],value:c,render:function(e){return c?wp.element.createElement("img",{src:r,onClick:e.open,style:{width:a+"%"}}):wp.element.createElement(u.e,{className:"button button-large",onClick:e.open},Object(u.t)("Upload Image"))}})),wp.element.createElement(u.o,{tagName:"h5",value:i,onChange:function(t){return n(l({},"title"+e,t))},placeholder:m["title"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement(u.o,{tagName:"p",value:s,onChange:function(t){return n(l({},"description"+e,t))},placeholder:m["description"+e].default,keepPlaceholderOnFocus:!0}),wp.element.createElement("p",null,wp.element.createElement("a",{href:"#"},wp.element.createElement(u.o,{tagName:"span",value:p,onChange:function(t){return n(l({},"linkText"+e,t))},placeholder:m["linkText"+e].default,formattingControls:["bold","italic","strikethrough"],keepPlaceholderOnFocus:!0})))),t&&wp.element.createElement("form",{onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link pricing-box"},wp.element.createElement(u.f,{icon:"admin-links"}),wp.element.createElement(u.s,{value:b,onChange:function(t){return n(l({},"linkUrl"+e,t))}}),wp.element.createElement(u.h,{icon:"editor-break",label:Object(u.t)("Apply"),type:"submit"})))})))},s=function(e){var t=e.attributes,n=t.columns,l=t.imageSize;return wp.element.createElement("div",{className:"ugb-feature-grid columns-"+n},Object(c.a)(1,n+1).map(function(e){var n=t["imageUrl"+e],o=t["title"+e],r=t["description"+e],a=t["linkUrl"+e],c=t["linkText"+e];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:l+"%"}}),!u.o.isEmpty(o)&&wp.element.createElement(u.o.Content,{tagName:"h5",className:"ugb-fg-title",value:o}),!u.o.isEmpty(r)&&wp.element.createElement(u.o.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!u.o.isEmpty(c)&&wp.element.createElement("p",null,wp.element.createElement(u.o.Content,{tagName:"a",href:a,value:c,className:"ugb-fg-link"})))}))},m={columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:Object(u.t)("Feature 1")},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:Object(u.t)("Feature 2")},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:Object(u.t)("Feature 3")},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(u.t)("Some feature description for an awesome feature")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(u.t)("Some feature description for an awesome feature")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(u.t)("Some feature description for an awesome feature")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:Object(u.t)("View More")},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:Object(u.t)("View More")},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:Object(u.t)("View More")}};Object(u.B)("ugb/feature-grid",{title:Object(u.t)("Feature Grid"),icon:a.e,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(u.t)("Feature Grid"),Object(u.t)("Stackable")],attributes:m,edit:i,save:s})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(82),o=(n.n(l),n(83)),r=(n.n(o),n(1)),a=n(7),c=n(0),u=n(84),i={check:{iconFunc:u.e,circleFunc:u.d,outlineFunc:u.f,title:Object(c.t)("Check"),value:"check"},plus:{iconFunc:u.k,circleFunc:u.j,outlineFunc:u.l,title:Object(c.t)("Plus"),value:"plus"},arrow:{iconFunc:u.b,circleFunc:u.a,outlineFunc:u.c,title:Object(c.t)("Arrow"),value:"arrow"},cross:{iconFunc:u.h,circleFunc:u.g,outlineFunc:u.i,title:Object(c.t)("Cross"),value:"cross"},star:{iconFunc:u.n,circleFunc:u.m,outlineFunc:u.o,title:Object(c.t)("Star"),value:"star"}},s=function(e){return"circle"===e||"outline"===e?e+"Func":"iconFunc"},m=function(e,t,n){var l=s(t),o=Object(a.b)(i[e][l](n),!1);return btoa(o)},b=function(e){function t(e){return function(){return l({icon:e})}}function n(e){return function(){return l({iconShape:e})}}var l=(e.isSelected,e.setState,e.className,e.setAttributes),o=(e.insertBlocksAfter,e.attributes),r=o.icon,a=o.iconShape,u=o.iconColor,b=o.iconSize,p=o.text,g=o.columns,d=o.gap,f=m(r,a,u),h={"--icon":"url('data:image/svg+xml;base64,"+f+"')","--icon-size":b?b+"px":void 0,"--gap":d?d+"px":void 0};return wp.element.createElement(c.g,null,wp.element.createElement(c.i,null,wp.element.createElement(c.k,null,wp.element.createElement(c.b,{label:Object(c.t)("Icon")},wp.element.createElement(c.r,{icon:i[r].iconFunc(),controls:Object.keys(i).map(function(e){return Object.assign({},i[e],{icon:i[e].iconFunc(),isActive:r===e,onClick:t(e)})})})),wp.element.createElement(c.b,{label:Object(c.t)("Icon Shape")},wp.element.createElement(c.r,{icon:i[r][s(a)](),controls:["","circle","outline"].map(function(e){var t=s(e);return Object.assign({},i[r],{icon:i[r][t](),isActive:a===e,onClick:n(e)})})})),wp.element.createElement(c.l,{title:Object(c.t)("Icon Color"),className:"ugb-icon-list-color-picker",initialOpen:!0,opened:!0,colorSettings:[{value:u,onChange:function(e){return l({iconColor:e})},label:Object(c.t)("Icon Color")}]}),wp.element.createElement(c.n,{label:Object(c.t)("Icon Size"),value:b,onChange:function(e){return l({iconSize:e})},min:8,max:30}),wp.element.createElement(c.n,{label:Object(c.t)("Columns"),value:g,onChange:function(e){return l({columns:e})},min:1,max:3}),wp.element.createElement(c.n,{label:Object(c.t)("List Gap"),value:d,onChange:function(e){return l({gap:e})},min:0,max:30}))),wp.element.createElement("div",{className:"ugb-icon-list ugb-icon-"+r+" column-"+g,style:h},wp.element.createElement(c.o,{tagName:"ul",multiline:"li",value:p,onChange:function(e){return l({text:e})}})))},p=function(e){var t=e.attributes,n=t.icon,l=t.iconShape,o=t.iconColor,r=t.iconSize,a=t.text,u=t.columns,i=t.gap,s=m(n,l,o),b={"--icon":"url('data:image/svg+xml;base64,"+s+"')","--icon-size":r?r+"px":void 0,"--gap":i?i+"px":void 0};return wp.element.createElement(c.o.Content,{tagName:"ul",className:"ugb-icon-list ugb-icon-"+n+" column-"+u,style:b,value:a})},g={icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}};Object(c.B)("ugb/icon-list",{title:Object(c.t)("Icon List"),icon:r.i,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(c.t)("Icon List"),Object(c.t)("Stackable")],attributes:g,edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"e",function(){return o}),n.d(t,"k",function(){return r}),n.d(t,"h",function(){return a}),n.d(t,"n",function(){return c}),n.d(t,"a",function(){return u}),n.d(t,"d",function(){return i}),n.d(t,"j",function(){return s}),n.d(t,"m",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"c",function(){return p}),n.d(t,"f",function(){return g}),n.d(t,"l",function(){return d}),n.d(t,"o",function(){return f}),n.d(t,"i",function(){return h});var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "}))},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"}))},r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "}))},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "}))},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "}))},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97 L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"}))},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9 l68.8-68.8l0,0L156,65.3L76.6,144.7z"}))},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15 h46.6V42.9h15v46.6H151V104.5z"}))},m=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9 L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"}))},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5 l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"}))},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 \t"}),wp.element.createElement("path",{d:"M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5 C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8 c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1 C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7 c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1 C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29 c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"}))},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5 138.6,89.5 104.5,89.5 \t"}),wp.element.createElement("path",{d:"M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4 S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3 c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"}))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}),wp.element.createElement("polygon",{points:"96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5 \t "}))},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5 134.7,123.9 107.8,97 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))}},function(e,t,n){"use strict";function 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(86),r=(n.n(o),n(87)),a=(n.n(r),n(4)),c=n.n(a),u=n(1),i=n(2),s=n(3),m=n(0),b=function(e){var t,n=e.isSelected,o=(e.setState,e.className),r=e.setAttributes,a=e.attributes,u=a.invert,s=a.contentAlign,b=a.backgroundColor,p=a.textColor,d=a.imageSize,f=a.imageID,h=a.imageUrl,w=a.title,v=a.description,y=a.buttonURL,C=a.buttonText,E=a.buttonColor,x=a.buttonTextColor,O=a.buttonSize,N=a.buttonBorderRadius,k=c()([o,"ugb-feature"],(t={"ugb-has-background":b},l(t,"ugb-content-"+s,s),l(t,"ugb-invert",u),t)),j={backgroundColor:b||void 0,"--image-size":d?d+"px":void 0};return wp.element.createElement(m.g,null,wp.element.createElement(m.d,null,wp.element.createElement(m.a,{value:s,onChange:function(e){return r({contentAlign:e})}})),wp.element.createElement(m.i,null,wp.element.createElement(m.k,null,wp.element.createElement(m.q,{label:Object(m.t)("Reverse Horizontally"),checked:u,onChange:function(){return r({invert:!u})}}),wp.element.createElement(m.n,{label:Object(m.t)("Image Size"),value:d,onChange:function(e){return r({imageSize:e})},help:Object(m.t)("The theme's content width may have an effect here."),min:100,max:600})),wp.element.createElement(m.l,{initialOpen:!0,title:Object(m.t)("Colors"),colorSettings:[{value:b,onChange:function(e){return r({backgroundColor:e})},label:Object(m.t)("Background Color")},{value:p,onChange:function(e){return r({textColor:e})},label:Object(m.t)("Text Color")}]}),wp.element.createElement(m.l,{initialOpen:!1,title:Object(m.t)("Button Settings"),colorSettings:[{value:E,onChange:function(e){return r({buttonColor:e})},label:Object(m.t)("Button Color")},{value:x,onChange:function(e){return r({buttonTextColor:e})},label:Object(m.t)("Text Color")}]},wp.element.createElement(m.p,{label:Object(m.t)("Size"),value:O,options:[{value:"small",label:Object(m.t)("Small")},{value:"normal",label:Object(m.t)("Normal")},{value:"medium",label:Object(m.t)("Medium")},{value:"large",label:Object(m.t)("Large")}],onChange:function(e){r({buttonSize:e})}}),wp.element.createElement(m.n,{label:Object(m.t)("Border Radius"),value:N,min:"1",max:"50",onChange:function(e){return r({buttonBorderRadius:e})}}))),wp.element.createElement("div",{className:k,style:j},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,wp.element.createElement(m.o,{tagName:"h2",value:w,onChange:function(e){return r({title:e})},placeholder:g.title.default,style:{color:p},keepPlaceholderOnFocus:!0}),wp.element.createElement(m.o,{tagName:"p",value:v,onChange:function(e){return r({description:e})},placeholder:g.description.default,style:{color:p},keepPlaceholderOnFocus:!0}),wp.element.createElement(i.a,{size:O,align:s,color:x,backgroundColor:E,text:C,borderRadius:N,onChange:function(e){return r({buttonText:e})}})),wp.element.createElement("div",{className:"ugb-feature-image-side"},wp.element.createElement(m.j,{onSelect:function(e){return r({imageUrl:e.url,imageID:e.id})},allowedTypes:["image"],value:f,render:function(e){return f?wp.element.createElement("img",{src:h,onClick:e.open}):wp.element.createElement(m.e,{className:"button button-large",onClick:e.open},Object(m.t)("Upload Image"))}})))),n&&wp.element.createElement("form",{key:"form-link",onSubmit:function(e){return e.preventDefault()},className:"blocks-button__inline-link ugb-button-"+s},wp.element.createElement(m.f,{icon:"admin-links"}),wp.element.createElement(m.s,{value:y,onChange:function(e){return r({buttonURL:e})}}),wp.element.createElement(m.h,{icon:"editor-break",label:Object(m.t)("Apply"),type:"submit"})))},p=function(e){var t,n=e.className,o=e.attributes,r=o.invert,a=o.contentAlign,u=o.backgroundColor,i=o.textColor,b=o.imageSize,p=(o.imageID,o.imageUrl),g=o.title,d=o.description,f=o.buttonURL,h=o.buttonText,w=o.buttonColor,v=o.buttonTextColor,y=o.buttonSize,C=o.buttonBorderRadius,E=c()([n,"ugb-feature"],(t={"ugb-has-background":u},l(t,"ugb-content-"+a,a),l(t,"ugb-invert",r),t)),x={backgroundColor:u||void 0,"--image-size":b?b+"px":void 0};return wp.element.createElement("div",{className:E,style:x},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!m.o.isEmpty(g)&&wp.element.createElement(m.o.Content,{tagName:"h2",style:{color:i},value:g}),!m.o.isEmpty(d)&&wp.element.createElement(m.o.Content,{tagName:"p",style:{color:i},value:d}),!m.o.isEmpty(h)&&wp.element.createElement(s.a,{size:y,url:f,align:a,color:v,text:h,backgroundColor:w,borderRadius:C})),wp.element.createElement("div",{className:"ugb-feature-image-side"},p&&wp.element.createElement("img",{src:p,alt:g}))))},g={backgroundColor:{type:"string"},textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:Object(m.t)("Feature Title")},description:{source:"html",selector:"p",default:Object(m.t)("Some feature description for an awesome feature")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:Object(m.t)("Learn More")},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}};Object(m.B)("ugb/feature",{title:Object(m.t)("Feature"),icon:u.f,category:"stackable-ultimate-gutenberg-blocks",keywords:[Object(m.t)("Feature"),Object(m.t)("Stackable")],supports:l({align:!0},"align",["center","full"]),attributes:g,edit:b,save:p})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var l=n(0);Object(l.u)("stackable.get_pro","core",function(){})}]);
dist/blocks.editor.build.css CHANGED
@@ -6,7 +6,7 @@
6
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
7
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
8
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
9
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
10
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
11
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
12
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
@@ -17,3 +17,6 @@
17
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
18
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}form.ugb-video-popup-link{-ms-flex-wrap:wrap;flex-wrap:wrap;margin:5px auto}form.ugb-video-popup-link>svg,form.ugb-video-popup-link>button{-ms-flex-negative:0;flex-shrink:0}form.ugb-video-popup-link .editor-url-input{-ms-flex:1;flex:1}form.ugb-video-popup-link>p{width:100%;-ms-flex-positive:1;flex-grow:1;font-size:.8em;margin:0 0 0 30px}.ugb-video-popup-link .ugb-video-popup-link-desc{text-align:center;margin:0}
19
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.edit-post-visual-editor .ugb-card{margin:0 !important}.edit-post-visual-editor .ugb-card .ugb-card-image-container{padding:0}.edit-post-visual-editor .ugb-card.has-image button{width:100%;height:300px;padding:0}
 
 
 
6
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
7
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
8
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
9
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] div.ugb-cta{border-radius:0 !important}
10
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
11
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
12
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
17
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
18
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}form.ugb-video-popup-link{-ms-flex-wrap:wrap;flex-wrap:wrap;margin:5px auto}form.ugb-video-popup-link>svg,form.ugb-video-popup-link>button{-ms-flex-negative:0;flex-shrink:0}form.ugb-video-popup-link .editor-url-input{-ms-flex:1;flex:1}form.ugb-video-popup-link>p{width:100%;-ms-flex-positive:1;flex-grow:1;font-size:.8em;margin:0 0 0 30px}.ugb-video-popup-link .ugb-video-popup-link-desc{text-align:center;margin:0}
19
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.edit-post-visual-editor .ugb-card{margin:0 !important}.edit-post-visual-editor .ugb-card .ugb-card-image-container{padding:0}.edit-post-visual-editor .ugb-card.has-image button{width:100%;height:300px;padding:0}
20
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}.ugb-feature-grid.columns-1>*:nth-child(2),.ugb-feature-grid.columns-1>*:nth-child(3){display:none}.ugb-feature-grid.columns-2>*:nth-child(3){display:none}
21
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list-color-picker{border-top:none !important}.ugb-icon-list-color-picker .components-panel__body-title{display:none !important}.ugb-icon-list-color-picker .component-color-indicator{vertical-align:bottom !important}.ugb-icon-list ul{list-style:none !important}
22
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}[data-align="full"] .ugb-feature.ugb-has-background{border-radius:0 !important}[data-align="full"] .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{opacity:0.5}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) [data-is-placeholder-visible="true"]+.editor-rich-text__tinymce{display:none}[data-type="ugb/feature"]:not(.is-selected):not(.is-typing) .ugb-button[data-is-placeholder-visible="true"]{display:none}
dist/blocks.style.build.css CHANGED
@@ -1,11 +1,11 @@
1
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
2
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-divider{border:0;height:1px;width:100%;background-color:transparent;margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-divider>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-divider>*:first-child{margin-top:0 !important}.wp-block-ugb-divider>*:last-child{margin-bottom:0 !important}.wp-block-ugb-divider hr{background-color:#dddddd;border:0 !important;padding:0 !important}
3
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}form.blocks-button__inline-link{margin:1rem auto 0 auto}form.blocks-button__inline-link>div.editor-url-input{-ms-flex-positive:0;flex-grow:0;width:auto;margin-left:8px}.ugb-button{margin-top:1.5em;margin-bottom:1.5em}.ugb-button>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-button>*:first-child{margin-top:0 !important}.ugb-button>*:last-child{margin-bottom:0 !important}.ugb-button{border:none;border-radius:4px;-webkit-box-shadow:none !important;box-shadow:none !important;cursor:pointer;opacity:1;background:var(--s-primary-color, #2091e1);-webkit-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none !important;padding-bottom:calc(.375em - 1px);padding-left:.75em;padding-right:.75em;padding-top:calc(.375em - 1px);font-size:1em;line-height:1.5 !important;-ms-flex-align:center;align-items:center;font-size:1em}.ugb-button .ugb-button-inner{text-decoration:none !important;white-space:nowrap;display:inline-block;color:#fff;-webkit-box-shadow:none !important;box-shadow:none !important;margin:0 !important;padding:0 !important}.ugb-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button .ugb-button-inner:hover{color:white}.ugb-button-small.ugb-button .ugb-button-inner{font-size:.75em}.ugb-button-medium.ugb-button .ugb-button-inner{font-size:1.25em}.ugb-button-large.ugb-button .ugb-button-inner{font-size:1.5em}.ugb-button-left{margin-right:auto;display:table}.ugb-button-center{margin-left:auto;margin-right:auto;display:table}.ugb-button-right{margin-left:auto;display:table}.ugb-button-full{display:block;text-align:center}
4
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-button.ugb-ghost-button{background-color:transparent;border:2px solid var(--s-primary-color, #2091e1);padding-left:1.25em;padding-right:1.25em}.ugb-button.ugb-ghost-button .ugb-button-inner{color:var(--s-primary-color, #2091e1)}.ugb-button.ugb-ghost-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button.ugb-ghost-button:hover .ugb-button-inner{color:var(--s-primary-color, #2091e1)}
5
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-notification{position:relative}.wp-ugb-notif{border-radius:4px;color:#ffffff;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;padding:35px}.wp-ugb-notif>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-ugb-notif>*:first-child{margin-top:0 !important}.wp-ugb-notif>*:last-child{margin-bottom:0 !important}.notif-success{background-color:#40ba7b}.notif-error{background-color:#d9534f}.notif-warning{background-color:#ffdd57;color:#424242}.notif-info{background-color:#2091e1}.ugb-notification,.wp-block-ugb-notification{position:relative}.ugb-notification .close-button,.wp-block-ugb-notification .close-button{position:absolute;right:0;z-index:2;margin-right:1.5rem;margin-top:1.3rem;font-size:8px;padding-top:.3rem;cursor:pointer}.ugb-notification .close-button svg,.wp-block-ugb-notification .close-button svg{width:13px;height:auto}.ugb-notification.dismissible-true .wp-ugb-notif{padding-right:60px}.ugb-notification.type-success svg,.ugb-notification.type-error svg,.ugb-notification.type-info svg{fill:#ffffff}.ugb-notification.type-warning svg{fill:#424242}.ugb-notification.dismissible-true[data-uid]{display:none}
6
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-blockquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;padding:35px;margin-left:35px;margin-right:35px;font-style:italic;text-align:inherit;background:transparent;position:relative;overflow:visible;--quote-color: rgba(129, 141, 165, 0.32)}.ugb-blockquote>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blockquote>*:first-child{margin-top:0 !important}.ugb-blockquote>*:last-child{margin-bottom:0 !important}.ugb-blockquote p{margin:0}.ugb-blockquote:after,.ugb-blockquote:before,.ugb-blockquote p:after,.ugb-blockquote p:before{display:none}.ugb-blockquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:100px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
7
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}blockquote.ugb-pullquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;text-align:center;padding:60px;position:relative;overflow:hidden;--quote-color: rgba(129, 141, 165, .08)}blockquote.ugb-pullquote>*{margin-top:0 !important;margin-bottom:1rem !important}blockquote.ugb-pullquote>*:first-child{margin-top:0 !important}blockquote.ugb-pullquote>*:last-child{margin-bottom:0 !important}blockquote.ugb-pullquote:after,blockquote.ugb-pullquote:before,blockquote.ugb-pullquote p:after,blockquote.ugb-pullquote p:before{display:none}blockquote.ugb-pullquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:200px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
8
- .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}div.ugb-cta{text-align:center;background-color:#f4f4f4;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}div.ugb-cta>*{margin-top:0 !important;margin-bottom:1rem !important}div.ugb-cta>*:first-child{margin-top:0 !important}div.ugb-cta>*:last-child{margin-bottom:0 !important}.wp-block-ugb-button .wp-ugb-button:hover{color:white}[data-align="full"] div.ugb-cta{border-radius:0 !important}
9
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-testimonial{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-testimonial>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>*:first-child{margin-top:0 !important}.ugb-testimonial>*:last-child{margin-bottom:0 !important}.ugb-testimonial .testimonial-image{height:75px;width:75px;background-size:cover;background-position:center;border-radius:100%;margin:0 auto 1.3rem}.ugb-testimonial .quote-icon{height:75px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ugb-testimonial .quote-icon svg{height:50px;width:auto;fill:#e6e6e6}.ugb-testimonial>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-testimonial>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>div>*:first-child{margin-top:0 !important}.ugb-testimonial>div>*:last-child{margin-bottom:0 !important}.ugb-testimonial>div p{text-align:center}.ugb-testimonial>div,.ugb-testimonial>div:first-child,.ugb-testimonial>div:last-child{margin:17.5px !important}.ugb-testimonial h4{margin:0 0 .5rem !important;padding-top:0}.ugb-testimonial .ugb-testimonial-position,.ugb-testimonial .ugb-testimonial-position-two,.ugb-testimonial .ugb-testimonial-position-three{opacity:.3;font-size:.75em;margin:0 0 1rem;text-transform:uppercase}.ugb-testimonial .ugb-testimonial-body,.ugb-testimonial .ugb-testimonial-body-two,.ugb-testimonial .ugb-testimonial-body-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-testimonial.column-1 .ugb-testimonial-column-two,.ugb-testimonial.column-1 .ugb-testimonial-column-three{display:none}.ugb-testimonial.column-2 .ugb-testimonial-column-three{display:none}
10
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-team-member{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-team-member>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>*:first-child{margin-top:0 !important}.ugb-team-member>*:last-child{margin-bottom:0 !important}.ugb-team-member .team-member-image{width:300px;height:300px;background-size:cover;background-position:center;margin:0 auto 1.3rem}.ugb-team-member.image-circle .team-member-image{border-radius:100%}.ugb-team-member.column-2 .team-member-image{width:220px;height:220px}.ugb-team-member.column-3 .team-member-image{width:150px;height:150px}.ugb-team-member>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-team-member>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>div>*:first-child{margin-top:0 !important}.ugb-team-member>div>*:last-child{margin-bottom:0 !important}.ugb-team-member>div p{text-align:center}.ugb-team-member>div,.ugb-team-member>div:first-child,.ugb-team-member>div:last-child{margin:17.5px !important}.ugb-team-member h4{margin:0 0 .5rem !important;padding-top:0}.ugb-team-member .ugb-team-member-position{margin:0 0 1rem}.ugb-team-member .ugb-team-member-position{opacity:.3;font-size:.75em;text-transform:uppercase}.ugb-team-member .ugb-team-member-des,.ugb-team-member .ugb-team-member-des-two,.ugb-team-member .ugb-team-member-des-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-team-member.column-1 .ugb-team-member-column-two,.ugb-team-member.column-1 .ugb-team-member-column-three{display:none}.ugb-team-member.column-2 .ugb-team-member-column-three{display:none}.team-member-social a{color:#000000;opacity:.30;padding:0 3px}
11
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-expand{margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-expand>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-expand>*:first-child{margin-top:0 !important}.wp-block-ugb-expand>*:last-child{margin-bottom:0 !important}.wp-block-ugb-expand p:last-child{margin-bottom:0}.wp-block-ugb-expand.ugb-more .ugb-expand-less-text,.wp-block-ugb-expand.ugb-more .ugb-expand-more{display:none}.wp-block-ugb-expand.ugb-more .ugb-expand-more-text,.wp-block-ugb-expand.ugb-more .ugb-expand-less{display:block !important}
@@ -16,3 +16,6 @@
16
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-countup{text-align:center;margin-bottom:1em;margin-top:1.5em;margin-bottom:1.5em}.ugb-countup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup>*:first-child{margin-top:0 !important}.ugb-countup>*:last-child{margin-bottom:0 !important}.ugb-countup h4,.ugb-countup div,.ugb-countup p{margin:0 !important;line-height:1em}.ugb-countup h4{margin-bottom:1em !important}.ugb-countup p{margin-top:1em !important}.ugb-countup .ugb-countup-hide{visibility:hidden}
17
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.video-popup-image{height:220px;width:220px;background-position:center;background-size:cover;margin-bottom:10px}.ugb-video-popup{position:relative;width:100%;max-width:600px;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto;padding:0;overflow:hidden}.ugb-video-popup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-video-popup>*:first-child{margin-top:0 !important}.ugb-video-popup>*:last-child{margin-bottom:0 !important}.ugb-video-popup .ugb-video-preview,.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay,.ugb-video-popup .ugb-play-button{position:absolute;top:0;left:0;right:0;bottom:0}.ugb-video-popup .ugb-video-preview{margin:0 !important;background-size:cover;background-position:center;opacity:.4;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:1}.ugb-video-popup:hover .ugb-video-preview{opacity:.5}.ugb-video-popup .ugb-video-wrapper{position:relative;width:100%;padding-bottom:56.25%;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay{z-index:3;-webkit-box-shadow:none !important;box-shadow:none !important;background:transparent !important;display:block !important}.ugb-video-popup .ugb-play-button{z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.ugb-video-popup svg{fill:#fff !important}.ugb-video-popup button.components-button.button{position:absolute;z-index:4;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:30%}.ugb-video-popup button.components-button.button:active{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.ugb-video-popup-link .editor-url-input input[type=text]{width:auto !important}
18
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-card{border-radius:4px;margin:30px 0;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-card>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-card>*:first-child{margin-top:0 !important}.ugb-card>*:last-child{margin-bottom:0 !important}.ugb-card.has-image .ugb-card-image-container{height:300px;background-size:cover;background-position:center;border-top-right-radius:12px;border-top-left-radius:12px;padding-top:0px;margin:-60px -35px 35px !important;width:calc(100% + 35px * 2)}.ugb-card.has-image .ugb-card-image-container+*:not(.wp-ugb-button){margin-top:0 !important;padding-top:0 !important}
 
 
 
1
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}
2
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-divider{border:0;height:1px;width:100%;background-color:transparent;margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-divider>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-divider>*:first-child{margin-top:0 !important}.wp-block-ugb-divider>*:last-child{margin-bottom:0 !important}.wp-block-ugb-divider hr{background-color:#dddddd;border:0 !important;padding:0 !important}
3
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}form.blocks-button__inline-link{margin:1rem auto 0 auto}form.blocks-button__inline-link>div.editor-url-input{-ms-flex-positive:0;flex-grow:0;width:auto;margin-left:8px}.ugb-button{margin-top:1.5em;margin-bottom:1.5em}.ugb-button>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-button>*:first-child{margin-top:0 !important}.ugb-button>*:last-child{margin-bottom:0 !important}.ugb-button{border:none;border-radius:4px;-webkit-box-shadow:none !important;box-shadow:none !important;cursor:pointer;opacity:1;background:var(--s-primary-color, #2091e1);-webkit-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;box-shadow:none !important;padding-bottom:calc(.375em - 1px);padding-left:.75em;padding-right:.75em;padding-top:calc(.375em - 1px);font-size:1em;line-height:1.5 !important;-ms-flex-align:center;align-items:center;font-size:1em}.ugb-button .ugb-button-inner{text-decoration:none !important;white-space:nowrap;display:inline-block;color:#fff;-webkit-box-shadow:none !important;box-shadow:none !important;margin:0 !important;padding:0 !important}.ugb-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button .ugb-button-inner:hover{color:white}.ugb-button-small.ugb-button .ugb-button-inner{font-size:.75em}.ugb-button-medium.ugb-button{padding-left:1.25em;padding-right:1.25em}.ugb-button-medium.ugb-button .ugb-button-inner{font-size:1.25em}.ugb-button-large.ugb-button{padding-left:1.5em;padding-right:1.5em}.ugb-button-large.ugb-button .ugb-button-inner{font-size:1.5em}.ugb-button-left{margin-right:auto;display:table}.ugb-button-center{margin-left:auto;margin-right:auto;display:table}.ugb-button-right{margin-left:auto;display:table}.ugb-button-full{display:block;text-align:center}
4
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-button.ugb-ghost-button{background-color:transparent;border:2px solid var(--s-primary-color, #2091e1);padding-left:1.25em;padding-right:1.25em}.ugb-button.ugb-ghost-button .ugb-button-inner{color:var(--s-primary-color, #2091e1)}.ugb-button.ugb-ghost-button:hover{opacity:.85;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-button.ugb-ghost-button:hover .ugb-button-inner{color:var(--s-primary-color, #2091e1)}
5
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-notification{position:relative}.wp-ugb-notif{border-radius:4px;color:#ffffff;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;padding:35px}.wp-ugb-notif>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-ugb-notif>*:first-child{margin-top:0 !important}.wp-ugb-notif>*:last-child{margin-bottom:0 !important}.notif-success{background-color:#40ba7b}.notif-error{background-color:#d9534f}.notif-warning{background-color:#ffdd57;color:#424242}.notif-info{background-color:#2091e1}.ugb-notification,.wp-block-ugb-notification{position:relative}.ugb-notification .close-button,.wp-block-ugb-notification .close-button{position:absolute;right:0;z-index:2;margin-right:1.5rem;margin-top:1.3rem;font-size:8px;padding-top:.3rem;cursor:pointer}.ugb-notification .close-button svg,.wp-block-ugb-notification .close-button svg{width:13px;height:auto}.ugb-notification.dismissible-true .wp-ugb-notif{padding-right:60px}.ugb-notification.type-success svg,.ugb-notification.type-error svg,.ugb-notification.type-info svg{fill:#ffffff}.ugb-notification.type-warning svg{fill:#424242}.ugb-notification.dismissible-true[data-uid]{display:none}
6
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-blockquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;padding:35px;margin-left:35px;margin-right:35px;font-style:italic;text-align:inherit;background:transparent;position:relative;overflow:visible;--quote-color: rgba(129, 141, 165, 0.32)}.ugb-blockquote>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-blockquote>*:first-child{margin-top:0 !important}.ugb-blockquote>*:last-child{margin-bottom:0 !important}.ugb-blockquote p{margin:0}.ugb-blockquote:after,.ugb-blockquote:before,.ugb-blockquote p:after,.ugb-blockquote p:before{display:none}.ugb-blockquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:100px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
7
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}blockquote.ugb-pullquote{border:0 !important;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;text-align:center;padding:60px;position:relative;overflow:hidden;--quote-color: rgba(129, 141, 165, .08)}blockquote.ugb-pullquote>*{margin-top:0 !important;margin-bottom:1rem !important}blockquote.ugb-pullquote>*:first-child{margin-top:0 !important}blockquote.ugb-pullquote>*:last-child{margin-bottom:0 !important}blockquote.ugb-pullquote:after,blockquote.ugb-pullquote:before,blockquote.ugb-pullquote p:after,blockquote.ugb-pullquote p:before{display:none}blockquote.ugb-pullquote:before{content:"❛❛";display:block;position:absolute;font-family:Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;font-style:normal;font-size:200px;line-height:1em;left:-35px;top:-15px;opacity:1;color:var(--quote-color)}
8
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}div.ugb-cta{text-align:center;background-color:#f4f4f4;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}div.ugb-cta>*{margin-top:0 !important;margin-bottom:1rem !important}div.ugb-cta>*:first-child{margin-top:0 !important}div.ugb-cta>*:last-child{margin-bottom:0 !important}.wp-block-ugb-button .wp-ugb-button:hover{color:white}
9
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-testimonial{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-testimonial>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>*:first-child{margin-top:0 !important}.ugb-testimonial>*:last-child{margin-bottom:0 !important}.ugb-testimonial .testimonial-image{height:75px;width:75px;background-size:cover;background-position:center;border-radius:100%;margin:0 auto 1.3rem}.ugb-testimonial .quote-icon{height:75px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ugb-testimonial .quote-icon svg{height:50px;width:auto;fill:#e6e6e6}.ugb-testimonial>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-testimonial>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-testimonial>div>*:first-child{margin-top:0 !important}.ugb-testimonial>div>*:last-child{margin-bottom:0 !important}.ugb-testimonial>div p{text-align:center}.ugb-testimonial>div,.ugb-testimonial>div:first-child,.ugb-testimonial>div:last-child{margin:17.5px !important}.ugb-testimonial h4{margin:0 0 .5rem !important;padding-top:0}.ugb-testimonial .ugb-testimonial-position,.ugb-testimonial .ugb-testimonial-position-two,.ugb-testimonial .ugb-testimonial-position-three{opacity:.3;font-size:.75em;margin:0 0 1rem;text-transform:uppercase}.ugb-testimonial .ugb-testimonial-body,.ugb-testimonial .ugb-testimonial-body-two,.ugb-testimonial .ugb-testimonial-body-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-testimonial.column-1 .ugb-testimonial-column-two,.ugb-testimonial.column-1 .ugb-testimonial-column-three{display:none}.ugb-testimonial.column-2 .ugb-testimonial-column-three{display:none}
10
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-team-member{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-team-member>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>*:first-child{margin-top:0 !important}.ugb-team-member>*:last-child{margin-bottom:0 !important}.ugb-team-member .team-member-image{width:300px;height:300px;background-size:cover;background-position:center;margin:0 auto 1.3rem}.ugb-team-member.image-circle .team-member-image{border-radius:100%}.ugb-team-member.column-2 .team-member-image{width:220px;height:220px}.ugb-team-member.column-3 .team-member-image{width:150px;height:150px}.ugb-team-member>div{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-ms-flex:1;flex:1;min-width:250px}.ugb-team-member>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-team-member>div>*:first-child{margin-top:0 !important}.ugb-team-member>div>*:last-child{margin-bottom:0 !important}.ugb-team-member>div p{text-align:center}.ugb-team-member>div,.ugb-team-member>div:first-child,.ugb-team-member>div:last-child{margin:17.5px !important}.ugb-team-member h4{margin:0 0 .5rem !important;padding-top:0}.ugb-team-member .ugb-team-member-position{margin:0 0 1rem}.ugb-team-member .ugb-team-member-position{opacity:.3;font-size:.75em;text-transform:uppercase}.ugb-team-member .ugb-team-member-des,.ugb-team-member .ugb-team-member-des-two,.ugb-team-member .ugb-team-member-des-three{opacity:.5;margin:0 0 1rem;left:0}.ugb-team-member.column-1 .ugb-team-member-column-two,.ugb-team-member.column-1 .ugb-team-member-column-three{display:none}.ugb-team-member.column-2 .ugb-team-member-column-three{display:none}.team-member-social a{color:#000000;opacity:.30;padding:0 3px}
11
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.wp-block-ugb-expand{margin-top:1.5em;margin-bottom:1.5em}.wp-block-ugb-expand>*{margin-top:0 !important;margin-bottom:1rem !important}.wp-block-ugb-expand>*:first-child{margin-top:0 !important}.wp-block-ugb-expand>*:last-child{margin-bottom:0 !important}.wp-block-ugb-expand p:last-child{margin-bottom:0}.wp-block-ugb-expand.ugb-more .ugb-expand-less-text,.wp-block-ugb-expand.ugb-more .ugb-expand-more{display:none}.wp-block-ugb-expand.ugb-more .ugb-expand-more-text,.wp-block-ugb-expand.ugb-more .ugb-expand-less{display:block !important}
16
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-countup{text-align:center;margin-bottom:1em;margin-top:1.5em;margin-bottom:1.5em}.ugb-countup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-countup>*:first-child{margin-top:0 !important}.ugb-countup>*:last-child{margin-bottom:0 !important}.ugb-countup h4,.ugb-countup div,.ugb-countup p{margin:0 !important;line-height:1em}.ugb-countup h4{margin-bottom:1em !important}.ugb-countup p{margin-top:1em !important}.ugb-countup .ugb-countup-hide{visibility:hidden}
17
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.video-popup-image{height:220px;width:220px;background-position:center;background-size:cover;margin-bottom:10px}.ugb-video-popup{position:relative;width:100%;max-width:600px;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px;margin-left:auto;margin-right:auto;padding:0;overflow:hidden}.ugb-video-popup>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-video-popup>*:first-child{margin-top:0 !important}.ugb-video-popup>*:last-child{margin-bottom:0 !important}.ugb-video-popup .ugb-video-preview,.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay,.ugb-video-popup .ugb-play-button{position:absolute;top:0;left:0;right:0;bottom:0}.ugb-video-popup .ugb-video-preview{margin:0 !important;background-size:cover;background-position:center;opacity:.4;-webkit-transition:all .3s ease-in-out;-o-transition:all .3s ease-in-out;transition:all .3s ease-in-out;z-index:1}.ugb-video-popup:hover .ugb-video-preview{opacity:.5}.ugb-video-popup .ugb-video-wrapper{position:relative;width:100%;padding-bottom:56.25%;border:0 !important;-webkit-box-shadow:none !important;box-shadow:none !important}.ugb-video-popup a,.ugb-video-popup .ugb-video-overlay{z-index:3;-webkit-box-shadow:none !important;box-shadow:none !important;background:transparent !important;display:block !important}.ugb-video-popup .ugb-play-button{z-index:2;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column}.ugb-video-popup svg{fill:#fff !important}.ugb-video-popup button.components-button.button{position:absolute;z-index:4;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);top:30%}.ugb-video-popup button.components-button.button:active{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.ugb-video-popup-link .editor-url-input input[type=text]{width:auto !important}
18
  .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-card{border-radius:4px;margin:30px 0;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-card>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-card>*:first-child{margin-top:0 !important}.ugb-card>*:last-child{margin-bottom:0 !important}.ugb-card.has-image .ugb-card-image-container{height:300px;background-size:cover;background-position:center;border-top-right-radius:12px;border-top-left-radius:12px;padding-top:0px;margin:-60px -35px 35px !important;width:calc(100% + 35px * 2)}.ugb-card.has-image .ugb-card-image-container+*:not(.wp-ugb-button){margin-top:0 !important;padding-top:0 !important}
19
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature-grid{margin-top:1.5em;margin-bottom:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature-grid>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid>*:first-child{margin-top:0 !important}.ugb-feature-grid>*:last-child{margin-bottom:0 !important}.ugb-feature-grid>div{-ms-flex:1;flex:1;min-width:250px}.ugb-feature-grid>div,.ugb-feature-grid>div:first-child,.ugb-feature-grid>div:last-child{margin:17.5px !important}.ugb-feature-grid .ugb-feature-grid-item{text-align:center;margin-top:1.5em;margin-bottom:1.5em;-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-feature-grid .ugb-feature-grid-item>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature-grid .ugb-feature-grid-item>*:first-child{margin-top:0 !important}.ugb-feature-grid .ugb-feature-grid-item>*:last-child{margin-bottom:0 !important}
20
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-icon-list{margin:0 0 1.5em 0 !important;padding:0 !important;list-style:none !important}.ugb-icon-list li:before{content:'';display:inline-block;vertical-align:middle;height:var(--icon-size, 20px);width:var(--icon-size, 20px);margin-right:1em;background-image:var(--icon);background-size:cover;background-position:center}.ugb-icon-list li{margin-top:0 !important;margin-bottom:var(--gap, 16) !important;text-indent:calc(var(--icon-size, 20px) * -1 - 1em) !important;padding-left:calc(var(--icon-size, 20px) + 1em) !important}.ugb-icon-list li:last-child{margin-bottom:0}.ugb-icon-list.column-2{-webkit-columns:2;columns:2}.ugb-icon-list.column-3{-webkit-columns:3;columns:3}.ugb-icon-list.column-2 li,.ugb-icon-list.column-3 li{-webkit-column-break-inside:avoid;break-inside:avoid}
21
+ .gutenberg .ugb-editor-label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;background:#fff;border:none;-webkit-box-shadow:none;box-shadow:none;white-space:nowrap;display:block}.gutenberg .ugb-editor-label:first-child{padding-top:0}[class*="ugb-"] form[class*="-link"],form[class*="ugb-"][class*="-link"],[class*="ugb-"]+form[class*="-link"]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}[class*="ugb-"].alignfull{border-radius:0 !important}.ugb-feature{margin-top:1.5em;margin-bottom:1.5em}.ugb-feature>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature>*:first-child{margin-top:0 !important}.ugb-feature>*:last-child{margin-bottom:0 !important}.ugb-feature .ugb-feature-wrapper{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -17.5px}.ugb-feature .ugb-feature-wrapper>div{-ms-flex-pack:center;justify-content:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;margin-top:1.5em;margin-bottom:1.5em;margin:0 17.5px}.ugb-feature .ugb-feature-wrapper>div>*{margin-top:0 !important;margin-bottom:1rem !important}.ugb-feature .ugb-feature-wrapper>div>*:first-child{margin-top:0 !important}.ugb-feature .ugb-feature-wrapper>div>*:last-child{margin-bottom:0 !important}.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.ugb-feature .ugb-feature-image-side{-ms-flex-align:center;align-items:center}.ugb-feature .ugb-feature-image-side img{max-width:var(--image-size, 400px);width:var(--image-size, 400px)}.ugb-feature.ugb-content-left{text-align:left}.ugb-feature.ugb-content-center{text-align:center}.ugb-feature.ugb-content-right{text-align:right}.ugb-feature.alignfull .ugb-feature-wrapper{max-width:var(--content-width, 900px);margin:0 auto}.ugb-feature.ugb-has-background{-webkit-box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);box-shadow:0 5px 5px 0 rgba(18,63,82,0.035),0 0 0 1px rgba(176,181,193,0.2);background-color:#fff;border-radius:12px;padding:60px 35px}.ugb-feature.alignfull.ugb-has-background{border-radius:0;margin-top:0;margin-bottom:0}@media screen and (max-width: 768px){.ugb-feature .ugb-feature-wrapper,.ugb-feature.ugb-invert .ugb-feature-wrapper{-ms-flex-direction:column-reverse;flex-direction:column-reverse}.ugb-feature .ugb-feature-wrapper{text-align:center}.ugb-feature .ugb-feature-wrapper>div:first-child{margin-top:60px}.ugb-feature .ugb-feature-wrapper .ugb-feature-image-side img{width:60vw}.ugb-feature .ugb-button{margin:0 auto}}
plugin.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /**
3
  * Plugin Name: Stackable - Ultimate Gutenberg Blocks
4
- * Plugin URI: http://wordpress.org/plugins/stackable
5
  * Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
6
  * Author: Gambit Technologies, Inc
7
  * Author URI: http://gambit.ph
8
- * Version: 1.2.1
9
  *
10
  * @package Stackable
11
  */
@@ -16,6 +16,7 @@ if ( ! defined( 'ABSPATH' ) ) {
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
 
19
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
20
 
21
  /**
1
  <?php
2
  /**
3
  * Plugin Name: Stackable - Ultimate Gutenberg Blocks
4
+ * Plugin URI: https://wpstackable.com
5
  * Description: Essential Gutenberg blocks in one plugin. Simple, flexible, and customizable.
6
  * Author: Gambit Technologies, Inc
7
  * Author URI: http://gambit.ph
8
+ * Version: 1.3
9
  *
10
  * @package Stackable
11
  */
16
  }
17
 
18
  defined( 'STACKABLE_IS_PRO' ) || define( 'STACKABLE_IS_PRO', false );
19
+ defined( 'STACKABLE_VERSION' ) || define( 'STACKABLE_VERSION', '1.3' );
20
  defined( 'STACKABLE_FILE' ) || define( 'STACKABLE_FILE', __FILE__ );
21
 
22
  /**
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, blocks, gutenberg blocks, page builder, editor, wordpress 5.0,
4
  Requires at least: 4.8
5
  Tested up to: 4.9.8
6
  Requires PHP: 5.3
7
- Stable tag: 1.2.1
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -16,24 +16,29 @@ Stackable is a comprehensive collection of page builder blocks for Gutenberg - t
16
 
17
  Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.
18
 
19
- ## 18 Kick-ass blocks so far and counting..
20
-
21
- - Card
22
- - Pricing box
23
- - Header
24
- - Image Box
25
- - Count up
26
- - Video Popup
27
- - Testimonials
28
- - Team Members
29
- - Call to Action
30
- - Notification
31
- - Blockquote
32
- - Pullquote
33
- - Number box
34
- - Button
35
- - Ghost Button
36
- - Expand / Show more
 
 
 
 
 
37
  - Divider
38
  - Spacer
39
 
@@ -45,7 +50,7 @@ Get our WordPress theme that's beautiful & flexible, Gutenberg-ready and made es
45
 
46
  = Upgrading Notce =
47
 
48
- Note: v1.0 is not backward compatible with lower versions, upgrading will most likely weird out your existing blocks. If that happens, you'll need to redo some of your blocks.
49
 
50
  = Minimum Requirements =
51
 
@@ -71,11 +76,23 @@ Nope. Stackable only works with Gutenberg.
71
 
72
  == Screenshots ==
73
 
74
- 1. Adding a Ghost Button Block
75
- 2. Adding a Call to Action Block
 
 
 
76
 
77
  == Changelog ==
78
 
 
 
 
 
 
 
 
 
 
79
  = 1.2.1 =
80
  * Fixed: Missing images for the welcome screen
81
 
4
  Requires at least: 4.8
5
  Tested up to: 4.9.8
6
  Requires PHP: 5.3
7
+ Stable tag: 1.3
8
  License: GPLv3
9
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
10
 
16
 
17
  Stackable provides more functionality and design options for your site. We've come up with a collection of cool blocks that will make website building a breeze. We made sure our blocks look great, so feel free to mix different blocks together and customize their styles to suit your design needs.
18
 
19
+ [View our website](https://wpstackable.com) which has been made with Gutenberg + Stackable.
20
+
21
+ ## 21 Kick-ass blocks so far and counting..
22
+
23
+ - Feature Grid — [View Block](https://wpstackable.com/feature-grid-block/)
24
+ - Feature — [View Block](https://wpstackable.com/feature-block/)
25
+ - Icon List — [View Block](https://wpstackable.com/icon-list-block/)
26
+ - Call to Action — [View Block](https://wpstackable.com/call-to-action-block/)
27
+ - Card — [View Block](https://wpstackable.com/card-block/)
28
+ - Header — [View Block](https://wpstackable.com/header-block/)
29
+ - Image Box — [View Block](https://wpstackable.com/image-box-block/)
30
+ - Count up — [View Block](https://wpstackable.com/count-up-block/)
31
+ - Video Popup — [View Block](https://wpstackable.com/video-popup-block/)
32
+ - Pricing Box — [View Block](https://wpstackable.com/pricing-table-block/)
33
+ - Testimonials — [View Block](https://wpstackable.com/testimonial-block/)
34
+ - Team Members — [View Block](https://wpstackable.com/team-member-block/)
35
+ - Notification — [View Block](https://wpstackable.com/notification-block/)
36
+ - Number box [View Block](https://wpstackable.com/number-box-block/)
37
+ - Expand / Show more — [View Block](https://wpstackable.com/expand-block/)
38
+ - Button — [View Block](https://wpstackable.com/button-block/)
39
+ - Ghost Button — [View Block](https://wpstackable.com/button-block/)
40
+ - Blockquote — [View Block](https://wpstackable.com/blockquote-block/)
41
+ - Pullquote — [View Block](https://wpstackable.com/pull-quote-block/)
42
  - Divider
43
  - Spacer
44
 
50
 
51
  = Upgrading Notce =
52
 
53
+ Note: v1.x is not backward compatible with lower versions, upgrading will most likely weird out your existing blocks. If that happens, you'll need to redo some of your blocks.
54
 
55
  = Minimum Requirements =
56
 
76
 
77
  == Screenshots ==
78
 
79
+ 1. Feature Grid block
80
+ 2. Call to Action Block
81
+ 3. Icon List block
82
+ 4. Image Box block
83
+ 5. Pricing Box block
84
 
85
  == Changelog ==
86
 
87
+ = 1.3 =
88
+ * New: Feature block
89
+ * New: Feature Grid block
90
+ * New: Icon List block
91
+ * Changed: Tweaked left/right padding for medium & large buttons to make them look better.
92
+ * Fixed: Adjusted deprecated type prop in MediaUpload for Gutenberg 4.2
93
+ * Fixed: Scripts are now cache busted
94
+ * Fixed: Gutenberg 4.0 compatibility for detecting empty text
95
+
96
  = 1.2.1 =
97
  * Fixed: Missing images for the welcome screen
98
 
src/block/blockquote/index.js CHANGED
@@ -17,7 +17,6 @@ import {
17
  PanelColorSettings,
18
  InspectorControls,
19
  RichText,
20
- ColorPalette,
21
  omit,
22
  merge,
23
  Fragment,
@@ -87,8 +86,7 @@ export const save = ( props ) => {
87
 
88
  const schema = {
89
  text: {
90
- type: 'array',
91
- source: 'children',
92
  selector: 'p',
93
  default: __( '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.' )
94
  },
17
  PanelColorSettings,
18
  InspectorControls,
19
  RichText,
 
20
  omit,
21
  merge,
22
  Fragment,
86
 
87
  const schema = {
88
  text: {
89
+ source: 'html',
 
90
  selector: 'p',
91
  default: __( '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.' )
92
  },
src/block/button/button-edit.js CHANGED
@@ -24,7 +24,8 @@ function ButtonEdit( props ) {
24
  return (
25
  <span
26
  className={ `ugb-button ugb-button-${align} ugb-button-${size}` }
27
- style={ style }>
 
28
  <RichText
29
  tagName={ 'span' }
30
  placeholder={ __( 'Enter Text' ) }
24
  return (
25
  <span
26
  className={ `ugb-button ugb-button-${align} ugb-button-${size}` }
27
+ style={ style }
28
+ data-is-placeholder-visible={ RichText.isEmpty( text ) }>
29
  <RichText
30
  tagName={ 'span' }
31
  placeholder={ __( 'Enter Text' ) }
src/block/button/index.js CHANGED
@@ -23,7 +23,6 @@ import {
23
  BlockControls,
24
  AlignmentToolbar,
25
  BlockAlignmentToolbar,
26
- ColorPalette,
27
  PanelColorSettings,
28
  Dashicon,
29
  IconButton,
@@ -155,8 +154,7 @@ export const schema = {
155
  attribute: 'href',
156
  },
157
  text: {
158
- type: 'array',
159
- source: 'children',
160
  selector: 'a',
161
  },
162
  align: {
23
  BlockControls,
24
  AlignmentToolbar,
25
  BlockAlignmentToolbar,
 
26
  PanelColorSettings,
27
  Dashicon,
28
  IconButton,
154
  attribute: 'href',
155
  },
156
  text: {
157
+ source: 'html',
 
158
  selector: 'a',
159
  },
160
  align: {
src/block/button/style.scss CHANGED
@@ -74,12 +74,19 @@ form.blocks-button__inline-link {
74
  // .ugb-button-normal {
75
 
76
  // }
77
- .ugb-button-medium.ugb-button .ugb-button-inner {
78
- // font-size: 1.25em;
79
- font-size: 1.25em;
 
 
 
80
  }
81
- .ugb-button-large.ugb-button .ugb-button-inner {
82
- font-size: 1.5em;
 
 
 
 
83
  }
84
  .ugb-button-left {
85
  // text-align: left;
74
  // .ugb-button-normal {
75
 
76
  // }
77
+ .ugb-button-medium.ugb-button {
78
+ padding-left: 1.25em;
79
+ padding-right: 1.25em;
80
+ .ugb-button-inner {
81
+ font-size: 1.25em;
82
+ }
83
  }
84
+ .ugb-button-large.ugb-button {
85
+ padding-left: 1.5em;
86
+ padding-right: 1.5em;
87
+ .ugb-button-inner {
88
+ font-size: 1.5em;
89
+ }
90
  }
91
  .ugb-button-left {
92
  // text-align: left;
src/block/call-to-action/editor.scss CHANGED
@@ -4,3 +4,8 @@
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
 
 
 
 
 
4
  * CSS for just Backend enqueued after style.scss
5
  * which makes it higher in priority.
6
  */
7
+
8
+ // Remove border radius on full width.
9
+ [data-align="full"] div.ugb-cta {
10
+ border-radius: 0 !important;
11
+ }
src/block/call-to-action/index.js CHANGED
@@ -27,7 +27,6 @@ import {
27
  RangeControl,
28
  InspectorControls,
29
  RichText,
30
- ColorPalette,
31
  PanelBody,
32
  URLInput,
33
  Fragment,
@@ -220,20 +219,17 @@ const schema = {
220
  attribute: 'href',
221
  },
222
  ctaTitle: {
223
- type: 'array',
224
- source: 'children',
225
  selector: 'h3',
226
  default: __( 'Get Started Today' )
227
  },
228
  bodyText: {
229
- type: 'array',
230
- source: 'children',
231
  selector: 'p',
232
  default: __( 'Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality.' )
233
  },
234
  buttonText: {
235
- type: 'array',
236
- source: 'children',
237
  selector: '.ugb-button a',
238
  },
239
  color: {
27
  RangeControl,
28
  InspectorControls,
29
  RichText,
 
30
  PanelBody,
31
  URLInput,
32
  Fragment,
219
  attribute: 'href',
220
  },
221
  ctaTitle: {
222
+ source: 'html',
 
223
  selector: 'h3',
224
  default: __( 'Get Started Today' )
225
  },
226
  bodyText: {
227
+ source: 'html',
 
228
  selector: 'p',
229
  default: __( 'Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality.' )
230
  },
231
  buttonText: {
232
+ source: 'html',
 
233
  selector: '.ugb-button a',
234
  },
235
  color: {
src/block/call-to-action/style.scss CHANGED
@@ -25,7 +25,4 @@ div.ugb-cta {
25
  }
26
  .wp-block-ugb-button .wp-ugb-button:hover {
27
  color: white;
28
- }
29
- [data-align="full"] div.ugb-cta {
30
- border-radius: 0 !important;
31
  }
25
  }
26
  .wp-block-ugb-button .wp-ugb-button:hover {
27
  color: white;
 
 
 
28
  }
src/block/card/index.js CHANGED
@@ -28,7 +28,6 @@ import {
28
  Toolbar,
29
  InspectorControls,
30
  RichText,
31
- ColorPalette,
32
  MediaUpload,
33
  BlockControls,
34
  AlignmentToolbar,
@@ -84,7 +83,7 @@ export const edit = ( props ) => {
84
  <Toolbar>
85
  <MediaUpload
86
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
87
- type="image"
88
  value={ mediaID }
89
  render={ ( { open } ) => (
90
  <IconButton
@@ -162,7 +161,7 @@ export const edit = ( props ) => {
162
  <div className='ugb-card-image-container' style={{ backgroundImage: `url(${mediaURL})`, textAlign: contentAlign }}>
163
  <MediaUpload
164
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
165
- type={'image'}
166
  value={mediaID}
167
  render={ function( obj ) {
168
  return [
@@ -303,20 +302,17 @@ const schema = {
303
  attribute: 'data-src',
304
  },
305
  heading: {
306
- type: 'array',
307
- source: 'children',
308
  selector: '.ugb-card h4',
309
  default: __( 'Ben Adams' )
310
  },
311
  tagline: {
312
- type: 'array',
313
- source: 'children',
314
  selector: '.ugb-tagline',
315
  default: __( 'Ben is the head of our small team' )
316
  },
317
  des: {
318
- type: 'array',
319
- source: 'children',
320
  selector: '.ugb-card-des',
321
  default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
322
  },
@@ -336,8 +332,7 @@ const schema = {
336
  attribute: 'href',
337
  },
338
  buttonText: {
339
- type: 'array',
340
- source: 'children',
341
  selector: '.ugb-button-inner',
342
  default: __( 'Button' )
343
  },
28
  Toolbar,
29
  InspectorControls,
30
  RichText,
 
31
  MediaUpload,
32
  BlockControls,
33
  AlignmentToolbar,
83
  <Toolbar>
84
  <MediaUpload
85
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
86
+ allowedTypes={ [ 'image' ] }
87
  value={ mediaID }
88
  render={ ( { open } ) => (
89
  <IconButton
161
  <div className='ugb-card-image-container' style={{ backgroundImage: `url(${mediaURL})`, textAlign: contentAlign }}>
162
  <MediaUpload
163
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
164
+ allowedTypes={ [ 'image' ] }
165
  value={mediaID}
166
  render={ function( obj ) {
167
  return [
302
  attribute: 'data-src',
303
  },
304
  heading: {
305
+ source: 'html',
 
306
  selector: '.ugb-card h4',
307
  default: __( 'Ben Adams' )
308
  },
309
  tagline: {
310
+ source: 'html',
 
311
  selector: '.ugb-tagline',
312
  default: __( 'Ben is the head of our small team' )
313
  },
314
  des: {
315
+ source: 'html',
 
316
  selector: '.ugb-card-des',
317
  default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
318
  },
332
  attribute: 'href',
333
  },
334
  buttonText: {
335
+ source: 'html',
 
336
  selector: '.ugb-button-inner',
337
  default: __( 'Button' )
338
  },
src/block/count-up/index.js CHANGED
@@ -17,7 +17,6 @@ import {
17
  RangeControl,
18
  InspectorControls,
19
  RichText,
20
- ColorPalette,
21
  PanelBody,
22
  Fragment,
23
  } from '../../wp-imports'
@@ -147,20 +146,17 @@ registerBlockType( 'ugb/count-up', {
147
  ],
148
  attributes: {
149
  title: {
150
- type: 'array',
151
- source: 'children',
152
  selector: 'h4',
153
  default: __( 'Happy Customers' )
154
  },
155
  counter: {
156
- type: 'array',
157
- source: 'children',
158
  selector: '.ugb-counter',
159
  default: '12,345'
160
  },
161
  des: {
162
- type: 'array',
163
- source: 'children',
164
  selector: 'p',
165
  default: __( 'and counting' )
166
  },
17
  RangeControl,
18
  InspectorControls,
19
  RichText,
 
20
  PanelBody,
21
  Fragment,
22
  } from '../../wp-imports'
146
  ],
147
  attributes: {
148
  title: {
149
+ source: 'html',
 
150
  selector: 'h4',
151
  default: __( 'Happy Customers' )
152
  },
153
  counter: {
154
+ source: 'html',
 
155
  selector: '.ugb-counter',
156
  default: '12,345'
157
  },
158
  des: {
159
+ source: 'html',
 
160
  selector: 'p',
161
  default: __( 'and counting' )
162
  },
src/block/divider/index.js CHANGED
@@ -14,7 +14,6 @@ import {
14
  registerBlockType,
15
  __,
16
  InspectorControls,
17
- ColorPalette,
18
  BlockControls,
19
  AlignmentToolbar,
20
  PanelColorSettings,
14
  registerBlockType,
15
  __,
16
  InspectorControls,
 
17
  BlockControls,
18
  AlignmentToolbar,
19
  PanelColorSettings,
src/block/expand/index.js CHANGED
@@ -156,15 +156,13 @@ registerBlockType( 'ugb/expand', {
156
 
157
  // Multilines.
158
  text: {
159
- type: 'array',
160
- source: 'children',
161
  selector: '.ugb-expand-less-text',
162
  multiline: 'p',
163
  default: '',
164
  },
165
  moreText: {
166
- type: 'array',
167
- source: 'children',
168
  selector: '.ugb-expand-more-text',
169
  multiline: 'p',
170
  default: '',
@@ -172,14 +170,12 @@ registerBlockType( 'ugb/expand', {
172
 
173
  // Single lines.
174
  moreLabel: {
175
- type: 'array',
176
- source: 'children',
177
  selector: '.ugb-expand-more',
178
  default: __( 'Show more' ),
179
  },
180
  lessLabel: {
181
- type: 'array',
182
- source: 'children',
183
  selector: '.ugb-expand-less',
184
  default: __( 'Show less' ),
185
  },
156
 
157
  // Multilines.
158
  text: {
159
+ source: 'html',
 
160
  selector: '.ugb-expand-less-text',
161
  multiline: 'p',
162
  default: '',
163
  },
164
  moreText: {
165
+ source: 'html',
 
166
  selector: '.ugb-expand-more-text',
167
  multiline: 'p',
168
  default: '',
170
 
171
  // Single lines.
172
  moreLabel: {
173
+ source: 'html',
 
174
  selector: '.ugb-expand-more',
175
  default: __( 'Show more' ),
176
  },
177
  lessLabel: {
178
+ source: 'html',
 
179
  selector: '.ugb-expand-less',
180
  default: __( 'Show less' ),
181
  },
src/block/feature-grid/editor.scss ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Editor Styles for Feature Grid Block
3
+ *
4
+ * CSS for just Backend enqueued after style.scss
5
+ * which makes it higher in priority.
6
+ */
7
+
8
+ // Fade out placeholder text.
9
+ .ugb-feature-grid {
10
+ [data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
11
+ opacity: 0.5;
12
+ }
13
+ }
14
+
15
+ // Only show placeholder text while selected or typing.
16
+ [data-type="ugb/feature-grid"]:not(.is-selected):not(.is-typing) {
17
+ [data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
18
+ display: none;
19
+ }
20
+ }
21
+
22
+ .ugb-feature-grid.columns-1 {
23
+ > *:nth-child(2), > *:nth-child(3) {
24
+ display: none;
25
+ }
26
+ }
27
+ .ugb-feature-grid.columns-2 {
28
+ > *:nth-child(3) {
29
+ display: none;
30
+ }
31
+ }
src/block/feature-grid/index.js ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * BLOCK: Feature Grid Block.
3
+ */
4
+
5
+ import './style.scss';
6
+ import './editor.scss';
7
+ import { FeatureGridIcon } from '../../icons'
8
+ import { range } from '../../util'
9
+
10
+ import {
11
+ registerBlockType,
12
+ __,
13
+ Dashicon,
14
+ URLInput,
15
+ IconButton,
16
+ Button,
17
+ InspectorControls,
18
+ RangeControl,
19
+ RichText,
20
+ MediaUpload,
21
+ PanelBody,
22
+ Fragment,
23
+ } from '../../wp-imports'
24
+
25
+ export const edit = ( props ) => {
26
+
27
+ const {
28
+ isSelected,
29
+ setState,
30
+ className,
31
+ setAttributes
32
+ } = props;
33
+
34
+ const { attributes } = props
35
+
36
+ const {
37
+ columns,
38
+ imageSize,
39
+ } = attributes;
40
+
41
+ return (
42
+ <Fragment>
43
+ <InspectorControls>
44
+ <PanelBody>
45
+ <RangeControl
46
+ label={ __( 'Columns' ) }
47
+ value={ columns }
48
+ onChange={ columns => setAttributes( { columns } ) }
49
+ min={ 1 }
50
+ max={ 3 }
51
+ />
52
+ <RangeControl
53
+ label={ __( 'Image Size %' ) }
54
+ value={ imageSize }
55
+ onChange={ imageSize => setAttributes( { imageSize } ) }
56
+ min={ 0 }
57
+ max={ 100 }
58
+ />
59
+ </PanelBody>
60
+ </InspectorControls>
61
+ <div className={ `ugb-feature-grid columns-${columns}` }>
62
+ { [1, 2, 3].map( i => {
63
+ const imageUrl = attributes[ `imageUrl${i}` ]
64
+ const imageID = attributes[ `imageID${i}` ]
65
+ const title = attributes[ `title${i}` ]
66
+ const description = attributes[ `description${i}` ]
67
+ const linkUrl = attributes[ `linkUrl${i}` ]
68
+ const linkText = attributes[ `linkText${i}` ]
69
+ return (
70
+ <div key={ i }>
71
+ <div className={ `ugb-feature-grid-item` }>
72
+ <div>
73
+ <MediaUpload
74
+ onSelect={ ( media ) => setAttributes( { [ `imageUrl${i}` ]: media.url, [ `imageID${i}` ]: media.id } ) }
75
+ allowedTypes={ [ 'image' ] }
76
+ value={ imageID }
77
+ render={ function( obj ) {
78
+ if ( imageID ) {
79
+ return <img src={ imageUrl } onClick={ obj.open } style={ { width: `${imageSize}%` } }/>
80
+ }
81
+ return <Button
82
+ className='button button-large'
83
+ onClick={ obj.open } >
84
+ { __( 'Upload Image' ) }
85
+ </Button>
86
+ } }
87
+ />
88
+ </div>
89
+ <RichText
90
+ tagName='h5'
91
+ value={ title }
92
+ onChange={ title => setAttributes( { [ `title${i}` ]: title } ) }
93
+ placeholder={ schema[ `title${i}` ].default }
94
+ keepPlaceholderOnFocus
95
+ />
96
+ <RichText
97
+ tagName='p'
98
+ value={ description }
99
+ onChange={ description => setAttributes( { [ `description${i}` ]: description } ) }
100
+ placeholder={ schema[ `description${i}` ].default }
101
+ keepPlaceholderOnFocus
102
+ />
103
+ <p>
104
+ <a href='#'>
105
+ <RichText
106
+ tagName='span'
107
+ value={ linkText }
108
+ onChange={ linkText => setAttributes( { [ `linkText${i}` ]: linkText } ) }
109
+ placeholder={ schema[ `linkText${i}` ].default }
110
+ formattingControls={ [ 'bold', 'italic', 'strikethrough' ] }
111
+ keepPlaceholderOnFocus
112
+ />
113
+ </a>
114
+ </p>
115
+ </div>
116
+ {
117
+ isSelected && (
118
+ <form
119
+ onSubmit={ ( event ) => event.preventDefault() }
120
+ className={ `blocks-button__inline-link pricing-box`}>
121
+ <Dashicon icon={ 'admin-links' } />
122
+ <URLInput
123
+ value={ linkUrl }
124
+ onChange={ url => setAttributes( { [ `linkUrl${i}` ]: url } ) }
125
+ />
126
+ <IconButton
127
+ icon={ 'editor-break' }
128
+ label={ __( 'Apply' ) }
129
+ type={ 'submit' }
130
+ />
131
+ </form>
132
+ )
133
+ }
134
+ </div>
135
+ )
136
+ } ) }
137
+ </div>
138
+ </Fragment>
139
+ )
140
+ }
141
+
142
+ export const save = ( props ) => {
143
+
144
+ const { attributes } = props
145
+ const {
146
+ columns,
147
+ imageSize,
148
+ } = attributes;
149
+
150
+ return (
151
+ <div className={ `ugb-feature-grid columns-${columns}` }>
152
+ { range( 1, columns + 1 ).map( i => {
153
+ const imageUrl = attributes[ `imageUrl${i}` ]
154
+ const title = attributes[ `title${i}` ]
155
+ const description = attributes[ `description${i}` ]
156
+ const linkUrl = attributes[ `linkUrl${i}` ]
157
+ const linkText = attributes[ `linkText${i}` ]
158
+ return (
159
+ <div className={ `ugb-feature-grid-item` } key={ i }>
160
+ { imageUrl && <img src={ imageUrl } style={ { width: `${imageSize}%` } } /> }
161
+ { ! RichText.isEmpty( title ) && (
162
+ <RichText.Content
163
+ tagName='h5'
164
+ className='ugb-fg-title'
165
+ value={ title }
166
+ />
167
+ ) }
168
+ { ! RichText.isEmpty( description ) && (
169
+ <RichText.Content
170
+ tagName='p'
171
+ className='ugb-fg-description'
172
+ value={ description }
173
+ />
174
+ ) }
175
+ { ! RichText.isEmpty( linkText ) && (
176
+ <p>
177
+ <RichText.Content
178
+ tagName='a'
179
+ href={ linkUrl }
180
+ value={ linkText }
181
+ className='ugb-fg-link'
182
+ />
183
+ </p>
184
+ ) }
185
+ </div>
186
+ )
187
+ } ) }
188
+ </div>
189
+ );
190
+ }
191
+
192
+ export const schema = {
193
+ columns: {
194
+ type: 'number',
195
+ default: 3,
196
+ },
197
+ imageSize: {
198
+ type: 'number',
199
+ default: 100,
200
+ },
201
+ imageID1: {
202
+ type: 'number',
203
+ },
204
+ imageID2: {
205
+ type: 'number',
206
+ },
207
+ imageID3: {
208
+ type: 'number',
209
+ },
210
+ imageUrl1: {
211
+ type: 'url',
212
+ },
213
+ imageUrl2: {
214
+ type: 'url',
215
+ },
216
+ imageUrl3: {
217
+ type: 'url',
218
+ },
219
+ title1: {
220
+ source: 'html',
221
+ selector: '.ugb-feature-grid > *:nth-child(1) h5',
222
+ default: __( 'Feature 1' ),
223
+ },
224
+ title2: {
225
+ source: 'html',
226
+ selector: '.ugb-feature-grid > *:nth-child(2) h5',
227
+ default: __( 'Feature 2' ),
228
+ },
229
+ title3: {
230
+ source: 'html',
231
+ selector: '.ugb-feature-grid > *:nth-child(3) h5',
232
+ default: __( 'Feature 3' ),
233
+ },
234
+ description1: {
235
+ source: 'html',
236
+ selector: '.ugb-feature-grid > *:nth-child(1) .ugb-fg-description',
237
+ default: __( 'Some feature description for an awesome feature' ),
238
+ },
239
+ description2: {
240
+ source: 'html',
241
+ selector: '.ugb-feature-grid > *:nth-child(2) .ugb-fg-description',
242
+ default: __( 'Some feature description for an awesome feature' ),
243
+ },
244
+ description3: {
245
+ source: 'html',
246
+ selector: '.ugb-feature-grid > *:nth-child(3) .ugb-fg-description',
247
+ default: __( 'Some feature description for an awesome feature' ),
248
+ },
249
+ linkUrl1: {
250
+ type: 'string',
251
+ source: 'attribute',
252
+ selector: '.ugb-feature-grid > *:nth-child(1) .ugb-fg-link',
253
+ attribute: 'href',
254
+ },
255
+ linkUrl2: {
256
+ type: 'string',
257
+ source: 'attribute',
258
+ selector: '.ugb-feature-grid > *:nth-child(2) .ugb-fg-link',
259
+ attribute: 'href',
260
+ },
261
+ linkUrl3: {
262
+ type: 'string',
263
+ source: 'attribute',
264
+ selector: '.ugb-feature-grid > *:nth-child(3) .ugb-fg-link',
265
+ attribute: 'href',
266
+ },
267
+ linkText1: {
268
+ source: 'html',
269
+ selector: '.ugb-feature-grid > *:nth-child(1) .ugb-fg-link',
270
+ default: __( 'View More' ),
271
+ },
272
+ linkText2: {
273
+ source: 'html',
274
+ selector: '.ugb-feature-grid > *:nth-child(2) .ugb-fg-link',
275
+ default: __( 'View More' ),
276
+ },
277
+ linkText3: {
278
+ source: 'html',
279
+ selector: '.ugb-feature-grid > *:nth-child(3) .ugb-fg-link',
280
+ default: __( 'View More' ),
281
+ },
282
+ }
283
+
284
+ /**
285
+ * Register block.
286
+ *
287
+ * @param {string} name Block name.
288
+ * @param {Object} settings Block settings.
289
+ * @return {?WPBlock} The block, if it has been successfully
290
+ * registered; otherwise `undefined`.
291
+ */
292
+ registerBlockType( 'ugb/feature-grid', {
293
+ title: __( 'Feature Grid' ), // Block title.
294
+ icon: FeatureGridIcon, // Block icon from Dashicons or a custom component
295
+ category: 'stackable-ultimate-gutenberg-blocks', // Block category
296
+ keywords: [
297
+ __( 'Feature Grid' ),
298
+ __( 'Stackable' ),
299
+ ],
300
+ attributes: schema,
301
+
302
+ edit: edit,
303
+
304
+ save: save,
305
+ } );
src/block/feature-grid/style.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Styles for Team Member Block.
3
+ *
4
+ * CSS for both Frontend+Backend.
5
+ */
6
+ .ugb-feature-grid {
7
+ @include baseBlock();
8
+ display: flex;
9
+ flex-wrap: wrap;
10
+ margin: 0 (-$box-hori-padding / 2);
11
+ > div {
12
+ flex: 1;
13
+ min-width: 250px;
14
+ &, &:first-child, &:last-child {
15
+ margin: ($box-hori-padding / 2) !important;
16
+ }
17
+ }
18
+ .ugb-feature-grid-item {
19
+ text-align: center;
20
+ @include baseBlock();
21
+ @include box();
22
+ }
23
+ }
src/block/feature/editor.scss ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Editor Styles for Feature Block
3
+ *
4
+ * CSS for just Backend enqueued after style.scss
5
+ * which makes it higher in priority.
6
+ */
7
+ // Remove border radius on full width.
8
+ [data-align="full"] {
9
+ .ugb-feature.ugb-has-background {
10
+ border-radius: 0 !important;
11
+ }
12
+ .ugb-feature-wrapper {
13
+ max-width: var(--content-width, 900px);
14
+ margin: 0 auto;
15
+ }
16
+ }
17
+
18
+ // Fade out placeholder text.
19
+ .ugb-feature {
20
+ [data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
21
+ opacity: 0.5;
22
+ }
23
+ }
24
+
25
+ // Only show placeholder text while selected or typing.
26
+ [data-type="ugb/feature"]:not(.is-selected):not(.is-typing) {
27
+ [data-is-placeholder-visible="true"] + .editor-rich-text__tinymce {
28
+ display: none;
29
+ }
30
+ .ugb-button[data-is-placeholder-visible="true"] {
31
+ display: none;
32
+ }
33
+ }
src/block/feature/index.js ADDED
@@ -0,0 +1,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * BLOCK: Feature Block.
3
+ */
4
+
5
+ import './style.scss';
6
+ import './editor.scss';
7
+ import classnames from 'classnames'
8
+ import { FeatureIcon } from '../../icons'
9
+ import ButtonEdit from '../button/button-edit'
10
+ import ButtonSave from '../button/button-save'
11
+
12
+ import {
13
+ registerBlockType,
14
+ __,
15
+ Dashicon,
16
+ URLInput,
17
+ IconButton,
18
+ Button,
19
+ InspectorControls,
20
+ PanelColorSettings,
21
+ RangeControl,
22
+ SelectControl,
23
+ RichText,
24
+ MediaUpload,
25
+ PanelBody,
26
+ Fragment,
27
+ BlockControls,
28
+ AlignmentToolbar,
29
+ ToggleControl,
30
+ } from '../../wp-imports'
31
+
32
+ export const edit = ( props ) => {
33
+
34
+ const {
35
+ isSelected,
36
+ setState,
37
+ className,
38
+ setAttributes
39
+ } = props;
40
+
41
+ const {
42
+ invert,
43
+ contentAlign,
44
+ backgroundColor,
45
+ textColor,
46
+ imageSize,
47
+ imageID,
48
+ imageUrl,
49
+ title,
50
+ description,
51
+ buttonURL,
52
+ buttonText,
53
+ buttonColor,
54
+ buttonTextColor,
55
+ buttonSize,
56
+ buttonBorderRadius,
57
+ } = props.attributes;
58
+
59
+ const mainClasses = classnames( [
60
+ className,
61
+ 'ugb-feature',
62
+ ], {
63
+ 'ugb-has-background': backgroundColor,
64
+ [ `ugb-content-${contentAlign}` ]: contentAlign,
65
+ 'ugb-invert': invert,
66
+ } )
67
+
68
+ const style = {
69
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
70
+ '--image-size': imageSize ? `${imageSize}px` : undefined,
71
+ }
72
+
73
+ return (
74
+ <Fragment>
75
+ <BlockControls>
76
+ <AlignmentToolbar
77
+ value={ contentAlign }
78
+ onChange={ contentAlign => setAttributes( { contentAlign } ) }
79
+ />
80
+ </BlockControls>
81
+ <InspectorControls>
82
+ <PanelBody>
83
+ <ToggleControl
84
+ label={ __( 'Reverse Horizontally' ) }
85
+ checked={ invert }
86
+ onChange={ () => setAttributes( { invert: ! invert } ) }
87
+ />
88
+ <RangeControl
89
+ label={ __( 'Image Size' ) }
90
+ value={ imageSize }
91
+ onChange={ imageSize => setAttributes( { imageSize } ) }
92
+ help={ __( 'The theme\'s content width may have an effect here.' ) }
93
+ min={ 100 }
94
+ max={ 600 }
95
+ />
96
+ </PanelBody>
97
+ <PanelColorSettings
98
+ initialOpen={ true }
99
+ title={ __( 'Colors' ) }
100
+ colorSettings={ [
101
+ {
102
+ value: backgroundColor,
103
+ onChange: backgroundColor => setAttributes( { backgroundColor } ),
104
+ label: __( 'Background Color' ),
105
+ },
106
+ {
107
+ value: textColor,
108
+ onChange: textColor => setAttributes( { textColor } ),
109
+ label: __( 'Text Color' ),
110
+ },
111
+ ] }
112
+ >
113
+ </PanelColorSettings>
114
+ <PanelColorSettings
115
+ initialOpen={ false }
116
+ title={ __( 'Button Settings' ) }
117
+ colorSettings={ [
118
+ {
119
+ value: buttonColor,
120
+ onChange: buttonColor => setAttributes( { buttonColor } ),
121
+ label: __( 'Button Color' ),
122
+ },
123
+ {
124
+ value: buttonTextColor,
125
+ onChange: buttonTextColor => setAttributes( { buttonTextColor } ),
126
+ label: __( 'Text Color' ),
127
+ },
128
+ ] }
129
+ >
130
+ <SelectControl
131
+ label={ __( 'Size' ) }
132
+ value={ buttonSize }
133
+ options={ [
134
+ { value: 'small', label: __( 'Small' ) },
135
+ { value: 'normal', label: __( 'Normal' ) },
136
+ { value: 'medium', label: __( 'Medium' ) },
137
+ { value: 'large', label: __( 'Large' ) },
138
+ ] }
139
+ onChange={ buttonSize => { setAttributes( { buttonSize } ) } }
140
+ />
141
+ <RangeControl
142
+ label={ __( 'Border Radius' ) }
143
+ value={ buttonBorderRadius }
144
+ min='1'
145
+ max='50'
146
+ onChange={ buttonBorderRadius => setAttributes( { buttonBorderRadius } ) }
147
+ />
148
+ </PanelColorSettings>
149
+ </InspectorControls>
150
+ <div className={ mainClasses } style={ style }>
151
+ <div className='ugb-feature-wrapper'>
152
+ <div>
153
+ <RichText
154
+ tagName='h2'
155
+ value={ title }
156
+ onChange={ title => setAttributes( { title } ) }
157
+ placeholder={ schema.title.default }
158
+ style={ { color: textColor } }
159
+ keepPlaceholderOnFocus
160
+ />
161
+ <RichText
162
+ tagName='p'
163
+ value={ description }
164
+ onChange={ description => setAttributes( { description } ) }
165
+ placeholder={ schema.description.default }
166
+ style={ { color: textColor } }
167
+ keepPlaceholderOnFocus
168
+ />
169
+ <ButtonEdit size={ buttonSize } align={ contentAlign } color={ buttonTextColor } backgroundColor={ buttonColor } text={ buttonText } borderRadius={ buttonBorderRadius }
170
+ onChange={ buttonText => setAttributes( { buttonText } ) }
171
+ />
172
+ </div>
173
+ <div className='ugb-feature-image-side'>
174
+ <MediaUpload
175
+ onSelect={ ( media ) => setAttributes( { imageUrl: media.url, imageID: media.id } ) }
176
+ allowedTypes={ [ 'image' ] }
177
+ value={ imageID }
178
+ render={ function( obj ) {
179
+ if ( imageID ) {
180
+ return <img src={ imageUrl } onClick={ obj.open }/>
181
+ }
182
+ return <Button
183
+ className='button button-large'
184
+ onClick={ obj.open } >
185
+ { __( 'Upload Image' ) }
186
+ </Button>
187
+ } }
188
+ />
189
+ </div>
190
+ </div>
191
+ </div>
192
+ { isSelected && (
193
+ <form
194
+ key={ 'form-link' }
195
+ onSubmit={ ( event ) => event.preventDefault() }
196
+ className={ `blocks-button__inline-link ugb-button-${contentAlign}`}
197
+ >
198
+ <Dashicon icon={ 'admin-links' } />
199
+ <URLInput
200
+ value={ buttonURL }
201
+ onChange={ buttonURL => setAttributes( { buttonURL } ) }
202
+ />
203
+ <IconButton
204
+ icon={ 'editor-break' }
205
+ label={ __( 'Apply' ) }
206
+ type={ 'submit' }
207
+ />
208
+ </form>
209
+ ) }
210
+ </Fragment>
211
+ )
212
+ }
213
+
214
+ export const save = ( props ) => {
215
+
216
+ const {
217
+ className,
218
+ } = props
219
+
220
+ const {
221
+ invert,
222
+ contentAlign,
223
+ backgroundColor,
224
+ textColor,
225
+ imageSize,
226
+ imageID,
227
+ imageUrl,
228
+ title,
229
+ description,
230
+ buttonURL,
231
+ buttonText,
232
+ buttonColor,
233
+ buttonTextColor,
234
+ buttonSize,
235
+ buttonBorderRadius,
236
+ } = props.attributes;
237
+
238
+ const mainClasses = classnames( [
239
+ className,
240
+ 'ugb-feature',
241
+ ], {
242
+ 'ugb-has-background': backgroundColor,
243
+ [ `ugb-content-${contentAlign}` ]: contentAlign,
244
+ 'ugb-invert': invert,
245
+ } )
246
+
247
+ const style = {
248
+ 'backgroundColor': backgroundColor ? backgroundColor : undefined,
249
+ '--image-size': imageSize ? `${imageSize}px` : undefined,
250
+ }
251
+
252
+ return (
253
+ <div className={ mainClasses } style={ style }>
254
+ <div className='ugb-feature-wrapper'>
255
+ <div>
256
+ { ! RichText.isEmpty( title ) && (
257
+ <RichText.Content
258
+ tagName='h2'
259
+ style={ { color: textColor } }
260
+ value={ title }
261
+ />
262
+ ) }
263
+ { ! RichText.isEmpty( description ) && (
264
+ <RichText.Content
265
+ tagName='p'
266
+ style={ { color: textColor } }
267
+ value={ description }
268
+ />
269
+ ) }
270
+ { ! RichText.isEmpty( buttonText ) && (
271
+ <ButtonSave size={ buttonSize } url={ buttonURL } align={ contentAlign } color={ buttonTextColor } text={ buttonText } backgroundColor={ buttonColor } borderRadius={ buttonBorderRadius } />
272
+ ) }
273
+ </div>
274
+ <div className='ugb-feature-image-side'>
275
+ { imageUrl && (
276
+ <img src={ imageUrl } alt={ title } />
277
+ ) }
278
+ </div>
279
+ </div>
280
+ </div>
281
+ );
282
+ }
283
+
284
+ export const schema = {
285
+ backgroundColor: {
286
+ type: 'string',
287
+ },
288
+ textColor: {
289
+ type: 'string',
290
+ },
291
+ invert: {
292
+ type: 'boolean',
293
+ default: false,
294
+ },
295
+ contentAlign: {
296
+ type: 'string',
297
+ default: 'left',
298
+ },
299
+ imageSize: {
300
+ type: 'number',
301
+ default: 400,
302
+ },
303
+ imageID: {
304
+ type: 'number',
305
+ },
306
+ imageUrl: {
307
+ type: 'url',
308
+ },
309
+ title: {
310
+ source: 'html',
311
+ selector: 'h2',
312
+ default: __( 'Feature Title' ),
313
+ },
314
+ description: {
315
+ source: 'html',
316
+ selector: 'p',
317
+ default: __( 'Some feature description for an awesome feature' ),
318
+ },
319
+ buttonURL: {
320
+ type: 'string',
321
+ source: 'attribute',
322
+ selector: '.ugb-button-inner',
323
+ attribute: 'href',
324
+ },
325
+ buttonText: {
326
+ source: 'html',
327
+ selector: '.ugb-button-inner',
328
+ default: __( 'Learn More' ),
329
+ },
330
+ buttonColor: {
331
+ type: 'string',
332
+ },
333
+ buttonTextColor: {
334
+ type: 'string',
335
+ },
336
+ buttonSize: {
337
+ type: 'string',
338
+ default: 'normal',
339
+ },
340
+ buttonBorderRadius: {
341
+ type: 'number',
342
+ default: 4,
343
+ },
344
+ }
345
+
346
+ /**
347
+ * Register block.
348
+ *
349
+ * @param {string} name Block name.
350
+ * @param {Object} settings Block settings.
351
+ * @return {?WPBlock} The block, if it has been successfully
352
+ * registered; otherwise `undefined`.
353
+ */
354
+ registerBlockType( 'ugb/feature', {
355
+ title: __( 'Feature' ), // Block title.
356
+ icon: FeatureIcon, // Block icon from Dashicons or a custom component
357
+ category: 'stackable-ultimate-gutenberg-blocks', // Block category
358
+ keywords: [
359
+ __( 'Feature' ),
360
+ __( 'Stackable' ),
361
+ ],
362
+ supports: {
363
+ align: true,
364
+ align: [ 'center', 'full' ],
365
+ },
366
+ attributes: schema,
367
+
368
+ edit: edit,
369
+
370
+ save: save,
371
+ } );
src/block/feature/style.scss ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Styles for Feature Block.
3
+ *
4
+ * CSS for both Frontend+Backend.
5
+ */
6
+ .ugb-feature {
7
+ @include baseBlock();
8
+ .ugb-feature-wrapper {
9
+ display: flex;
10
+ flex-wrap: wrap;
11
+ margin: 0 (-$box-hori-padding / 2);
12
+ > div {
13
+ justify-content: center;
14
+ display: flex;
15
+ flex-direction: column;
16
+ flex: 1;
17
+ @include baseBlock();
18
+ margin: 0 ($box-hori-padding / 2);
19
+ }
20
+ }
21
+ &.ugb-invert .ugb-feature-wrapper {
22
+ flex-direction: row-reverse;
23
+ }
24
+ .ugb-feature-image-side {
25
+ align-items: center;
26
+ img {
27
+ max-width: var(--image-size, 400px);
28
+ width: var(--image-size, 400px);
29
+ }
30
+ }
31
+ &.ugb-content-left {
32
+ text-align: left;
33
+ }
34
+ &.ugb-content-center {
35
+ text-align: center;
36
+ }
37
+ &.ugb-content-right {
38
+ text-align: right;
39
+ }
40
+ &.alignfull {
41
+ .ugb-feature-wrapper {
42
+ max-width: var(--content-width, 900px);
43
+ margin: 0 auto;
44
+ }
45
+ }
46
+ &.ugb-has-background {
47
+ @include box();
48
+ }
49
+ &.alignfull.ugb-has-background {
50
+ border-radius: 0;
51
+ margin-top: 0;
52
+ margin-bottom: 0;
53
+ }
54
+ }
55
+
56
+ // Collapse into a single column on small screens, always put image on top.
57
+ @media screen and (max-width: 768px) {
58
+ .ugb-feature {
59
+ .ugb-feature-wrapper,
60
+ &.ugb-invert .ugb-feature-wrapper {
61
+ flex-direction: column-reverse;
62
+ }
63
+ .ugb-feature-wrapper {
64
+ text-align: center;
65
+ > div:first-child {
66
+ margin-top: $box-vert-padding;
67
+ }
68
+ .ugb-feature-image-side {
69
+ img {
70
+ width: 60vw;
71
+ }
72
+ }
73
+ }
74
+ .ugb-button {
75
+ margin: 0 auto;
76
+ }
77
+ }
78
+ }
src/block/ghost-button/index.js CHANGED
@@ -18,7 +18,6 @@ import {
18
  BlockControls,
19
  RichText,
20
  BlockAlignmentToolbar,
21
- ColorPalette,
22
  PanelColorSettings,
23
  IconButton,
24
  Dashicon,
@@ -181,8 +180,7 @@ const schema = {
181
  attribute: 'href',
182
  },
183
  text: {
184
- type: 'array',
185
- source: 'children',
186
  selector: 'a',
187
  },
188
  align: {
18
  BlockControls,
19
  RichText,
20
  BlockAlignmentToolbar,
 
21
  PanelColorSettings,
22
  IconButton,
23
  Dashicon,
180
  attribute: 'href',
181
  },
182
  text: {
183
+ source: 'html',
 
184
  selector: 'a',
185
  },
186
  align: {
src/block/header/index.js CHANGED
@@ -34,7 +34,6 @@ import {
34
  MediaUpload,
35
  BlockControls,
36
  InspectorControls,
37
- ColorPalette,
38
  PanelBody,
39
  URLInput,
40
  Fragment,
@@ -96,7 +95,7 @@ export const edit = ( props ) => {
96
  <Toolbar>
97
  <MediaUpload
98
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
99
- type="image"
100
  value={ id }
101
  render={ ( { open } ) => (
102
  <IconButton
@@ -187,7 +186,7 @@ export const edit = ( props ) => {
187
  </div>
188
  <MediaUpload
189
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
190
- type={'image'}
191
  value={id}
192
  render={ function( obj ) {
193
  return [
@@ -328,14 +327,12 @@ export const save = ( props ) => {
328
 
329
  const schema = {
330
  title: {
331
- type: 'array',
332
- source: 'children',
333
  selector: 'h2',
334
  default: __( 'Heading Title' )
335
  },
336
  subtitle: {
337
- type: 'array',
338
- source: 'children',
339
  selector: 'p',
340
  default: __( '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.' )
341
  },
@@ -360,8 +357,7 @@ const schema = {
360
  default: '#ffffff',
361
  },
362
  buttonText: {
363
- type: 'array',
364
- source: 'children',
365
  selector: '.ugb-button-inner',
366
  default: __( 'Button' )
367
  },
34
  MediaUpload,
35
  BlockControls,
36
  InspectorControls,
 
37
  PanelBody,
38
  URLInput,
39
  Fragment,
95
  <Toolbar>
96
  <MediaUpload
97
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
98
+ allowedTypes={ [ 'image' ] }
99
  value={ id }
100
  render={ ( { open } ) => (
101
  <IconButton
186
  </div>
187
  <MediaUpload
188
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
189
+ allowedTypes={ [ 'image' ] }
190
  value={id}
191
  render={ function( obj ) {
192
  return [
327
 
328
  const schema = {
329
  title: {
330
+ source: 'html',
 
331
  selector: 'h2',
332
  default: __( 'Heading Title' )
333
  },
334
  subtitle: {
335
+ source: 'html',
 
336
  selector: 'p',
337
  default: __( '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.' )
338
  },
357
  default: '#ffffff',
358
  },
359
  buttonText: {
360
+ source: 'html',
 
361
  selector: '.ugb-button-inner',
362
  default: __( 'Button' )
363
  },
src/block/icon-list/editor.scss ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Editor Styles for Icon List Block
3
+ *
4
+ * CSS for just Backend enqueued after style.scss
5
+ * which makes it higher in priority.
6
+ */
7
+
8
+ // Hide the color picker panel header since we don't allow it to be closed.
9
+ .ugb-icon-list-color-picker {
10
+ border-top: none !important;
11
+ .components-panel__body-title {
12
+ display: none !important;
13
+ }
14
+ .component-color-indicator {
15
+ vertical-align: bottom !important;
16
+ }
17
+ }
18
+
19
+ // UL is a child when in block form, remove the bullets.
20
+ .ugb-icon-list ul {
21
+ list-style: none !important;
22
+ }
src/block/icon-list/icons.js ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * All the icons used in the block.
3
+ * These are all based from the SVG icons inside the images folder.
4
+ */
5
+
6
+ export const ArrowIcon = ( fill = undefined ) => {
7
+ return (
8
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190" style={ { fill } }>
9
+ <polygon points="59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "/>
10
+ </svg>
11
+ )
12
+ }
13
+
14
+ export const CheckIcon = ( fill = undefined ) => {
15
+ return (
16
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190" style={ { fill } }>
17
+ <polygon points="173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"/>
18
+ </svg>
19
+ )
20
+ }
21
+
22
+ export const PlusIcon = ( fill = undefined ) => {
23
+ return (
24
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190" style={ { fill } }>
25
+ <polygon points="181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "/>
26
+ </svg>
27
+ )
28
+ }
29
+
30
+ export const CrossIcon = ( fill = undefined ) => {
31
+ return (
32
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190" style={ { fill } }>
33
+ <polygon points="167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "/>
34
+ </svg>
35
+ )
36
+ }
37
+
38
+ export const StarIcon = ( fill = undefined ) => {
39
+ return (
40
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190" style={ { fill } }>
41
+ <polygon points="95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "/>
42
+ </svg>
43
+ )
44
+ }
45
+
46
+ /**
47
+ * Circle icons
48
+ */
49
+
50
+ export const ArrowCircleIcon = ( fill = undefined ) => {
51
+ return (
52
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
53
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97
54
+ L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"/>
55
+ </svg>
56
+ )
57
+ }
58
+
59
+ export const CheckCircleIcon = ( fill = undefined ) => {
60
+ return (
61
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
62
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9
63
+ l68.8-68.8l0,0L156,65.3L76.6,144.7z"/>
64
+ </svg>
65
+ )
66
+ }
67
+
68
+ export const PlusCircleIcon = ( fill = undefined ) => {
69
+ return (
70
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
71
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15
72
+ h46.6V42.9h15v46.6H151V104.5z"/>
73
+ </svg>
74
+ )
75
+ }
76
+
77
+ export const StarCircleIcon = ( fill = undefined ) => {
78
+ return (
79
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
80
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9
81
+ L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"/>
82
+ </svg>
83
+ )
84
+ }
85
+
86
+ export const CrossCircleIcon = ( fill = undefined ) => {
87
+ return (
88
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
89
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5
90
+ l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"/>
91
+ </svg>
92
+ )
93
+ }
94
+
95
+ /**
96
+ * Outline icons
97
+ */
98
+
99
+ export const ArrowOutlineIcon = ( fill = undefined ) => {
100
+ return (
101
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
102
+ <polygon points="73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 "/>
103
+ <path d="M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4
104
+ S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5
105
+ c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1
106
+ c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
107
+ C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17
108
+ c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"/>
109
+ </svg>
110
+ )
111
+ }
112
+
113
+ export const CheckOutlineIcon = ( fill = undefined ) => {
114
+ return (
115
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190" style={ { fill } }>
116
+ <polygon points="79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 "/>
117
+ <path d="M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5
118
+ C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8
119
+ c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1
120
+ C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7
121
+ c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1
122
+ C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29
123
+ c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"/>
124
+ </svg>
125
+ )
126
+ }
127
+
128
+ export const PlusOutlineIcon = ( fill = undefined ) => {
129
+ return (
130
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
131
+ <polygon points="104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5
132
+ 138.6,89.5 104.5,89.5 "/>
133
+ <path d="M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4
134
+ S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5
135
+ c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1
136
+ c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
137
+ C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3
138
+ c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"/>
139
+ </svg>
140
+ )
141
+ }
142
+
143
+ export const StarOutlineIcon = ( fill = undefined ) => {
144
+ return (
145
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
146
+ <path d="M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4
147
+ S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5
148
+ c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1
149
+ c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
150
+ C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17
151
+ c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"/>
152
+ <polygon points="96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5
153
+ "/>
154
+ </svg>
155
+ )
156
+ }
157
+
158
+ export const CrossOutlineIcon = ( fill = undefined ) => {
159
+ return (
160
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194" style={ { fill } }>
161
+ <polygon points="134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5
162
+ 134.7,123.9 107.8,97 "/>
163
+ <path d="M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4
164
+ S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5
165
+ c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1
166
+ c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
167
+ C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17
168
+ c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"/>
169
+ </svg>
170
+ )
171
+ }
src/block/icon-list/images/Arrow-01.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190">
2
+ <polygon points="59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 59.4,177.5"/>
3
+ </svg>
src/block/icon-list/images/Arrow-02.svg ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <polygon points="73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 "/>
3
+ <path d="M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4
4
+ S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5
5
+ c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1
6
+ c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
7
+ C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17
8
+ c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"/>
9
+ </svg>
src/block/icon-list/images/Arrow-03.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97
3
+ L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"/>
4
+ </svg>
src/block/icon-list/images/Check-01.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190">
2
+ <polygon points="173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"/>
3
+ </svg>
src/block/icon-list/images/Check-02.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190">
2
+ <polygon points="79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 "/>
3
+ <path d="M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5
4
+ C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8
5
+ c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1
6
+ C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7
7
+ c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1
8
+ C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29
9
+ c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"/>
10
+ </svg>
src/block/icon-list/images/Check-03.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9
3
+ l68.8-68.8l0,0L156,65.3L76.6,144.7z"/>
4
+ </svg>
src/block/icon-list/images/Plus-01.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190">
2
+ <polygon points="181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "/>
3
+ </svg>
src/block/icon-list/images/Plus-02.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <polygon points="104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5
3
+ 138.6,89.5 104.5,89.5 "/>
4
+ <path d="M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4
5
+ S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5
6
+ c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1
7
+ c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
8
+ C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3
9
+ c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"/>
10
+ </svg>
src/block/icon-list/images/Plus-03.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15
3
+ h46.6V42.9h15v46.6H151V104.5z"/>
4
+ </svg>
src/block/icon-list/images/Star-01.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190">
2
+ <polygon points="95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "/>
3
+ </svg>
src/block/icon-list/images/Star-02.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <path d="M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4
3
+ S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5
4
+ c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1
5
+ c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
6
+ C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17
7
+ c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"/>
8
+ <polygon points="96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5
9
+ "/>
10
+ </svg>
src/block/icon-list/images/Star-03.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9
3
+ L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"/>
4
+ </svg>
src/block/icon-list/images/X-01.svg ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 190 190">
2
+ <polygon points="167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "/>
3
+ </svg>
src/block/icon-list/images/X-02.svg ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <polygon points="134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5
3
+ 134.7,123.9 107.8,97 "/>
4
+ <path d="M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4
5
+ S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5
6
+ c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1
7
+ c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29
8
+ C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17
9
+ c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"/>
10
+ </svg>
src/block/icon-list/images/X-03.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 194 194">
2
+ <path d="M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5
3
+ l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"/>
4
+ </svg>
src/block/icon-list/index.js ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * BLOCK: Icon List Block.
3
+ */
4
+
5
+ import './style.scss';
6
+ import './editor.scss';
7
+ import { IconListIcon } from '../../icons'
8
+ import { svgRenderToString } from '../../util'
9
+
10
+ import {
11
+ registerBlockType,
12
+ __,
13
+ Dashicon,
14
+ URLInput,
15
+ IconButton,
16
+ Button,
17
+ InspectorControls,
18
+ RangeControl,
19
+ RichText,
20
+ MediaUpload,
21
+ PanelBody,
22
+ Fragment,
23
+ PanelColorSettings,
24
+ Toolbar,
25
+ BaseControl,
26
+ } from '../../wp-imports'
27
+
28
+ import {
29
+ ArrowIcon,
30
+ CheckIcon,
31
+ PlusIcon,
32
+ StarIcon,
33
+ CrossIcon,
34
+ ArrowCircleIcon,
35
+ ArrowOutlineIcon,
36
+ CheckCircleIcon,
37
+ CheckOutlineIcon,
38
+ PlusCircleIcon,
39
+ PlusOutlineIcon,
40
+ StarCircleIcon,
41
+ StarOutlineIcon,
42
+ CrossCircleIcon,
43
+ CrossOutlineIcon,
44
+ } from './icons'
45
+
46
+ const BLOCK_ICONS = {
47
+ check: {
48
+ iconFunc: CheckIcon,
49
+ circleFunc: CheckCircleIcon,
50
+ outlineFunc: CheckOutlineIcon,
51
+ title: __( 'Check' ),
52
+ value: 'check',
53
+ },
54
+ plus: {
55
+ iconFunc: PlusIcon,
56
+ circleFunc: PlusCircleIcon,
57
+ outlineFunc: PlusOutlineIcon,
58
+ title: __( 'Plus' ),
59
+ value: 'plus',
60
+ },
61
+ arrow: {
62
+ iconFunc: ArrowIcon,
63
+ circleFunc: ArrowCircleIcon,
64
+ outlineFunc: ArrowOutlineIcon,
65
+ title: __( 'Arrow' ),
66
+ value: 'arrow',
67
+ },
68
+ cross: {
69
+ iconFunc: CrossIcon,
70
+ circleFunc: CrossCircleIcon,
71
+ outlineFunc: CrossOutlineIcon,
72
+ title: __( 'Cross' ),
73
+ value: 'cross',
74
+ },
75
+ star: {
76
+ iconFunc: StarIcon,
77
+ circleFunc: StarCircleIcon,
78
+ outlineFunc: StarOutlineIcon,
79
+ title: __( 'Star' ),
80
+ value: 'star',
81
+ },
82
+ };
83
+ const getIconShapeFunction = ( iconShape ) => {
84
+ if ( iconShape === 'circle' || iconShape === 'outline' ) {
85
+ return `${iconShape}Func`
86
+ }
87
+ return 'iconFunc'
88
+ }
89
+ const getIconSVGString = ( icon, iconShape, iconColor ) => {
90
+ const shapeFunc = getIconShapeFunction( iconShape )
91
+ return svgRenderToString( BLOCK_ICONS[ icon ][ shapeFunc ]( iconColor ) )
92
+ }
93
+ const getIconSVGBase64 = ( icon, iconShape, iconColor ) => {
94
+ const shapeFunc = getIconShapeFunction( iconShape )
95
+ const iconString = svgRenderToString( BLOCK_ICONS[ icon ][ shapeFunc ]( iconColor ), false )
96
+ return btoa( iconString )
97
+ }
98
+
99
+ export const edit = ( props ) => {
100
+
101
+ const {
102
+ isSelected,
103
+ setState,
104
+ className,
105
+ setAttributes,
106
+ insertBlocksAfter,
107
+ } = props;
108
+
109
+ const {
110
+ icon,
111
+ iconShape,
112
+ iconColor,
113
+ iconSize,
114
+ text,
115
+ columns,
116
+ gap,
117
+ } = props.attributes;
118
+
119
+ const iconSVGString = getIconSVGBase64( icon, iconShape, iconColor )
120
+ const style = {
121
+ '--icon': 'url(\'data:image/svg+xml;base64,' + iconSVGString + '\')',
122
+ '--icon-size': iconSize ? `${iconSize}px` : undefined,
123
+ '--gap': gap ? `${gap}px` : undefined,
124
+ }
125
+
126
+ function applyIcon( icon ) {
127
+ return () => setAttributes( { icon } )
128
+ }
129
+ function applyIconShape( iconShape ) {
130
+ return () => setAttributes( { iconShape } )
131
+ }
132
+
133
+ return (
134
+ <Fragment>
135
+ <InspectorControls>
136
+ <PanelBody>
137
+ <BaseControl label={ __( 'Icon' ) }>
138
+ <Toolbar
139
+ icon={ BLOCK_ICONS[ icon ].iconFunc() }
140
+ controls={
141
+ Object.keys( BLOCK_ICONS ).map( ( value ) => {
142
+ return {
143
+ ...BLOCK_ICONS[ value ],
144
+ icon: BLOCK_ICONS[ value ].iconFunc(),
145
+ isActive: icon === value,
146
+ onClick: applyIcon( value ),
147
+ };
148
+ } )
149
+ }
150
+ />
151
+ </BaseControl>
152
+ <BaseControl label={ __( 'Icon Shape' ) }>
153
+ <Toolbar
154
+ icon={ BLOCK_ICONS[ icon ][ getIconShapeFunction( iconShape ) ]() }
155
+ controls={
156
+ [ '', 'circle', 'outline' ].map( ( value ) => {
157
+ const iconFunction = getIconShapeFunction( value )
158
+ return {
159
+ ...BLOCK_ICONS[ icon ],
160
+ icon: BLOCK_ICONS[ icon ][ iconFunction ](),
161
+ isActive: iconShape === value,
162
+ onClick: applyIconShape( value ),
163
+ };
164
+ } )
165
+ }
166
+ />
167
+ </BaseControl>
168
+ <PanelColorSettings
169
+ title={ __( 'Icon Color' ) }
170
+ className='ugb-icon-list-color-picker'
171
+ initialOpen={ true }
172
+ opened={ true }
173
+ colorSettings={ [ {
174
+ value: iconColor,
175
+ onChange: iconColor => setAttributes( { iconColor } ),
176
+ label: __( 'Icon Color' ),
177
+ } ] }
178
+ />
179
+ <RangeControl
180
+ label={ __( 'Icon Size' ) }
181
+ value={ iconSize }
182
+ onChange={ iconSize => setAttributes( { iconSize } ) }
183
+ min={ 8 }
184
+ max={ 30 }
185
+ />
186
+ <RangeControl
187
+ label={ __( 'Columns' ) }
188
+ value={ columns }
189
+ onChange={ columns => setAttributes( { columns } ) }
190
+ min={ 1 }
191
+ max={ 3 }
192
+ />
193
+ <RangeControl
194
+ label={ __( 'List Gap' ) }
195
+ value={ gap }
196
+ onChange={ gap => setAttributes( { gap } ) }
197
+ min={ 0 }
198
+ max={ 30 }
199
+ />
200
+ </PanelBody>
201
+ </InspectorControls>
202
+ <div className={ `ugb-icon-list ugb-icon-${icon} column-${columns}` } style={ style }>
203
+ <RichText
204
+ tagName="ul"
205
+ multiline="li"
206
+ value={ text }
207
+ onChange={ (text) => setAttributes( { text } ) }
208
+ />
209
+ </div>
210
+ </Fragment>
211
+ )
212
+ }
213
+
214
+ export const save = ( props ) => {
215
+
216
+ const {
217
+ icon,
218
+ iconShape,
219
+ iconColor,
220
+ iconSize,
221
+ text,
222
+ columns,
223
+ gap,
224
+ } = props.attributes;
225
+
226
+ const iconSVGString = getIconSVGBase64( icon, iconShape, iconColor )
227
+ const style = {
228
+ '--icon': 'url(\'data:image/svg+xml;base64,' + iconSVGString + '\')',
229
+ '--icon-size': iconSize ? `${iconSize}px` : undefined,
230
+ '--gap': gap ? `${gap}px` : undefined,
231
+ }
232
+
233
+ return (
234
+ <RichText.Content
235
+ tagName='ul'
236
+ className={ `ugb-icon-list ugb-icon-${icon} column-${columns}` } style={ style }
237
+ value={ text }
238
+ />
239
+ );
240
+ }
241
+
242
+ export const schema = {
243
+ icon: {
244
+ type: 'string',
245
+ default: 'check',
246
+ },
247
+ iconShape: {
248
+ type: 'string',
249
+ },
250
+ iconColor: {
251
+ type: 'string',
252
+ },
253
+ iconSize: {
254
+ type: 'number',
255
+ default: 20,
256
+ },
257
+ columns: {
258
+ type: 'number',
259
+ default: 1,
260
+ },
261
+ text: {
262
+ source: 'html',
263
+ selector: 'ul',
264
+ multiline: 'li',
265
+ },
266
+ gap: {
267
+ type: 'number',
268
+ default: 16,
269
+ },
270
+ }
271
+
272
+ /**
273
+ * Register block.
274
+ *
275
+ * @param {string} name Block name.
276
+ * @param {Object} settings Block settings.
277
+ * @return {?WPBlock} The block, if it has been successfully
278
+ * registered; otherwise `undefined`.
279
+ */
280
+ registerBlockType( 'ugb/icon-list', {
281
+ title: __( 'Icon List' ), // Block title.
282
+ icon: IconListIcon, // Block icon from Dashicons or a custom component
283
+ category: 'stackable-ultimate-gutenberg-blocks', // Block category
284
+ keywords: [
285
+ __( 'Icon List' ),
286
+ __( 'Stackable' ),
287
+ ],
288
+ attributes: schema,
289
+
290
+ edit: edit,
291
+
292
+ save: save,
293
+ } );
src/block/icon-list/style.scss ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * #.# Styles for Icon List Block.
3
+ *
4
+ * CSS for both Frontend+Backend.
5
+ */
6
+ .ugb-icon-list {
7
+ margin: 0 0 1.5em 0 !important;
8
+ padding: 0 !important;
9
+ list-style: none !important;
10
+ li:before {
11
+ content: '';
12
+ display: inline-block;
13
+ vertical-align: middle;
14
+ height: var(--icon-size, 20px);
15
+ width: var(--icon-size, 20px);
16
+ margin-right: 1em;
17
+ background-image: var(--icon);
18
+ background-size: cover;
19
+ background-position: center;
20
+ }
21
+ li {
22
+ margin-top: 0 !important;
23
+ margin-bottom: var(--gap, 16) !important;
24
+
25
+ // text-indent here plus the padding-left in the container makes sure our text doesn't wrap below the bullet.
26
+ text-indent: calc(var(--icon-size, 20px) * -1 - 1em) !important;
27
+ padding-left: calc(var(--icon-size, 20px) + 1em) !important;
28
+ }
29
+ li:last-child {
30
+ margin-bottom: 0;
31
+ }
32
+ &.column-2 {
33
+ columns: 2;
34
+ }
35
+ &.column-3 {
36
+ columns: 3;
37
+ }
38
+ // @from https://css-tricks.com/almanac/properties/b/break-inside/
39
+ &.column-2, &.column-3 {
40
+ li {
41
+ page-break-inside: avoid; /* Firefox */
42
+ break-inside: avoid;
43
+ }
44
+ }
45
+ }
src/block/image-box/index.js CHANGED
@@ -27,7 +27,6 @@ import {
27
  MediaUpload,
28
  BlockControls,
29
  InspectorControls,
30
- ColorPalette,
31
  PanelBody,
32
  Fragment,
33
  Dashicon,
@@ -83,7 +82,7 @@ export const edit = ( props ) => {
83
  <Toolbar>
84
  <MediaUpload
85
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
86
- type="image"
87
  value={ id }
88
  render={ ( { open } ) => (
89
  <IconButton
@@ -171,7 +170,7 @@ export const edit = ( props ) => {
171
  >
172
  <MediaUpload
173
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
174
- type={'image'}
175
  value={id}
176
  render={ function( obj ) {
177
  return [
@@ -283,14 +282,12 @@ export const save = ( props ) => {
283
 
284
  export const schema = {
285
  title: {
286
- type: 'array',
287
- source: 'children',
288
  selector: 'h4',
289
  default: __( 'Title' )
290
  },
291
  subtitle: {
292
- type: 'array',
293
- source: 'children',
294
  selector: 'p',
295
  default: __( 'Subtitle goes here' )
296
  },
27
  MediaUpload,
28
  BlockControls,
29
  InspectorControls,
 
30
  PanelBody,
31
  Fragment,
32
  Dashicon,
82
  <Toolbar>
83
  <MediaUpload
84
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
85
+ allowedTypes={ [ 'image' ] }
86
  value={ id }
87
  render={ ( { open } ) => (
88
  <IconButton
170
  >
171
  <MediaUpload
172
  onSelect={ ( media ) => setAttributes( { url: media.url, id: media.id } ) }
173
+ allowedTypes={ [ 'image' ] }
174
  value={id}
175
  render={ function( obj ) {
176
  return [
282
 
283
  export const schema = {
284
  title: {
285
+ source: 'html',
 
286
  selector: 'h4',
287
  default: __( 'Title' )
288
  },
289
  subtitle: {
290
+ source: 'html',
 
291
  selector: 'p',
292
  default: __( 'Subtitle goes here' )
293
  },
src/block/notification/index.js CHANGED
@@ -19,7 +19,6 @@ import {
19
  ToggleControl,
20
  InspectorControls,
21
  RichText,
22
- ColorPalette,
23
  BlockControls,
24
  PanelBody,
25
  Fragment,
@@ -174,8 +173,7 @@ registerBlockType( 'ugb/notification', {
174
  ],
175
  attributes: {
176
  text: {
177
- type: 'array',
178
- source: 'children',
179
  selector: 'p',
180
  default: __( 'This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.' ),
181
  },
19
  ToggleControl,
20
  InspectorControls,
21
  RichText,
 
22
  BlockControls,
23
  PanelBody,
24
  Fragment,
173
  ],
174
  attributes: {
175
  text: {
176
+ source: 'html',
 
177
  selector: 'p',
178
  default: __( 'This is an informational alert, usually used for successful subscriptions, promo announcements, and the like.' ),
179
  },
src/block/number-box/index.js CHANGED
@@ -17,7 +17,6 @@ import {
17
  SelectControl,
18
  InspectorControls,
19
  RichText,
20
- ColorPalette,
21
  BlockControls,
22
  PanelBody,
23
  Fragment,
@@ -335,56 +334,47 @@ registerBlockType( 'ugb/number-box', {
335
  ],
336
  attributes: {
337
  numberBox: {
338
- type: 'array',
339
- source: 'children',
340
  selector: '.ugb-number-box-column-one span',
341
  default: __( '01' ),
342
  },
343
  numberBoxTwo: {
344
- type: 'array',
345
- source: 'children',
346
  selector: '.ugb-number-box-column-two span',
347
  default: __( '02' ),
348
  },
349
  numberBoxThree: {
350
- type: 'array',
351
- source: 'children',
352
  selector: '.ugb-number-box-column-three span',
353
  default: __( '03' ),
354
  },
355
  name: {
356
- type: 'array',
357
- source: 'children',
358
  selector: '.ugb-number-box-name',
359
  default: __( 'Registration' ),
360
  },
361
  nameTwo: {
362
- type: 'array',
363
- source: 'children',
364
  selector: '.ugb-number-box-name-two',
365
  default: __( 'Waiting Period' ),
366
  },
367
  nameThree: {
368
- type: 'array',
369
- source: 'children',
370
  selector: '.ugb-number-box-name-three',
371
  default: __( 'Delivery' ),
372
  },
373
  body: {
374
- type: 'array',
375
- source: 'children',
376
  selector: '.ugb-number-box-body',
377
  default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
378
  },
379
  bodyTwo: {
380
- type: 'array',
381
- source: 'children',
382
  selector: '.ugb-number-box-body-two',
383
  default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
384
  },
385
  bodyThree: {
386
- type: 'array',
387
- source: 'children',
388
  selector: '.ugb-number-box-body-three',
389
  default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
390
  },
17
  SelectControl,
18
  InspectorControls,
19
  RichText,
 
20
  BlockControls,
21
  PanelBody,
22
  Fragment,
334
  ],
335
  attributes: {
336
  numberBox: {
337
+ source: 'html',
 
338
  selector: '.ugb-number-box-column-one span',
339
  default: __( '01' ),
340
  },
341
  numberBoxTwo: {
342
+ source: 'html',
 
343
  selector: '.ugb-number-box-column-two span',
344
  default: __( '02' ),
345
  },
346
  numberBoxThree: {
347
+ source: 'html',
 
348
  selector: '.ugb-number-box-column-three span',
349
  default: __( '03' ),
350
  },
351
  name: {
352
+ source: 'html',
 
353
  selector: '.ugb-number-box-name',
354
  default: __( 'Registration' ),
355
  },
356
  nameTwo: {
357
+ source: 'html',
 
358
  selector: '.ugb-number-box-name-two',
359
  default: __( 'Waiting Period' ),
360
  },
361
  nameThree: {
362
+ source: 'html',
 
363
  selector: '.ugb-number-box-name-three',
364
  default: __( 'Delivery' ),
365
  },
366
  body: {
367
+ source: 'html',
 
368
  selector: '.ugb-number-box-body',
369
  default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
370
  },
371
  bodyTwo: {
372
+ source: 'html',
 
373
  selector: '.ugb-number-box-body-two',
374
  default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
375
  },
376
  bodyThree: {
377
+ source: 'html',
 
378
  selector: '.ugb-number-box-body-three',
379
  default: __( 'This is just a sample write-up, but you can check out more info on Gutenberg on the WP repository.' ),
380
  },
src/block/pricing-box/index.js CHANGED
@@ -23,7 +23,6 @@ import {
23
  RangeControl,
24
  InspectorControls,
25
  RichText,
26
- ColorPalette,
27
  BlockControls,
28
  ToggleControl,
29
  PanelBody,
@@ -520,92 +519,77 @@ const schema = {
520
  attribute: 'href',
521
  },
522
  pricingBoxTitle: {
523
- type: 'array',
524
- source: 'children',
525
  selector: '.ugb-pricing-box-column-one h3',
526
  default: __( 'Basic' ),
527
  },
528
  pricingBoxTitle2: {
529
- type: 'array',
530
- source: 'children',
531
  selector: '.ugb-pricing-box-column-two h3',
532
  default: __( 'Basic' ),
533
  },
534
  pricingBoxTitle3: {
535
- type: 'array',
536
- source: 'children',
537
  selector: '.ugb-pricing-box-column-three h3',
538
  default: __( 'Basic' ),
539
  },
540
  price: {
541
- type: 'array',
542
- source: 'children',
543
  selector: '.ugb-pricing-box-column-one .ugb-pricing-box-pricing',
544
  default: __( '$9' ),
545
  },
546
  price2: {
547
- type: 'array',
548
- source: 'children',
549
  selector: '.ugb-pricing-box-column-two .ugb-pricing-box-pricing',
550
  default: __( '$9' ),
551
  },
552
  price3: {
553
- type: 'array',
554
- source: 'children',
555
  selector: '.ugb-pricing-box-column-three .ugb-pricing-box-pricing',
556
  default: __( '$9' ),
557
  },
558
  perMonthLabel: {
559
- type: 'array',
560
- source: 'children',
561
  selector: '.ugb-pricing-box-column-one .ugb-pricing-box-per-month-label',
562
  default: __( 'per month' ),
563
  },
564
  perMonthLabel2: {
565
- type: 'array',
566
- source: 'children',
567
  selector: '.ugb-pricing-box-column-two .ugb-pricing-box-per-month-label',
568
  default: __( 'per month' ),
569
  },
570
  perMonthLabel3: {
571
- type: 'array',
572
- source: 'children',
573
  selector: '.ugb-pricing-box-column-three .ugb-pricing-box-per-month-label',
574
  default: __( 'per month' ),
575
  },
576
  buttonText: {
577
- type: 'array',
578
- source: 'children',
579
  selector: '.ugb-pricing-box-column-one .ugb-button a',
580
  default: __( 'Buy Now'),
581
  },
582
  buttonText2: {
583
- type: 'array',
584
- source: 'children',
585
  selector: '.ugb-pricing-box-column-two .ugb-button a',
586
  default: __( 'Buy Now'),
587
  },
588
  buttonText3: {
589
- type: 'array',
590
- source: 'children',
591
  selector: '.ugb-pricing-box-column-three .ugb-button a',
592
  default: __( 'Buy Now'),
593
  },
594
  featureList: {
595
- type: 'array',
596
- source: 'children',
597
  selector: '.ugb-pricing-box-column-one .ugb-pricing-box-feature-list',
598
  default: __( 'Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec' ),
599
  },
600
  featureList2: {
601
- type: 'array',
602
- source: 'children',
603
  selector: '.ugb-pricing-box-column-two .ugb-pricing-box-feature-list',
604
  default: __( 'Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec' ),
605
  },
606
  featureList3: {
607
- type: 'array',
608
- source: 'children',
609
  selector: '.ugb-pricing-box-column-three .ugb-pricing-box-feature-list',
610
  default: __( 'Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec' ),
611
  },
23
  RangeControl,
24
  InspectorControls,
25
  RichText,
 
26
  BlockControls,
27
  ToggleControl,
28
  PanelBody,
519
  attribute: 'href',
520
  },
521
  pricingBoxTitle: {
522
+ source: 'html',
 
523
  selector: '.ugb-pricing-box-column-one h3',
524
  default: __( 'Basic' ),
525
  },
526
  pricingBoxTitle2: {
527
+ source: 'html',
 
528
  selector: '.ugb-pricing-box-column-two h3',
529
  default: __( 'Basic' ),
530
  },
531
  pricingBoxTitle3: {
532
+ source: 'html',
 
533
  selector: '.ugb-pricing-box-column-three h3',
534
  default: __( 'Basic' ),
535
  },
536
  price: {
537
+ source: 'html',
 
538
  selector: '.ugb-pricing-box-column-one .ugb-pricing-box-pricing',
539
  default: __( '$9' ),
540
  },
541
  price2: {
542
+ source: 'html',
 
543
  selector: '.ugb-pricing-box-column-two .ugb-pricing-box-pricing',
544
  default: __( '$9' ),
545
  },
546
  price3: {
547
+ source: 'html',
 
548
  selector: '.ugb-pricing-box-column-three .ugb-pricing-box-pricing',
549
  default: __( '$9' ),
550
  },
551
  perMonthLabel: {
552
+ source: 'html',
 
553
  selector: '.ugb-pricing-box-column-one .ugb-pricing-box-per-month-label',
554
  default: __( 'per month' ),
555
  },
556
  perMonthLabel2: {
557
+ source: 'html',
 
558
  selector: '.ugb-pricing-box-column-two .ugb-pricing-box-per-month-label',
559
  default: __( 'per month' ),
560
  },
561
  perMonthLabel3: {
562
+ source: 'html',
 
563
  selector: '.ugb-pricing-box-column-three .ugb-pricing-box-per-month-label',
564
  default: __( 'per month' ),
565
  },
566
  buttonText: {
567
+ source: 'html',
 
568
  selector: '.ugb-pricing-box-column-one .ugb-button a',
569
  default: __( 'Buy Now'),
570
  },
571
  buttonText2: {
572
+ source: 'html',
 
573
  selector: '.ugb-pricing-box-column-two .ugb-button a',
574
  default: __( 'Buy Now'),
575
  },
576
  buttonText3: {
577
+ source: 'html',
 
578
  selector: '.ugb-pricing-box-column-three .ugb-button a',
579
  default: __( 'Buy Now'),
580
  },
581
  featureList: {
582
+ source: 'html',
 
583
  selector: '.ugb-pricing-box-column-one .ugb-pricing-box-feature-list',
584
  default: __( 'Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec' ),
585
  },
586
  featureList2: {
587
+ source: 'html',
 
588
  selector: '.ugb-pricing-box-column-two .ugb-pricing-box-feature-list',
589
  default: __( 'Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec' ),
590
  },
591
  featureList3: {
592
+ source: 'html',
 
593
  selector: '.ugb-pricing-box-column-three .ugb-pricing-box-feature-list',
594
  default: __( 'Consectetur adipiscing elit Suspendisse at pretium tortor Vestibulum ante ipsum primis In faucibus orci luctus et Ultrices posuere cubilia cura Aenean consectetur nec' ),
595
  },
src/block/pullquote/index.js CHANGED
@@ -17,7 +17,6 @@ import {
17
  PanelColorSettings,
18
  InspectorControls,
19
  RichText,
20
- ColorPalette,
21
  omit,
22
  merge,
23
  Fragment,
@@ -89,8 +88,7 @@ export const save = ( props ) => {
89
 
90
  export const schema = {
91
  text: {
92
- type: 'array',
93
- source: 'children',
94
  selector: 'p',
95
  default: __( '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.' )
96
  },
17
  PanelColorSettings,
18
  InspectorControls,
19
  RichText,
 
20
  omit,
21
  merge,
22
  Fragment,
88
 
89
  export const schema = {
90
  text: {
91
+ source: 'html',
 
92
  selector: 'p',
93
  default: __( '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.' )
94
  },
src/block/team-member/index.js CHANGED
@@ -18,7 +18,6 @@ import {
18
  SelectControl,
19
  InspectorControls,
20
  RichText,
21
- ColorPalette,
22
  MediaUpload,
23
  BlockControls,
24
  PanelBody,
@@ -128,7 +127,7 @@ export const edit = ( props ) => {
128
  <div>
129
  <MediaUpload
130
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
131
- type={'image'}
132
  value={mediaID}
133
  render={ function( obj ) {
134
  return <Button
@@ -175,7 +174,7 @@ export const edit = ( props ) => {
175
  <div>
176
  <MediaUpload
177
  onSelect={ ( media ) => setAttributes( { mediaURLTwo: media.url, mediaIDTwo: media.id } ) }
178
- type={'image'}
179
  value={ mediaIDTwo }
180
  render={ function( obj ) {
181
  return <Button
@@ -222,7 +221,7 @@ export const edit = ( props ) => {
222
  <div>
223
  <MediaUpload
224
  onSelect={ ( media ) => setAttributes( { mediaURLThree: media.url, mediaIDThree: media.id } ) }
225
- type={'image'}
226
  value={ mediaIDThree }
227
  render={ function( obj ) {
228
  return <Button
@@ -444,56 +443,47 @@ registerBlockType( 'ugb/team-member', {
444
  attribute: 'data-src',
445
  },
446
  name: {
447
- type: 'array',
448
- source: 'children',
449
  selector: '.ugb-team-member-column-one h4',
450
  default: __( 'Ben Adams' )
451
  },
452
  nameTwo: {
453
- type: 'array',
454
- source: 'children',
455
  selector: '.ugb-team-member-column-two h4',
456
  default: __( 'Alex Johnson' )
457
  },
458
  nameThree: {
459
- type: 'array',
460
- source: 'children',
461
  selector: '.ugb-team-member-column-three h4',
462
  default: __( 'Sammy Simpson' )
463
  },
464
  position: {
465
- type: 'array',
466
- source: 'children',
467
  selector: '.ugb-team-member-column-one .ugb-team-member-position',
468
  default: __( 'Founder' )
469
  },
470
  positionTwo: {
471
- type: 'array',
472
- source: 'children',
473
  selector: '.ugb-team-member-column-two .ugb-team-member-position',
474
  default: __( 'Editor' )
475
  },
476
  positionThree: {
477
- type: 'array',
478
- source: 'children',
479
  selector: '.ugb-team-member-column-three .ugb-team-member-position',
480
  default: __( 'Programmer' )
481
  },
482
  des: {
483
- type: 'array',
484
- source: 'children',
485
  selector: '.ugb-team-member-des',
486
  default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
487
  },
488
  desTwo: {
489
- type: 'array',
490
- source: 'children',
491
  selector: '.ugb-team-member-des-two',
492
  default: __( 'Alex handles all written content. She enjoys painting and playing softball on the weekends.' )
493
  },
494
  desThree: {
495
- type: 'array',
496
- source: 'children',
497
  selector: '.ugb-team-member-des-three',
498
  default: __( 'Sammy is our programmer. You\'ll usually find her nose in a book. She has a cat named Skitty.' )
499
  },
18
  SelectControl,
19
  InspectorControls,
20
  RichText,
 
21
  MediaUpload,
22
  BlockControls,
23
  PanelBody,
127
  <div>
128
  <MediaUpload
129
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
130
+ allowedTypes={ [ 'image' ] }
131
  value={mediaID}
132
  render={ function( obj ) {
133
  return <Button
174
  <div>
175
  <MediaUpload
176
  onSelect={ ( media ) => setAttributes( { mediaURLTwo: media.url, mediaIDTwo: media.id } ) }
177
+ allowedTypes={ [ 'image' ] }
178
  value={ mediaIDTwo }
179
  render={ function( obj ) {
180
  return <Button
221
  <div>
222
  <MediaUpload
223
  onSelect={ ( media ) => setAttributes( { mediaURLThree: media.url, mediaIDThree: media.id } ) }
224
+ allowedTypes={ [ 'image' ] }
225
  value={ mediaIDThree }
226
  render={ function( obj ) {
227
  return <Button
443
  attribute: 'data-src',
444
  },
445
  name: {
446
+ source: 'html',
 
447
  selector: '.ugb-team-member-column-one h4',
448
  default: __( 'Ben Adams' )
449
  },
450
  nameTwo: {
451
+ source: 'html',
 
452
  selector: '.ugb-team-member-column-two h4',
453
  default: __( 'Alex Johnson' )
454
  },
455
  nameThree: {
456
+ source: 'html',
 
457
  selector: '.ugb-team-member-column-three h4',
458
  default: __( 'Sammy Simpson' )
459
  },
460
  position: {
461
+ source: 'html',
 
462
  selector: '.ugb-team-member-column-one .ugb-team-member-position',
463
  default: __( 'Founder' )
464
  },
465
  positionTwo: {
466
+ source: 'html',
 
467
  selector: '.ugb-team-member-column-two .ugb-team-member-position',
468
  default: __( 'Editor' )
469
  },
470
  positionThree: {
471
+ source: 'html',
 
472
  selector: '.ugb-team-member-column-three .ugb-team-member-position',
473
  default: __( 'Programmer' )
474
  },
475
  des: {
476
+ source: 'html',
 
477
  selector: '.ugb-team-member-des',
478
  default: __( 'Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time.' )
479
  },
480
  desTwo: {
481
+ source: 'html',
 
482
  selector: '.ugb-team-member-des-two',
483
  default: __( 'Alex handles all written content. She enjoys painting and playing softball on the weekends.' )
484
  },
485
  desThree: {
486
+ source: 'html',
 
487
  selector: '.ugb-team-member-des-three',
488
  default: __( 'Sammy is our programmer. You\'ll usually find her nose in a book. She has a cat named Skitty.' )
489
  },
src/block/testimonial/index.js CHANGED
@@ -18,7 +18,6 @@ import {
18
  SelectControl,
19
  InspectorControls,
20
  RichText,
21
- ColorPalette,
22
  MediaUpload,
23
  BlockControls,
24
  PanelBody,
@@ -114,7 +113,7 @@ export const edit = ( props ) => {
114
  <div>
115
  <MediaUpload
116
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
117
- type={'image'}
118
  value={mediaID}
119
  render={ function( obj ) {
120
  return <Button
@@ -161,7 +160,7 @@ export const edit = ( props ) => {
161
  <div>
162
  <MediaUpload
163
  onSelect={ ( media ) => setAttributes( { mediaURLTwo: media.url, mediaIDTwo: media.id } ) }
164
- type={'image'}
165
  value={ mediaIDTwo }
166
  render={ function( obj ) {
167
  return <Button
@@ -208,7 +207,7 @@ export const edit = ( props ) => {
208
  <div>
209
  <MediaUpload
210
  onSelect={ ( media ) => setAttributes( { mediaURLThree: media.url, mediaIDThree: media.id } ) }
211
- type={'image'}
212
  value={ mediaIDThree }
213
  render={ function( obj ) {
214
  return <Button
@@ -439,56 +438,47 @@ registerBlockType( 'ugb/testimonial', {
439
  attribute: 'data-src',
440
  },
441
  testimonialTitle: {
442
- type: 'array',
443
- source: 'children',
444
  selector: '.ugb-testimonial-column-one h4',
445
  default: __( 'Ben Adams' ),
446
  },
447
  testimonialTitleTwo: {
448
- type: 'array',
449
- source: 'children',
450
  selector: '.ugb-testimonial-column-two h4',
451
  default: __( 'Alex Johnson' ),
452
  },
453
  testimonialTitleThree: {
454
- type: 'array',
455
- source: 'children',
456
  selector: '.ugb-testimonial-column-three h4',
457
  default: __( 'Sammy Simpson' ),
458
  },
459
  position: {
460
- type: 'array',
461
- source: 'children',
462
  selector: '.ugb-testimonial-position',
463
  default: __( 'Founder' ),
464
  },
465
  positionTwo: {
466
- type: 'array',
467
- source: 'children',
468
  selector: '.ugb-testimonial-position-two',
469
  default: __( 'Editor' ),
470
  },
471
  positionThree: {
472
- type: 'array',
473
- source: 'children',
474
  selector: '.ugb-testimonial-position-three',
475
  default: __( 'Programmer' ),
476
  },
477
  body: {
478
- type: 'array',
479
- source: 'children',
480
  selector: '.ugb-testimonial-body',
481
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
482
  },
483
  bodyTwo: {
484
- type: 'array',
485
- source: 'children',
486
  selector: '.ugb-testimonial-body-two',
487
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
488
  },
489
  bodyThree: {
490
- type: 'array',
491
- source: 'children',
492
  selector: '.ugb-testimonial-body-three',
493
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
494
  },
18
  SelectControl,
19
  InspectorControls,
20
  RichText,
 
21
  MediaUpload,
22
  BlockControls,
23
  PanelBody,
113
  <div>
114
  <MediaUpload
115
  onSelect={ ( media ) => setAttributes( { mediaURL: media.url, mediaID: media.id } ) }
116
+ allowedTypes={ [ 'image' ] }
117
  value={mediaID}
118
  render={ function( obj ) {
119
  return <Button
160
  <div>
161
  <MediaUpload
162
  onSelect={ ( media ) => setAttributes( { mediaURLTwo: media.url, mediaIDTwo: media.id } ) }
163
+ allowedTypes={ [ 'image' ] }
164
  value={ mediaIDTwo }
165
  render={ function( obj ) {
166
  return <Button
207
  <div>
208
  <MediaUpload
209
  onSelect={ ( media ) => setAttributes( { mediaURLThree: media.url, mediaIDThree: media.id } ) }
210
+ allowedTypes={ [ 'image' ] }
211
  value={ mediaIDThree }
212
  render={ function( obj ) {
213
  return <Button
438
  attribute: 'data-src',
439
  },
440
  testimonialTitle: {
441
+ source: 'html',
 
442
  selector: '.ugb-testimonial-column-one h4',
443
  default: __( 'Ben Adams' ),
444
  },
445
  testimonialTitleTwo: {
446
+ source: 'html',
 
447
  selector: '.ugb-testimonial-column-two h4',
448
  default: __( 'Alex Johnson' ),
449
  },
450
  testimonialTitleThree: {
451
+ source: 'html',
 
452
  selector: '.ugb-testimonial-column-three h4',
453
  default: __( 'Sammy Simpson' ),
454
  },
455
  position: {
456
+ source: 'html',
 
457
  selector: '.ugb-testimonial-position',
458
  default: __( 'Founder' ),
459
  },
460
  positionTwo: {
461
+ source: 'html',
 
462
  selector: '.ugb-testimonial-position-two',
463
  default: __( 'Editor' ),
464
  },
465
  positionThree: {
466
+ source: 'html',
 
467
  selector: '.ugb-testimonial-position-three',
468
  default: __( 'Programmer' ),
469
  },
470
  body: {
471
+ source: 'html',
 
472
  selector: '.ugb-testimonial-body',
473
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
474
  },
475
  bodyTwo: {
476
+ source: 'html',
 
477
  selector: '.ugb-testimonial-body-two',
478
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
479
  },
480
  bodyThree: {
481
+ source: 'html',
 
482
  selector: '.ugb-testimonial-body-three',
483
  default: __( 'Stackable: Ultimate Blocks from Gutenberg has all the blocks I need to make a great webpage.' ),
484
  },
src/block/video-popup/index.js CHANGED
@@ -21,7 +21,6 @@ import {
21
  Toolbar,
22
  MediaUpload,
23
  InspectorControls,
24
- ColorPalette,
25
  BlockControls,
26
  URLInput,
27
  PanelBody,
@@ -60,7 +59,7 @@ export const edit = ( props ) => {
60
  <Toolbar>
61
  <MediaUpload
62
  onSelect={ ( media ) => setAttributes( { mediaLink: media.url, mediaID: media.id } ) }
63
- type="image"
64
  value={ mediaID }
65
  render={ ( { open } ) => (
66
  <IconButton
@@ -108,7 +107,7 @@ export const edit = ( props ) => {
108
  <div className='ugb-video-wrapper' >
109
  <MediaUpload
110
  onSelect={ ( media ) => setAttributes( { mediaLink: media.url, mediaID: media.id } ) }
111
- type={'image'}
112
  value={ mediaID }
113
  render={ function( obj ) {
114
  return [
21
  Toolbar,
22
  MediaUpload,
23
  InspectorControls,
 
24
  BlockControls,
25
  URLInput,
26
  PanelBody,
59
  <Toolbar>
60
  <MediaUpload
61
  onSelect={ ( media ) => setAttributes( { mediaLink: media.url, mediaID: media.id } ) }
62
+ allowedTypes={ [ 'image' ] }
63
  value={ mediaID }
64
  render={ ( { open } ) => (
65
  <IconButton
107
  <div className='ugb-video-wrapper' >
108
  <MediaUpload
109
  onSelect={ ( media ) => setAttributes( { mediaLink: media.url, mediaID: media.id } ) }
110
+ allowedTypes={ [ 'image' ] }
111
  value={ mediaID }
112
  render={ function( obj ) {
113
  return [
src/blocks.js CHANGED
@@ -23,5 +23,8 @@ import './block/image-box'
23
  import './block/count-up'
24
  import './block/video-popup'
25
  import './block/card'
 
 
 
26
 
27
  import './pro'
23
  import './block/count-up'
24
  import './block/video-popup'
25
  import './block/card'
26
+ import './block/feature-grid'
27
+ import './block/icon-list'
28
+ import './block/feature'
29
 
30
  import './pro'
src/icons.js CHANGED
@@ -179,7 +179,7 @@ export const FeatureGridIcon = () => {
179
  )
180
  }
181
 
182
- export const CheckListIcon = () => {
183
  const id = iconID()
184
  return (
185
  <svg className="dashicon" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 100 100">
179
  )
180
  }
181
 
182
+ export const IconListIcon = () => {
183
  const id = iconID()
184
  return (
185
  <svg className="dashicon" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 100 100">
src/init.php CHANGED
@@ -25,7 +25,8 @@ function my_block_ugb_block_assets() {
25
  wp_enqueue_style(
26
  'ugb-style-css', // Handle.
27
  plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
28
- array( 'wp-blocks' ) // Dependency to include the CSS after it.
 
29
  // filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
30
  );
31
 
@@ -33,7 +34,8 @@ function my_block_ugb_block_assets() {
33
  wp_enqueue_style(
34
  'ugb-style-css-designs', // Handle.
35
  plugins_url( 'dist/blocks.designs.build.css', dirname( __FILE__ ) ), // Block style CSS.
36
- array( 'ugb-style-css' ) // Dependency to include the CSS after it.
 
37
  // filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
38
  );
39
  }
@@ -42,7 +44,8 @@ function my_block_ugb_block_assets() {
42
  wp_enqueue_script(
43
  'ugb-block-frontend-js', // Handle.
44
  plugins_url( '/dist/blocks.frontend.build.min.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
45
- array( ) // Dependencies, defined above.
 
46
  // filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
47
  );
48
  } // End function my_block_cgb_block_assets().
@@ -64,7 +67,8 @@ function my_block_ugb_editor_assets() {
64
  wp_enqueue_script(
65
  'ugb-block-js', // Handle.
66
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
67
- array( 'wp-blocks', 'wp-i18n', 'wp-element' ) // Dependencies, defined above.
 
68
  // filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
69
  );
70
 
@@ -72,7 +76,8 @@ function my_block_ugb_editor_assets() {
72
  wp_enqueue_script(
73
  'ugb-block-js-designs', // Handle.
74
  plugins_url( '/dist/blocks.designs.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
75
- array( 'wp-blocks', 'wp-i18n', 'wp-element' ) // Dependencies, defined above.
 
76
  // filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
77
  );
78
  }
@@ -81,13 +86,16 @@ function my_block_ugb_editor_assets() {
81
  wp_enqueue_style(
82
  'ugb-block-editor-css', // Handle.
83
  plugins_url( 'dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS.
84
- array( 'wp-edit-blocks' ) // Dependency to include the CSS after it.
 
85
  // filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
86
  );
87
 
 
88
  wp_localize_script( 'ugb-block-js', 'stackable', array(
89
  'blockSrcUrl' => plugins_url( '/block', __FILE__ ),
90
  'isPro' => STACKABLE_IS_PRO,
 
91
 
92
  // Overridable default primary color for buttons and other blocks.
93
  'primaryColor' => get_theme_mod( 's_primary_color', '#2091e1' ),
@@ -109,3 +117,18 @@ add_filter( 'block_categories', function( $categories, $post ) {
109
  )
110
  );
111
  }, 10, 2 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  wp_enqueue_style(
26
  'ugb-style-css', // Handle.
27
  plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
28
+ array( 'wp-blocks' ), // Dependency to include the CSS after it.
29
+ STACKABLE_VERSION
30
  // filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
31
  );
32
 
34
  wp_enqueue_style(
35
  'ugb-style-css-designs', // Handle.
36
  plugins_url( 'dist/blocks.designs.build.css', dirname( __FILE__ ) ), // Block style CSS.
37
+ array( 'ugb-style-css' ), // Dependency to include the CSS after it.
38
+ STACKABLE_VERSION
39
  // filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
40
  );
41
  }
44
  wp_enqueue_script(
45
  'ugb-block-frontend-js', // Handle.
46
  plugins_url( '/dist/blocks.frontend.build.min.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
47
+ array( ), // Dependencies, defined above.
48
+ STACKABLE_VERSION
49
  // filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
50
  );
51
  } // End function my_block_cgb_block_assets().
67
  wp_enqueue_script(
68
  'ugb-block-js', // Handle.
69
  plugins_url( '/dist/blocks.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
70
+ array( 'wp-blocks', 'wp-i18n', 'wp-element' ), // Dependencies, defined above.
71
+ STACKABLE_VERSION
72
  // filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
73
  );
74
 
76
  wp_enqueue_script(
77
  'ugb-block-js-designs', // Handle.
78
  plugins_url( '/dist/blocks.designs.build.js', dirname( __FILE__ ) ), // Block.build.js: We register the block here. Built with Webpack.
79
+ array( 'wp-blocks', 'wp-i18n', 'wp-element' ), // Dependencies, defined above.
80
+ STACKABLE_VERSION
81
  // filemtime( plugin_dir_path( __FILE__ ) . 'block.js' ) // Version: filemtime — Gets file modification time.
82
  );
83
  }
86
  wp_enqueue_style(
87
  'ugb-block-editor-css', // Handle.
88
  plugins_url( 'dist/blocks.editor.build.css', dirname( __FILE__ ) ), // Block editor CSS.
89
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
90
+ STACKABLE_VERSION
91
  // filemtime( plugin_dir_path( __FILE__ ) . 'editor.css' ) // Version: filemtime — Gets file modification time.
92
  );
93
 
94
+ global $content_width;
95
  wp_localize_script( 'ugb-block-js', 'stackable', array(
96
  'blockSrcUrl' => plugins_url( '/block', __FILE__ ),
97
  'isPro' => STACKABLE_IS_PRO,
98
+ 'contentWidth' => isset( $content_width ) ? $content_width : 900,
99
 
100
  // Overridable default primary color for buttons and other blocks.
101
  'primaryColor' => get_theme_mod( 's_primary_color', '#2091e1' ),
117
  )
118
  );
119
  }, 10, 2 );
120
+
121
+ add_action( 'wp_head', 'stackable_add_required_block_styles' );
122
+ add_action( 'enqueue_block_editor_assets', 'stackable_add_required_block_styles' );
123
+ function stackable_add_required_block_styles() {
124
+ global $content_width;
125
+ $full_width_block_inner_width = isset( $content_width ) ? $content_width : 900;
126
+
127
+ ?>
128
+ <style id="stackable-req-styles">
129
+ :root {
130
+ --content-width: <?php echo esc_attr( $full_width_block_inner_width ); ?>px;
131
+ }
132
+ </style>
133
+ <?php
134
+ }
src/util.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { renderToString } from './wp-imports'
2
+
3
+ /**
4
+ * Returns an array range of numbers.
5
+ *
6
+ * @from https://stackoverflow.com/questions/36947847/how-to-generate-range-of-numbers-from-0-to-n-in-es2015-only
7
+ */
8
+ export const range = ( start, end ) => {
9
+ return Array.from( { length: ( end - start ) }, ( v, k ) => k + start );
10
+ }
11
+
12
+ /**
13
+ * Renders an SVG WP Component into a string.
14
+ *
15
+ * renderToString lowercases some attributes, this fixes those.
16
+ */
17
+ export const svgRenderToString = ( svgComponent, esc = true ) => {
18
+ const s = renderToString( svgComponent )
19
+ .replace( /viewbox/i, 'viewBox' )
20
+
21
+ if ( esc ) {
22
+ return s.replace( /#/g, '%23' ) // Using unescaped '#' characters in a data URI body is deprecated and will be removed in M71, around December 2018. Please use '%23' instead. See https://www.chromestatus.com/features/5656049583390720 for more details.
23
+ }
24
+ return s
25
+ }
src/wp-imports.js CHANGED
@@ -19,12 +19,12 @@ export const {
19
  Toolbar,
20
  PanelBody,
21
  RadioControl,
 
22
  } = wp.components
23
 
24
  export const {
25
  InspectorControls,
26
  BlockControls,
27
- ColorPalette,
28
  AlignmentToolbar,
29
  RichText,
30
  URLInput,
@@ -38,6 +38,7 @@ export const {
38
 
39
  export const {
40
  Fragment,
 
41
  } = wp.element
42
 
43
  export const {
19
  Toolbar,
20
  PanelBody,
21
  RadioControl,
22
+ BaseControl,
23
  } = wp.components
24
 
25
  export const {
26
  InspectorControls,
27
  BlockControls,
 
28
  AlignmentToolbar,
29
  RichText,
30
  URLInput,
38
 
39
  export const {
40
  Fragment,
41
+ renderToString, // Renders a WP Component into a string.
42
  } = wp.element
43
 
44
  export const {